Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::RenameInstanceRequest (v0.9.0)

Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::RenameInstanceRequest.

Message requesting rename of a server.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. The name field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}
Returns
  • (::String) — Required. The name field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}

#new_instance_id

def new_instance_id() -> ::String
Returns
  • (::String) — Required. The new id of the instance.

#new_instance_id=

def new_instance_id=(value) -> ::String
Parameter
  • value (::String) — Required. The new id of the instance.
Returns
  • (::String) — Required. The new id of the instance.