BeyondCorp Client Gateways v1 API - Class ClientGatewaysService.ClientGatewaysServiceClient (1.1.0)

public class ClientGatewaysService.ClientGatewaysServiceClient : ClientBase<ClientGatewaysService.ClientGatewaysServiceClient>

Reference documentation and code samples for the BeyondCorp Client Gateways v1 API class ClientGatewaysService.ClientGatewaysServiceClient.

Client for ClientGatewaysService

Inheritance

object > ClientBase > ClientBaseClientGatewaysServiceClientGatewaysServiceClient > ClientGatewaysService.ClientGatewaysServiceClient

Namespace

Google.Cloud.BeyondCorp.ClientGateways.V1

Assembly

Google.Cloud.BeyondCorp.ClientGateways.V1.dll

Constructors

ClientGatewaysServiceClient()

protected ClientGatewaysServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ClientGatewaysServiceClient(CallInvoker)

public ClientGatewaysServiceClient(CallInvoker callInvoker)

Creates a new client for ClientGatewaysService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ClientGatewaysServiceClient(ChannelBase)

public ClientGatewaysServiceClient(ChannelBase channel)

Creates a new client for ClientGatewaysService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ClientGatewaysServiceClient(ClientBaseConfiguration)

protected ClientGatewaysServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateClientGateway(CreateClientGatewayRequest, CallOptions)

public virtual Operation CreateClientGateway(CreateClientGatewayRequest request, CallOptions options)

Creates a new ClientGateway in a given project and location.

Parameters
NameDescription
requestCreateClientGatewayRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateClientGateway(CreateClientGatewayRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateClientGateway(CreateClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new ClientGateway in a given project and location.

Parameters
NameDescription
requestCreateClientGatewayRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateClientGatewayAsync(CreateClientGatewayRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateClientGatewayAsync(CreateClientGatewayRequest request, CallOptions options)

Creates a new ClientGateway in a given project and location.

Parameters
NameDescription
requestCreateClientGatewayRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateClientGatewayAsync(CreateClientGatewayRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateClientGatewayAsync(CreateClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new ClientGateway in a given project and location.

Parameters
NameDescription
requestCreateClientGatewayRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
TypeDescription
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

DeleteClientGateway(DeleteClientGatewayRequest, CallOptions)

public virtual Operation DeleteClientGateway(DeleteClientGatewayRequest request, CallOptions options)

Deletes a single ClientGateway.

Parameters
NameDescription
requestDeleteClientGatewayRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteClientGateway(DeleteClientGatewayRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteClientGateway(DeleteClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single ClientGateway.

Parameters
NameDescription
requestDeleteClientGatewayRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteClientGatewayAsync(DeleteClientGatewayRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteClientGatewayAsync(DeleteClientGatewayRequest request, CallOptions options)

Deletes a single ClientGateway.

Parameters
NameDescription
requestDeleteClientGatewayRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteClientGatewayAsync(DeleteClientGatewayRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteClientGatewayAsync(DeleteClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single ClientGateway.

Parameters
NameDescription
requestDeleteClientGatewayRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

GetClientGateway(GetClientGatewayRequest, CallOptions)

public virtual ClientGateway GetClientGateway(GetClientGatewayRequest request, CallOptions options)

Gets details of a single ClientGateway.

Parameters
NameDescription
requestGetClientGatewayRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ClientGateway

The response received from the server.

GetClientGateway(GetClientGatewayRequest, Metadata, DateTime?, CancellationToken)

public virtual ClientGateway GetClientGateway(GetClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single ClientGateway.

Parameters
NameDescription
requestGetClientGatewayRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ClientGateway

The response received from the server.

GetClientGatewayAsync(GetClientGatewayRequest, CallOptions)

public virtual AsyncUnaryCall<ClientGateway> GetClientGatewayAsync(GetClientGatewayRequest request, CallOptions options)

Gets details of a single ClientGateway.

Parameters
NameDescription
requestGetClientGatewayRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallClientGateway

The call object.

GetClientGatewayAsync(GetClientGatewayRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ClientGateway> GetClientGatewayAsync(GetClientGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single ClientGateway.

Parameters
NameDescription
requestGetClientGatewayRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallClientGateway

The call object.

ListClientGateways(ListClientGatewaysRequest, CallOptions)

public virtual ListClientGatewaysResponse ListClientGateways(ListClientGatewaysRequest request, CallOptions options)

Lists ClientGateways in a given project and location.

Parameters
NameDescription
requestListClientGatewaysRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListClientGatewaysResponse

The response received from the server.

ListClientGateways(ListClientGatewaysRequest, Metadata, DateTime?, CancellationToken)

public virtual ListClientGatewaysResponse ListClientGateways(ListClientGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists ClientGateways in a given project and location.

Parameters
NameDescription
requestListClientGatewaysRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListClientGatewaysResponse

The response received from the server.

ListClientGatewaysAsync(ListClientGatewaysRequest, CallOptions)

public virtual AsyncUnaryCall<ListClientGatewaysResponse> ListClientGatewaysAsync(ListClientGatewaysRequest request, CallOptions options)

Lists ClientGateways in a given project and location.

Parameters
NameDescription
requestListClientGatewaysRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListClientGatewaysResponse

The call object.

ListClientGatewaysAsync(ListClientGatewaysRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListClientGatewaysResponse> ListClientGatewaysAsync(ListClientGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists ClientGateways in a given project and location.

Parameters
NameDescription
requestListClientGatewaysRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListClientGatewaysResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ClientGatewaysService.ClientGatewaysServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ClientGatewaysServiceClientGatewaysServiceClient
Overrides