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.AppConnectionsServiceClientNamespace
Google.Cloud.BeyondCorp.AppConnections.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
AppConnectionsServiceClient(ChannelBase)
public AppConnectionsServiceClient(ChannelBase channel)
Creates a new client for AppConnectionsService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
AppConnectionsServiceClient(ClientBaseConfiguration)
protected AppConnectionsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration 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 | |
---|---|
Name | Description |
request | CreateAppConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateAppConnectionRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateAppConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateAppConnectionRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteAppConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteAppConnectionRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteAppConnectionAsync(DeleteAppConnectionRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAppConnectionAsync(DeleteAppConnectionRequest request, CallOptions options)
Deletes a single AppConnection.
Parameters | |
---|---|
Name | Description |
request | DeleteAppConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteAppConnectionRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
GetAppConnection(GetAppConnectionRequest, CallOptions)
public virtual AppConnection GetAppConnection(GetAppConnectionRequest request, CallOptions options)
Gets details of a single AppConnection.
Parameters | |
---|---|
Name | Description |
request | GetAppConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetAppConnectionRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetAppConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetAppConnectionRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAppConnection | The call object. |
ListAppConnections(ListAppConnectionsRequest, CallOptions)
public virtual ListAppConnectionsResponse ListAppConnections(ListAppConnectionsRequest request, CallOptions options)
Lists AppConnections in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListAppConnectionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListAppConnectionsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListAppConnectionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListAppConnectionsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListAppConnectionsResponse | The call object. |
NewInstance(ClientBaseConfiguration)
protected override AppConnectionsService.AppConnectionsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
AppConnectionsServiceAppConnectionsServiceClient |
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 | |
---|---|
Name | Description |
request | ResolveAppConnectionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ResolveAppConnectionsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ResolveAppConnectionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ResolveAppConnectionsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallResolveAppConnectionsResponse | The call object. |
UpdateAppConnection(UpdateAppConnectionRequest, CallOptions)
public virtual Operation UpdateAppConnection(UpdateAppConnectionRequest request, CallOptions options)
Updates the parameters of a single AppConnection.
Parameters | |
---|---|
Name | Description |
request | UpdateAppConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateAppConnectionRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateAppConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateAppConnectionRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |