Show / Hide Table of Contents

Class TaxonomyCategoryService.TaxonomyCategoryServiceClient

Client for TaxonomyCategoryService

Inheritance
object
ClientBase
ClientBase<TaxonomyCategoryService.TaxonomyCategoryServiceClient>
TaxonomyCategoryService.TaxonomyCategoryServiceClient
Inherited Members
ClientBase<TaxonomyCategoryService.TaxonomyCategoryServiceClient>.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 TaxonomyCategoryService.TaxonomyCategoryServiceClient : ClientBase<TaxonomyCategoryService.TaxonomyCategoryServiceClient>

Constructors

TaxonomyCategoryServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected TaxonomyCategoryServiceClient()

TaxonomyCategoryServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

TaxonomyCategoryServiceClient(ChannelBase)

Creates a new client for TaxonomyCategoryService

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

The channel to use to make remote calls.

TaxonomyCategoryServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetTaxonomyCategory(GetTaxonomyCategoryRequest, CallOptions)

API to retrieve a TaxonomyCategory object.

Declaration
public virtual TaxonomyCategory GetTaxonomyCategory(GetTaxonomyCategoryRequest request, CallOptions options)
Parameters
Type Name Description
GetTaxonomyCategoryRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
TaxonomyCategory

The response received from the server.

GetTaxonomyCategory(GetTaxonomyCategoryRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a TaxonomyCategory object.

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

The response received from the server.

GetTaxonomyCategoryAsync(GetTaxonomyCategoryRequest, CallOptions)

API to retrieve a TaxonomyCategory object.

Declaration
public virtual AsyncUnaryCall<TaxonomyCategory> GetTaxonomyCategoryAsync(GetTaxonomyCategoryRequest request, CallOptions options)
Parameters
Type Name Description
GetTaxonomyCategoryRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<TaxonomyCategory>

The call object.

GetTaxonomyCategoryAsync(GetTaxonomyCategoryRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a TaxonomyCategory object.

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

The call object.

ListTaxonomyCategories(ListTaxonomyCategoriesRequest, CallOptions)

API to retrieve a list of TaxonomyCategory objects.

Declaration
public virtual ListTaxonomyCategoriesResponse ListTaxonomyCategories(ListTaxonomyCategoriesRequest request, CallOptions options)
Parameters
Type Name Description
ListTaxonomyCategoriesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListTaxonomyCategoriesResponse

The response received from the server.

ListTaxonomyCategories(ListTaxonomyCategoriesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of TaxonomyCategory objects.

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

The response received from the server.

ListTaxonomyCategoriesAsync(ListTaxonomyCategoriesRequest, CallOptions)

API to retrieve a list of TaxonomyCategory objects.

Declaration
public virtual AsyncUnaryCall<ListTaxonomyCategoriesResponse> ListTaxonomyCategoriesAsync(ListTaxonomyCategoriesRequest request, CallOptions options)
Parameters
Type Name Description
ListTaxonomyCategoriesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListTaxonomyCategoriesResponse>

The call object.

ListTaxonomyCategoriesAsync(ListTaxonomyCategoriesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of TaxonomyCategory objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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