Show / Hide Table of Contents

Class AdSpotServiceClientImpl

AdSpotService client wrapper implementation, for convenient use.

Inheritance
object
AdSpotServiceClient
AdSpotServiceClientImpl
Inherited Members
AdSpotServiceClient.DefaultEndpoint
AdSpotServiceClient.DefaultScopes
AdSpotServiceClient.ServiceMetadata
AdSpotServiceClient.CreateAsync(CancellationToken)
AdSpotServiceClient.Create()
AdSpotServiceClient.ShutdownDefaultChannelsAsync()
AdSpotServiceClient.GetAdSpotAsync(GetAdSpotRequest, CancellationToken)
AdSpotServiceClient.GetAdSpot(string, CallSettings)
AdSpotServiceClient.GetAdSpotAsync(string, CallSettings)
AdSpotServiceClient.GetAdSpotAsync(string, CancellationToken)
AdSpotServiceClient.GetAdSpot(AdSpotName, CallSettings)
AdSpotServiceClient.GetAdSpotAsync(AdSpotName, CallSettings)
AdSpotServiceClient.GetAdSpotAsync(AdSpotName, CancellationToken)
AdSpotServiceClient.ListAdSpots(string, string, int?, CallSettings)
AdSpotServiceClient.ListAdSpotsAsync(string, string, int?, CallSettings)
AdSpotServiceClient.ListAdSpots(NetworkName, string, int?, CallSettings)
AdSpotServiceClient.ListAdSpotsAsync(NetworkName, string, int?, CallSettings)
AdSpotServiceClient.CreateAdSpotAsync(CreateAdSpotRequest, CancellationToken)
AdSpotServiceClient.CreateAdSpot(string, AdSpot, CallSettings)
AdSpotServiceClient.CreateAdSpotAsync(string, AdSpot, CallSettings)
AdSpotServiceClient.CreateAdSpotAsync(string, AdSpot, CancellationToken)
AdSpotServiceClient.CreateAdSpot(NetworkName, AdSpot, CallSettings)
AdSpotServiceClient.CreateAdSpotAsync(NetworkName, AdSpot, CallSettings)
AdSpotServiceClient.CreateAdSpotAsync(NetworkName, AdSpot, CancellationToken)
AdSpotServiceClient.BatchCreateAdSpotsAsync(BatchCreateAdSpotsRequest, CancellationToken)
AdSpotServiceClient.BatchCreateAdSpots(string, IEnumerable<CreateAdSpotRequest>, CallSettings)
AdSpotServiceClient.BatchCreateAdSpotsAsync(string, IEnumerable<CreateAdSpotRequest>, CallSettings)
AdSpotServiceClient.BatchCreateAdSpotsAsync(string, IEnumerable<CreateAdSpotRequest>, CancellationToken)
AdSpotServiceClient.BatchCreateAdSpots(NetworkName, IEnumerable<CreateAdSpotRequest>, CallSettings)
AdSpotServiceClient.BatchCreateAdSpotsAsync(NetworkName, IEnumerable<CreateAdSpotRequest>, CallSettings)
AdSpotServiceClient.BatchCreateAdSpotsAsync(NetworkName, IEnumerable<CreateAdSpotRequest>, CancellationToken)
AdSpotServiceClient.UpdateAdSpotAsync(UpdateAdSpotRequest, CancellationToken)
AdSpotServiceClient.UpdateAdSpot(AdSpot, FieldMask, CallSettings)
AdSpotServiceClient.UpdateAdSpotAsync(AdSpot, FieldMask, CallSettings)
AdSpotServiceClient.UpdateAdSpotAsync(AdSpot, FieldMask, CancellationToken)
AdSpotServiceClient.BatchUpdateAdSpotsAsync(BatchUpdateAdSpotsRequest, CancellationToken)
AdSpotServiceClient.BatchUpdateAdSpots(string, IEnumerable<UpdateAdSpotRequest>, CallSettings)
AdSpotServiceClient.BatchUpdateAdSpotsAsync(string, IEnumerable<UpdateAdSpotRequest>, CallSettings)
AdSpotServiceClient.BatchUpdateAdSpotsAsync(string, IEnumerable<UpdateAdSpotRequest>, CancellationToken)
AdSpotServiceClient.BatchUpdateAdSpots(NetworkName, IEnumerable<UpdateAdSpotRequest>, CallSettings)
AdSpotServiceClient.BatchUpdateAdSpotsAsync(NetworkName, IEnumerable<UpdateAdSpotRequest>, CallSettings)
AdSpotServiceClient.BatchUpdateAdSpotsAsync(NetworkName, IEnumerable<UpdateAdSpotRequest>, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AdSpotServiceClientImpl : AdSpotServiceClient
Remarks

Provides methods for handling AdSpot objects.

Constructors

AdSpotServiceClientImpl(AdSpotServiceClient, AdSpotServiceSettings, ILogger)

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

Declaration
public AdSpotServiceClientImpl(AdSpotService.AdSpotServiceClient grpcClient, AdSpotServiceSettings settings, ILogger logger)
Parameters
Type Name Description
AdSpotService.AdSpotServiceClient grpcClient

The underlying gRPC client.

AdSpotServiceSettings settings

The base AdSpotServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC AdSpotService client

Declaration
public override AdSpotService.AdSpotServiceClient GrpcClient { get; }
Property Value
Type Description
AdSpotService.AdSpotServiceClient
Overrides
AdSpotServiceClient.GrpcClient

Methods

BatchCreateAdSpots(BatchCreateAdSpotsRequest, CallSettings)

Batch creates AdSpot objects.

Declaration
public override BatchCreateAdSpotsResponse BatchCreateAdSpots(BatchCreateAdSpotsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateAdSpotsRequest 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
BatchCreateAdSpotsResponse

The RPC response.

Overrides
AdSpotServiceClient.BatchCreateAdSpots(BatchCreateAdSpotsRequest, CallSettings)

BatchCreateAdSpotsAsync(BatchCreateAdSpotsRequest, CallSettings)

Batch creates AdSpot objects.

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

A Task containing the RPC response.

Overrides
AdSpotServiceClient.BatchCreateAdSpotsAsync(BatchCreateAdSpotsRequest, CallSettings)

BatchUpdateAdSpots(BatchUpdateAdSpotsRequest, CallSettings)

Batch updates AdSpot objects.

Declaration
public override BatchUpdateAdSpotsResponse BatchUpdateAdSpots(BatchUpdateAdSpotsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateAdSpotsRequest 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
BatchUpdateAdSpotsResponse

The RPC response.

Overrides
AdSpotServiceClient.BatchUpdateAdSpots(BatchUpdateAdSpotsRequest, CallSettings)

BatchUpdateAdSpotsAsync(BatchUpdateAdSpotsRequest, CallSettings)

Batch updates AdSpot objects.

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

A Task containing the RPC response.

Overrides
AdSpotServiceClient.BatchUpdateAdSpotsAsync(BatchUpdateAdSpotsRequest, CallSettings)

CreateAdSpot(CreateAdSpotRequest, CallSettings)

Creates an AdSpot object.

Declaration
public override AdSpot CreateAdSpot(CreateAdSpotRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateAdSpotRequest 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
AdSpot

The RPC response.

Overrides
AdSpotServiceClient.CreateAdSpot(CreateAdSpotRequest, CallSettings)

CreateAdSpotAsync(CreateAdSpotRequest, CallSettings)

Creates an AdSpot object.

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

A Task containing the RPC response.

Overrides
AdSpotServiceClient.CreateAdSpotAsync(CreateAdSpotRequest, CallSettings)

GetAdSpot(GetAdSpotRequest, CallSettings)

Retrieves an AdSpot object.

Declaration
public override AdSpot GetAdSpot(GetAdSpotRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetAdSpotRequest 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
AdSpot

The RPC response.

Overrides
AdSpotServiceClient.GetAdSpot(GetAdSpotRequest, CallSettings)

GetAdSpotAsync(GetAdSpotRequest, CallSettings)

Retrieves an AdSpot object.

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

A Task containing the RPC response.

Overrides
AdSpotServiceClient.GetAdSpotAsync(GetAdSpotRequest, CallSettings)

ListAdSpots(ListAdSpotsRequest, CallSettings)

Lists AdSpot objects.

Declaration
public override PagedEnumerable<ListAdSpotsResponse, AdSpot> ListAdSpots(ListAdSpotsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAdSpotsRequest 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<ListAdSpotsResponse, AdSpot>

A pageable sequence of AdSpot resources.

Overrides
AdSpotServiceClient.ListAdSpots(ListAdSpotsRequest, CallSettings)

ListAdSpotsAsync(ListAdSpotsRequest, CallSettings)

Lists AdSpot objects.

Declaration
public override PagedAsyncEnumerable<ListAdSpotsResponse, AdSpot> ListAdSpotsAsync(ListAdSpotsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListAdSpotsRequest 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<ListAdSpotsResponse, AdSpot>

A pageable asynchronous sequence of AdSpot resources.

Overrides
AdSpotServiceClient.ListAdSpotsAsync(ListAdSpotsRequest, CallSettings)

UpdateAdSpot(UpdateAdSpotRequest, CallSettings)

Updates an AdSpot object.

Declaration
public override AdSpot UpdateAdSpot(UpdateAdSpotRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateAdSpotRequest 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
AdSpot

The RPC response.

Overrides
AdSpotServiceClient.UpdateAdSpot(UpdateAdSpotRequest, CallSettings)

UpdateAdSpotAsync(UpdateAdSpotRequest, CallSettings)

Updates an AdSpot object.

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

A Task containing the RPC response.

Overrides
AdSpotServiceClient.UpdateAdSpotAsync(UpdateAdSpotRequest, CallSettings)
In this article
Back to top Generated by DocFX