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
NameDescription
grpcClientEventarcEventarcClient

The underlying gRPC client.

settingsEventarcSettings

The base EventarcSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateChannelConnectionOperationsClient

public override OperationsClient CreateChannelConnectionOperationsClient { get; }

The long-running operations client for CreateChannelConnection.

Property Value
TypeDescription
OperationsClient
Overrides

CreateChannelOperationsClient

public override OperationsClient CreateChannelOperationsClient { get; }

The long-running operations client for CreateChannel.

Property Value
TypeDescription
OperationsClient
Overrides

CreateTriggerOperationsClient

public override OperationsClient CreateTriggerOperationsClient { get; }

The long-running operations client for CreateTrigger.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteChannelConnectionOperationsClient

public override OperationsClient DeleteChannelConnectionOperationsClient { get; }

The long-running operations client for DeleteChannelConnection.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteChannelOperationsClient

public override OperationsClient DeleteChannelOperationsClient { get; }

The long-running operations client for DeleteChannel.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteTriggerOperationsClient

public override OperationsClient DeleteTriggerOperationsClient { get; }

The long-running operations client for DeleteTrigger.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override Eventarc.EventarcClient GrpcClient { get; }

The underlying gRPC Eventarc client

Property Value
TypeDescription
EventarcEventarcClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

UpdateChannelOperationsClient

public override OperationsClient UpdateChannelOperationsClient { get; }

The long-running operations client for UpdateChannel.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateTriggerOperationsClient

public override OperationsClient UpdateTriggerOperationsClient { get; }

The long-running operations client for UpdateTrigger.

Property Value
TypeDescription
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
NameDescription
requestCreateChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateChannelConnectionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateChannelConnectionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateTriggerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateTriggerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteChannelConnectionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteChannelConnectionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteTriggerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteTriggerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Channel

The RPC response.

Overrides

GetChannelAsync(GetChannelRequest, CallSettings)

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

Get a single Channel.

Parameters
NameDescription
requestGetChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetChannelConnectionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ChannelConnection

The RPC response.

Overrides

GetChannelConnectionAsync(GetChannelConnectionRequest, CallSettings)

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

Get a single ChannelConnection.

Parameters
NameDescription
requestGetChannelConnectionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskChannelConnection

A Task containing the RPC response.

Overrides

GetGoogleChannelConfig(GetGoogleChannelConfigRequest, CallSettings)

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

Get a GoogleChannelConfig

Parameters
NameDescription
requestGetGoogleChannelConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GoogleChannelConfig

The RPC response.

Overrides

GetGoogleChannelConfigAsync(GetGoogleChannelConfigRequest, CallSettings)

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

Get a GoogleChannelConfig

Parameters
NameDescription
requestGetGoogleChannelConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetProviderRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Provider

The RPC response.

Overrides

GetProviderAsync(GetProviderRequest, CallSettings)

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

Get a single Provider.

Parameters
NameDescription
requestGetProviderRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetTriggerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Trigger

The RPC response.

Overrides

GetTriggerAsync(GetTriggerRequest, CallSettings)

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

Get a single trigger.

Parameters
NameDescription
requestGetTriggerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListChannelConnectionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListChannelConnectionsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListChannelsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListChannelsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListProvidersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListProvidersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListTriggersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListTriggersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateGoogleChannelConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GoogleChannelConfig

The RPC response.

Overrides

UpdateGoogleChannelConfigAsync(UpdateGoogleChannelConfigRequest, CallSettings)

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

Update a single GoogleChannelConfig

Parameters
NameDescription
requestUpdateGoogleChannelConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateTriggerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateTriggerRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationTriggerOperationMetadata

A Task containing the RPC response.

Overrides