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

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

InstanceSettingsService client wrapper implementation, for convenient use.

## Inheritance

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

## Inherited Members

[InstanceSettingsServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_DefaultEndpoint) [InstanceSettingsServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_DefaultScopes) [InstanceSettingsServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_ServiceMetadata) [InstanceSettingsServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_CreateAsync_System_Threading_CancellationToken_) [InstanceSettingsServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_Create) [InstanceSettingsServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_ShutdownDefaultChannelsAsync) [InstanceSettingsServiceClient.GetAsync(GetInstanceSettingRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_GetAsync_Google_Cloud_Compute_V1_GetInstanceSettingRequest_System_Threading_CancellationToken_) [InstanceSettingsServiceClient.Get(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_Get_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstanceSettingsServiceClient.GetAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_GetAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstanceSettingsServiceClient.GetAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_GetAsync_System_String_System_String_System_Threading_CancellationToken_) [InstanceSettingsServiceClient.PatchAsync(PatchInstanceSettingRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_PatchAsync_Google_Cloud_Compute_V1_PatchInstanceSettingRequest_System_Threading_CancellationToken_) [InstanceSettingsServiceClient.PollOncePatch(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_PollOncePatch_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstanceSettingsServiceClient.PollOncePatchAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_PollOncePatchAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstanceSettingsServiceClient.Patch(string, string, InstanceSettings, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_Patch_System_String_System_String_Google_Cloud_Compute_V1_InstanceSettings_Google_Api_Gax_Grpc_CallSettings_) [InstanceSettingsServiceClient.PatchAsync(string, string, InstanceSettings, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_PatchAsync_System_String_System_String_Google_Cloud_Compute_V1_InstanceSettings_Google_Api_Gax_Grpc_CallSettings_) [InstanceSettingsServiceClient.PatchAsync(string, string, InstanceSettings, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_PatchAsync_System_String_System_String_Google_Cloud_Compute_V1_InstanceSettings_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 InstanceSettings API.

## Constructors

### InstanceSettingsServiceClientImpl(InstanceSettingsServiceClient, InstanceSettingsServiceSettings, ILogger)

    public InstanceSettingsServiceClientImpl(InstanceSettingsService.InstanceSettingsServiceClient grpcClient, InstanceSettingsServiceSettings settings, ILogger logger)

Constructs a client wrapper for the InstanceSettingsService 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.InstanceSettingsServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsService.InstanceSettingsServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceSettings` The base [InstanceSettingsServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceSettings) 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 InstanceSettingsService.InstanceSettingsServiceClient GrpcClient { get; }

The underlying gRPC InstanceSettingsService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsService.InstanceSettingsServiceClient` |   |

**Overrides** [InstanceSettingsServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_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** [InstanceSettingsServiceClient.PatchOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstanceSettingsServiceClient#Google_Cloud_Compute_V1_InstanceSettingsServiceClient_PatchOperationsClient)

## Methods

### Get(GetInstanceSettingRequest, CallSettings)

    public override InstanceSettings Get(GetInstanceSettingRequest request, CallSettings callSettings = null)

Get Instance settings.

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

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

### GetAsync(GetInstanceSettingRequest, CallSettings)

    public override Task<InstanceSettings> GetAsync(GetInstanceSettingRequest request, CallSettings callSettings = null)

Get Instance settings.

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

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

### Patch(PatchInstanceSettingRequest, CallSettings)

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

Patch Instance settings

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

### PatchAsync(PatchInstanceSettingRequest, CallSettings)

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

Patch Instance settings

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