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

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

RegionInstanceTemplates client wrapper implementation, for convenient use.

## Inheritance

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

## Inherited Members

[RegionInstanceTemplatesClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_DefaultEndpoint) [RegionInstanceTemplatesClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_DefaultScopes) [RegionInstanceTemplatesClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_ServiceMetadata) [RegionInstanceTemplatesClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_CreateAsync_System_Threading_CancellationToken_) [RegionInstanceTemplatesClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_Create) [RegionInstanceTemplatesClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_ShutdownDefaultChannelsAsync) [RegionInstanceTemplatesClient.DeleteAsync(DeleteRegionInstanceTemplateRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteRegionInstanceTemplateRequest_System_Threading_CancellationToken_) [RegionInstanceTemplatesClient.PollOnceDelete(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_PollOnceDelete_System_String_Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.PollOnceDeleteAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_PollOnceDeleteAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.Delete(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_Delete_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.DeleteAsync(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_DeleteAsync_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.DeleteAsync(string, string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_DeleteAsync_System_String_System_String_System_String_System_Threading_CancellationToken_) [RegionInstanceTemplatesClient.GetAsync(GetRegionInstanceTemplateRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_GetAsync_Google_Cloud_Compute_V1_GetRegionInstanceTemplateRequest_System_Threading_CancellationToken_) [RegionInstanceTemplatesClient.Get(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_Get_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.GetAsync(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_GetAsync_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.GetAsync(string, string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_GetAsync_System_String_System_String_System_String_System_Threading_CancellationToken_) [RegionInstanceTemplatesClient.InsertAsync(InsertRegionInstanceTemplateRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_InsertAsync_Google_Cloud_Compute_V1_InsertRegionInstanceTemplateRequest_System_Threading_CancellationToken_) [RegionInstanceTemplatesClient.PollOnceInsert(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_PollOnceInsert_System_String_Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.PollOnceInsertAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_PollOnceInsertAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.Insert(string, string, InstanceTemplate, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_Insert_System_String_System_String_Google_Cloud_Compute_V1_InstanceTemplate_Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.InsertAsync(string, string, InstanceTemplate, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_InsertAsync_System_String_System_String_Google_Cloud_Compute_V1_InstanceTemplate_Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.InsertAsync(string, string, InstanceTemplate, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_InsertAsync_System_String_System_String_Google_Cloud_Compute_V1_InstanceTemplate_System_Threading_CancellationToken_) [RegionInstanceTemplatesClient.List(string, string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_List_System_String_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [RegionInstanceTemplatesClient.ListAsync(string, string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplatesClient#Google_Cloud_Compute_V1_RegionInstanceTemplatesClient_ListAsync_System_String_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [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 RegionInstanceTemplates API.

## Constructors

### RegionInstanceTemplatesClientImpl(RegionInstanceTemplatesClient, RegionInstanceTemplatesSettings, ILogger)

    public RegionInstanceTemplatesClientImpl(RegionInstanceTemplates.RegionInstanceTemplatesClient grpcClient, RegionInstanceTemplatesSettings settings, ILogger logger)

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

### GrpcClient

    public override RegionInstanceTemplates.RegionInstanceTemplatesClient GrpcClient { get; }

The underlying gRPC RegionInstanceTemplates client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplateshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.RegionInstanceTemplates.RegionInstanceTemplatesClient` |   |

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

## Methods

### Delete(DeleteRegionInstanceTemplateRequest, CallSettings)

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

Deletes the specified instance template. Deleting an instance template is
permanent and cannot be undone.

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

### DeleteAsync(DeleteRegionInstanceTemplateRequest, CallSettings)

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

Deletes the specified instance template. Deleting an instance template is
permanent and cannot be undone.

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

### Get(GetRegionInstanceTemplateRequest, CallSettings)

    public override InstanceTemplate Get(GetRegionInstanceTemplateRequest request, CallSettings callSettings = null)

Returns the specified instance template.

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

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

### GetAsync(GetRegionInstanceTemplateRequest, CallSettings)

    public override Task<InstanceTemplate> GetAsync(GetRegionInstanceTemplateRequest request, CallSettings callSettings = null)

Returns the specified instance template.

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

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

### Insert(InsertRegionInstanceTemplateRequest, CallSettings)

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

Creates an instance template in the specified project and region using the
global instance template whose URL is included in the request.

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

### InsertAsync(InsertRegionInstanceTemplateRequest, CallSettings)

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

Creates an instance template in the specified project and region using the
global instance template whose URL is included in the request.

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

### List(ListRegionInstanceTemplatesRequest, CallSettings)

    public override PagedEnumerable<InstanceTemplateList, InstanceTemplate> List(ListRegionInstanceTemplatesRequest request, CallSettings callSettings = null)

Retrieves a list of instance templates that are contained within the
specified project and region.

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

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

### ListAsync(ListRegionInstanceTemplatesRequest, CallSettings)

    public override PagedAsyncEnumerable<InstanceTemplateList, InstanceTemplate> ListAsync(ListRegionInstanceTemplatesRequest request, CallSettings callSettings = null)

Retrieves a list of instance templates that are contained within the
specified project and region.

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

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