1.8.0 (latest) 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class CreateVolumeSnapshotRequest : IMessage<CreateVolumeSnapshotRequest>, IEquatable<CreateVolumeSnapshotRequest>, IDeepCloneable<CreateVolumeSnapshotRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Bare Metal Solution v2 API class CreateVolumeSnapshotRequest.

Message for creating a volume snapshot.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CreateVolumeSnapshotRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CreateVolumeSnapshotRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.CreateVolumeSnapshotRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateVolumeSnapshotRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.CreateVolumeSnapshotRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CreateVolumeSnapshotRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.CreateVolumeSnapshotRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BareMetalSolution.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.md.txt)

## Assembly

Google.Cloud.BareMetalSolution.V2.dll

## Constructors

### CreateVolumeSnapshotRequest()

    public CreateVolumeSnapshotRequest()

### CreateVolumeSnapshotRequest(CreateVolumeSnapshotRequest)

    public CreateVolumeSnapshotRequest(CreateVolumeSnapshotRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CreateVolumeSnapshotRequest` |

## Properties

### Parent

    public string Parent { get; set; }

Required. The volume to snapshot.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParentAsVolumeName

    public VolumeName ParentAsVolumeName { get; set; }

[VolumeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VolumeName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.CreateVolumeSnapshotRequest.md.txt#Google_Cloud_BareMetalSolution_V2_CreateVolumeSnapshotRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `VolumeName` |   |

### VolumeSnapshot

    public VolumeSnapshot VolumeSnapshot { get; set; }

Required. The snapshot to create.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `VolumeSnapshot` |   |