Eventarc v1 API - Class Eventarc.EventarcClient (2.3.0)

public class Eventarc.EventarcClient : ClientBase<Eventarc.EventarcClient>

Reference documentation and code samples for the Eventarc v1 API class Eventarc.EventarcClient.

Client for Eventarc

Inheritance

object > ClientBase > ClientBaseEventarcEventarcClient > Eventarc.EventarcClient

Namespace

Google.Cloud.Eventarc.V1

Assembly

Google.Cloud.Eventarc.V1.dll

Constructors

EventarcClient()

protected EventarcClient()

Protected parameterless constructor to allow creation of test doubles.

EventarcClient(CallInvoker)

public EventarcClient(CallInvoker callInvoker)

Creates a new client for Eventarc that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

EventarcClient(ChannelBase)

public EventarcClient(ChannelBase channel)

Creates a new client for Eventarc

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

EventarcClient(ClientBaseConfiguration)

protected EventarcClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateChannel(CreateChannelRequest, CallOptions)

public virtual Operation CreateChannel(CreateChannelRequest request, CallOptions options)

Create a new channel in a particular project and location.

Parameters
NameDescription
requestCreateChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateChannel(CreateChannelRequest, Metadata, DateTime?, CancellationToken)

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

Create a new channel in a particular project and location.

Parameters
NameDescription
requestCreateChannelRequest

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.

CreateChannelAsync(CreateChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateChannelAsync(CreateChannelRequest request, CallOptions options)

Create a new channel in a particular project and location.

Parameters
NameDescription
requestCreateChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateChannelAsync(CreateChannelRequest, Metadata, DateTime?, CancellationToken)

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

Create a new channel in a particular project and location.

Parameters
NameDescription
requestCreateChannelRequest

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.

CreateChannelConnection(CreateChannelConnectionRequest, CallOptions)

public virtual Operation CreateChannelConnection(CreateChannelConnectionRequest request, CallOptions options)

Create a new ChannelConnection in a particular project and location.

Parameters
NameDescription
requestCreateChannelConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateChannelConnection(CreateChannelConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Create a new ChannelConnection in a particular project and location.

Parameters
NameDescription
requestCreateChannelConnectionRequest

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.

CreateChannelConnectionAsync(CreateChannelConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateChannelConnectionAsync(CreateChannelConnectionRequest request, CallOptions options)

Create a new ChannelConnection in a particular project and location.

Parameters
NameDescription
requestCreateChannelConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateChannelConnectionAsync(CreateChannelConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Create a new ChannelConnection in a particular project and location.

Parameters
NameDescription
requestCreateChannelConnectionRequest

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.

CreateTrigger(CreateTriggerRequest, CallOptions)

public virtual Operation CreateTrigger(CreateTriggerRequest request, CallOptions options)

Create a new trigger in a particular project and location.

Parameters
NameDescription
requestCreateTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateTrigger(CreateTriggerRequest, Metadata, DateTime?, CancellationToken)

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

Create a new trigger in a particular project and location.

Parameters
NameDescription
requestCreateTriggerRequest

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.

CreateTriggerAsync(CreateTriggerRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateTriggerAsync(CreateTriggerRequest request, CallOptions options)

Create a new trigger in a particular project and location.

Parameters
NameDescription
requestCreateTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateTriggerAsync(CreateTriggerRequest, Metadata, DateTime?, CancellationToken)

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

Create a new trigger in a particular project and location.

Parameters
NameDescription
requestCreateTriggerRequest

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.

DeleteChannel(DeleteChannelRequest, CallOptions)

public virtual Operation DeleteChannel(DeleteChannelRequest request, CallOptions options)

Delete a single channel.

Parameters
NameDescription
requestDeleteChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteChannel(DeleteChannelRequest, Metadata, DateTime?, CancellationToken)

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

Delete a single channel.

Parameters
NameDescription
requestDeleteChannelRequest

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.

DeleteChannelAsync(DeleteChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteChannelAsync(DeleteChannelRequest request, CallOptions options)

Delete a single channel.

Parameters
NameDescription
requestDeleteChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteChannelAsync(DeleteChannelRequest, Metadata, DateTime?, CancellationToken)

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

Delete a single channel.

Parameters
NameDescription
requestDeleteChannelRequest

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.

DeleteChannelConnection(DeleteChannelConnectionRequest, CallOptions)

public virtual Operation DeleteChannelConnection(DeleteChannelConnectionRequest request, CallOptions options)

Delete a single ChannelConnection.

Parameters
NameDescription
requestDeleteChannelConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteChannelConnection(DeleteChannelConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Delete a single ChannelConnection.

Parameters
NameDescription
requestDeleteChannelConnectionRequest

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.

DeleteChannelConnectionAsync(DeleteChannelConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteChannelConnectionAsync(DeleteChannelConnectionRequest request, CallOptions options)

Delete a single ChannelConnection.

Parameters
NameDescription
requestDeleteChannelConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteChannelConnectionAsync(DeleteChannelConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Delete a single ChannelConnection.

Parameters
NameDescription
requestDeleteChannelConnectionRequest

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.

DeleteTrigger(DeleteTriggerRequest, CallOptions)

public virtual Operation DeleteTrigger(DeleteTriggerRequest request, CallOptions options)

Delete a single trigger.

Parameters
NameDescription
requestDeleteTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteTrigger(DeleteTriggerRequest, Metadata, DateTime?, CancellationToken)

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

Delete a single trigger.

Parameters
NameDescription
requestDeleteTriggerRequest

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.

DeleteTriggerAsync(DeleteTriggerRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteTriggerAsync(DeleteTriggerRequest request, CallOptions options)

Delete a single trigger.

Parameters
NameDescription
requestDeleteTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteTriggerAsync(DeleteTriggerRequest, Metadata, DateTime?, CancellationToken)

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

Delete a single trigger.

Parameters
NameDescription
requestDeleteTriggerRequest

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.

GetChannel(GetChannelRequest, CallOptions)

public virtual Channel GetChannel(GetChannelRequest request, CallOptions options)

Get a single Channel.

Parameters
NameDescription
requestGetChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Channel

The response received from the server.

GetChannel(GetChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual Channel GetChannel(GetChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a single Channel.

Parameters
NameDescription
requestGetChannelRequest

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
Channel

The response received from the server.

GetChannelAsync(GetChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Channel> GetChannelAsync(GetChannelRequest request, CallOptions options)

Get a single Channel.

Parameters
NameDescription
requestGetChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallChannel

The call object.

GetChannelAsync(GetChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Channel> GetChannelAsync(GetChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a single Channel.

Parameters
NameDescription
requestGetChannelRequest

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
AsyncUnaryCallChannel

The call object.

GetChannelConnection(GetChannelConnectionRequest, CallOptions)

public virtual ChannelConnection GetChannelConnection(GetChannelConnectionRequest request, CallOptions options)

Get a single ChannelConnection.

Parameters
NameDescription
requestGetChannelConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ChannelConnection

The response received from the server.

GetChannelConnection(GetChannelConnectionRequest, Metadata, DateTime?, CancellationToken)

public virtual ChannelConnection GetChannelConnection(GetChannelConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a single ChannelConnection.

Parameters
NameDescription
requestGetChannelConnectionRequest

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
ChannelConnection

The response received from the server.

GetChannelConnectionAsync(GetChannelConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<ChannelConnection> GetChannelConnectionAsync(GetChannelConnectionRequest request, CallOptions options)

Get a single ChannelConnection.

Parameters
NameDescription
requestGetChannelConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallChannelConnection

The call object.

GetChannelConnectionAsync(GetChannelConnectionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ChannelConnection> GetChannelConnectionAsync(GetChannelConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a single ChannelConnection.

Parameters
NameDescription
requestGetChannelConnectionRequest

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
AsyncUnaryCallChannelConnection

The call object.

GetGoogleChannelConfig(GetGoogleChannelConfigRequest, CallOptions)

public virtual GoogleChannelConfig GetGoogleChannelConfig(GetGoogleChannelConfigRequest request, CallOptions options)

Get a GoogleChannelConfig

Parameters
NameDescription
requestGetGoogleChannelConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
GoogleChannelConfig

The response received from the server.

GetGoogleChannelConfig(GetGoogleChannelConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual GoogleChannelConfig GetGoogleChannelConfig(GetGoogleChannelConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a GoogleChannelConfig

Parameters
NameDescription
requestGetGoogleChannelConfigRequest

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
GoogleChannelConfig

The response received from the server.

GetGoogleChannelConfigAsync(GetGoogleChannelConfigRequest, CallOptions)

public virtual AsyncUnaryCall<GoogleChannelConfig> GetGoogleChannelConfigAsync(GetGoogleChannelConfigRequest request, CallOptions options)

Get a GoogleChannelConfig

Parameters
NameDescription
requestGetGoogleChannelConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallGoogleChannelConfig

The call object.

GetGoogleChannelConfigAsync(GetGoogleChannelConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GoogleChannelConfig> GetGoogleChannelConfigAsync(GetGoogleChannelConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a GoogleChannelConfig

Parameters
NameDescription
requestGetGoogleChannelConfigRequest

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
AsyncUnaryCallGoogleChannelConfig

The call object.

GetProvider(GetProviderRequest, CallOptions)

public virtual Provider GetProvider(GetProviderRequest request, CallOptions options)

Get a single Provider.

Parameters
NameDescription
requestGetProviderRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Provider

The response received from the server.

GetProvider(GetProviderRequest, Metadata, DateTime?, CancellationToken)

public virtual Provider GetProvider(GetProviderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a single Provider.

Parameters
NameDescription
requestGetProviderRequest

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
Provider

The response received from the server.

GetProviderAsync(GetProviderRequest, CallOptions)

public virtual AsyncUnaryCall<Provider> GetProviderAsync(GetProviderRequest request, CallOptions options)

Get a single Provider.

Parameters
NameDescription
requestGetProviderRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallProvider

The call object.

GetProviderAsync(GetProviderRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Provider> GetProviderAsync(GetProviderRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a single Provider.

Parameters
NameDescription
requestGetProviderRequest

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
AsyncUnaryCallProvider

The call object.

GetTrigger(GetTriggerRequest, CallOptions)

public virtual Trigger GetTrigger(GetTriggerRequest request, CallOptions options)

Get a single trigger.

Parameters
NameDescription
requestGetTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Trigger

The response received from the server.

GetTrigger(GetTriggerRequest, Metadata, DateTime?, CancellationToken)

public virtual Trigger GetTrigger(GetTriggerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a single trigger.

Parameters
NameDescription
requestGetTriggerRequest

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
Trigger

The response received from the server.

GetTriggerAsync(GetTriggerRequest, CallOptions)

public virtual AsyncUnaryCall<Trigger> GetTriggerAsync(GetTriggerRequest request, CallOptions options)

Get a single trigger.

Parameters
NameDescription
requestGetTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTrigger

The call object.

GetTriggerAsync(GetTriggerRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Trigger> GetTriggerAsync(GetTriggerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get a single trigger.

Parameters
NameDescription
requestGetTriggerRequest

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
AsyncUnaryCallTrigger

The call object.

ListChannelConnections(ListChannelConnectionsRequest, CallOptions)

public virtual ListChannelConnectionsResponse ListChannelConnections(ListChannelConnectionsRequest request, CallOptions options)

List channel connections.

Parameters
NameDescription
requestListChannelConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListChannelConnectionsResponse

The response received from the server.

ListChannelConnections(ListChannelConnectionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListChannelConnectionsResponse ListChannelConnections(ListChannelConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List channel connections.

Parameters
NameDescription
requestListChannelConnectionsRequest

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
ListChannelConnectionsResponse

The response received from the server.

ListChannelConnectionsAsync(ListChannelConnectionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListChannelConnectionsResponse> ListChannelConnectionsAsync(ListChannelConnectionsRequest request, CallOptions options)

List channel connections.

Parameters
NameDescription
requestListChannelConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListChannelConnectionsResponse

The call object.

ListChannelConnectionsAsync(ListChannelConnectionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListChannelConnectionsResponse> ListChannelConnectionsAsync(ListChannelConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List channel connections.

Parameters
NameDescription
requestListChannelConnectionsRequest

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
AsyncUnaryCallListChannelConnectionsResponse

The call object.

ListChannels(ListChannelsRequest, CallOptions)

public virtual ListChannelsResponse ListChannels(ListChannelsRequest request, CallOptions options)

List channels.

Parameters
NameDescription
requestListChannelsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListChannelsResponse

The response received from the server.

ListChannels(ListChannelsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListChannelsResponse ListChannels(ListChannelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List channels.

Parameters
NameDescription
requestListChannelsRequest

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
ListChannelsResponse

The response received from the server.

ListChannelsAsync(ListChannelsRequest, CallOptions)

public virtual AsyncUnaryCall<ListChannelsResponse> ListChannelsAsync(ListChannelsRequest request, CallOptions options)

List channels.

Parameters
NameDescription
requestListChannelsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListChannelsResponse

The call object.

ListChannelsAsync(ListChannelsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListChannelsResponse> ListChannelsAsync(ListChannelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List channels.

Parameters
NameDescription
requestListChannelsRequest

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
AsyncUnaryCallListChannelsResponse

The call object.

ListProviders(ListProvidersRequest, CallOptions)

public virtual ListProvidersResponse ListProviders(ListProvidersRequest request, CallOptions options)

List providers.

Parameters
NameDescription
requestListProvidersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListProvidersResponse

The response received from the server.

ListProviders(ListProvidersRequest, Metadata, DateTime?, CancellationToken)

public virtual ListProvidersResponse ListProviders(ListProvidersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List providers.

Parameters
NameDescription
requestListProvidersRequest

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
ListProvidersResponse

The response received from the server.

ListProvidersAsync(ListProvidersRequest, CallOptions)

public virtual AsyncUnaryCall<ListProvidersResponse> ListProvidersAsync(ListProvidersRequest request, CallOptions options)

List providers.

Parameters
NameDescription
requestListProvidersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListProvidersResponse

The call object.

ListProvidersAsync(ListProvidersRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListProvidersResponse> ListProvidersAsync(ListProvidersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List providers.

Parameters
NameDescription
requestListProvidersRequest

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
AsyncUnaryCallListProvidersResponse

The call object.

ListTriggers(ListTriggersRequest, CallOptions)

public virtual ListTriggersResponse ListTriggers(ListTriggersRequest request, CallOptions options)

List triggers.

Parameters
NameDescription
requestListTriggersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListTriggersResponse

The response received from the server.

ListTriggers(ListTriggersRequest, Metadata, DateTime?, CancellationToken)

public virtual ListTriggersResponse ListTriggers(ListTriggersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List triggers.

Parameters
NameDescription
requestListTriggersRequest

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
ListTriggersResponse

The response received from the server.

ListTriggersAsync(ListTriggersRequest, CallOptions)

public virtual AsyncUnaryCall<ListTriggersResponse> ListTriggersAsync(ListTriggersRequest request, CallOptions options)

List triggers.

Parameters
NameDescription
requestListTriggersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListTriggersResponse

The call object.

ListTriggersAsync(ListTriggersRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListTriggersResponse> ListTriggersAsync(ListTriggersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List triggers.

Parameters
NameDescription
requestListTriggersRequest

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
AsyncUnaryCallListTriggersResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override Eventarc.EventarcClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
EventarcEventarcClient
Overrides

UpdateChannel(UpdateChannelRequest, CallOptions)

public virtual Operation UpdateChannel(UpdateChannelRequest request, CallOptions options)

Update a single channel.

Parameters
NameDescription
requestUpdateChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateChannel(UpdateChannelRequest, Metadata, DateTime?, CancellationToken)

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

Update a single channel.

Parameters
NameDescription
requestUpdateChannelRequest

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.

UpdateChannelAsync(UpdateChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateChannelAsync(UpdateChannelRequest request, CallOptions options)

Update a single channel.

Parameters
NameDescription
requestUpdateChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateChannelAsync(UpdateChannelRequest, Metadata, DateTime?, CancellationToken)

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

Update a single channel.

Parameters
NameDescription
requestUpdateChannelRequest

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.

UpdateGoogleChannelConfig(UpdateGoogleChannelConfigRequest, CallOptions)

public virtual GoogleChannelConfig UpdateGoogleChannelConfig(UpdateGoogleChannelConfigRequest request, CallOptions options)

Update a single GoogleChannelConfig

Parameters
NameDescription
requestUpdateGoogleChannelConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
GoogleChannelConfig

The response received from the server.

UpdateGoogleChannelConfig(UpdateGoogleChannelConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual GoogleChannelConfig UpdateGoogleChannelConfig(UpdateGoogleChannelConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update a single GoogleChannelConfig

Parameters
NameDescription
requestUpdateGoogleChannelConfigRequest

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
GoogleChannelConfig

The response received from the server.

UpdateGoogleChannelConfigAsync(UpdateGoogleChannelConfigRequest, CallOptions)

public virtual AsyncUnaryCall<GoogleChannelConfig> UpdateGoogleChannelConfigAsync(UpdateGoogleChannelConfigRequest request, CallOptions options)

Update a single GoogleChannelConfig

Parameters
NameDescription
requestUpdateGoogleChannelConfigRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallGoogleChannelConfig

The call object.

UpdateGoogleChannelConfigAsync(UpdateGoogleChannelConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GoogleChannelConfig> UpdateGoogleChannelConfigAsync(UpdateGoogleChannelConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update a single GoogleChannelConfig

Parameters
NameDescription
requestUpdateGoogleChannelConfigRequest

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
AsyncUnaryCallGoogleChannelConfig

The call object.

UpdateTrigger(UpdateTriggerRequest, CallOptions)

public virtual Operation UpdateTrigger(UpdateTriggerRequest request, CallOptions options)

Update a single trigger.

Parameters
NameDescription
requestUpdateTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateTrigger(UpdateTriggerRequest, Metadata, DateTime?, CancellationToken)

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

Update a single trigger.

Parameters
NameDescription
requestUpdateTriggerRequest

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.

UpdateTriggerAsync(UpdateTriggerRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateTriggerAsync(UpdateTriggerRequest request, CallOptions options)

Update a single trigger.

Parameters
NameDescription
requestUpdateTriggerRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateTriggerAsync(UpdateTriggerRequest, Metadata, DateTime?, CancellationToken)

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

Update a single trigger.

Parameters
NameDescription
requestUpdateTriggerRequest

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.