Show / Hide Table of Contents

Class GeoTargetService.GeoTargetServiceClient

Client for GeoTargetService

Inheritance
object
ClientBase
ClientBase<GeoTargetService.GeoTargetServiceClient>
GeoTargetService.GeoTargetServiceClient
Inherited Members
ClientBase<GeoTargetService.GeoTargetServiceClient>.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 GeoTargetService.GeoTargetServiceClient : ClientBase<GeoTargetService.GeoTargetServiceClient>

Constructors

GeoTargetServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected GeoTargetServiceClient()

GeoTargetServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

GeoTargetServiceClient(ChannelBase)

Creates a new client for GeoTargetService

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

The channel to use to make remote calls.

GeoTargetServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetGeoTarget(GetGeoTargetRequest, CallOptions)

API to retrieve a GeoTarget object.

Declaration
public virtual GeoTarget GetGeoTarget(GetGeoTargetRequest request, CallOptions options)
Parameters
Type Name Description
GetGeoTargetRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
GeoTarget

The response received from the server.

GetGeoTarget(GetGeoTargetRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a GeoTarget object.

Declaration
public virtual GeoTarget GetGeoTarget(GetGeoTargetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetGeoTargetRequest 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
GeoTarget

The response received from the server.

GetGeoTargetAsync(GetGeoTargetRequest, CallOptions)

API to retrieve a GeoTarget object.

Declaration
public virtual AsyncUnaryCall<GeoTarget> GetGeoTargetAsync(GetGeoTargetRequest request, CallOptions options)
Parameters
Type Name Description
GetGeoTargetRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<GeoTarget>

The call object.

GetGeoTargetAsync(GetGeoTargetRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a GeoTarget object.

Declaration
public virtual AsyncUnaryCall<GeoTarget> GetGeoTargetAsync(GetGeoTargetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetGeoTargetRequest 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<GeoTarget>

The call object.

ListGeoTargets(ListGeoTargetsRequest, CallOptions)

API to retrieve a list of GeoTarget objects.

Declaration
public virtual ListGeoTargetsResponse ListGeoTargets(ListGeoTargetsRequest request, CallOptions options)
Parameters
Type Name Description
ListGeoTargetsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListGeoTargetsResponse

The response received from the server.

ListGeoTargets(ListGeoTargetsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of GeoTarget objects.

Declaration
public virtual ListGeoTargetsResponse ListGeoTargets(ListGeoTargetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListGeoTargetsRequest 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
ListGeoTargetsResponse

The response received from the server.

ListGeoTargetsAsync(ListGeoTargetsRequest, CallOptions)

API to retrieve a list of GeoTarget objects.

Declaration
public virtual AsyncUnaryCall<ListGeoTargetsResponse> ListGeoTargetsAsync(ListGeoTargetsRequest request, CallOptions options)
Parameters
Type Name Description
ListGeoTargetsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListGeoTargetsResponse>

The call object.

ListGeoTargetsAsync(ListGeoTargetsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of GeoTarget objects.

Declaration
public virtual AsyncUnaryCall<ListGeoTargetsResponse> ListGeoTargetsAsync(ListGeoTargetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListGeoTargetsRequest 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<ListGeoTargetsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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