BeyondCorp AppConnectors v1 API - Class AppConnectorsService.AppConnectorsServiceClient (1.2.0)

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.AppConnectorsServiceClient

Namespace

Google.Cloud.BeyondCorp.AppConnectors.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AppConnectorsServiceClient(ChannelBase)

public AppConnectorsServiceClient(ChannelBase channel)

Creates a new client for AppConnectorsService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AppConnectorsServiceClient(ClientBaseConfiguration)

protected AppConnectorsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
NameDescription
requestCreateAppConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateAppConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

CreateAppConnectorAsync(CreateAppConnectorRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateAppConnectorAsync(CreateAppConnectorRequest request, CallOptions options)

Creates a new AppConnector in a given project and location.

Parameters
NameDescription
requestCreateAppConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestCreateAppConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
requestDeleteAppConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteAppConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

DeleteAppConnectorAsync(DeleteAppConnectorRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAppConnectorAsync(DeleteAppConnectorRequest request, CallOptions options)

Deletes a single AppConnector.

Parameters
NameDescription
requestDeleteAppConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteAppConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

GetAppConnector(GetAppConnectorRequest, CallOptions)

public virtual AppConnector GetAppConnector(GetAppConnectorRequest request, CallOptions options)

Gets details of a single AppConnector.

Parameters
NameDescription
requestGetAppConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetAppConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
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
NameDescription
requestGetAppConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetAppConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallAppConnector

The call object.

ListAppConnectors(ListAppConnectorsRequest, CallOptions)

public virtual ListAppConnectorsResponse ListAppConnectors(ListAppConnectorsRequest request, CallOptions options)

Lists AppConnectors in a given project and location.

Parameters
NameDescription
requestListAppConnectorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListAppConnectorsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
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
NameDescription
requestListAppConnectorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListAppConnectorsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallListAppConnectorsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override AppConnectorsService.AppConnectorsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
AppConnectorsServiceAppConnectorsServiceClient
Overrides

ReportStatus(ReportStatusRequest, CallOptions)

public virtual Operation ReportStatus(ReportStatusRequest request, CallOptions options)

Report status for a given connector.

Parameters
NameDescription
requestReportStatusRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestReportStatusRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

ReportStatusAsync(ReportStatusRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ReportStatusAsync(ReportStatusRequest request, CallOptions options)

Report status for a given connector.

Parameters
NameDescription
requestReportStatusRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestReportStatusRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

UpdateAppConnector(UpdateAppConnectorRequest, CallOptions)

public virtual Operation UpdateAppConnector(UpdateAppConnectorRequest request, CallOptions options)

Updates the parameters of a single AppConnector.

Parameters
NameDescription
requestUpdateAppConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateAppConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

UpdateAppConnectorAsync(UpdateAppConnectorRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateAppConnectorAsync(UpdateAppConnectorRequest request, CallOptions options)

Updates the parameters of a single AppConnector.

Parameters
NameDescription
requestUpdateAppConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestUpdateAppConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.