public sealed class ExternalVpnGatewaysClientImpl : ExternalVpnGatewaysClient
Reference documentation and code samples for the Compute Engine v1 API class ExternalVpnGatewaysClientImpl.
ExternalVpnGateways client wrapper implementation, for convenient use.
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The ExternalVpnGateways API.
Constructors
ExternalVpnGatewaysClientImpl(ExternalVpnGatewaysClient, ExternalVpnGatewaysSettings, ILogger)
public ExternalVpnGatewaysClientImpl(ExternalVpnGateways.ExternalVpnGatewaysClient grpcClient, ExternalVpnGatewaysSettings settings, ILogger logger)
Constructs a client wrapper for the ExternalVpnGateways service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ExternalVpnGatewaysExternalVpnGatewaysClient The underlying gRPC client. |
settings | ExternalVpnGatewaysSettings The base ExternalVpnGatewaysSettings 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 ExternalVpnGateways.ExternalVpnGatewaysClient GrpcClient { get; }
The underlying gRPC ExternalVpnGateways client
Property Value | |
---|---|
Type | Description |
ExternalVpnGatewaysExternalVpnGatewaysClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
SetLabelsOperationsClient
public override OperationsClient SetLabelsOperationsClient { get; }
The long-running operations client for SetLabels
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Delete(DeleteExternalVpnGatewayRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteExternalVpnGatewayRequest request, CallSettings callSettings = null)
Deletes the specified externalVpnGateway.
Parameters | |
---|---|
Name | Description |
request | DeleteExternalVpnGatewayRequest 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(DeleteExternalVpnGatewayRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteExternalVpnGatewayRequest request, CallSettings callSettings = null)
Deletes the specified externalVpnGateway.
Parameters | |
---|---|
Name | Description |
request | DeleteExternalVpnGatewayRequest 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(GetExternalVpnGatewayRequest, CallSettings)
public override ExternalVpnGateway Get(GetExternalVpnGatewayRequest request, CallSettings callSettings = null)
Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetExternalVpnGatewayRequest 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 |
ExternalVpnGateway | The RPC response. |
GetAsync(GetExternalVpnGatewayRequest, CallSettings)
public override Task<ExternalVpnGateway> GetAsync(GetExternalVpnGatewayRequest request, CallSettings callSettings = null)
Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetExternalVpnGatewayRequest 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 |
TaskExternalVpnGateway | A Task containing the RPC response. |
Insert(InsertExternalVpnGatewayRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertExternalVpnGatewayRequest request, CallSettings callSettings = null)
Creates a ExternalVpnGateway in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertExternalVpnGatewayRequest 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(InsertExternalVpnGatewayRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertExternalVpnGatewayRequest request, CallSettings callSettings = null)
Creates a ExternalVpnGateway in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertExternalVpnGatewayRequest 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(ListExternalVpnGatewaysRequest, CallSettings)
public override PagedEnumerable<ExternalVpnGatewayList, ExternalVpnGateway> List(ListExternalVpnGatewaysRequest request, CallSettings callSettings = null)
Retrieves the list of ExternalVpnGateway available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListExternalVpnGatewaysRequest 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 |
PagedEnumerableExternalVpnGatewayListExternalVpnGateway | A pageable sequence of ExternalVpnGateway resources. |
ListAsync(ListExternalVpnGatewaysRequest, CallSettings)
public override PagedAsyncEnumerable<ExternalVpnGatewayList, ExternalVpnGateway> ListAsync(ListExternalVpnGatewaysRequest request, CallSettings callSettings = null)
Retrieves the list of ExternalVpnGateway available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListExternalVpnGatewaysRequest 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 |
PagedAsyncEnumerableExternalVpnGatewayListExternalVpnGateway | A pageable asynchronous sequence of ExternalVpnGateway resources. |
SetLabels(SetLabelsExternalVpnGatewayRequest, CallSettings)
public override Operation<Operation, Operation> SetLabels(SetLabelsExternalVpnGatewayRequest request, CallSettings callSettings = null)
Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation.
Parameters | |
---|---|
Name | Description |
request | SetLabelsExternalVpnGatewayRequest 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. |
SetLabelsAsync(SetLabelsExternalVpnGatewayRequest, CallSettings)
public override Task<Operation<Operation, Operation>> SetLabelsAsync(SetLabelsExternalVpnGatewayRequest request, CallSettings callSettings = null)
Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation.
Parameters | |
---|---|
Name | Description |
request | SetLabelsExternalVpnGatewayRequest 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. |
TestIamPermissions(TestIamPermissionsExternalVpnGatewayRequest, CallSettings)
public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsExternalVpnGatewayRequest request, CallSettings callSettings = null)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsExternalVpnGatewayRequest 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(TestIamPermissionsExternalVpnGatewayRequest, CallSettings)
public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsExternalVpnGatewayRequest request, CallSettings callSettings = null)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsExternalVpnGatewayRequest 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. |