Bare Metal Solution v2 API - Class UpdateVolumeRequest (1.1.0)

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.

Inheritance

Object > UpdateVolumeRequest

Namespace

Google.Cloud.BareMetalSolution.V2

Assembly

Google.Cloud.BareMetalSolution.V2.dll

Constructors

UpdateVolumeRequest()

public UpdateVolumeRequest()

UpdateVolumeRequest(UpdateVolumeRequest)

public UpdateVolumeRequest(UpdateVolumeRequest other)
Parameter
NameDescription
otherUpdateVolumeRequest

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
TypeDescription
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
TypeDescription
Volume