BeyondCorp AppGateways v1 API - Class AppGatewaysService.AppGatewaysServiceClient (1.2.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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AppGatewaysServiceClient(ChannelBase)

public AppGatewaysServiceClient(ChannelBase channel)

Creates a new client for AppGatewaysService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AppGatewaysServiceClient(ClientBaseConfiguration)

protected AppGatewaysServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateAppGatewayRequest

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.

CreateAppGatewayAsync(CreateAppGatewayRequest, CallOptions)

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

Creates a new AppGateway in a given project and location.

Parameters
NameDescription
requestCreateAppGatewayRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateAppGatewayRequest

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.

DeleteAppGateway(DeleteAppGatewayRequest, CallOptions)

public virtual Operation DeleteAppGateway(DeleteAppGatewayRequest request, CallOptions options)

Deletes a single AppGateway.

Parameters
NameDescription
requestDeleteAppGatewayRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteAppGatewayRequest

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.

DeleteAppGatewayAsync(DeleteAppGatewayRequest, CallOptions)

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

Deletes a single AppGateway.

Parameters
NameDescription
requestDeleteAppGatewayRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteAppGatewayRequest

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.

GetAppGateway(GetAppGatewayRequest, CallOptions)

public virtual AppGateway GetAppGateway(GetAppGatewayRequest request, CallOptions options)

Gets details of a single AppGateway.

Parameters
NameDescription
requestGetAppGatewayRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetAppGatewayRequest

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetAppGatewayRequest

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
AsyncUnaryCallAppGateway

The call object.

ListAppGateways(ListAppGatewaysRequest, CallOptions)

public virtual ListAppGatewaysResponse ListAppGateways(ListAppGatewaysRequest request, CallOptions options)

Lists AppGateways in a given project and location.

Parameters
NameDescription
requestListAppGatewaysRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListAppGatewaysRequest

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListAppGatewaysRequest

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
AsyncUnaryCallListAppGatewaysResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
AppGatewaysServiceAppGatewaysServiceClient
Overrides