Eventarc v1 API - Class Eventarc.EventarcClient (2.5.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

EventarcClient(ChannelBase)

public EventarcClient(ChannelBase channel)

Creates a new client for Eventarc

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

EventarcClient(ClientBaseConfiguration)

protected EventarcClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
Name Description
request CreateChannelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateChannelRequest

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.

CreateChannelAsync(CreateChannelRequest, CallOptions)

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

Create a new channel in a particular project and location.

Parameters
Name Description
request CreateChannelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateChannelRequest

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.

CreateChannelConnection(CreateChannelConnectionRequest, CallOptions)

public virtual Operation CreateChannelConnection(CreateChannelConnectionRequest request, CallOptions options)

Create a new ChannelConnection in a particular project and location.

Parameters
Name Description
request CreateChannelConnectionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateChannelConnectionRequest

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.

CreateChannelConnectionAsync(CreateChannelConnectionRequest, CallOptions)

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

Create a new ChannelConnection in a particular project and location.

Parameters
Name Description
request CreateChannelConnectionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateChannelConnectionRequest

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.

CreateTrigger(CreateTriggerRequest, CallOptions)

public virtual Operation CreateTrigger(CreateTriggerRequest request, CallOptions options)

Create a new trigger in a particular project and location.

Parameters
Name Description
request CreateTriggerRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateTriggerRequest

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.

CreateTriggerAsync(CreateTriggerRequest, CallOptions)

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

Create a new trigger in a particular project and location.

Parameters
Name Description
request CreateTriggerRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request CreateTriggerRequest

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.

DeleteChannel(DeleteChannelRequest, CallOptions)

public virtual Operation DeleteChannel(DeleteChannelRequest request, CallOptions options)

Delete a single channel.

Parameters
Name Description
request DeleteChannelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteChannelRequest

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.

DeleteChannelAsync(DeleteChannelRequest, CallOptions)

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

Delete a single channel.

Parameters
Name Description
request DeleteChannelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteChannelRequest

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.

DeleteChannelConnection(DeleteChannelConnectionRequest, CallOptions)

public virtual Operation DeleteChannelConnection(DeleteChannelConnectionRequest request, CallOptions options)

Delete a single ChannelConnection.

Parameters
Name Description
request DeleteChannelConnectionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteChannelConnectionRequest

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.

DeleteChannelConnectionAsync(DeleteChannelConnectionRequest, CallOptions)

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

Delete a single ChannelConnection.

Parameters
Name Description
request DeleteChannelConnectionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteChannelConnectionRequest

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.

DeleteTrigger(DeleteTriggerRequest, CallOptions)

public virtual Operation DeleteTrigger(DeleteTriggerRequest request, CallOptions options)

Delete a single trigger.

Parameters
Name Description
request DeleteTriggerRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteTriggerRequest

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.

DeleteTriggerAsync(DeleteTriggerRequest, CallOptions)

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

Delete a single trigger.

Parameters
Name Description
request DeleteTriggerRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteTriggerRequest

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.

GetChannel(GetChannelRequest, CallOptions)

public virtual Channel GetChannel(GetChannelRequest request, CallOptions options)

Get a single Channel.

Parameters
Name Description
request GetChannelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetChannelRequest

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
Channel

The response received from the server.

GetChannelAsync(GetChannelRequest, CallOptions)

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

Get a single Channel.

Parameters
Name Description
request GetChannelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetChannelRequest

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
AsyncUnaryCallChannel

The call object.

GetChannelConnection(GetChannelConnectionRequest, CallOptions)

public virtual ChannelConnection GetChannelConnection(GetChannelConnectionRequest request, CallOptions options)

Get a single ChannelConnection.

Parameters
Name Description
request GetChannelConnectionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetChannelConnectionRequest

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
ChannelConnection

The response received from the server.

GetChannelConnectionAsync(GetChannelConnectionRequest, CallOptions)

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

Get a single ChannelConnection.

Parameters
Name Description
request GetChannelConnectionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetChannelConnectionRequest

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
AsyncUnaryCallChannelConnection

The call object.

GetGoogleChannelConfig(GetGoogleChannelConfigRequest, CallOptions)

public virtual GoogleChannelConfig GetGoogleChannelConfig(GetGoogleChannelConfigRequest request, CallOptions options)

Get a GoogleChannelConfig

Parameters
Name Description
request GetGoogleChannelConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetGoogleChannelConfigRequest

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
GoogleChannelConfig

The response received from the server.

GetGoogleChannelConfigAsync(GetGoogleChannelConfigRequest, CallOptions)

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

Get a GoogleChannelConfig

Parameters
Name Description
request GetGoogleChannelConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetGoogleChannelConfigRequest

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
AsyncUnaryCallGoogleChannelConfig

The call object.

GetProvider(GetProviderRequest, CallOptions)

public virtual Provider GetProvider(GetProviderRequest request, CallOptions options)

Get a single Provider.

Parameters
Name Description
request GetProviderRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetProviderRequest

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
Provider

The response received from the server.

GetProviderAsync(GetProviderRequest, CallOptions)

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

Get a single Provider.

Parameters
Name Description
request GetProviderRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetProviderRequest

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
AsyncUnaryCallProvider

The call object.

GetTrigger(GetTriggerRequest, CallOptions)

public virtual Trigger GetTrigger(GetTriggerRequest request, CallOptions options)

Get a single trigger.

Parameters
Name Description
request GetTriggerRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetTriggerRequest

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
Trigger

The response received from the server.

GetTriggerAsync(GetTriggerRequest, CallOptions)

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

Get a single trigger.

Parameters
Name Description
request GetTriggerRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetTriggerRequest

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
AsyncUnaryCallTrigger

The call object.

ListChannelConnections(ListChannelConnectionsRequest, CallOptions)

public virtual ListChannelConnectionsResponse ListChannelConnections(ListChannelConnectionsRequest request, CallOptions options)

List channel connections.

Parameters
Name Description
request ListChannelConnectionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListChannelConnectionsRequest

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
ListChannelConnectionsResponse

The response received from the server.

ListChannelConnectionsAsync(ListChannelConnectionsRequest, CallOptions)

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

List channel connections.

Parameters
Name Description
request ListChannelConnectionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListChannelConnectionsRequest

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
AsyncUnaryCallListChannelConnectionsResponse

The call object.

ListChannels(ListChannelsRequest, CallOptions)

public virtual ListChannelsResponse ListChannels(ListChannelsRequest request, CallOptions options)

List channels.

Parameters
Name Description
request ListChannelsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListChannelsRequest

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
ListChannelsResponse

The response received from the server.

ListChannelsAsync(ListChannelsRequest, CallOptions)

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

List channels.

Parameters
Name Description
request ListChannelsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListChannelsRequest

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
AsyncUnaryCallListChannelsResponse

The call object.

ListProviders(ListProvidersRequest, CallOptions)

public virtual ListProvidersResponse ListProviders(ListProvidersRequest request, CallOptions options)

List providers.

Parameters
Name Description
request ListProvidersRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListProvidersRequest

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
ListProvidersResponse

The response received from the server.

ListProvidersAsync(ListProvidersRequest, CallOptions)

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

List providers.

Parameters
Name Description
request ListProvidersRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListProvidersRequest

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
AsyncUnaryCallListProvidersResponse

The call object.

ListTriggers(ListTriggersRequest, CallOptions)

public virtual ListTriggersResponse ListTriggers(ListTriggersRequest request, CallOptions options)

List triggers.

Parameters
Name Description
request ListTriggersRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListTriggersRequest

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
ListTriggersResponse

The response received from the server.

ListTriggersAsync(ListTriggersRequest, CallOptions)

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

List triggers.

Parameters
Name Description
request ListTriggersRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListTriggersRequest

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
AsyncUnaryCallListTriggersResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
EventarcEventarcClient
Overrides

UpdateChannel(UpdateChannelRequest, CallOptions)

public virtual Operation UpdateChannel(UpdateChannelRequest request, CallOptions options)

Update a single channel.

Parameters
Name Description
request UpdateChannelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateChannelRequest

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.

UpdateChannelAsync(UpdateChannelRequest, CallOptions)

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

Update a single channel.

Parameters
Name Description
request UpdateChannelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateChannelRequest

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.

UpdateGoogleChannelConfig(UpdateGoogleChannelConfigRequest, CallOptions)

public virtual GoogleChannelConfig UpdateGoogleChannelConfig(UpdateGoogleChannelConfigRequest request, CallOptions options)

Update a single GoogleChannelConfig

Parameters
Name Description
request UpdateGoogleChannelConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateGoogleChannelConfigRequest

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
GoogleChannelConfig

The response received from the server.

UpdateGoogleChannelConfigAsync(UpdateGoogleChannelConfigRequest, CallOptions)

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

Update a single GoogleChannelConfig

Parameters
Name Description
request UpdateGoogleChannelConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateGoogleChannelConfigRequest

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
AsyncUnaryCallGoogleChannelConfig

The call object.

UpdateTrigger(UpdateTriggerRequest, CallOptions)

public virtual Operation UpdateTrigger(UpdateTriggerRequest request, CallOptions options)

Update a single trigger.

Parameters
Name Description
request UpdateTriggerRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateTriggerRequest

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.

UpdateTriggerAsync(UpdateTriggerRequest, CallOptions)

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

Update a single trigger.

Parameters
Name Description
request UpdateTriggerRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateTriggerRequest

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.