Class Eventarc.EventarcClient (1.2.0)

public class EventarcClient : ClientBase<Eventarc.EventarcClient>

Client for Eventarc

Inheritance

Object > ClientBase > ClientBase<Eventarc.EventarcClient> > 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(ClientBase.ClientBaseConfiguration)

protected EventarcClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBase.ClientBaseConfiguration

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

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

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

The call object.

CreateChannelAsync(CreateChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

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

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

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

The call object.

CreateChannelConnectionAsync(CreateChannelConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
Type Description
Operations.OperationsClient

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

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

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

The call object.

CreateTriggerAsync(CreateTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

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

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

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

The call object.

DeleteChannelAsync(DeleteChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

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

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

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

The call object.

DeleteChannelConnectionAsync(DeleteChannelConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

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

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

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

The call object.

DeleteTriggerAsync(DeleteTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

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

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

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 Nullable<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
AsyncUnaryCall<Channel>

The call object.

GetChannelAsync(GetChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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 Nullable<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
AsyncUnaryCall<Channel>

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

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

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 Nullable<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
AsyncUnaryCall<ChannelConnection>

The call object.

GetChannelConnectionAsync(GetChannelConnectionRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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 Nullable<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
AsyncUnaryCall<ChannelConnection>

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

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

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 Nullable<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
AsyncUnaryCall<Trigger>

The call object.

GetTriggerAsync(GetTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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 Nullable<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
AsyncUnaryCall<Trigger>

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

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

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 Nullable<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
AsyncUnaryCall<ListChannelConnectionsResponse>

The call object.

ListChannelConnectionsAsync(ListChannelConnectionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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 Nullable<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
AsyncUnaryCall<ListChannelConnectionsResponse>

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

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

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 Nullable<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
AsyncUnaryCall<ListChannelsResponse>

The call object.

ListChannelsAsync(ListChannelsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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 Nullable<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
AsyncUnaryCall<ListChannelsResponse>

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

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

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 Nullable<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
AsyncUnaryCall<ListTriggersResponse>

The call object.

ListTriggersAsync(ListTriggersRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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 Nullable<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
AsyncUnaryCall<ListTriggersResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBase.ClientBaseConfiguration
Returns
Type Description
Eventarc.EventarcClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Eventarc.V1.Eventarc.EventarcClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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

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

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

The call object.

UpdateChannelAsync(UpdateChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

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

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

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

The call object.

UpdateTriggerAsync(UpdateTriggerRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

The call object.