BeyondCorp v1 API - Class AppConnectionsServiceClientImpl (1.0.0)

public sealed class AppConnectionsServiceClientImpl : AppConnectionsServiceClient

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

AppConnectionsService client wrapper implementation, for convenient use.

Inheritance

Object > AppConnectionsServiceClient > AppConnectionsServiceClientImpl

Namespace

Google.Cloud.BeyondCorp.AppConnections.V1

Assembly

Google.Cloud.BeyondCorp.AppConnections.V1.dll

Remarks

API Overview

The beyondcorp.googleapis.com service implements the Google Cloud BeyondCorp API.

Data Model

The AppConnectionsService exposes the following resources:

  • AppConnections, named as follows: projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}.

The AppConnectionsService service provides methods to manage (create/read/update/delete) BeyondCorp AppConnections.

Constructors

AppConnectionsServiceClientImpl(AppConnectionsService.AppConnectionsServiceClient, AppConnectionsServiceSettings, ILogger)

public AppConnectionsServiceClientImpl(AppConnectionsService.AppConnectionsServiceClient grpcClient, AppConnectionsServiceSettings settings, ILogger logger)

Constructs a client wrapper for the AppConnectionsService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientAppConnectionsService.AppConnectionsServiceClient

The underlying gRPC client.

settingsAppConnectionsServiceSettings

The base AppConnectionsServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateAppConnectionOperationsClient

public override OperationsClient CreateAppConnectionOperationsClient { get; }

The long-running operations client for CreateAppConnection.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteAppConnectionOperationsClient

public override OperationsClient DeleteAppConnectionOperationsClient { get; }

The long-running operations client for DeleteAppConnection.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override AppConnectionsService.AppConnectionsServiceClient GrpcClient { get; }

The underlying gRPC AppConnectionsService client

Property Value
TypeDescription
AppConnectionsService.AppConnectionsServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

UpdateAppConnectionOperationsClient

public override OperationsClient UpdateAppConnectionOperationsClient { get; }

The long-running operations client for UpdateAppConnection.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateAppConnection(CreateAppConnectionRequest, CallSettings)

public override Operation<AppConnection, AppConnectionOperationMetadata> CreateAppConnection(CreateAppConnectionRequest request, CallSettings callSettings = null)

Creates a new AppConnection in a given project and location.

Parameters
NameDescription
requestCreateAppConnectionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AppConnection, AppConnectionOperationMetadata>

The RPC response.

Overrides

CreateAppConnectionAsync(CreateAppConnectionRequest, CallSettings)

public override async Task<Operation<AppConnection, AppConnectionOperationMetadata>> CreateAppConnectionAsync(CreateAppConnectionRequest request, CallSettings callSettings = null)

Creates a new AppConnection in a given project and location.

Parameters
NameDescription
requestCreateAppConnectionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AppConnection, AppConnectionOperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteAppConnection(DeleteAppConnectionRequest, CallSettings)

public override Operation<Empty, AppConnectionOperationMetadata> DeleteAppConnection(DeleteAppConnectionRequest request, CallSettings callSettings = null)

Deletes a single AppConnection.

Parameters
NameDescription
requestDeleteAppConnectionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, AppConnectionOperationMetadata>

The RPC response.

Overrides

DeleteAppConnectionAsync(DeleteAppConnectionRequest, CallSettings)

public override async Task<Operation<Empty, AppConnectionOperationMetadata>> DeleteAppConnectionAsync(DeleteAppConnectionRequest request, CallSettings callSettings = null)

Deletes a single AppConnection.

Parameters
NameDescription
requestDeleteAppConnectionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, AppConnectionOperationMetadata>>

A Task containing the RPC response.

Overrides

GetAppConnection(GetAppConnectionRequest, CallSettings)

public override AppConnection GetAppConnection(GetAppConnectionRequest request, CallSettings callSettings = null)

Gets details of a single AppConnection.

Parameters
NameDescription
requestGetAppConnectionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AppConnection

The RPC response.

Overrides

GetAppConnectionAsync(GetAppConnectionRequest, CallSettings)

public override Task<AppConnection> GetAppConnectionAsync(GetAppConnectionRequest request, CallSettings callSettings = null)

Gets details of a single AppConnection.

Parameters
NameDescription
requestGetAppConnectionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AppConnection>

A Task containing the RPC response.

Overrides

ListAppConnections(ListAppConnectionsRequest, CallSettings)

public override PagedEnumerable<ListAppConnectionsResponse, AppConnection> ListAppConnections(ListAppConnectionsRequest request, CallSettings callSettings = null)

Lists AppConnections in a given project and location.

Parameters
NameDescription
requestListAppConnectionsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAppConnectionsResponse, AppConnection>

A pageable sequence of AppConnection resources.

Overrides

ListAppConnectionsAsync(ListAppConnectionsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAppConnectionsResponse, AppConnection> ListAppConnectionsAsync(ListAppConnectionsRequest request, CallSettings callSettings = null)

Lists AppConnections in a given project and location.

Parameters
NameDescription
requestListAppConnectionsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAppConnectionsResponse, AppConnection>

A pageable asynchronous sequence of AppConnection resources.

Overrides

ResolveAppConnections(ResolveAppConnectionsRequest, CallSettings)

public override PagedEnumerable<ResolveAppConnectionsResponse, ResolveAppConnectionsResponse.Types.AppConnectionDetails> ResolveAppConnections(ResolveAppConnectionsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ResolveAppConnectionsResponse, ResolveAppConnectionsResponse.Types.AppConnectionDetails>

A pageable sequence of ResolveAppConnectionsResponse.Types.AppConnectionDetails resources.

Overrides

ResolveAppConnectionsAsync(ResolveAppConnectionsRequest, CallSettings)

public override PagedAsyncEnumerable<ResolveAppConnectionsResponse, ResolveAppConnectionsResponse.Types.AppConnectionDetails> ResolveAppConnectionsAsync(ResolveAppConnectionsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ResolveAppConnectionsResponse, ResolveAppConnectionsResponse.Types.AppConnectionDetails>

A pageable asynchronous sequence of ResolveAppConnectionsResponse.Types.AppConnectionDetails resources.

Overrides

UpdateAppConnection(UpdateAppConnectionRequest, CallSettings)

public override Operation<AppConnection, AppConnectionOperationMetadata> UpdateAppConnection(UpdateAppConnectionRequest request, CallSettings callSettings = null)

Updates the parameters of a single AppConnection.

Parameters
NameDescription
requestUpdateAppConnectionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AppConnection, AppConnectionOperationMetadata>

The RPC response.

Overrides

UpdateAppConnectionAsync(UpdateAppConnectionRequest, CallSettings)

public override async Task<Operation<AppConnection, AppConnectionOperationMetadata>> UpdateAppConnectionAsync(UpdateAppConnectionRequest request, CallSettings callSettings = null)

Updates the parameters of a single AppConnection.

Parameters
NameDescription
requestUpdateAppConnectionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AppConnection, AppConnectionOperationMetadata>>

A Task containing the RPC response.

Overrides