Compute Engine v1 API - Class RegionInstanceTemplates.RegionInstanceTemplatesBase (3.2.0)

[BindServiceMethod(typeof(RegionInstanceTemplates), "BindService")]
public abstract class RegionInstanceTemplates.RegionInstanceTemplatesBase

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

Base class for server-side implementations of RegionInstanceTemplates

Inheritance

object > RegionInstanceTemplates.RegionInstanceTemplatesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteRegionInstanceTemplateRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteRegionInstanceTemplateRequest request, ServerCallContext context)

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

Parameters
Name Description
request DeleteRegionInstanceTemplateRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

Get(GetRegionInstanceTemplateRequest, ServerCallContext)

public virtual Task<InstanceTemplate> Get(GetRegionInstanceTemplateRequest request, ServerCallContext context)

Returns the specified instance template.

Parameters
Name Description
request GetRegionInstanceTemplateRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskInstanceTemplate

The response to send back to the client (wrapped by a task).

Insert(InsertRegionInstanceTemplateRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertRegionInstanceTemplateRequest request, ServerCallContext context)

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 InsertRegionInstanceTemplateRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

List(ListRegionInstanceTemplatesRequest, ServerCallContext)

public virtual Task<InstanceTemplateList> List(ListRegionInstanceTemplatesRequest request, ServerCallContext context)

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

Parameters
Name Description
request ListRegionInstanceTemplatesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskInstanceTemplateList

The response to send back to the client (wrapped by a task).