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

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

InstantSnapshots client wrapper implementation, for convenient use.

## Inheritance

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

## Inherited Members

[InstantSnapshotsClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_DefaultEndpoint) [InstantSnapshotsClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_DefaultScopes) [InstantSnapshotsClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_ServiceMetadata) [InstantSnapshotsClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_CreateAsync_System_Threading_CancellationToken_) [InstantSnapshotsClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_Create) [InstantSnapshotsClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_ShutdownDefaultChannelsAsync) [InstantSnapshotsClient.AggregatedList(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_AggregatedList_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.AggregatedListAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_AggregatedListAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.DeleteAsync(DeleteInstantSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteInstantSnapshotRequest_System_Threading_CancellationToken_) [InstantSnapshotsClient.PollOnceDelete(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_PollOnceDelete_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.PollOnceDeleteAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_PollOnceDeleteAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.Delete(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_Delete_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.DeleteAsync(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_DeleteAsync_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.DeleteAsync(string, string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_DeleteAsync_System_String_System_String_System_String_System_Threading_CancellationToken_) [InstantSnapshotsClient.GetAsync(GetInstantSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_GetAsync_Google_Cloud_Compute_V1_GetInstantSnapshotRequest_System_Threading_CancellationToken_) [InstantSnapshotsClient.Get(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_Get_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.GetAsync(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_GetAsync_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.GetAsync(string, string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_GetAsync_System_String_System_String_System_String_System_Threading_CancellationToken_) [InstantSnapshotsClient.GetIamPolicyAsync(GetIamPolicyInstantSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_GetIamPolicyAsync_Google_Cloud_Compute_V1_GetIamPolicyInstantSnapshotRequest_System_Threading_CancellationToken_) [InstantSnapshotsClient.GetIamPolicy(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_GetIamPolicy_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.GetIamPolicyAsync(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_GetIamPolicyAsync_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.GetIamPolicyAsync(string, string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_GetIamPolicyAsync_System_String_System_String_System_String_System_Threading_CancellationToken_) [InstantSnapshotsClient.InsertAsync(InsertInstantSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_InsertAsync_Google_Cloud_Compute_V1_InsertInstantSnapshotRequest_System_Threading_CancellationToken_) [InstantSnapshotsClient.PollOnceInsert(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_PollOnceInsert_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.PollOnceInsertAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_PollOnceInsertAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.Insert(string, string, InstantSnapshot, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_Insert_System_String_System_String_Google_Cloud_Compute_V1_InstantSnapshot_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.InsertAsync(string, string, InstantSnapshot, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_InsertAsync_System_String_System_String_Google_Cloud_Compute_V1_InstantSnapshot_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.InsertAsync(string, string, InstantSnapshot, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_InsertAsync_System_String_System_String_Google_Cloud_Compute_V1_InstantSnapshot_System_Threading_CancellationToken_) [InstantSnapshotsClient.List(string, string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_List_System_String_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.ListAsync(string, string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_ListAsync_System_String_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.SetIamPolicyAsync(SetIamPolicyInstantSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetIamPolicyAsync_Google_Cloud_Compute_V1_SetIamPolicyInstantSnapshotRequest_System_Threading_CancellationToken_) [InstantSnapshotsClient.SetIamPolicy(string, string, string, ZoneSetPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetIamPolicy_System_String_System_String_System_String_Google_Cloud_Compute_V1_ZoneSetPolicyRequest_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.SetIamPolicyAsync(string, string, string, ZoneSetPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetIamPolicyAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_ZoneSetPolicyRequest_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.SetIamPolicyAsync(string, string, string, ZoneSetPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetIamPolicyAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_ZoneSetPolicyRequest_System_Threading_CancellationToken_) [InstantSnapshotsClient.SetLabelsAsync(SetLabelsInstantSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetLabelsAsync_Google_Cloud_Compute_V1_SetLabelsInstantSnapshotRequest_System_Threading_CancellationToken_) [InstantSnapshotsClient.PollOnceSetLabels(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_PollOnceSetLabels_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.PollOnceSetLabelsAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_PollOnceSetLabelsAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.SetLabels(string, string, string, ZoneSetLabelsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetLabels_System_String_System_String_System_String_Google_Cloud_Compute_V1_ZoneSetLabelsRequest_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.SetLabelsAsync(string, string, string, ZoneSetLabelsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetLabelsAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_ZoneSetLabelsRequest_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.SetLabelsAsync(string, string, string, ZoneSetLabelsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetLabelsAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_ZoneSetLabelsRequest_System_Threading_CancellationToken_) [InstantSnapshotsClient.TestIamPermissionsAsync(TestIamPermissionsInstantSnapshotRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsInstantSnapshotRequest_System_Threading_CancellationToken_) [InstantSnapshotsClient.TestIamPermissions(string, string, string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_TestIamPermissions_System_String_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.TestIamPermissionsAsync(string, string, string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_TestIamPermissionsAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [InstantSnapshotsClient.TestIamPermissionsAsync(string, string, string, TestPermissionsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_TestIamPermissionsAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_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 InstantSnapshots API.

## Constructors

### InstantSnapshotsClientImpl(InstantSnapshotsClient, InstantSnapshotsSettings, ILogger)

    public InstantSnapshotsClientImpl(InstantSnapshots.InstantSnapshotsClient grpcClient, InstantSnapshotsSettings settings, ILogger logger)

Constructs a client wrapper for the InstantSnapshots 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.InstantSnapshotshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshots.InstantSnapshotsClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsSettings` The base [InstantSnapshotsSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsSettings) 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** [InstantSnapshotsClient.DeleteOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_DeleteOperationsClient)

### GrpcClient

    public override InstantSnapshots.InstantSnapshotsClient GrpcClient { get; }

The underlying gRPC InstantSnapshots client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshots.InstantSnapshotsClient` |   |

**Overrides** [InstantSnapshotsClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_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** [InstantSnapshotsClient.InsertOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_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** [InstantSnapshotsClient.SetLabelsOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetLabelsOperationsClient)

## Methods

### AggregatedList(AggregatedListInstantSnapshotsRequest, CallSettings)

    public override PagedEnumerable<InstantSnapshotAggregatedList, KeyValuePair<string, InstantSnapshotsScopedList>> AggregatedList(AggregatedListInstantSnapshotsRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of instantSnapshots.

To prevent failure, Google recommends that you set the
`returnPartialSuccess` parameter to `true`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.AggregatedListInstantSnapshotsRequest` 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.InstantSnapshotAggregatedListhttps://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2https://learn.microsoft.com/dotnet/api/system.stringhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsScopedList` | A pageable sequence of [KeyValuePair\<TKey, TValue\>](https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2) resources. |

**Overrides** [InstantSnapshotsClient.AggregatedList(AggregatedListInstantSnapshotsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_AggregatedList_Google_Cloud_Compute_V1_AggregatedListInstantSnapshotsRequest_Google_Api_Gax_Grpc_CallSettings_)

### AggregatedListAsync(AggregatedListInstantSnapshotsRequest, CallSettings)

    public override PagedAsyncEnumerable<InstantSnapshotAggregatedList, KeyValuePair<string, InstantSnapshotsScopedList>> AggregatedListAsync(AggregatedListInstantSnapshotsRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of instantSnapshots.

To prevent failure, Google recommends that you set the
`returnPartialSuccess` parameter to `true`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.AggregatedListInstantSnapshotsRequest` 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.InstantSnapshotAggregatedListhttps://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2https://learn.microsoft.com/dotnet/api/system.stringhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsScopedList` | A pageable asynchronous sequence of [KeyValuePair\<TKey, TValue\>](https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2) resources. |

**Overrides** [InstantSnapshotsClient.AggregatedListAsync(AggregatedListInstantSnapshotsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_AggregatedListAsync_Google_Cloud_Compute_V1_AggregatedListInstantSnapshotsRequest_Google_Api_Gax_Grpc_CallSettings_)

### Delete(DeleteInstantSnapshotRequest, CallSettings)

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

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

For more information, seeDeleting
instantSnapshots.

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

### DeleteAsync(DeleteInstantSnapshotRequest, CallSettings)

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

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

For more information, seeDeleting
instantSnapshots.

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

### Get(GetInstantSnapshotRequest, CallSettings)

    public override InstantSnapshot Get(GetInstantSnapshotRequest request, CallSettings callSettings = null)

Returns the specified InstantSnapshot resource in the specified zone.

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

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

### GetAsync(GetInstantSnapshotRequest, CallSettings)

    public override Task<InstantSnapshot> GetAsync(GetInstantSnapshotRequest request, CallSettings callSettings = null)

Returns the specified InstantSnapshot resource in the specified zone.

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

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

### GetIamPolicy(GetIamPolicyInstantSnapshotRequest, CallSettings)

    public override Policy GetIamPolicy(GetIamPolicyInstantSnapshotRequest 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.GetIamPolicyInstantSnapshotRequest` 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** [InstantSnapshotsClient.GetIamPolicy(GetIamPolicyInstantSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_GetIamPolicy_Google_Cloud_Compute_V1_GetIamPolicyInstantSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetIamPolicyAsync(GetIamPolicyInstantSnapshotRequest, CallSettings)

    public override Task<Policy> GetIamPolicyAsync(GetIamPolicyInstantSnapshotRequest 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.GetIamPolicyInstantSnapshotRequest` 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** [InstantSnapshotsClient.GetIamPolicyAsync(GetIamPolicyInstantSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_GetIamPolicyAsync_Google_Cloud_Compute_V1_GetIamPolicyInstantSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### Insert(InsertInstantSnapshotRequest, CallSettings)

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

Creates an instant snapshot in the specified zone.

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

### InsertAsync(InsertInstantSnapshotRequest, CallSettings)

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

Creates an instant snapshot in the specified zone.

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

### List(ListInstantSnapshotsRequest, CallSettings)

    public override PagedEnumerable<InstantSnapshotList, InstantSnapshot> List(ListInstantSnapshotsRequest request, CallSettings callSettings = null)

Retrieves the list of InstantSnapshot resources contained within
the specified zone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ListInstantSnapshotsRequest` 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.InstantSnapshotListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshot` | A pageable sequence of [InstantSnapshot](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshot) resources. |

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

### ListAsync(ListInstantSnapshotsRequest, CallSettings)

    public override PagedAsyncEnumerable<InstantSnapshotList, InstantSnapshot> ListAsync(ListInstantSnapshotsRequest request, CallSettings callSettings = null)

Retrieves the list of InstantSnapshot resources contained within
the specified zone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ListInstantSnapshotsRequest` 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.InstantSnapshotListhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshot` | A pageable asynchronous sequence of [InstantSnapshot](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshot) resources. |

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

### SetIamPolicy(SetIamPolicyInstantSnapshotRequest, CallSettings)

    public override Policy SetIamPolicy(SetIamPolicyInstantSnapshotRequest 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.SetIamPolicyInstantSnapshotRequest` 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** [InstantSnapshotsClient.SetIamPolicy(SetIamPolicyInstantSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetIamPolicy_Google_Cloud_Compute_V1_SetIamPolicyInstantSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetIamPolicyAsync(SetIamPolicyInstantSnapshotRequest, CallSettings)

    public override Task<Policy> SetIamPolicyAsync(SetIamPolicyInstantSnapshotRequest 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.SetIamPolicyInstantSnapshotRequest` 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** [InstantSnapshotsClient.SetIamPolicyAsync(SetIamPolicyInstantSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_SetIamPolicyAsync_Google_Cloud_Compute_V1_SetIamPolicyInstantSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetLabels(SetLabelsInstantSnapshotRequest, CallSettings)

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

Sets the labels on a instantSnapshot in the given zone. To learn more about
labels, read the Labeling
Resources documentation.

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

### SetLabelsAsync(SetLabelsInstantSnapshotRequest, CallSettings)

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

Sets the labels on a instantSnapshot in the given zone. To learn more about
labels, read the Labeling
Resources documentation.

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

### TestIamPermissions(TestIamPermissionsInstantSnapshotRequest, CallSettings)

    public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsInstantSnapshotRequest 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.TestIamPermissionsInstantSnapshotRequest` 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** [InstantSnapshotsClient.TestIamPermissions(TestIamPermissionsInstantSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_TestIamPermissions_Google_Cloud_Compute_V1_TestIamPermissionsInstantSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)

### TestIamPermissionsAsync(TestIamPermissionsInstantSnapshotRequest, CallSettings)

    public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsInstantSnapshotRequest 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.TestIamPermissionsInstantSnapshotRequest` 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** [InstantSnapshotsClient.TestIamPermissionsAsync(TestIamPermissionsInstantSnapshotRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.InstantSnapshotsClient#Google_Cloud_Compute_V1_InstantSnapshotsClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsInstantSnapshotRequest_Google_Api_Gax_Grpc_CallSettings_)