Compute Engine v1 API - Class ExternalVpnGatewaysClientImpl (2.10.0)

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.

Inheritance

object > ExternalVpnGatewaysClient > ExternalVpnGatewaysClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
grpcClientExternalVpnGatewaysExternalVpnGatewaysClient

The underlying gRPC client.

settingsExternalVpnGatewaysSettings

The base ExternalVpnGatewaysSettings 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 ExternalVpnGateways.ExternalVpnGatewaysClient GrpcClient { get; }

The underlying gRPC ExternalVpnGateways client

Property Value
TypeDescription
ExternalVpnGatewaysExternalVpnGatewaysClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

SetLabelsOperationsClient

public override OperationsClient SetLabelsOperationsClient { get; }

The long-running operations client for SetLabels.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

Delete(DeleteExternalVpnGatewayRequest, CallSettings)

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

Deletes the specified externalVpnGateway.

Parameters
NameDescription
requestDeleteExternalVpnGatewayRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteExternalVpnGatewayRequest, CallSettings)

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

Deletes the specified externalVpnGateway.

Parameters
NameDescription
requestDeleteExternalVpnGatewayRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

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
NameDescription
requestGetExternalVpnGatewayRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ExternalVpnGateway

The RPC response.

Overrides

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
NameDescription
requestGetExternalVpnGatewayRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskExternalVpnGateway

A Task containing the RPC response.

Overrides

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
NameDescription
requestInsertExternalVpnGatewayRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

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
NameDescription
requestInsertExternalVpnGatewayRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

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
NameDescription
requestListExternalVpnGatewaysRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableExternalVpnGatewayListExternalVpnGateway

A pageable sequence of ExternalVpnGateway resources.

Overrides

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
NameDescription
requestListExternalVpnGatewaysRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableExternalVpnGatewayListExternalVpnGateway

A pageable asynchronous sequence of ExternalVpnGateway resources.

Overrides

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
NameDescription
requestSetLabelsExternalVpnGatewayRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

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
NameDescription
requestSetLabelsExternalVpnGatewayRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsExternalVpnGatewayRequest, CallSettings)

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

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsExternalVpnGatewayRequest

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(TestIamPermissionsExternalVpnGatewayRequest, CallSettings)

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

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsExternalVpnGatewayRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTestPermissionsResponse

A Task containing the RPC response.

Overrides