BeyondCorp Client Connector Services v1 API - Class ClientGatewaysService.ClientGatewaysServiceClient (1.0.0)

public class ClientGatewaysServiceClient : ClientBase<ClientGatewaysService.ClientGatewaysServiceClient>

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

Client for ClientGatewaysService

Inheritance

Object > ClientBase > ClientBase<ClientGatewaysService.ClientGatewaysServiceClient> > 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(ClientBase.ClientBaseConfiguration)

protected ClientGatewaysServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

CreateClientGatewayAsync(CreateClientGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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
IAMPolicy.IAMPolicyClient

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
Locations.LocationsClient

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
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteClientGatewayAsync(DeleteClientGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ClientGateway>

The call object.

GetClientGatewayAsync(GetClientGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ClientGateway>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListClientGatewaysResponse>

The call object.

ListClientGatewaysAsync(ListClientGatewaysRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListClientGatewaysResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ClientGatewaysService.ClientGatewaysServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.BeyondCorp.ClientGateways.V1.ClientGatewaysService.ClientGatewaysServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)