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

public class AppGatewaysServiceClient : ClientBase<AppGatewaysService.AppGatewaysServiceClient>

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

Client for AppGatewaysService

Inheritance

Object > ClientBase > ClientBase<AppGatewaysService.AppGatewaysServiceClient> > 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(ClientBase.ClientBaseConfiguration)

protected AppGatewaysServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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

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

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.

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.

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

The call object.

CreateAppGatewayAsync(CreateAppGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.

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

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

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.

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.

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

The call object.

DeleteAppGatewayAsync(DeleteAppGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.

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

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

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.

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

The call object.

GetAppGatewayAsync(GetAppGatewayRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<AppGateway>

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

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

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.

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

The call object.

ListAppGatewaysAsync(ListAppGatewaysRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<ListAppGatewaysResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
AppGatewaysService.AppGatewaysServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.BeyondCorp.AppGateways.V1.AppGatewaysService.AppGatewaysServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)