Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::RenameVolumeRequest (v0.8.0)

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

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 volume. Format: projects/{project}/locations/{location}/volumes/{volume}

#name=

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

#new_volume_id

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

#new_volume_id=

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