Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstanceGroupManagerResizeRequest (v2.14.0)

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
Returns
  • (::String) — [Output Only] The creation timestamp for this resize request in RFC3339 text format.

#creation_timestamp=

def creation_timestamp=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The creation timestamp for this resize request in RFC3339 text format.
Returns
  • (::String) — [Output Only] The creation timestamp for this resize request in RFC3339 text format.

#description

def description() -> ::String
Returns
  • (::String) — An optional description of this resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — An optional description of this resource.
Returns
  • (::String) — An optional description of this resource.

#id

def id() -> ::Integer
Returns
  • (::Integer) — [Output Only] A unique identifier for this resource type. The server generates this identifier.

#id=

def id=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output Only] A unique identifier for this resource type. The server generates this identifier.
Returns
  • (::Integer) — [Output Only] A unique identifier for this resource type. The server generates this identifier.

#kind

def kind() -> ::String
Returns
  • (::String) — [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
Returns
  • (::String) — [Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.

#name

def name() -> ::String
Returns
  • (::String) — The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
Returns
  • (::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
Returns

#requested_run_duration=

def requested_run_duration=(value) -> ::Google::Cloud::Compute::V1::Duration
Parameter
Returns

#resize_by

def resize_by() -> ::Integer
Returns
  • (::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
Parameter
  • 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'.
Returns
  • (::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'.
def self_link() -> ::String
Returns
  • (::String) — [Output Only] The URL for this resize request. The server defines this URL.
def self_link=(value) -> ::String
Parameter
  • value (::String) — [Output Only] The URL for this resize request. The server defines this URL.
Returns
  • (::String) — [Output Only] The URL for this resize request. The server defines this URL.
def self_link_with_id() -> ::String
Returns
  • (::String) — [Output Only] Server-defined URL for this resource with the resource id.
def self_link_with_id=(value) -> ::String
Parameter
  • value (::String) — [Output Only] Server-defined URL for this resource with the resource id.
Returns
  • (::String) — [Output Only] Server-defined URL for this resource with the resource id.

#state

def state() -> ::String
Returns
  • (::String) — [Output only] Current state of the request. Check the State enum for the list of possible values.

#state=

def state=(value) -> ::String
Parameter
  • value (::String) — [Output only] Current state of the request. Check the State enum for the list of possible values.
Returns
  • (::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
Returns

#status=

def status=(value) -> ::Google::Cloud::Compute::V1::InstanceGroupManagerResizeRequestStatus
Parameter
Returns

#zone

def zone() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
Returns
  • (::String) — [Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.