Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstancePropertiesPatch (v2.15.0)

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

Represents the change that you want to make to the instance properties.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — The label key-value pairs that you want to patch onto the instance.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — The label key-value pairs that you want to patch onto the instance.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — The label key-value pairs that you want to patch onto the instance.

#metadata

def metadata() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.

#metadata=

def metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.