Show / Hide Table of Contents

Class ChangeEventService.ChangeEventServiceClient

Client for ChangeEventService

Inheritance
object
ClientBase
ClientBase<ChangeEventService.ChangeEventServiceClient>
ChangeEventService.ChangeEventServiceClient
Inherited Members
ClientBase<ChangeEventService.ChangeEventServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class ChangeEventService.ChangeEventServiceClient : ClientBase<ChangeEventService.ChangeEventServiceClient>

Constructors

ChangeEventServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected ChangeEventServiceClient()

ChangeEventServiceClient(CallInvoker)

Creates a new client for ChangeEventService that uses a custom CallInvoker.

Declaration
public ChangeEventServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

ChangeEventServiceClient(ChannelBase)

Creates a new client for ChangeEventService

Declaration
public ChangeEventServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

ChangeEventServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected ChangeEventServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

GetChangeEvent(GetChangeEventRequest, CallOptions)

Retrieves a ChangeEvent object.

Declaration
public virtual ChangeEvent GetChangeEvent(GetChangeEventRequest request, CallOptions options)
Parameters
Type Name Description
GetChangeEventRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ChangeEvent

The response received from the server.

GetChangeEvent(GetChangeEventRequest, Metadata, DateTime?, CancellationToken)

Retrieves a ChangeEvent object.

Declaration
public virtual ChangeEvent GetChangeEvent(GetChangeEventRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetChangeEventRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ChangeEvent

The response received from the server.

GetChangeEventAsync(GetChangeEventRequest, CallOptions)

Retrieves a ChangeEvent object.

Declaration
public virtual AsyncUnaryCall<ChangeEvent> GetChangeEventAsync(GetChangeEventRequest request, CallOptions options)
Parameters
Type Name Description
GetChangeEventRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ChangeEvent>

The call object.

GetChangeEventAsync(GetChangeEventRequest, Metadata, DateTime?, CancellationToken)

Retrieves a ChangeEvent object.

Declaration
public virtual AsyncUnaryCall<ChangeEvent> GetChangeEventAsync(GetChangeEventRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetChangeEventRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ChangeEvent>

The call object.

ListChangeEvents(ListChangeEventsRequest, CallOptions)

Lists ChangeEvent objects.

Declaration
public virtual ListChangeEventsResponse ListChangeEvents(ListChangeEventsRequest request, CallOptions options)
Parameters
Type Name Description
ListChangeEventsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListChangeEventsResponse

The response received from the server.

ListChangeEvents(ListChangeEventsRequest, Metadata, DateTime?, CancellationToken)

Lists ChangeEvent objects.

Declaration
public virtual ListChangeEventsResponse ListChangeEvents(ListChangeEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListChangeEventsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ListChangeEventsResponse

The response received from the server.

ListChangeEventsAsync(ListChangeEventsRequest, CallOptions)

Lists ChangeEvent objects.

Declaration
public virtual AsyncUnaryCall<ListChangeEventsResponse> ListChangeEventsAsync(ListChangeEventsRequest request, CallOptions options)
Parameters
Type Name Description
ListChangeEventsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListChangeEventsResponse>

The call object.

ListChangeEventsAsync(ListChangeEventsRequest, Metadata, DateTime?, CancellationToken)

Lists ChangeEvent objects.

Declaration
public virtual AsyncUnaryCall<ListChangeEventsResponse> ListChangeEventsAsync(ListChangeEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListChangeEventsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListChangeEventsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override ChangeEventService.ChangeEventServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
ChangeEventService.ChangeEventServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.ChangeEventService.ChangeEventServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX