public sealed class EventarcClientImpl : EventarcClient
Eventarc client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Eventarc.V1Assembly
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 | |
---|---|
Name | Description |
grpcClient | Eventarc.EventarcClient The underlying gRPC client. |
settings | EventarcSettings The base EventarcSettings used within this client. |
Properties
CreateTriggerOperationsClient
public override OperationsClient CreateTriggerOperationsClient { get; }
The long-running operations client for CreateTrigger
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteTriggerOperationsClient
public override OperationsClient DeleteTriggerOperationsClient { get; }
The long-running operations client for DeleteTrigger
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override Eventarc.EventarcClient GrpcClient { get; }
The underlying gRPC Eventarc client
Property Value | |
---|---|
Type | Description |
Eventarc.EventarcClient |
UpdateTriggerOperationsClient
public override OperationsClient UpdateTriggerOperationsClient { get; }
The long-running operations client for UpdateTrigger
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 | |
---|---|
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 |
Operation<Trigger, OperationMetadata> | The RPC response. |
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 |
Task<Operation<Trigger, OperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<Trigger, OperationMetadata> | The RPC response. |
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 |
Task<Operation<Trigger, OperationMetadata>> | A Task containing the RPC response. |
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. |
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 |
Task<Trigger> | A Task containing the RPC response. |
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 |
PagedEnumerable<ListTriggersResponse, Trigger> | A pageable sequence of Trigger resources. |
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 |
PagedAsyncEnumerable<ListTriggersResponse, Trigger> | A pageable asynchronous sequence of Trigger resources. |
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 |
Operation<Trigger, OperationMetadata> | The RPC response. |
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 |
Task<Operation<Trigger, OperationMetadata>> | A Task containing the RPC response. |