public sealed class RenameVolumeRequest : IMessage<RenameVolumeRequest>, IEquatable<RenameVolumeRequest>, IDeepCloneable<RenameVolumeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class RenameVolumeRequest.
Message requesting rename of a server.
Implements
IMessageRenameVolumeRequest, IEquatableRenameVolumeRequest, IDeepCloneableRenameVolumeRequest, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
RenameVolumeRequest()
public RenameVolumeRequest()
RenameVolumeRequest(RenameVolumeRequest)
public RenameVolumeRequest(RenameVolumeRequest other)
Parameter | |
---|---|
Name | Description |
other | RenameVolumeRequest |
Properties
Name
public string Name { get; set; }
Required. The name
field is used to identify the volume.
Format: projects/{project}/locations/{location}/volumes/{volume}
Property Value | |
---|---|
Type | Description |
string |
NewVolumeId
public string NewVolumeId { get; set; }
Required. The new id
of the volume.
Property Value | |
---|---|
Type | Description |
string |
VolumeName
public VolumeName VolumeName { get; set; }
VolumeName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
VolumeName |