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.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(ClientBase.ClientBaseConfiguration)
protected AppConnectionsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteAppConnection(DeleteAppConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
AppConnectionsService.AppConnectionsServiceClient |
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<ResolveAppConnectionsResponse> | 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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |