Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstancesSetNameRequest (v2.7.0)

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#current_name

def current_name() -> ::String
Returns
  • (::String) — The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.

#current_name=

def current_name=(value) -> ::String
Parameter
  • value (::String) — The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.
Returns
  • (::String) — The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.

#name

def name() -> ::String
Returns
  • (::String) — The name to be applied to the instance. Needs to be RFC 1035 compliant.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name to be applied to the instance. Needs to be RFC 1035 compliant.
Returns
  • (::String) — The name to be applied to the instance. Needs to be RFC 1035 compliant.