fingerprint = $fingerprint; } /** * @return string */ public function getFingerprint() { return $this->fingerprint; } /** * The name of a per-instance configuration and its corresponding instance. * Serves as a merge key during UpdatePerInstanceConfigs operations, that is, * if a per-instance configuration with the same name exists then it will be * updated, otherwise a new one will be created for the VM instance with the * same name. An attempt to create a per-instance configuration for a VM * instance that either doesn't exist or is not part of the group will result * in an error. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * The intended preserved state for the given instance. Does not contain * preserved state generated from a stateful policy. * * @param PreservedState $preservedState */ public function setPreservedState(PreservedState $preservedState) { $this->preservedState = $preservedState; } /** * @return PreservedState */ public function getPreservedState() { return $this->preservedState; } /** * The status of applying this per-instance configuration on the corresponding * managed instance. * * Accepted values: APPLYING, DELETING, EFFECTIVE, NONE, UNAPPLIED, * UNAPPLIED_DELETION * * @param self::STATUS_* $status */ public function setStatus($status) { $this->status = $status; } /** * @return self::STATUS_* */ public function getStatus() { return $this->status; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PerInstanceConfig::class, 'Google_Service_Compute_PerInstanceConfig');