Eventarc v1 API - Class EventarcClientImpl (2.4.0)

public sealed class EventarcClientImpl : EventarcClient

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

Eventarc client wrapper implementation, for convenient use.

Inheritance

object > EventarcClient > EventarcClientImpl

Namespace

Google.Cloud.Eventarc.V1

Assembly

Google.Cloud.Eventarc.V1.dll

Remarks

Eventarc allows users to subscribe to various events that are provided by Google Cloud services and forward them to supported destinations.

Constructors

EventarcClientImpl(EventarcClient, EventarcSettings, ILogger)

public EventarcClientImpl(Eventarc.EventarcClient grpcClient, EventarcSettings settings, ILogger logger)

Constructs a client wrapper for the Eventarc service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient EventarcEventarcClient

The underlying gRPC client.

settings EventarcSettings

The base EventarcSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateChannelConnectionOperationsClient

public override OperationsClient CreateChannelConnectionOperationsClient { get; }

The long-running operations client for CreateChannelConnection.

Property Value
Type Description
OperationsClient
Overrides

CreateChannelOperationsClient

public override OperationsClient CreateChannelOperationsClient { get; }

The long-running operations client for CreateChannel.

Property Value
Type Description
OperationsClient
Overrides

CreateTriggerOperationsClient

public override OperationsClient CreateTriggerOperationsClient { get; }

The long-running operations client for CreateTrigger.

Property Value
Type Description
OperationsClient
Overrides

DeleteChannelConnectionOperationsClient

public override OperationsClient DeleteChannelConnectionOperationsClient { get; }

The long-running operations client for DeleteChannelConnection.

Property Value
Type Description
OperationsClient
Overrides

DeleteChannelOperationsClient

public override OperationsClient DeleteChannelOperationsClient { get; }

The long-running operations client for DeleteChannel.

Property Value
Type Description
OperationsClient
Overrides

DeleteTriggerOperationsClient

public override OperationsClient DeleteTriggerOperationsClient { get; }

The long-running operations client for DeleteTrigger.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override Eventarc.EventarcClient GrpcClient { get; }

The underlying gRPC Eventarc client

Property Value
Type Description
EventarcEventarcClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateChannelOperationsClient

public override OperationsClient UpdateChannelOperationsClient { get; }

The long-running operations client for UpdateChannel.

Property Value
Type Description
OperationsClient
Overrides

UpdateTriggerOperationsClient

public override OperationsClient UpdateTriggerOperationsClient { get; }

The long-running operations client for UpdateTrigger.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreateChannel(CreateChannelRequest, CallSettings)

public override Operation<Channel, OperationMetadata> CreateChannel(CreateChannelRequest request, CallSettings callSettings = null)

Create a new channel in a particular project and location.

Parameters
Name Description
request CreateChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationChannelOperationMetadata

The RPC response.

Overrides

CreateChannelAsync(CreateChannelRequest, CallSettings)

public override Task<Operation<Channel, OperationMetadata>> CreateChannelAsync(CreateChannelRequest request, CallSettings callSettings = null)

Create a new channel in a particular project and location.

Parameters
Name Description
request CreateChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationChannelOperationMetadata

A Task containing the RPC response.

Overrides

CreateChannelConnection(CreateChannelConnectionRequest, CallSettings)

public override Operation<ChannelConnection, OperationMetadata> CreateChannelConnection(CreateChannelConnectionRequest request, CallSettings callSettings = null)

Create a new ChannelConnection in a particular project and location.

Parameters
Name Description
request CreateChannelConnectionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationChannelConnectionOperationMetadata

The RPC response.

Overrides

CreateChannelConnectionAsync(CreateChannelConnectionRequest, CallSettings)

public override Task<Operation<ChannelConnection, OperationMetadata>> CreateChannelConnectionAsync(CreateChannelConnectionRequest request, CallSettings callSettings = null)

Create a new ChannelConnection in a particular project and location.

Parameters
Name Description
request CreateChannelConnectionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationChannelConnectionOperationMetadata

A Task containing the RPC response.

Overrides

CreateTrigger(CreateTriggerRequest, CallSettings)

public override Operation<Trigger, OperationMetadata> CreateTrigger(CreateTriggerRequest request, CallSettings callSettings = null)

Create a new trigger in a particular project and location.

Parameters
Name Description
request CreateTriggerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationTriggerOperationMetadata

The RPC response.

Overrides

CreateTriggerAsync(CreateTriggerRequest, CallSettings)

public override Task<Operation<Trigger, OperationMetadata>> CreateTriggerAsync(CreateTriggerRequest request, CallSettings callSettings = null)

Create a new trigger in a particular project and location.

Parameters
Name Description
request CreateTriggerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationTriggerOperationMetadata

A Task containing the RPC response.

Overrides

DeleteChannel(DeleteChannelRequest, CallSettings)

public override Operation<Channel, OperationMetadata> DeleteChannel(DeleteChannelRequest request, CallSettings callSettings = null)

Delete a single channel.

Parameters
Name Description
request DeleteChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationChannelOperationMetadata

The RPC response.

Overrides

DeleteChannelAsync(DeleteChannelRequest, CallSettings)

public override Task<Operation<Channel, OperationMetadata>> DeleteChannelAsync(DeleteChannelRequest request, CallSettings callSettings = null)

Delete a single channel.

Parameters
Name Description
request DeleteChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationChannelOperationMetadata

A Task containing the RPC response.

Overrides

DeleteChannelConnection(DeleteChannelConnectionRequest, CallSettings)

public override Operation<ChannelConnection, OperationMetadata> DeleteChannelConnection(DeleteChannelConnectionRequest request, CallSettings callSettings = null)

Delete a single ChannelConnection.

Parameters
Name Description
request DeleteChannelConnectionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationChannelConnectionOperationMetadata

The RPC response.

Overrides

DeleteChannelConnectionAsync(DeleteChannelConnectionRequest, CallSettings)

public override Task<Operation<ChannelConnection, OperationMetadata>> DeleteChannelConnectionAsync(DeleteChannelConnectionRequest request, CallSettings callSettings = null)

Delete a single ChannelConnection.

Parameters
Name Description
request DeleteChannelConnectionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationChannelConnectionOperationMetadata

A Task containing the RPC response.

Overrides

DeleteTrigger(DeleteTriggerRequest, CallSettings)

public override Operation<Trigger, OperationMetadata> DeleteTrigger(DeleteTriggerRequest request, CallSettings callSettings = null)

Delete a single trigger.

Parameters
Name Description
request DeleteTriggerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationTriggerOperationMetadata

The RPC response.

Overrides

DeleteTriggerAsync(DeleteTriggerRequest, CallSettings)

public override Task<Operation<Trigger, OperationMetadata>> DeleteTriggerAsync(DeleteTriggerRequest request, CallSettings callSettings = null)

Delete a single trigger.

Parameters
Name Description
request DeleteTriggerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationTriggerOperationMetadata

A Task containing the RPC response.

Overrides

GetChannel(GetChannelRequest, CallSettings)

public override Channel GetChannel(GetChannelRequest request, CallSettings callSettings = null)

Get a single Channel.

Parameters
Name Description
request GetChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Channel

The RPC response.

Overrides

GetChannelAsync(GetChannelRequest, CallSettings)

public override Task<Channel> GetChannelAsync(GetChannelRequest request, CallSettings callSettings = null)

Get a single Channel.

Parameters
Name Description
request GetChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskChannel

A Task containing the RPC response.

Overrides

GetChannelConnection(GetChannelConnectionRequest, CallSettings)

public override ChannelConnection GetChannelConnection(GetChannelConnectionRequest request, CallSettings callSettings = null)

Get a single ChannelConnection.

Parameters
Name Description
request GetChannelConnectionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ChannelConnection

The RPC response.

Overrides

GetChannelConnectionAsync(GetChannelConnectionRequest, CallSettings)

public override Task<ChannelConnection> GetChannelConnectionAsync(GetChannelConnectionRequest request, CallSettings callSettings = null)

Get a single ChannelConnection.

Parameters
Name Description
request GetChannelConnectionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskChannelConnection

A Task containing the RPC response.

Overrides

GetGoogleChannelConfig(GetGoogleChannelConfigRequest, CallSettings)

public override GoogleChannelConfig GetGoogleChannelConfig(GetGoogleChannelConfigRequest request, CallSettings callSettings = null)

Get a GoogleChannelConfig

Parameters
Name Description
request GetGoogleChannelConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GoogleChannelConfig

The RPC response.

Overrides

GetGoogleChannelConfigAsync(GetGoogleChannelConfigRequest, CallSettings)

public override Task<GoogleChannelConfig> GetGoogleChannelConfigAsync(GetGoogleChannelConfigRequest request, CallSettings callSettings = null)

Get a GoogleChannelConfig

Parameters
Name Description
request GetGoogleChannelConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskGoogleChannelConfig

A Task containing the RPC response.

Overrides

GetProvider(GetProviderRequest, CallSettings)

public override Provider GetProvider(GetProviderRequest request, CallSettings callSettings = null)

Get a single Provider.

Parameters
Name Description
request GetProviderRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Provider

The RPC response.

Overrides

GetProviderAsync(GetProviderRequest, CallSettings)

public override Task<Provider> GetProviderAsync(GetProviderRequest request, CallSettings callSettings = null)

Get a single Provider.

Parameters
Name Description
request GetProviderRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskProvider

A Task containing the RPC response.

Overrides

GetTrigger(GetTriggerRequest, CallSettings)

public override Trigger GetTrigger(GetTriggerRequest request, CallSettings callSettings = null)

Get a single trigger.

Parameters
Name Description
request GetTriggerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Trigger

The RPC response.

Overrides

GetTriggerAsync(GetTriggerRequest, CallSettings)

public override Task<Trigger> GetTriggerAsync(GetTriggerRequest request, CallSettings callSettings = null)

Get a single trigger.

Parameters
Name Description
request GetTriggerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTrigger

A Task containing the RPC response.

Overrides

ListChannelConnections(ListChannelConnectionsRequest, CallSettings)

public override PagedEnumerable<ListChannelConnectionsResponse, ChannelConnection> ListChannelConnections(ListChannelConnectionsRequest request, CallSettings callSettings = null)

List channel connections.

Parameters
Name Description
request ListChannelConnectionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListChannelConnectionsResponseChannelConnection

A pageable sequence of ChannelConnection resources.

Overrides

ListChannelConnectionsAsync(ListChannelConnectionsRequest, CallSettings)

public override PagedAsyncEnumerable<ListChannelConnectionsResponse, ChannelConnection> ListChannelConnectionsAsync(ListChannelConnectionsRequest request, CallSettings callSettings = null)

List channel connections.

Parameters
Name Description
request ListChannelConnectionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListChannelConnectionsResponseChannelConnection

A pageable asynchronous sequence of ChannelConnection resources.

Overrides

ListChannels(ListChannelsRequest, CallSettings)

public override PagedEnumerable<ListChannelsResponse, Channel> ListChannels(ListChannelsRequest request, CallSettings callSettings = null)

List channels.

Parameters
Name Description
request ListChannelsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListChannelsResponseChannel

A pageable sequence of Channel resources.

Overrides

ListChannelsAsync(ListChannelsRequest, CallSettings)

public override PagedAsyncEnumerable<ListChannelsResponse, Channel> ListChannelsAsync(ListChannelsRequest request, CallSettings callSettings = null)

List channels.

Parameters
Name Description
request ListChannelsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListChannelsResponseChannel

A pageable asynchronous sequence of Channel resources.

Overrides

ListProviders(ListProvidersRequest, CallSettings)

public override PagedEnumerable<ListProvidersResponse, Provider> ListProviders(ListProvidersRequest request, CallSettings callSettings = null)

List providers.

Parameters
Name Description
request ListProvidersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListProvidersResponseProvider

A pageable sequence of Provider resources.

Overrides

ListProvidersAsync(ListProvidersRequest, CallSettings)

public override PagedAsyncEnumerable<ListProvidersResponse, Provider> ListProvidersAsync(ListProvidersRequest request, CallSettings callSettings = null)

List providers.

Parameters
Name Description
request ListProvidersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListProvidersResponseProvider

A pageable asynchronous sequence of Provider resources.

Overrides

ListTriggers(ListTriggersRequest, CallSettings)

public override PagedEnumerable<ListTriggersResponse, Trigger> ListTriggers(ListTriggersRequest request, CallSettings callSettings = null)

List triggers.

Parameters
Name Description
request ListTriggersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListTriggersResponseTrigger

A pageable sequence of Trigger resources.

Overrides

ListTriggersAsync(ListTriggersRequest, CallSettings)

public override PagedAsyncEnumerable<ListTriggersResponse, Trigger> ListTriggersAsync(ListTriggersRequest request, CallSettings callSettings = null)

List triggers.

Parameters
Name Description
request ListTriggersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListTriggersResponseTrigger

A pageable asynchronous sequence of Trigger resources.

Overrides

UpdateChannel(UpdateChannelRequest, CallSettings)

public override Operation<Channel, OperationMetadata> UpdateChannel(UpdateChannelRequest request, CallSettings callSettings = null)

Update a single channel.

Parameters
Name Description
request UpdateChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationChannelOperationMetadata

The RPC response.

Overrides

UpdateChannelAsync(UpdateChannelRequest, CallSettings)

public override Task<Operation<Channel, OperationMetadata>> UpdateChannelAsync(UpdateChannelRequest request, CallSettings callSettings = null)

Update a single channel.

Parameters
Name Description
request UpdateChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationChannelOperationMetadata

A Task containing the RPC response.

Overrides

UpdateGoogleChannelConfig(UpdateGoogleChannelConfigRequest, CallSettings)

public override GoogleChannelConfig UpdateGoogleChannelConfig(UpdateGoogleChannelConfigRequest request, CallSettings callSettings = null)

Update a single GoogleChannelConfig

Parameters
Name Description
request UpdateGoogleChannelConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GoogleChannelConfig

The RPC response.

Overrides

UpdateGoogleChannelConfigAsync(UpdateGoogleChannelConfigRequest, CallSettings)

public override Task<GoogleChannelConfig> UpdateGoogleChannelConfigAsync(UpdateGoogleChannelConfigRequest request, CallSettings callSettings = null)

Update a single GoogleChannelConfig

Parameters
Name Description
request UpdateGoogleChannelConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskGoogleChannelConfig

A Task containing the RPC response.

Overrides

UpdateTrigger(UpdateTriggerRequest, CallSettings)

public override Operation<Trigger, OperationMetadata> UpdateTrigger(UpdateTriggerRequest request, CallSettings callSettings = null)

Update a single trigger.

Parameters
Name Description
request UpdateTriggerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationTriggerOperationMetadata

The RPC response.

Overrides

UpdateTriggerAsync(UpdateTriggerRequest, CallSettings)

public override Task<Operation<Trigger, OperationMetadata>> UpdateTriggerAsync(UpdateTriggerRequest request, CallSettings callSettings = null)

Update a single trigger.

Parameters
Name Description
request UpdateTriggerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationTriggerOperationMetadata

A Task containing the RPC response.

Overrides