# Compute Engine v1 API - Class SnapshotsClientImpl (3.28.0)

3.28.0 (latest) 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class SnapshotsClientImpl : SnapshotsClient

Reference documentation and code samples for the Compute Engine v1 API class SnapshotsClientImpl.

Snapshots client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [SnapshotsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient) \> SnapshotsClientImpl

## Inherited Members

[SnapshotsClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_DefaultEndpoint) [SnapshotsClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_DefaultScopes) [SnapshotsClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_ServiceMetadata) [SnapshotsClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_CreateAsync_System_Threading_CancellationToken_) [SnapshotsClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_Create) [SnapshotsClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_ShutdownDefaultChannelsAsync) [SnapshotsClient.DeleteAsync(DeleteSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteSnapshotRequest_System_Threading_CancellationToken_) [SnapshotsClient.PollOnceDelete(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_PollOnceDelete_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.PollOnceDeleteAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_PollOnceDeleteAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.Delete(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_Delete_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.DeleteAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_DeleteAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.DeleteAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_DeleteAsync_System_String_System_String_System_Threading_CancellationToken_) [SnapshotsClient.GetAsync(GetSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GetAsync_Google_Cloud_Compute_V1_GetSnapshotRequest_System_Threading_CancellationToken_) [SnapshotsClient.Get(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_Get_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.GetAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GetAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.GetAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GetAsync_System_String_System_String_System_Threading_CancellationToken_) [SnapshotsClient.GetIamPolicyAsync(GetIamPolicySnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GetIamPolicyAsync_Google_Cloud_Compute_V1_GetIamPolicySnapshotRequest_System_Threading_CancellationToken_) [SnapshotsClient.GetIamPolicy(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GetIamPolicy_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.GetIamPolicyAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GetIamPolicyAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.GetIamPolicyAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GetIamPolicyAsync_System_String_System_String_System_Threading_CancellationToken_) [SnapshotsClient.InsertAsync(InsertSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_InsertAsync_Google_Cloud_Compute_V1_InsertSnapshotRequest_System_Threading_CancellationToken_) [SnapshotsClient.PollOnceInsert(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_PollOnceInsert_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.PollOnceInsertAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_PollOnceInsertAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.Insert(string, Snapshot, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_Insert_System_String_Google_Cloud_Compute_V1_Snapshot_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.InsertAsync(string, Snapshot, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_InsertAsync_System_String_Google_Cloud_Compute_V1_Snapshot_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.InsertAsync(string, Snapshot, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_InsertAsync_System_String_Google_Cloud_Compute_V1_Snapshot_System_Threading_CancellationToken_) [SnapshotsClient.List(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_List_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.ListAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_ListAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.SetIamPolicyAsync(SetIamPolicySnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetIamPolicyAsync_Google_Cloud_Compute_V1_SetIamPolicySnapshotRequest_System_Threading_CancellationToken_) [SnapshotsClient.SetIamPolicy(string, string, GlobalSetPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetIamPolicy_System_String_System_String_Google_Cloud_Compute_V1_GlobalSetPolicyRequest_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.SetIamPolicyAsync(string, string, GlobalSetPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetIamPolicyAsync_System_String_System_String_Google_Cloud_Compute_V1_GlobalSetPolicyRequest_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.SetIamPolicyAsync(string, string, GlobalSetPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetIamPolicyAsync_System_String_System_String_Google_Cloud_Compute_V1_GlobalSetPolicyRequest_System_Threading_CancellationToken_) [SnapshotsClient.SetLabelsAsync(SetLabelsSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetLabelsAsync_Google_Cloud_Compute_V1_SetLabelsSnapshotRequest_System_Threading_CancellationToken_) [SnapshotsClient.PollOnceSetLabels(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_PollOnceSetLabels_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.PollOnceSetLabelsAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_PollOnceSetLabelsAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.SetLabels(string, string, GlobalSetLabelsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetLabels_System_String_System_String_Google_Cloud_Compute_V1_GlobalSetLabelsRequest_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.SetLabelsAsync(string, string, GlobalSetLabelsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetLabelsAsync_System_String_System_String_Google_Cloud_Compute_V1_GlobalSetLabelsRequest_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.SetLabelsAsync(string, string, GlobalSetLabelsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetLabelsAsync_System_String_System_String_Google_Cloud_Compute_V1_GlobalSetLabelsRequest_System_Threading_CancellationToken_) [SnapshotsClient.TestIamPermissionsAsync(TestIamPermissionsSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsSnapshotRequest_System_Threading_CancellationToken_) [SnapshotsClient.TestIamPermissions(string, string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_TestIamPermissions_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.TestIamPermissionsAsync(string, string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_TestIamPermissionsAsync_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.TestIamPermissionsAsync(string, string, TestPermissionsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_TestIamPermissionsAsync_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_System_Threading_CancellationToken_) [SnapshotsClient.UpdateKmsKeyAsync(UpdateKmsKeySnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_UpdateKmsKeyAsync_Google_Cloud_Compute_V1_UpdateKmsKeySnapshotRequest_System_Threading_CancellationToken_) [SnapshotsClient.PollOnceUpdateKmsKey(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_PollOnceUpdateKmsKey_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.PollOnceUpdateKmsKeyAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_PollOnceUpdateKmsKeyAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.UpdateKmsKey(string, string, SnapshotUpdateKmsKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_UpdateKmsKey_System_String_System_String_Google_Cloud_Compute_V1_SnapshotUpdateKmsKeyRequest_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.UpdateKmsKeyAsync(string, string, SnapshotUpdateKmsKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_UpdateKmsKeyAsync_System_String_System_String_Google_Cloud_Compute_V1_SnapshotUpdateKmsKeyRequest_Google_Api_Gax_Grpc_CallSettings_) [SnapshotsClient.UpdateKmsKeyAsync(string, string, SnapshotUpdateKmsKeyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_UpdateKmsKeyAsync_System_String_System_String_Google_Cloud_Compute_V1_SnapshotUpdateKmsKeyRequest_System_Threading_CancellationToken_) [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.Compute.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)

## Assembly

Google.Cloud.Compute.V1.dll

## Remarks

The Snapshots API.

## Constructors

### SnapshotsClientImpl(SnapshotsClient, SnapshotsSettings, ILogger)

    public SnapshotsClientImpl(Snapshots.SnapshotsClient grpcClient, SnapshotsSettings settings, ILogger logger)

Constructs a client wrapper for the Snapshots service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Snapshotshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Snapshots.SnapshotsClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsSettings` The base [SnapshotsSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### DeleteOperationsClient

    public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for `Delete`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [SnapshotsClient.DeleteOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_DeleteOperationsClient)

### GrpcClient

    public override Snapshots.SnapshotsClient GrpcClient { get; }

The underlying gRPC Snapshots client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Snapshotshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Snapshots.SnapshotsClient` |   |

**Overrides** [SnapshotsClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GrpcClient)

### InsertOperationsClient

    public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for `Insert`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [SnapshotsClient.InsertOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_InsertOperationsClient)

### SetLabelsOperationsClient

    public override OperationsClient SetLabelsOperationsClient { get; }

The long-running operations client for `SetLabels`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [SnapshotsClient.SetLabelsOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetLabelsOperationsClient)

### UpdateKmsKeyOperationsClient

    public override OperationsClient UpdateKmsKeyOperationsClient { get; }

The long-running operations client for `UpdateKmsKey`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [SnapshotsClient.UpdateKmsKeyOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_UpdateKmsKeyOperationsClient)

## Methods

### Delete(DeleteSnapshotRequest, CallSettings)

    public override Operation<Operation, Operation> Delete(DeleteSnapshotRequest request, CallSettings callSettings = null)

Deletes the specified Snapshot resource. Keep in mind that deleting
a single snapshot might not necessarily delete all the data on that
snapshot. If any data on the snapshot that is marked for deletion is
needed for subsequent snapshots, the data will be moved to the next
corresponding snapshot.

For more information, seeDeleting
snapshots.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.DeleteSnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [SnapshotsClient.Delete(DeleteSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_Delete_Google_Cloud_Compute_V1_DeleteSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteAsync(DeleteSnapshotRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteSnapshotRequest request, CallSettings callSettings = null)

Deletes the specified Snapshot resource. Keep in mind that deleting
a single snapshot might not necessarily delete all the data on that
snapshot. If any data on the snapshot that is marked for deletion is
needed for subsequent snapshots, the data will be moved to the next
corresponding snapshot.

For more information, seeDeleting
snapshots.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.DeleteSnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [SnapshotsClient.DeleteAsync(DeleteSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### Get(GetSnapshotRequest, CallSettings)

    public override Snapshot Get(GetSnapshotRequest request, CallSettings callSettings = null)

Returns the specified Snapshot resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetSnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Snapshot` | The RPC response. |

**Overrides** [SnapshotsClient.Get(GetSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_Get_Google_Cloud_Compute_V1_GetSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetAsync(GetSnapshotRequest, CallSettings)

    public override Task<Snapshot> GetAsync(GetSnapshotRequest request, CallSettings callSettings = null)

Returns the specified Snapshot resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetSnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Snapshot` | A Task containing the RPC response. |

**Overrides** [SnapshotsClient.GetAsync(GetSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GetAsync_Google_Cloud_Compute_V1_GetSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetIamPolicy(GetIamPolicySnapshotRequest, CallSettings)

    public override Policy GetIamPolicy(GetIamPolicySnapshotRequest request, CallSettings callSettings = null)

Gets the access control policy for a resource. May be empty if no such
policy or resource exists.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetIamPolicySnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Policy` | The RPC response. |

**Overrides** [SnapshotsClient.GetIamPolicy(GetIamPolicySnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GetIamPolicy_Google_Cloud_Compute_V1_GetIamPolicySnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetIamPolicyAsync(GetIamPolicySnapshotRequest, CallSettings)

    public override Task<Policy> GetIamPolicyAsync(GetIamPolicySnapshotRequest request, CallSettings callSettings = null)

Gets the access control policy for a resource. May be empty if no such
policy or resource exists.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetIamPolicySnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Policy` | A Task containing the RPC response. |

**Overrides** [SnapshotsClient.GetIamPolicyAsync(GetIamPolicySnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_GetIamPolicyAsync_Google_Cloud_Compute_V1_GetIamPolicySnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### Insert(InsertSnapshotRequest, CallSettings)

    public override Operation<Operation, Operation> Insert(InsertSnapshotRequest request, CallSettings callSettings = null)

Creates a snapshot in the specified project using the data included
in the request. For regular snapshot creation, consider using this method
instead of disks.createSnapshot,
as this method supports more features, such as creating snapshots in a
project different from the source disk project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InsertSnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [SnapshotsClient.Insert(InsertSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_Insert_Google_Cloud_Compute_V1_InsertSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### InsertAsync(InsertSnapshotRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> InsertAsync(InsertSnapshotRequest request, CallSettings callSettings = null)

Creates a snapshot in the specified project using the data included
in the request. For regular snapshot creation, consider using this method
instead of disks.createSnapshot,
as this method supports more features, such as creating snapshots in a
project different from the source disk project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InsertSnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [SnapshotsClient.InsertAsync(InsertSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_InsertAsync_Google_Cloud_Compute_V1_InsertSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### List(ListSnapshotsRequest, CallSettings)

    public override PagedEnumerable<SnapshotList, Snapshot> List(ListSnapshotsRequest request, CallSettings callSettings = null)

Retrieves the list of Snapshot resources contained within
the specified project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ListSnapshotsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Snapshot` | A pageable sequence of [Snapshot](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Snapshot) resources. |

**Overrides** [SnapshotsClient.List(ListSnapshotsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_List_Google_Cloud_Compute_V1_ListSnapshotsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListAsync(ListSnapshotsRequest, CallSettings)

    public override PagedAsyncEnumerable<SnapshotList, Snapshot> ListAsync(ListSnapshotsRequest request, CallSettings callSettings = null)

Retrieves the list of Snapshot resources contained within
the specified project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ListSnapshotsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Snapshot` | A pageable asynchronous sequence of [Snapshot](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Snapshot) resources. |

**Overrides** [SnapshotsClient.ListAsync(ListSnapshotsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_ListAsync_Google_Cloud_Compute_V1_ListSnapshotsRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetIamPolicy(SetIamPolicySnapshotRequest, CallSettings)

    public override Policy SetIamPolicy(SetIamPolicySnapshotRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified resource.
Replaces any existing policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SetIamPolicySnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Policy` | The RPC response. |

**Overrides** [SnapshotsClient.SetIamPolicy(SetIamPolicySnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetIamPolicy_Google_Cloud_Compute_V1_SetIamPolicySnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetIamPolicyAsync(SetIamPolicySnapshotRequest, CallSettings)

    public override Task<Policy> SetIamPolicyAsync(SetIamPolicySnapshotRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified resource.
Replaces any existing policy.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SetIamPolicySnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Policy` | A Task containing the RPC response. |

**Overrides** [SnapshotsClient.SetIamPolicyAsync(SetIamPolicySnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetIamPolicyAsync_Google_Cloud_Compute_V1_SetIamPolicySnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetLabels(SetLabelsSnapshotRequest, CallSettings)

    public override Operation<Operation, Operation> SetLabels(SetLabelsSnapshotRequest request, CallSettings callSettings = null)

Sets the labels on a snapshot. To learn more about labels, read theLabeling
Resources documentation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SetLabelsSnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [SnapshotsClient.SetLabels(SetLabelsSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetLabels_Google_Cloud_Compute_V1_SetLabelsSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetLabelsAsync(SetLabelsSnapshotRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> SetLabelsAsync(SetLabelsSnapshotRequest request, CallSettings callSettings = null)

Sets the labels on a snapshot. To learn more about labels, read theLabeling
Resources documentation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SetLabelsSnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [SnapshotsClient.SetLabelsAsync(SetLabelsSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_SetLabelsAsync_Google_Cloud_Compute_V1_SetLabelsSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### TestIamPermissions(TestIamPermissionsSnapshotRequest, CallSettings)

    public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsSnapshotRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestIamPermissionsSnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestPermissionsResponse` | The RPC response. |

**Overrides** [SnapshotsClient.TestIamPermissions(TestIamPermissionsSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_TestIamPermissions_Google_Cloud_Compute_V1_TestIamPermissionsSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### TestIamPermissionsAsync(TestIamPermissionsSnapshotRequest, CallSettings)

    public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsSnapshotRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestIamPermissionsSnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.TestPermissionsResponse` | A Task containing the RPC response. |

**Overrides** [SnapshotsClient.TestIamPermissionsAsync(TestIamPermissionsSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateKmsKey(UpdateKmsKeySnapshotRequest, CallSettings)

    public override Operation<Operation, Operation> UpdateKmsKey(UpdateKmsKeySnapshotRequest request, CallSettings callSettings = null)

Rotates the customer-managed
encryption key to the latest version for the specified snapshot.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.UpdateKmsKeySnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | The RPC response. |

**Overrides** [SnapshotsClient.UpdateKmsKey(UpdateKmsKeySnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_UpdateKmsKey_Google_Cloud_Compute_V1_UpdateKmsKeySnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateKmsKeyAsync(UpdateKmsKeySnapshotRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> UpdateKmsKeyAsync(UpdateKmsKeySnapshotRequest request, CallSettings callSettings = null)

Rotates the customer-managed
encryption key to the latest version for the specified snapshot.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.UpdateKmsKeySnapshotRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.Operation` | A Task containing the RPC response. |

**Overrides** [SnapshotsClient.UpdateKmsKeyAsync(UpdateKmsKeySnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotsClient#Google_Cloud_Compute_V1_SnapshotsClient_UpdateKmsKeyAsync_Google_Cloud_Compute_V1_UpdateKmsKeySnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)