Class TaxonomyCategoryServiceClientImpl
TaxonomyCategoryService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class TaxonomyCategoryServiceClientImpl : TaxonomyCategoryServiceClient
Remarks
Provides methods for handling TaxonomyCategory
objects.
Constructors
TaxonomyCategoryServiceClientImpl(TaxonomyCategoryServiceClient, TaxonomyCategoryServiceSettings, ILogger)
Constructs a client wrapper for the TaxonomyCategoryService service, with the specified gRPC client and settings.
Declaration
public TaxonomyCategoryServiceClientImpl(TaxonomyCategoryService.TaxonomyCategoryServiceClient grpcClient, TaxonomyCategoryServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
TaxonomyCategoryService.TaxonomyCategoryServiceClient | grpcClient | The underlying gRPC client. |
TaxonomyCategoryServiceSettings | settings | The base TaxonomyCategoryServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC TaxonomyCategoryService client
Declaration
public override TaxonomyCategoryService.TaxonomyCategoryServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
TaxonomyCategoryService.TaxonomyCategoryServiceClient |
Overrides
Methods
GetTaxonomyCategory(GetTaxonomyCategoryRequest, CallSettings)
API to retrieve a TaxonomyCategory
object.
Declaration
public override TaxonomyCategory GetTaxonomyCategory(GetTaxonomyCategoryRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetTaxonomyCategoryRequest | 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 |
---|---|
TaxonomyCategory | The RPC response. |
Overrides
GetTaxonomyCategoryAsync(GetTaxonomyCategoryRequest, CallSettings)
API to retrieve a TaxonomyCategory
object.
Declaration
public override Task<TaxonomyCategory> GetTaxonomyCategoryAsync(GetTaxonomyCategoryRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetTaxonomyCategoryRequest | 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<TaxonomyCategory> | A Task containing the RPC response. |
Overrides
ListTaxonomyCategories(ListTaxonomyCategoriesRequest, CallSettings)
API to retrieve a list of TaxonomyCategory
objects.
Declaration
public override PagedEnumerable<ListTaxonomyCategoriesResponse, TaxonomyCategory> ListTaxonomyCategories(ListTaxonomyCategoriesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListTaxonomyCategoriesRequest | 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<ListTaxonomyCategoriesResponse, TaxonomyCategory> | A pageable sequence of TaxonomyCategory resources. |
Overrides
ListTaxonomyCategoriesAsync(ListTaxonomyCategoriesRequest, CallSettings)
API to retrieve a list of TaxonomyCategory
objects.
Declaration
public override PagedAsyncEnumerable<ListTaxonomyCategoriesResponse, TaxonomyCategory> ListTaxonomyCategoriesAsync(ListTaxonomyCategoriesRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListTaxonomyCategoriesRequest | 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<ListTaxonomyCategoriesResponse, TaxonomyCategory> | A pageable asynchronous sequence of TaxonomyCategory resources. |