Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicy (v4.0.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicy.

Specification of alternative, flexible instance configurations.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#instance_selections

def instance_selections() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection}) — Named instance selections to configure properties. The key is an arbitrary, unique RFC1035 string that identifies the instance selection.

#instance_selections=

def instance_selections=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection}) — Named instance selections to configure properties. The key is an arbitrary, unique RFC1035 string that identifies the instance selection.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection}) — Named instance selections to configure properties. The key is an arbitrary, unique RFC1035 string that identifies the instance selection.