Show / Hide Table of Contents

Class ContentServiceClientImpl

ContentService client wrapper implementation, for convenient use.

Inheritance
object
ContentServiceClient
ContentServiceClientImpl
Inherited Members
ContentServiceClient.DefaultEndpoint
ContentServiceClient.DefaultScopes
ContentServiceClient.ServiceMetadata
ContentServiceClient.CreateAsync(CancellationToken)
ContentServiceClient.Create()
ContentServiceClient.ShutdownDefaultChannelsAsync()
ContentServiceClient.GetContentAsync(GetContentRequest, CancellationToken)
ContentServiceClient.GetContent(string, CallSettings)
ContentServiceClient.GetContentAsync(string, CallSettings)
ContentServiceClient.GetContentAsync(string, CancellationToken)
ContentServiceClient.GetContent(ContentName, CallSettings)
ContentServiceClient.GetContentAsync(ContentName, CallSettings)
ContentServiceClient.GetContentAsync(ContentName, CancellationToken)
ContentServiceClient.ListContent(string, string, int?, CallSettings)
ContentServiceClient.ListContentAsync(string, string, int?, CallSettings)
ContentServiceClient.ListContent(NetworkName, string, int?, CallSettings)
ContentServiceClient.ListContentAsync(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 ContentServiceClientImpl : ContentServiceClient
Remarks

Provides methods for handling Content objects.

Constructors

ContentServiceClientImpl(ContentServiceClient, ContentServiceSettings, ILogger)

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

Declaration
public ContentServiceClientImpl(ContentService.ContentServiceClient grpcClient, ContentServiceSettings settings, ILogger logger)
Parameters
Type Name Description
ContentService.ContentServiceClient grpcClient

The underlying gRPC client.

ContentServiceSettings settings

The base ContentServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC ContentService client

Declaration
public override ContentService.ContentServiceClient GrpcClient { get; }
Property Value
Type Description
ContentService.ContentServiceClient
Overrides
ContentServiceClient.GrpcClient

Methods

GetContent(GetContentRequest, CallSettings)

API to retrieve a Content object.

Declaration
public override Content GetContent(GetContentRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetContentRequest 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
Content

The RPC response.

Overrides
ContentServiceClient.GetContent(GetContentRequest, CallSettings)

GetContentAsync(GetContentRequest, CallSettings)

API to retrieve a Content object.

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

A Task containing the RPC response.

Overrides
ContentServiceClient.GetContentAsync(GetContentRequest, CallSettings)

ListContent(ListContentRequest, CallSettings)

API to retrieve a list of Content objects.

Declaration
public override PagedEnumerable<ListContentResponse, Content> ListContent(ListContentRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListContentRequest 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<ListContentResponse, Content>

A pageable sequence of Content resources.

Overrides
ContentServiceClient.ListContent(ListContentRequest, CallSettings)

ListContentAsync(ListContentRequest, CallSettings)

API to retrieve a list of Content objects.

Declaration
public override PagedAsyncEnumerable<ListContentResponse, Content> ListContentAsync(ListContentRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListContentRequest 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<ListContentResponse, Content>

A pageable asynchronous sequence of Content resources.

Overrides
ContentServiceClient.ListContentAsync(ListContentRequest, CallSettings)
In this article
Back to top Generated by DocFX