Eventarc v1 API - Class EventarcClientImpl (2.1.0)

Stay organized with collections Save and categorize content based on your preferences.
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(Eventarc.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
grpcClientEventarc.EventarcClient

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
Eventarc.EventarcClient
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
Operation<Channel, OperationMetadata>

The RPC response.

Overrides

CreateChannelAsync(CreateChannelRequest, CallSettings)

public override async 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
Task<Operation<Channel, OperationMetadata>>

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
Operation<ChannelConnection, OperationMetadata>

The RPC response.

Overrides

CreateChannelConnectionAsync(CreateChannelConnectionRequest, CallSettings)

public override async 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
Task<Operation<ChannelConnection, OperationMetadata>>

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
Operation<Trigger, OperationMetadata>

The RPC response.

Overrides

CreateTriggerAsync(CreateTriggerRequest, CallSettings)

public override async 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
Task<Operation<Trigger, OperationMetadata>>

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
Operation<Channel, OperationMetadata>

The RPC response.

Overrides

DeleteChannelAsync(DeleteChannelRequest, CallSettings)

public override async 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
Task<Operation<Channel, OperationMetadata>>

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
Operation<ChannelConnection, OperationMetadata>

The RPC response.

Overrides

DeleteChannelConnectionAsync(DeleteChannelConnectionRequest, CallSettings)

public override async 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
Task<Operation<ChannelConnection, OperationMetadata>>

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
Operation<Trigger, OperationMetadata>

The RPC response.

Overrides

DeleteTriggerAsync(DeleteTriggerRequest, CallSettings)

public override async 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
Task<Operation<Trigger, OperationMetadata>>

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
Task<Channel>

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
Task<ChannelConnection>

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
Task<GoogleChannelConfig>

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
Task<Provider>

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
Task<Trigger>

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
PagedEnumerable<ListChannelConnectionsResponse, ChannelConnection>

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
PagedAsyncEnumerable<ListChannelConnectionsResponse, ChannelConnection>

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
PagedEnumerable<ListChannelsResponse, Channel>

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
PagedAsyncEnumerable<ListChannelsResponse, Channel>

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
PagedEnumerable<ListProvidersResponse, Provider>

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
PagedAsyncEnumerable<ListProvidersResponse, Provider>

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
PagedEnumerable<ListTriggersResponse, Trigger>

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
PagedAsyncEnumerable<ListTriggersResponse, Trigger>

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
Operation<Channel, OperationMetadata>

The RPC response.

Overrides

UpdateChannelAsync(UpdateChannelRequest, CallSettings)

public override async 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
Task<Operation<Channel, OperationMetadata>>

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
Task<GoogleChannelConfig>

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
Operation<Trigger, OperationMetadata>

The RPC response.

Overrides

UpdateTriggerAsync(UpdateTriggerRequest, CallSettings)

public override async 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
Task<Operation<Trigger, OperationMetadata>>

A Task containing the RPC response.

Overrides