public sealed class NodeTemplatesClientImpl : NodeTemplatesClient
NodeTemplates client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The NodeTemplates API.
Constructors
NodeTemplatesClientImpl(NodeTemplates.NodeTemplatesClient, NodeTemplatesSettings)
public NodeTemplatesClientImpl(NodeTemplates.NodeTemplatesClient grpcClient, NodeTemplatesSettings settings)
Constructs a client wrapper for the NodeTemplates service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | NodeTemplates.NodeTemplatesClient The underlying gRPC client. |
settings | NodeTemplatesSettings The base NodeTemplatesSettings used 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 |
NodeTemplates.NodeTemplatesClient |
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 |
PagedEnumerable<NodeTemplateAggregatedList, KeyValuePair<String, NodeTemplatesScopedList>> | 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 |
PagedAsyncEnumerable<NodeTemplateAggregatedList, KeyValuePair<String, NodeTemplatesScopedList>> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
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 | |
---|---|
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. Gets a list of available node templates by making a list() request.
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 |
Task<NodeTemplate> | 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 |
Task<Policy> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | 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 |
PagedEnumerable<NodeTemplateList, NodeTemplate> | 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 |
PagedAsyncEnumerable<NodeTemplateList, NodeTemplate> | 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 |
Task<Policy> | 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 |
Task<TestPermissionsResponse> | A Task containing the RPC response. |