Google.Cloud.BeyondCorp.AppConnectors.V1 - Class AppConnectorsService.AppConnectorsServiceClient (1.0.0)

public class AppConnectorsServiceClient : ClientBase<AppConnectorsService.AppConnectorsServiceClient>

Reference documentation and code samples for the Google.Cloud.BeyondCorp.AppConnectors.V1 class AppConnectorsService.AppConnectorsServiceClient.

Client for AppConnectorsService

Inheritance

Object > ClientBase > ClientBase<AppConnectorsService.AppConnectorsServiceClient> > 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(ClientBase.ClientBaseConfiguration)

protected AppConnectorsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateAppConnector(CreateAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

CreateAppConnectorAsync(CreateAppConnectorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateAppConnectorAsync(CreateAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
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
TypeDescription
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
TypeDescription
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
TypeDescription
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteAppConnector(DeleteAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteAppConnectorAsync(DeleteAppConnectorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAppConnectorAsync(DeleteAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

public virtual AppConnector GetAppConnector(GetAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<AppConnector>

The call object.

GetAppConnectorAsync(GetAppConnectorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AppConnector> GetAppConnectorAsync(GetAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<AppConnector>

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, Nullable<DateTime>, CancellationToken)

public virtual ListAppConnectorsResponse ListAppConnectors(ListAppConnectorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListAppConnectorsResponse>

The call object.

ListAppConnectorsAsync(ListAppConnectorsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListAppConnectorsResponse> ListAppConnectorsAsync(ListAppConnectorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListAppConnectorsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
AppConnectorsService.AppConnectorsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.BeyondCorp.AppConnectors.V1.AppConnectorsService.AppConnectorsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

public virtual Operation ReportStatus(ReportStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

ReportStatusAsync(ReportStatusRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> ReportStatusAsync(ReportStatusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

public virtual Operation UpdateAppConnector(UpdateAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

UpdateAppConnectorAsync(UpdateAppConnectorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateAppConnectorAsync(UpdateAppConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.