Class EventarcClientImpl (1.0.0)

public sealed class EventarcClientImpl : EventarcClient

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)

public EventarcClientImpl(Eventarc.EventarcClient grpcClient, EventarcSettings settings)

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.

Properties

CreateTriggerOperationsClient

public override OperationsClient CreateTriggerOperationsClient { get; }

The long-running operations client for CreateTrigger.

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

UpdateTriggerOperationsClient

public override OperationsClient UpdateTriggerOperationsClient { get; }

The long-running operations client for UpdateTrigger.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

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

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

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

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

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