BeyondCorp v1 API - Class AppConnectionsService.AppConnectionsServiceClient (1.0.0)

public class AppConnectionsServiceClient : ClientBase<AppConnectionsService.AppConnectionsServiceClient>

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

Client for AppConnectionsService

Inheritance

Object > ClientBase > ClientBase<AppConnectionsService.AppConnectionsServiceClient> > 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(ClientBase.ClientBaseConfiguration)

protected AppConnectionsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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

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

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.

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.

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

The call object.

CreateAppConnectionAsync(CreateAppConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.

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

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

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.

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.

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

The call object.

DeleteAppConnectionAsync(DeleteAppConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.

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

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

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.

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

The call object.

GetAppConnectionAsync(GetAppConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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

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

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

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.

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

The call object.

ListAppConnectionsAsync(ListAppConnectionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
AppConnectionsService.AppConnectionsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.BeyondCorp.AppConnections.V1.AppConnectionsService.AppConnectionsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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

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

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.

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

The call object.

ResolveAppConnectionsAsync(ResolveAppConnectionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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

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

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

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.

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.

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

The call object.

UpdateAppConnectionAsync(UpdateAppConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.