Show / Hide Table of Contents

Class ContentBundleService.ContentBundleServiceClient

Client for ContentBundleService

Inheritance
object
ClientBase
ClientBase<ContentBundleService.ContentBundleServiceClient>
ContentBundleService.ContentBundleServiceClient
Inherited Members
ClientBase<ContentBundleService.ContentBundleServiceClient>.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 ContentBundleService.ContentBundleServiceClient : ClientBase<ContentBundleService.ContentBundleServiceClient>

Constructors

ContentBundleServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected ContentBundleServiceClient()

ContentBundleServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

ContentBundleServiceClient(ChannelBase)

Creates a new client for ContentBundleService

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

The channel to use to make remote calls.

ContentBundleServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetContentBundle(GetContentBundleRequest, CallOptions)

API to retrieve a ContentBundle object.

Declaration
public virtual ContentBundle GetContentBundle(GetContentBundleRequest request, CallOptions options)
Parameters
Type Name Description
GetContentBundleRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ContentBundle

The response received from the server.

GetContentBundle(GetContentBundleRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a ContentBundle object.

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

The response received from the server.

GetContentBundleAsync(GetContentBundleRequest, CallOptions)

API to retrieve a ContentBundle object.

Declaration
public virtual AsyncUnaryCall<ContentBundle> GetContentBundleAsync(GetContentBundleRequest request, CallOptions options)
Parameters
Type Name Description
GetContentBundleRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ContentBundle>

The call object.

GetContentBundleAsync(GetContentBundleRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a ContentBundle object.

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

The call object.

ListContentBundles(ListContentBundlesRequest, CallOptions)

API to retrieve a list of ContentBundle objects.

Declaration
public virtual ListContentBundlesResponse ListContentBundles(ListContentBundlesRequest request, CallOptions options)
Parameters
Type Name Description
ListContentBundlesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListContentBundlesResponse

The response received from the server.

ListContentBundles(ListContentBundlesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of ContentBundle objects.

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

The response received from the server.

ListContentBundlesAsync(ListContentBundlesRequest, CallOptions)

API to retrieve a list of ContentBundle objects.

Declaration
public virtual AsyncUnaryCall<ListContentBundlesResponse> ListContentBundlesAsync(ListContentBundlesRequest request, CallOptions options)
Parameters
Type Name Description
ListContentBundlesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListContentBundlesResponse>

The call object.

ListContentBundlesAsync(ListContentBundlesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of ContentBundle objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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