Class NodeTemplatesClientImpl (2.0.0)

public sealed class NodeTemplatesClientImpl : NodeTemplatesClient

NodeTemplates client wrapper implementation, for convenient use.

Inheritance

Object > NodeTemplatesClient > NodeTemplatesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The NodeTemplates API.

Constructors

NodeTemplatesClientImpl(NodeTemplates.NodeTemplatesClient, NodeTemplatesSettings, ILogger)

public NodeTemplatesClientImpl(NodeTemplates.NodeTemplatesClient grpcClient, NodeTemplatesSettings settings, ILogger logger)

Constructs a client wrapper for the NodeTemplates service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientNodeTemplates.NodeTemplatesClient

The underlying gRPC client.

settingsNodeTemplatesSettings

The base NodeTemplatesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override NodeTemplates.NodeTemplatesClient GrpcClient { get; }

The underlying gRPC NodeTemplates client

Property Value
TypeDescription
NodeTemplates.NodeTemplatesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

AggregatedList(AggregatedListNodeTemplatesRequest, CallSettings)

public override PagedEnumerable<NodeTemplateAggregatedList, KeyValuePair<string, NodeTemplatesScopedList>> AggregatedList(AggregatedListNodeTemplatesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of node templates.

Parameters
NameDescription
requestAggregatedListNodeTemplatesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<NodeTemplateAggregatedList, KeyValuePair<String, NodeTemplatesScopedList>>

A pageable sequence of KeyValuePair<TKey,TValue> resources.

Overrides

AggregatedListAsync(AggregatedListNodeTemplatesRequest, CallSettings)

public override PagedAsyncEnumerable<NodeTemplateAggregatedList, KeyValuePair<string, NodeTemplatesScopedList>> AggregatedListAsync(AggregatedListNodeTemplatesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of node templates.

Parameters
NameDescription
requestAggregatedListNodeTemplatesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<NodeTemplateAggregatedList, KeyValuePair<String, NodeTemplatesScopedList>>

A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources.

Overrides

Delete(DeleteNodeTemplateRequest, CallSettings)

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

Deletes the specified NodeTemplate resource.

Parameters
NameDescription
requestDeleteNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteNodeTemplateRequest, CallSettings)

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

Deletes the specified NodeTemplate resource.

Parameters
NameDescription
requestDeleteNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

Get(GetNodeTemplateRequest, CallSettings)

public override NodeTemplate Get(GetNodeTemplateRequest request, CallSettings callSettings = null)

Returns the specified node template. Gets a list of available node templates by making a list() request.

Parameters
NameDescription
requestGetNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
NodeTemplate

The RPC response.

Overrides

GetAsync(GetNodeTemplateRequest, CallSettings)

public override Task<NodeTemplate> GetAsync(GetNodeTemplateRequest request, CallSettings callSettings = null)

Returns the specified node template. Gets a list of available node templates by making a list() request.

Parameters
NameDescription
requestGetNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<NodeTemplate>

A Task containing the RPC response.

Overrides

GetIamPolicy(GetIamPolicyNodeTemplateRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyNodeTemplateRequest request, CallSettings callSettings = null)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

GetIamPolicyAsync(GetIamPolicyNodeTemplateRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyNodeTemplateRequest request, CallSettings callSettings = null)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Policy>

A Task containing the RPC response.

Overrides

Insert(InsertNodeTemplateRequest, CallSettings)

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

Creates a NodeTemplate resource in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertNodeTemplateRequest, CallSettings)

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

Creates a NodeTemplate resource in the specified project using the data included in the request.

Parameters
NameDescription
requestInsertNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

List(ListNodeTemplatesRequest, CallSettings)

public override PagedEnumerable<NodeTemplateList, NodeTemplate> List(ListNodeTemplatesRequest request, CallSettings callSettings = null)

Retrieves a list of node templates available to the specified project.

Parameters
NameDescription
requestListNodeTemplatesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<NodeTemplateList, NodeTemplate>

A pageable sequence of NodeTemplate resources.

Overrides

ListAsync(ListNodeTemplatesRequest, CallSettings)

public override PagedAsyncEnumerable<NodeTemplateList, NodeTemplate> ListAsync(ListNodeTemplatesRequest request, CallSettings callSettings = null)

Retrieves a list of node templates available to the specified project.

Parameters
NameDescription
requestListNodeTemplatesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<NodeTemplateList, NodeTemplate>

A pageable asynchronous sequence of NodeTemplate resources.

Overrides

SetIamPolicy(SetIamPolicyNodeTemplateRequest, CallSettings)

public override Policy SetIamPolicy(SetIamPolicyNodeTemplateRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

SetIamPolicyAsync(SetIamPolicyNodeTemplateRequest, CallSettings)

public override Task<Policy> SetIamPolicyAsync(SetIamPolicyNodeTemplateRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Policy>

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsNodeTemplateRequest, CallSettings)

public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsNodeTemplateRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TestPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsNodeTemplateRequest, CallSettings)

public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNodeTemplateRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsNodeTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TestPermissionsResponse>

A Task containing the RPC response.

Overrides