BeyondCorp AppGateways v1 API - Class AppGatewaysService.AppGatewaysServiceClient (1.3.0)

public class AppGatewaysService.AppGatewaysServiceClient : ClientBase<AppGatewaysService.AppGatewaysServiceClient>

Reference documentation and code samples for the BeyondCorp AppGateways v1 API class AppGatewaysService.AppGatewaysServiceClient.

Client for AppGatewaysService

Inheritance

object > ClientBase > ClientBaseAppGatewaysServiceAppGatewaysServiceClient > AppGatewaysService.AppGatewaysServiceClient

Namespace

Google.Cloud.BeyondCorp.AppGateways.V1

Assembly

Google.Cloud.BeyondCorp.AppGateways.V1.dll

Constructors

AppGatewaysServiceClient()

protected AppGatewaysServiceClient()

Protected parameterless constructor to allow creation of test doubles.

AppGatewaysServiceClient(CallInvoker)

public AppGatewaysServiceClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

AppGatewaysServiceClient(ChannelBase)

public AppGatewaysServiceClient(ChannelBase channel)

Creates a new client for AppGatewaysService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

AppGatewaysServiceClient(ClientBaseConfiguration)

protected AppGatewaysServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateAppGateway(CreateAppGatewayRequest, CallOptions)

public virtual Operation CreateAppGateway(CreateAppGatewayRequest request, CallOptions options)

Creates a new AppGateway in a given project and location.

Parameters
Name Description
request CreateAppGatewayRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateAppGateway(CreateAppGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new AppGateway in a given project and location.

Parameters
Name Description
request CreateAppGatewayRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateAppGatewayAsync(CreateAppGatewayRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateAppGatewayAsync(CreateAppGatewayRequest request, CallOptions options)

Creates a new AppGateway in a given project and location.

Parameters
Name Description
request CreateAppGatewayRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateAppGatewayAsync(CreateAppGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new AppGateway in a given project and location.

Parameters
Name Description
request CreateAppGatewayRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
OperationsOperationsClient

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

DeleteAppGateway(DeleteAppGatewayRequest, CallOptions)

public virtual Operation DeleteAppGateway(DeleteAppGatewayRequest request, CallOptions options)

Deletes a single AppGateway.

Parameters
Name Description
request DeleteAppGatewayRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteAppGateway(DeleteAppGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single AppGateway.

Parameters
Name Description
request DeleteAppGatewayRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteAppGatewayAsync(DeleteAppGatewayRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAppGatewayAsync(DeleteAppGatewayRequest request, CallOptions options)

Deletes a single AppGateway.

Parameters
Name Description
request DeleteAppGatewayRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteAppGatewayAsync(DeleteAppGatewayRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single AppGateway.

Parameters
Name Description
request DeleteAppGatewayRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

GetAppGateway(GetAppGatewayRequest, CallOptions)

public virtual AppGateway GetAppGateway(GetAppGatewayRequest request, CallOptions options)

Gets details of a single AppGateway.

Parameters
Name Description
request GetAppGatewayRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AppGateway

The response received from the server.

GetAppGateway(GetAppGatewayRequest, Metadata, DateTime?, CancellationToken)

public virtual AppGateway GetAppGateway(GetAppGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single AppGateway.

Parameters
Name Description
request GetAppGatewayRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AppGateway

The response received from the server.

GetAppGatewayAsync(GetAppGatewayRequest, CallOptions)

public virtual AsyncUnaryCall<AppGateway> GetAppGatewayAsync(GetAppGatewayRequest request, CallOptions options)

Gets details of a single AppGateway.

Parameters
Name Description
request GetAppGatewayRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallAppGateway

The call object.

GetAppGatewayAsync(GetAppGatewayRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AppGateway> GetAppGatewayAsync(GetAppGatewayRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single AppGateway.

Parameters
Name Description
request GetAppGatewayRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallAppGateway

The call object.

ListAppGateways(ListAppGatewaysRequest, CallOptions)

public virtual ListAppGatewaysResponse ListAppGateways(ListAppGatewaysRequest request, CallOptions options)

Lists AppGateways in a given project and location.

Parameters
Name Description
request ListAppGatewaysRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListAppGatewaysResponse

The response received from the server.

ListAppGateways(ListAppGatewaysRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAppGatewaysResponse ListAppGateways(ListAppGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists AppGateways in a given project and location.

Parameters
Name Description
request ListAppGatewaysRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListAppGatewaysResponse

The response received from the server.

ListAppGatewaysAsync(ListAppGatewaysRequest, CallOptions)

public virtual AsyncUnaryCall<ListAppGatewaysResponse> ListAppGatewaysAsync(ListAppGatewaysRequest request, CallOptions options)

Lists AppGateways in a given project and location.

Parameters
Name Description
request ListAppGatewaysRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListAppGatewaysResponse

The call object.

ListAppGatewaysAsync(ListAppGatewaysRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAppGatewaysResponse> ListAppGatewaysAsync(ListAppGatewaysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists AppGateways in a given project and location.

Parameters
Name Description
request ListAppGatewaysRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListAppGatewaysResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override AppGatewaysService.AppGatewaysServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
AppGatewaysServiceAppGatewaysServiceClient
Overrides