Compute Engine v1 API - Class RegionInstanceTemplates.RegionInstanceTemplatesBase (2.12.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
NameDescription
requestDeleteRegionInstanceTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetRegionInstanceTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestInsertRegionInstanceTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListRegionInstanceTemplatesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskInstanceTemplateList

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