Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class RenameVolumeRequest.
Message requesting rename of a server.
Generated from protobuf message google.cloud.baremetalsolution.v2.RenameVolumeRequest
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name
field is used to identify the volume. Format: projects/{project}/locations/{location}/volumes/{volume}
↳ new_volume_id
string
Required. The new id
of the volume.
getName
Required. The name
field is used to identify the volume.
Format: projects/{project}/locations/{location}/volumes/{volume}
string
setName
Required. The name
field is used to identify the volume.
Format: projects/{project}/locations/{location}/volumes/{volume}
var
string
$this
getNewVolumeId
Required. The new id
of the volume.
string
setNewVolumeId
Required. The new id
of the volume.
var
string
$this
static::build
name
string
Required. The name
field is used to identify the volume.
Format: projects/{project}/locations/{location}/volumes/{volume}
Please see BareMetalSolutionClient::volumeName()
for help formatting this field.
newVolumeId
string
Required. The new id
of the volume.