[BindServiceMethod(typeof(NodeTemplates), "BindService")]
public abstract class NodeTemplatesBase
Reference documentation and code samples for the Compute Engine v1 API class NodeTemplates.NodeTemplatesBase.
Base class for server-side implementations of NodeTemplates
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListNodeTemplatesRequest, ServerCallContext)
public virtual Task<NodeTemplateAggregatedList> AggregatedList(AggregatedListNodeTemplatesRequest request, ServerCallContext context)
Retrieves an aggregated list of node templates.
Parameters | |
---|---|
Name | Description |
request | AggregatedListNodeTemplatesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<NodeTemplateAggregatedList> | The response to send back to the client (wrapped by a task). |
Delete(DeleteNodeTemplateRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteNodeTemplateRequest request, ServerCallContext context)
Deletes the specified NodeTemplate resource.
Parameters | |
---|---|
Name | Description |
request | DeleteNodeTemplateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
Get(GetNodeTemplateRequest, ServerCallContext)
public virtual Task<NodeTemplate> Get(GetNodeTemplateRequest request, ServerCallContext context)
Returns the specified node template. Gets a list of available node templates by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetNodeTemplateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<NodeTemplate> | The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyNodeTemplateRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyNodeTemplateRequest request, ServerCallContext context)
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyNodeTemplateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Policy> | The response to send back to the client (wrapped by a task). |
Insert(InsertNodeTemplateRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertNodeTemplateRequest request, ServerCallContext context)
Creates a NodeTemplate resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertNodeTemplateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
List(ListNodeTemplatesRequest, ServerCallContext)
public virtual Task<NodeTemplateList> List(ListNodeTemplatesRequest request, ServerCallContext context)
Retrieves a list of node templates available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListNodeTemplatesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<NodeTemplateList> | The response to send back to the client (wrapped by a task). |
SetIamPolicy(SetIamPolicyNodeTemplateRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyNodeTemplateRequest request, ServerCallContext context)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyNodeTemplateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Policy> | The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsNodeTemplateRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsNodeTemplateRequest request, ServerCallContext context)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsNodeTemplateRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<TestPermissionsResponse> | The response to send back to the client (wrapped by a task). |