Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstanceGroupManagerResizeRequest.
InstanceGroupManagerResizeRequest represents a request to create a number of VMs: either immediately or by queuing the request for the specified time. This resize request is nested under InstanceGroupManager and the VMs created by this request are added to the owning InstanceGroupManager.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#creation_timestamp
def creation_timestamp() -> ::String
- (::String) — [Output Only] The creation timestamp for this resize request in RFC3339 text format.
#creation_timestamp=
def creation_timestamp=(value) -> ::String
- value (::String) — [Output Only] The creation timestamp for this resize request in RFC3339 text format.
- (::String) — [Output Only] The creation timestamp for this resize request in RFC3339 text format.
#description
def description() -> ::String
- (::String) — An optional description of this resource.
#description=
def description=(value) -> ::String
- value (::String) — An optional description of this resource.
- (::String) — An optional description of this resource.
#id
def id() -> ::Integer
- (::Integer) — [Output Only] A unique identifier for this resource type. The server generates this identifier.
#id=
def id=(value) -> ::Integer
- value (::Integer) — [Output Only] A unique identifier for this resource type. The server generates this identifier.
- (::Integer) — [Output Only] A unique identifier for this resource type. The server generates this identifier.
#kind
def kind() -> ::String
- (::String) — [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
#kind=
def kind=(value) -> ::String
- value (::String) — [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
- (::String) — [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
#name
def name() -> ::String
- (::String) — The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
#name=
def name=(value) -> ::String
- value (::String) — The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- (::String) — The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
#requested_run_duration
def requested_run_duration() -> ::Google::Cloud::Compute::V1::Duration
- (::Google::Cloud::Compute::V1::Duration) — Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
#requested_run_duration=
def requested_run_duration=(value) -> ::Google::Cloud::Compute::V1::Duration
- value (::Google::Cloud::Compute::V1::Duration) — Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
- (::Google::Cloud::Compute::V1::Duration) — Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
#resize_by
def resize_by() -> ::Integer
- (::Integer) — 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'.
#resize_by=
def resize_by=(value) -> ::Integer
- value (::Integer) — 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'.
- (::Integer) — 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'.
#self_link
def self_link() -> ::String
- (::String) — [Output Only] The URL for this resize request. The server defines this URL.
#self_link=
def self_link=(value) -> ::String
- value (::String) — [Output Only] The URL for this resize request. The server defines this URL.
- (::String) — [Output Only] The URL for this resize request. The server defines this URL.
#self_link_with_id
def self_link_with_id() -> ::String
- (::String) — [Output Only] Server-defined URL for this resource with the resource id.
#self_link_with_id=
def self_link_with_id=(value) -> ::String
- value (::String) — [Output Only] Server-defined URL for this resource with the resource id.
- (::String) — [Output Only] Server-defined URL for this resource with the resource id.
#state
def state() -> ::String
- (::String) — [Output only] Current state of the request. Check the State enum for the list of possible values.
#state=
def state=(value) -> ::String
- value (::String) — [Output only] Current state of the request. Check the State enum for the list of possible values.
- (::String) — [Output only] Current state of the request. Check the State enum for the list of possible values.
#status
def status() -> ::Google::Cloud::Compute::V1::InstanceGroupManagerResizeRequestStatus
- (::Google::Cloud::Compute::V1::InstanceGroupManagerResizeRequestStatus) — [Output only] Status of the request.
#status=
def status=(value) -> ::Google::Cloud::Compute::V1::InstanceGroupManagerResizeRequestStatus
- value (::Google::Cloud::Compute::V1::InstanceGroupManagerResizeRequestStatus) — [Output only] Status of the request.
- (::Google::Cloud::Compute::V1::InstanceGroupManagerResizeRequestStatus) — [Output only] Status of the request.
#zone
def zone() -> ::String
- (::String) — [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
#zone=
def zone=(value) -> ::String
- value (::String) — [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
- (::String) — [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.