public class AppConnectorsService.AppConnectorsServiceClient : ClientBase<AppConnectorsService.AppConnectorsServiceClient>
Reference documentation and code samples for the BeyondCorp AppConnectors v1 API class AppConnectorsService.AppConnectorsServiceClient.
Client for AppConnectorsService
Inheritance
object > ClientBase > ClientBaseAppConnectorsServiceAppConnectorsServiceClient > AppConnectorsService.AppConnectorsServiceClientNamespace
Google.Cloud.BeyondCorp.AppConnectors.V1Assembly
Google.Cloud.BeyondCorp.AppConnectors.V1.dll
Constructors
AppConnectorsServiceClient()
protected AppConnectorsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
AppConnectorsServiceClient(CallInvoker)
public AppConnectorsServiceClient(CallInvoker callInvoker)
Creates a new client for AppConnectorsService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
AppConnectorsServiceClient(ChannelBase)
public AppConnectorsServiceClient(ChannelBase channel)
Creates a new client for AppConnectorsService
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
AppConnectorsServiceClient(ClientBaseConfiguration)
protected AppConnectorsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateAppConnector(CreateAppConnectorRequest, CallOptions)
public virtual Operation CreateAppConnector(CreateAppConnectorRequest request, CallOptions options)
Creates a new AppConnector in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateAppConnectorRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateAppConnector(CreateAppConnectorRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateAppConnector(CreateAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new AppConnector in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateAppConnectorRequest 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. |
CreateAppConnectorAsync(CreateAppConnectorRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateAppConnectorAsync(CreateAppConnectorRequest request, CallOptions options)
Creates a new AppConnector in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateAppConnectorRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateAppConnectorAsync(CreateAppConnectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateAppConnectorAsync(CreateAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new AppConnector in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateAppConnectorRequest 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. |
DeleteAppConnector(DeleteAppConnectorRequest, CallOptions)
public virtual Operation DeleteAppConnector(DeleteAppConnectorRequest request, CallOptions options)
Deletes a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
DeleteAppConnectorRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteAppConnector(DeleteAppConnectorRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteAppConnector(DeleteAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
DeleteAppConnectorRequest 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. |
DeleteAppConnectorAsync(DeleteAppConnectorRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAppConnectorAsync(DeleteAppConnectorRequest request, CallOptions options)
Deletes a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
DeleteAppConnectorRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteAppConnectorAsync(DeleteAppConnectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAppConnectorAsync(DeleteAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
DeleteAppConnectorRequest 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. |
GetAppConnector(GetAppConnectorRequest, CallOptions)
public virtual AppConnector GetAppConnector(GetAppConnectorRequest request, CallOptions options)
Gets details of a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
GetAppConnectorRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AppConnector |
The response received from the server. |
GetAppConnector(GetAppConnectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AppConnector GetAppConnector(GetAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
GetAppConnectorRequest 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 |
AppConnector |
The response received from the server. |
GetAppConnectorAsync(GetAppConnectorRequest, CallOptions)
public virtual AsyncUnaryCall<AppConnector> GetAppConnectorAsync(GetAppConnectorRequest request, CallOptions options)
Gets details of a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
GetAppConnectorRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAppConnector |
The call object. |
GetAppConnectorAsync(GetAppConnectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AppConnector> GetAppConnectorAsync(GetAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
GetAppConnectorRequest 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 |
AsyncUnaryCallAppConnector |
The call object. |
ListAppConnectors(ListAppConnectorsRequest, CallOptions)
public virtual ListAppConnectorsResponse ListAppConnectors(ListAppConnectorsRequest request, CallOptions options)
Lists AppConnectors in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListAppConnectorsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListAppConnectorsResponse |
The response received from the server. |
ListAppConnectors(ListAppConnectorsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListAppConnectorsResponse ListAppConnectors(ListAppConnectorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists AppConnectors in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListAppConnectorsRequest 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 |
ListAppConnectorsResponse |
The response received from the server. |
ListAppConnectorsAsync(ListAppConnectorsRequest, CallOptions)
public virtual AsyncUnaryCall<ListAppConnectorsResponse> ListAppConnectorsAsync(ListAppConnectorsRequest request, CallOptions options)
Lists AppConnectors in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListAppConnectorsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListAppConnectorsResponse |
The call object. |
ListAppConnectorsAsync(ListAppConnectorsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListAppConnectorsResponse> ListAppConnectorsAsync(ListAppConnectorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists AppConnectors in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListAppConnectorsRequest 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 |
AsyncUnaryCallListAppConnectorsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override AppConnectorsService.AppConnectorsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
AppConnectorsServiceAppConnectorsServiceClient |
ReportStatus(ReportStatusRequest, CallOptions)
public virtual Operation ReportStatus(ReportStatusRequest request, CallOptions options)
Report status for a given connector.
Parameters | |
---|---|
Name | Description |
request |
ReportStatusRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
ReportStatus(ReportStatusRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation ReportStatus(ReportStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Report status for a given connector.
Parameters | |
---|---|
Name | Description |
request |
ReportStatusRequest 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. |
ReportStatusAsync(ReportStatusRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ReportStatusAsync(ReportStatusRequest request, CallOptions options)
Report status for a given connector.
Parameters | |
---|---|
Name | Description |
request |
ReportStatusRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
ReportStatusAsync(ReportStatusRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> ReportStatusAsync(ReportStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Report status for a given connector.
Parameters | |
---|---|
Name | Description |
request |
ReportStatusRequest 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. |
UpdateAppConnector(UpdateAppConnectorRequest, CallOptions)
public virtual Operation UpdateAppConnector(UpdateAppConnectorRequest request, CallOptions options)
Updates the parameters of a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
UpdateAppConnectorRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateAppConnector(UpdateAppConnectorRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateAppConnector(UpdateAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the parameters of a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
UpdateAppConnectorRequest 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. |
UpdateAppConnectorAsync(UpdateAppConnectorRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateAppConnectorAsync(UpdateAppConnectorRequest request, CallOptions options)
Updates the parameters of a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
UpdateAppConnectorRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateAppConnectorAsync(UpdateAppConnectorRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateAppConnectorAsync(UpdateAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the parameters of a single AppConnector.
Parameters | |
---|---|
Name | Description |
request |
UpdateAppConnectorRequest 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. |