Show / Hide Table of Contents

Class GeoTargetServiceClientImpl

GeoTargetService client wrapper implementation, for convenient use.

Inheritance
object
GeoTargetServiceClient
GeoTargetServiceClientImpl
Inherited Members
GeoTargetServiceClient.DefaultEndpoint
GeoTargetServiceClient.DefaultScopes
GeoTargetServiceClient.ServiceMetadata
GeoTargetServiceClient.CreateAsync(CancellationToken)
GeoTargetServiceClient.Create()
GeoTargetServiceClient.ShutdownDefaultChannelsAsync()
GeoTargetServiceClient.GetGeoTargetAsync(GetGeoTargetRequest, CancellationToken)
GeoTargetServiceClient.GetGeoTarget(string, CallSettings)
GeoTargetServiceClient.GetGeoTargetAsync(string, CallSettings)
GeoTargetServiceClient.GetGeoTargetAsync(string, CancellationToken)
GeoTargetServiceClient.GetGeoTarget(GeoTargetName, CallSettings)
GeoTargetServiceClient.GetGeoTargetAsync(GeoTargetName, CallSettings)
GeoTargetServiceClient.GetGeoTargetAsync(GeoTargetName, CancellationToken)
GeoTargetServiceClient.ListGeoTargets(string, string, int?, CallSettings)
GeoTargetServiceClient.ListGeoTargetsAsync(string, string, int?, CallSettings)
GeoTargetServiceClient.ListGeoTargets(NetworkName, string, int?, CallSettings)
GeoTargetServiceClient.ListGeoTargetsAsync(NetworkName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class GeoTargetServiceClientImpl : GeoTargetServiceClient
Remarks

Provides methods for handling GeoTarget objects.

Constructors

GeoTargetServiceClientImpl(GeoTargetServiceClient, GeoTargetServiceSettings, ILogger)

Constructs a client wrapper for the GeoTargetService service, with the specified gRPC client and settings.

Declaration
public GeoTargetServiceClientImpl(GeoTargetService.GeoTargetServiceClient grpcClient, GeoTargetServiceSettings settings, ILogger logger)
Parameters
Type Name Description
GeoTargetService.GeoTargetServiceClient grpcClient

The underlying gRPC client.

GeoTargetServiceSettings settings

The base GeoTargetServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC GeoTargetService client

Declaration
public override GeoTargetService.GeoTargetServiceClient GrpcClient { get; }
Property Value
Type Description
GeoTargetService.GeoTargetServiceClient
Overrides
GeoTargetServiceClient.GrpcClient

Methods

GetGeoTarget(GetGeoTargetRequest, CallSettings)

API to retrieve a GeoTarget object.

Declaration
public override GeoTarget GetGeoTarget(GetGeoTargetRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetGeoTargetRequest 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
GeoTarget

The RPC response.

Overrides
GeoTargetServiceClient.GetGeoTarget(GetGeoTargetRequest, CallSettings)

GetGeoTargetAsync(GetGeoTargetRequest, CallSettings)

API to retrieve a GeoTarget object.

Declaration
public override Task<GeoTarget> GetGeoTargetAsync(GetGeoTargetRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetGeoTargetRequest 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<GeoTarget>

A Task containing the RPC response.

Overrides
GeoTargetServiceClient.GetGeoTargetAsync(GetGeoTargetRequest, CallSettings)

ListGeoTargets(ListGeoTargetsRequest, CallSettings)

API to retrieve a list of GeoTarget objects.

Declaration
public override PagedEnumerable<ListGeoTargetsResponse, GeoTarget> ListGeoTargets(ListGeoTargetsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListGeoTargetsRequest 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<ListGeoTargetsResponse, GeoTarget>

A pageable sequence of GeoTarget resources.

Overrides
GeoTargetServiceClient.ListGeoTargets(ListGeoTargetsRequest, CallSettings)

ListGeoTargetsAsync(ListGeoTargetsRequest, CallSettings)

API to retrieve a list of GeoTarget objects.

Declaration
public override PagedAsyncEnumerable<ListGeoTargetsResponse, GeoTarget> ListGeoTargetsAsync(ListGeoTargetsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListGeoTargetsRequest 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<ListGeoTargetsResponse, GeoTarget>

A pageable asynchronous sequence of GeoTarget resources.

Overrides
GeoTargetServiceClient.ListGeoTargetsAsync(ListGeoTargetsRequest, CallSettings)
In this article
Back to top Generated by DocFX