public sealed class UpdateVolumeRequest : IMessage<UpdateVolumeRequest>, IEquatable<UpdateVolumeRequest>, IDeepCloneable<UpdateVolumeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class UpdateVolumeRequest.
Message for updating a volume.
Implements
IMessage<UpdateVolumeRequest>, IEquatable<UpdateVolumeRequest>, IDeepCloneable<UpdateVolumeRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
UpdateVolumeRequest()
public UpdateVolumeRequest()
UpdateVolumeRequest(UpdateVolumeRequest)
public UpdateVolumeRequest(UpdateVolumeRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateVolumeRequest |
Properties
UpdateMask
public FieldMask UpdateMask { get; set; }
The list of fields to update.
The only currently supported fields are:
snapshot_auto_delete_behavior
snapshot_schedule_policy_name
'labels'
'snapshot_enabled'
'snapshot_reservation_detail.reserved_space_percent'
Property Value | |
---|---|
Type | Description |
FieldMask |
Volume
public Volume Volume { get; set; }
Required. The volume to update.
The name
field is used to identify the volume to update.
Format: projects/{project}/locations/{location}/volumes/{volume}
Property Value | |
---|---|
Type | Description |
Volume |