public sealed class NodeTemplatesClientImpl : NodeTemplatesClient
Reference documentation and code samples for the Compute Engine v1 API class NodeTemplatesClientImpl.
NodeTemplates client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The NodeTemplates API.
Constructors
NodeTemplatesClientImpl(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 | |
---|---|
Name | Description |
grpcClient | NodeTemplatesNodeTemplatesClient The underlying gRPC client. |
settings | NodeTemplatesSettings The base NodeTemplatesSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }
The long-running operations client for Delete
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override NodeTemplates.NodeTemplatesClient GrpcClient { get; }
The underlying gRPC NodeTemplates client
Property Value | |
---|---|
Type | Description |
NodeTemplatesNodeTemplatesClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 | |
---|---|
Name | Description |
request | AggregatedListNodeTemplatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableNodeTemplateAggregatedListKeyValuePairstringNodeTemplatesScopedList | A pageable sequence of KeyValuePair<TKey, TValue> resources. |
AggregatedListAsync(AggregatedListNodeTemplatesRequest, CallSettings)
public override PagedAsyncEnumerable<NodeTemplateAggregatedList, KeyValuePair<string, NodeTemplatesScopedList>> AggregatedListAsync(AggregatedListNodeTemplatesRequest request, CallSettings callSettings = null)
Retrieves an aggregated list of node templates.
Parameters | |
---|---|
Name | Description |
request | AggregatedListNodeTemplatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableNodeTemplateAggregatedListKeyValuePairstringNodeTemplatesScopedList | A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources. |
Delete(DeleteNodeTemplateRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteNodeTemplateRequest request, CallSettings callSettings = null)
Deletes the specified NodeTemplate resource.
Parameters | |
---|---|
Name | Description |
request | DeleteNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationOperationOperation | The RPC response. |
DeleteAsync(DeleteNodeTemplateRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteNodeTemplateRequest request, CallSettings callSettings = null)
Deletes the specified NodeTemplate resource.
Parameters | |
---|---|
Name | Description |
request | DeleteNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationOperationOperation | A Task containing the RPC response. |
Get(GetNodeTemplateRequest, CallSettings)
public override NodeTemplate Get(GetNodeTemplateRequest request, CallSettings callSettings = null)
Returns the specified node template.
Parameters | |
---|---|
Name | Description |
request | GetNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
NodeTemplate | The RPC response. |
GetAsync(GetNodeTemplateRequest, CallSettings)
public override Task<NodeTemplate> GetAsync(GetNodeTemplateRequest request, CallSettings callSettings = null)
Returns the specified node template.
Parameters | |
---|---|
Name | Description |
request | GetNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskNodeTemplate | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | GetIamPolicyNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Policy | The RPC response. |
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 | |
---|---|
Name | Description |
request | GetIamPolicyNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskPolicy | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | InsertNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationOperationOperation | The RPC response. |
InsertAsync(InsertNodeTemplateRequest, CallSettings)
public override 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 | |
---|---|
Name | Description |
request | InsertNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationOperationOperation | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | ListNodeTemplatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableNodeTemplateListNodeTemplate | A pageable sequence of NodeTemplate resources. |
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 | |
---|---|
Name | Description |
request | ListNodeTemplatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableNodeTemplateListNodeTemplate | A pageable asynchronous sequence of NodeTemplate resources. |
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 | |
---|---|
Name | Description |
request | SetIamPolicyNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Policy | The RPC response. |
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 | |
---|---|
Name | Description |
request | SetIamPolicyNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskPolicy | A Task containing the RPC response. |
TestIamPermissions(TestIamPermissionsNodeTemplateRequest, CallSettings)
public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsNodeTemplateRequest request, CallSettings callSettings = null)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse | The RPC response. |
TestIamPermissionsAsync(TestIamPermissionsNodeTemplateRequest, CallSettings)
public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNodeTemplateRequest request, CallSettings callSettings = null)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsNodeTemplateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskTestPermissionsResponse | A Task containing the RPC response. |