Show / Hide Table of Contents

Class PlacementServiceClientImpl

PlacementService client wrapper implementation, for convenient use.

Inheritance
object
PlacementServiceClient
PlacementServiceClientImpl
Inherited Members
PlacementServiceClient.DefaultEndpoint
PlacementServiceClient.DefaultScopes
PlacementServiceClient.ServiceMetadata
PlacementServiceClient.CreateAsync(CancellationToken)
PlacementServiceClient.Create()
PlacementServiceClient.ShutdownDefaultChannelsAsync()
PlacementServiceClient.GetPlacementAsync(GetPlacementRequest, CancellationToken)
PlacementServiceClient.GetPlacement(string, CallSettings)
PlacementServiceClient.GetPlacementAsync(string, CallSettings)
PlacementServiceClient.GetPlacementAsync(string, CancellationToken)
PlacementServiceClient.GetPlacement(PlacementName, CallSettings)
PlacementServiceClient.GetPlacementAsync(PlacementName, CallSettings)
PlacementServiceClient.GetPlacementAsync(PlacementName, CancellationToken)
PlacementServiceClient.ListPlacements(string, string, int?, CallSettings)
PlacementServiceClient.ListPlacementsAsync(string, string, int?, CallSettings)
PlacementServiceClient.ListPlacements(NetworkName, string, int?, CallSettings)
PlacementServiceClient.ListPlacementsAsync(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 PlacementServiceClientImpl : PlacementServiceClient
Remarks

Provides methods for handling Placement objects.

Constructors

PlacementServiceClientImpl(PlacementServiceClient, PlacementServiceSettings, ILogger)

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

Declaration
public PlacementServiceClientImpl(PlacementService.PlacementServiceClient grpcClient, PlacementServiceSettings settings, ILogger logger)
Parameters
Type Name Description
PlacementService.PlacementServiceClient grpcClient

The underlying gRPC client.

PlacementServiceSettings settings

The base PlacementServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC PlacementService client

Declaration
public override PlacementService.PlacementServiceClient GrpcClient { get; }
Property Value
Type Description
PlacementService.PlacementServiceClient
Overrides
PlacementServiceClient.GrpcClient

Methods

GetPlacement(GetPlacementRequest, CallSettings)

API to retrieve a Placement object.

Declaration
public override Placement GetPlacement(GetPlacementRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetPlacementRequest 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
Placement

The RPC response.

Overrides
PlacementServiceClient.GetPlacement(GetPlacementRequest, CallSettings)

GetPlacementAsync(GetPlacementRequest, CallSettings)

API to retrieve a Placement object.

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

A Task containing the RPC response.

Overrides
PlacementServiceClient.GetPlacementAsync(GetPlacementRequest, CallSettings)

ListPlacements(ListPlacementsRequest, CallSettings)

API to retrieve a list of Placement objects.

Declaration
public override PagedEnumerable<ListPlacementsResponse, Placement> ListPlacements(ListPlacementsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListPlacementsRequest 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<ListPlacementsResponse, Placement>

A pageable sequence of Placement resources.

Overrides
PlacementServiceClient.ListPlacements(ListPlacementsRequest, CallSettings)

ListPlacementsAsync(ListPlacementsRequest, CallSettings)

API to retrieve a list of Placement objects.

Declaration
public override PagedAsyncEnumerable<ListPlacementsResponse, Placement> ListPlacementsAsync(ListPlacementsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListPlacementsRequest 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<ListPlacementsResponse, Placement>

A pageable asynchronous sequence of Placement resources.

Overrides
PlacementServiceClient.ListPlacementsAsync(ListPlacementsRequest, CallSettings)
In this article
Back to top Generated by DocFX