Class ChangeEventServiceClientImpl
ChangeEventService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ChangeEventServiceClientImpl : ChangeEventServiceClient
Remarks
Provides methods for handling ChangeEvent objects.
Constructors
ChangeEventServiceClientImpl(ChangeEventServiceClient, ChangeEventServiceSettings, ILogger)
Constructs a client wrapper for the ChangeEventService service, with the specified gRPC client and settings.
Declaration
public ChangeEventServiceClientImpl(ChangeEventService.ChangeEventServiceClient grpcClient, ChangeEventServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangeEventService.ChangeEventServiceClient | grpcClient | The underlying gRPC client. |
| ChangeEventServiceSettings | settings | The base ChangeEventServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ChangeEventService client
Declaration
public override ChangeEventService.ChangeEventServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| ChangeEventService.ChangeEventServiceClient |
Overrides
Methods
GetChangeEvent(GetChangeEventRequest, CallSettings)
Retrieves a ChangeEvent object.
Declaration
public override ChangeEvent GetChangeEvent(GetChangeEventRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetChangeEventRequest | request | 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 |
|---|---|
| ChangeEvent | The RPC response. |
Overrides
GetChangeEventAsync(GetChangeEventRequest, CallSettings)
Retrieves a ChangeEvent object.
Declaration
public override Task<ChangeEvent> GetChangeEventAsync(GetChangeEventRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetChangeEventRequest | request | 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<ChangeEvent> | A Task containing the RPC response. |
Overrides
ListChangeEvents(ListChangeEventsRequest, CallSettings)
Lists ChangeEvent objects.
Declaration
public override PagedEnumerable<ListChangeEventsResponse, ChangeEvent> ListChangeEvents(ListChangeEventsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListChangeEventsRequest | request | 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<ListChangeEventsResponse, ChangeEvent> | A pageable sequence of ChangeEvent resources. |
Overrides
ListChangeEventsAsync(ListChangeEventsRequest, CallSettings)
Lists ChangeEvent objects.
Declaration
public override PagedAsyncEnumerable<ListChangeEventsResponse, ChangeEvent> ListChangeEventsAsync(ListChangeEventsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListChangeEventsRequest | request | 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<ListChangeEventsResponse, ChangeEvent> | A pageable asynchronous sequence of ChangeEvent resources. |