creationTimestamp = $creationTimestamp; } /** * @return string */ public function getCreationTimestamp() { return $this->creationTimestamp; } /** * An optional description of this resource. * * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * Output only. A unique identifier for this resource type. The server * generates this identifier. * * @param string $id */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * Output only. The resource type, which is * alwayscompute#instanceGroupManagerResizeRequest for resize requests. * * @param string $kind */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * The name of this resize request. The name must be 1-63 characters long, and * comply withRFC1035. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. The URL of a region where the resize request is located. * Populated only for regional resize requests. * * @param string $region */ public function setRegion($region) { $this->region = $region; } /** * @return string */ public function getRegion() { return $this->region; } /** * Requested run duration for instances that will be created by this request. * At the end of the run duration instance will be deleted. * * @param Duration $requestedRunDuration */ public function setRequestedRunDuration(Duration $requestedRunDuration) { $this->requestedRunDuration = $requestedRunDuration; } /** * @return Duration */ public function getRequestedRunDuration() { return $this->requestedRunDuration; } /** * The number of instances to be created by this resize request. The group's * target size will be increased by this number. This field cannot be used * together with 'instances'. * * @param int $resizeBy */ public function setResizeBy($resizeBy) { $this->resizeBy = $resizeBy; } /** * @return int */ public function getResizeBy() { return $this->resizeBy; } /** * Output only. The URL for this resize request. The server defines this URL. * * @param string $selfLink */ public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } /** * @return string */ public function getSelfLink() { return $this->selfLink; } /** * Output only. Server-defined URL for this resource with the resource id. * * @param string $selfLinkWithId */ public function setSelfLinkWithId($selfLinkWithId) { $this->selfLinkWithId = $selfLinkWithId; } /** * @return string */ public function getSelfLinkWithId() { return $this->selfLinkWithId; } /** * Output only. Current state of the request. * * Accepted values: ACCEPTED, CANCELLED, CREATING, FAILED, STATE_UNSPECIFIED, * SUCCEEDED * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } /** * Output only. Status of the request. * * @param InstanceGroupManagerResizeRequestStatus $status */ public function setStatus(InstanceGroupManagerResizeRequestStatus $status) { $this->status = $status; } /** * @return InstanceGroupManagerResizeRequestStatus */ public function getStatus() { return $this->status; } /** * Output only. The URL of a zone where the resize request is located. * Populated only for zonal resize requests. * * @param string $zone */ public function setZone($zone) { $this->zone = $zone; } /** * @return string */ public function getZone() { return $this->zone; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(InstanceGroupManagerResizeRequest::class, 'Google_Service_Compute_InstanceGroupManagerResizeRequest');