# Compute Engine v1 API - Class SnapshotSettingsServiceClientImpl (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 SnapshotSettingsServiceClientImpl : SnapshotSettingsServiceClient

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

SnapshotSettingsService client wrapper implementation, for convenient use.

## Inheritance

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

## Inherited Members

[SnapshotSettingsServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_DefaultEndpoint) [SnapshotSettingsServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_DefaultScopes) [SnapshotSettingsServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_ServiceMetadata) [SnapshotSettingsServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_CreateAsync_System_Threading_CancellationToken_) [SnapshotSettingsServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_Create) [SnapshotSettingsServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_ShutdownDefaultChannelsAsync) [SnapshotSettingsServiceClient.GetAsync(GetSnapshotSettingRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_GetAsync_Google_Cloud_Compute_V1_GetSnapshotSettingRequest_System_Threading_CancellationToken_) [SnapshotSettingsServiceClient.Get(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_Get_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotSettingsServiceClient.GetAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_GetAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotSettingsServiceClient.GetAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_GetAsync_System_String_System_Threading_CancellationToken_) [SnapshotSettingsServiceClient.PatchAsync(PatchSnapshotSettingRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_PatchAsync_Google_Cloud_Compute_V1_PatchSnapshotSettingRequest_System_Threading_CancellationToken_) [SnapshotSettingsServiceClient.PollOncePatch(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_PollOncePatch_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotSettingsServiceClient.PollOncePatchAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_PollOncePatchAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SnapshotSettingsServiceClient.Patch(string, SnapshotSettings, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_Patch_System_String_Google_Cloud_Compute_V1_SnapshotSettings_Google_Api_Gax_Grpc_CallSettings_) [SnapshotSettingsServiceClient.PatchAsync(string, SnapshotSettings, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_PatchAsync_System_String_Google_Cloud_Compute_V1_SnapshotSettings_Google_Api_Gax_Grpc_CallSettings_) [SnapshotSettingsServiceClient.PatchAsync(string, SnapshotSettings, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_PatchAsync_System_String_Google_Cloud_Compute_V1_SnapshotSettings_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 SnapshotSettings API.

## Constructors

### SnapshotSettingsServiceClientImpl(SnapshotSettingsServiceClient, SnapshotSettingsServiceSettings, ILogger)

    public SnapshotSettingsServiceClientImpl(SnapshotSettingsService.SnapshotSettingsServiceClient grpcClient, SnapshotSettingsServiceSettings settings, ILogger logger)

Constructs a client wrapper for the SnapshotSettingsService 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.SnapshotSettingsServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsService.SnapshotSettingsServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceSettings` The base [SnapshotSettingsServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceSettings) 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

### GrpcClient

    public override SnapshotSettingsService.SnapshotSettingsServiceClient GrpcClient { get; }

The underlying gRPC SnapshotSettingsService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsService.SnapshotSettingsServiceClient` |   |

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

### PatchOperationsClient

    public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for `Patch`.

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

**Overrides** [SnapshotSettingsServiceClient.PatchOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_PatchOperationsClient)

## Methods

### Get(GetSnapshotSettingRequest, CallSettings)

    public override SnapshotSettings Get(GetSnapshotSettingRequest request, CallSettings callSettings = null)

Get snapshot settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetSnapshotSettingRequest` 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.SnapshotSettings` | The RPC response. |

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

### GetAsync(GetSnapshotSettingRequest, CallSettings)

    public override Task<SnapshotSettings> GetAsync(GetSnapshotSettingRequest request, CallSettings callSettings = null)

Get snapshot settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.GetSnapshotSettingRequest` 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.SnapshotSettings` | A Task containing the RPC response. |

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

### Patch(PatchSnapshotSettingRequest, CallSettings)

    public override Operation<Operation, Operation> Patch(PatchSnapshotSettingRequest request, CallSettings callSettings = null)

Patch snapshot settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.PatchSnapshotSettingRequest` 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** [SnapshotSettingsServiceClient.Patch(PatchSnapshotSettingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_Patch_Google_Cloud_Compute_V1_PatchSnapshotSettingRequest_Google_Api_Gax_Grpc_CallSettings_)

### PatchAsync(PatchSnapshotSettingRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> PatchAsync(PatchSnapshotSettingRequest request, CallSettings callSettings = null)

Patch snapshot settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.PatchSnapshotSettingRequest` 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** [SnapshotSettingsServiceClient.PatchAsync(PatchSnapshotSettingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.SnapshotSettingsServiceClient#Google_Cloud_Compute_V1_SnapshotSettingsServiceClient_PatchAsync_Google_Cloud_Compute_V1_PatchSnapshotSettingRequest_Google_Api_Gax_Grpc_CallSettings_)