BeyondCorp AppConnections v1 API - Class AppConnectionsService.AppConnectionsServiceClient (1.1.0)

public class AppConnectionsService.AppConnectionsServiceClient : ClientBase<AppConnectionsService.AppConnectionsServiceClient>

Reference documentation and code samples for the BeyondCorp AppConnections v1 API class AppConnectionsService.AppConnectionsServiceClient.

Client for AppConnectionsService

Inheritance

object > ClientBase > ClientBaseAppConnectionsServiceAppConnectionsServiceClient > AppConnectionsService.AppConnectionsServiceClient

Namespace

Google.Cloud.BeyondCorp.AppConnections.V1

Assembly

Google.Cloud.BeyondCorp.AppConnections.V1.dll

Constructors

AppConnectionsServiceClient()

protected AppConnectionsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

AppConnectionsServiceClient(CallInvoker)

public AppConnectionsServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AppConnectionsServiceClient(ChannelBase)

public AppConnectionsServiceClient(ChannelBase channel)

Creates a new client for AppConnectionsService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AppConnectionsServiceClient(ClientBaseConfiguration)

protected AppConnectionsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateAppConnection(CreateAppConnectionRequest, CallOptions)

public virtual Operation CreateAppConnection(CreateAppConnectionRequest request, CallOptions options)

Creates a new AppConnection in a given project and location.

Parameters
NameDescription
requestCreateAppConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateAppConnection(CreateAppConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new AppConnection in a given project and location.

Parameters
NameDescription
requestCreateAppConnectionRequest

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.

CreateAppConnectionAsync(CreateAppConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateAppConnectionAsync(CreateAppConnectionRequest request, CallOptions options)

Creates a new AppConnection in a given project and location.

Parameters
NameDescription
requestCreateAppConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateAppConnectionAsync(CreateAppConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new AppConnection in a given project and location.

Parameters
NameDescription
requestCreateAppConnectionRequest

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.

DeleteAppConnection(DeleteAppConnectionRequest, CallOptions)

public virtual Operation DeleteAppConnection(DeleteAppConnectionRequest request, CallOptions options)

Deletes a single AppConnection.

Parameters
NameDescription
requestDeleteAppConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteAppConnection(DeleteAppConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single AppConnection.

Parameters
NameDescription
requestDeleteAppConnectionRequest

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.

DeleteAppConnectionAsync(DeleteAppConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAppConnectionAsync(DeleteAppConnectionRequest request, CallOptions options)

Deletes a single AppConnection.

Parameters
NameDescription
requestDeleteAppConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAppConnectionAsync(DeleteAppConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single AppConnection.

Parameters
NameDescription
requestDeleteAppConnectionRequest

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.

GetAppConnection(GetAppConnectionRequest, CallOptions)

public virtual AppConnection GetAppConnection(GetAppConnectionRequest request, CallOptions options)

Gets details of a single AppConnection.

Parameters
NameDescription
requestGetAppConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AppConnection

The response received from the server.

GetAppConnection(GetAppConnectionRequest, Metadata, DateTime?, CancellationToken)

public virtual AppConnection GetAppConnection(GetAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single AppConnection.

Parameters
NameDescription
requestGetAppConnectionRequest

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
AppConnection

The response received from the server.

GetAppConnectionAsync(GetAppConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<AppConnection> GetAppConnectionAsync(GetAppConnectionRequest request, CallOptions options)

Gets details of a single AppConnection.

Parameters
NameDescription
requestGetAppConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAppConnection

The call object.

GetAppConnectionAsync(GetAppConnectionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AppConnection> GetAppConnectionAsync(GetAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single AppConnection.

Parameters
NameDescription
requestGetAppConnectionRequest

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
AsyncUnaryCallAppConnection

The call object.

ListAppConnections(ListAppConnectionsRequest, CallOptions)

public virtual ListAppConnectionsResponse ListAppConnections(ListAppConnectionsRequest request, CallOptions options)

Lists AppConnections in a given project and location.

Parameters
NameDescription
requestListAppConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAppConnectionsResponse

The response received from the server.

ListAppConnections(ListAppConnectionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAppConnectionsResponse ListAppConnections(ListAppConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists AppConnections in a given project and location.

Parameters
NameDescription
requestListAppConnectionsRequest

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
ListAppConnectionsResponse

The response received from the server.

ListAppConnectionsAsync(ListAppConnectionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListAppConnectionsResponse> ListAppConnectionsAsync(ListAppConnectionsRequest request, CallOptions options)

Lists AppConnections in a given project and location.

Parameters
NameDescription
requestListAppConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListAppConnectionsResponse

The call object.

ListAppConnectionsAsync(ListAppConnectionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAppConnectionsResponse> ListAppConnectionsAsync(ListAppConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists AppConnections in a given project and location.

Parameters
NameDescription
requestListAppConnectionsRequest

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
AsyncUnaryCallListAppConnectionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override AppConnectionsService.AppConnectionsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
AppConnectionsServiceAppConnectionsServiceClient
Overrides

ResolveAppConnections(ResolveAppConnectionsRequest, CallOptions)

public virtual ResolveAppConnectionsResponse ResolveAppConnections(ResolveAppConnectionsRequest request, CallOptions options)

Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.

Parameters
NameDescription
requestResolveAppConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ResolveAppConnectionsResponse

The response received from the server.

ResolveAppConnections(ResolveAppConnectionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ResolveAppConnectionsResponse ResolveAppConnections(ResolveAppConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.

Parameters
NameDescription
requestResolveAppConnectionsRequest

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
ResolveAppConnectionsResponse

The response received from the server.

ResolveAppConnectionsAsync(ResolveAppConnectionsRequest, CallOptions)

public virtual AsyncUnaryCall<ResolveAppConnectionsResponse> ResolveAppConnectionsAsync(ResolveAppConnectionsRequest request, CallOptions options)

Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.

Parameters
NameDescription
requestResolveAppConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallResolveAppConnectionsResponse

The call object.

ResolveAppConnectionsAsync(ResolveAppConnectionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ResolveAppConnectionsResponse> ResolveAppConnectionsAsync(ResolveAppConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to.

Parameters
NameDescription
requestResolveAppConnectionsRequest

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
AsyncUnaryCallResolveAppConnectionsResponse

The call object.

UpdateAppConnection(UpdateAppConnectionRequest, CallOptions)

public virtual Operation UpdateAppConnection(UpdateAppConnectionRequest request, CallOptions options)

Updates the parameters of a single AppConnection.

Parameters
NameDescription
requestUpdateAppConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateAppConnection(UpdateAppConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single AppConnection.

Parameters
NameDescription
requestUpdateAppConnectionRequest

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.

UpdateAppConnectionAsync(UpdateAppConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateAppConnectionAsync(UpdateAppConnectionRequest request, CallOptions options)

Updates the parameters of a single AppConnection.

Parameters
NameDescription
requestUpdateAppConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateAppConnectionAsync(UpdateAppConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single AppConnection.

Parameters
NameDescription
requestUpdateAppConnectionRequest

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.