Class AudienceSegmentCategoryServiceClientImpl
AudienceSegmentCategoryService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AudienceSegmentCategoryServiceClientImpl : AudienceSegmentCategoryServiceClient
Remarks
Provides methods for handling AudienceSegmentCategory objects.
Constructors
AudienceSegmentCategoryServiceClientImpl(AudienceSegmentCategoryServiceClient, AudienceSegmentCategoryServiceSettings, ILogger)
Constructs a client wrapper for the AudienceSegmentCategoryService service, with the specified gRPC client and settings.
Declaration
public AudienceSegmentCategoryServiceClientImpl(AudienceSegmentCategoryService.AudienceSegmentCategoryServiceClient grpcClient, AudienceSegmentCategoryServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| AudienceSegmentCategoryService.AudienceSegmentCategoryServiceClient | grpcClient | The underlying gRPC client. |
| AudienceSegmentCategoryServiceSettings | settings | The base AudienceSegmentCategoryServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC AudienceSegmentCategoryService client
Declaration
public override AudienceSegmentCategoryService.AudienceSegmentCategoryServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| AudienceSegmentCategoryService.AudienceSegmentCategoryServiceClient |
Overrides
Methods
GetAudienceSegmentCategory(GetAudienceSegmentCategoryRequest, CallSettings)
Retrieves a AudienceSegmentCategory object.
Declaration
public override AudienceSegmentCategory GetAudienceSegmentCategory(GetAudienceSegmentCategoryRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAudienceSegmentCategoryRequest | 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 |
|---|---|
| AudienceSegmentCategory | The RPC response. |
Overrides
GetAudienceSegmentCategoryAsync(GetAudienceSegmentCategoryRequest, CallSettings)
Retrieves a AudienceSegmentCategory object.
Declaration
public override Task<AudienceSegmentCategory> GetAudienceSegmentCategoryAsync(GetAudienceSegmentCategoryRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAudienceSegmentCategoryRequest | 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<AudienceSegmentCategory> | A Task containing the RPC response. |
Overrides
ListAudienceSegmentCategories(ListAudienceSegmentCategoriesRequest, CallSettings)
Lists AudienceSegmentCategory objects.
Declaration
public override PagedEnumerable<ListAudienceSegmentCategoriesResponse, AudienceSegmentCategory> ListAudienceSegmentCategories(ListAudienceSegmentCategoriesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAudienceSegmentCategoriesRequest | 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<ListAudienceSegmentCategoriesResponse, AudienceSegmentCategory> | A pageable sequence of AudienceSegmentCategory resources. |
Overrides
ListAudienceSegmentCategoriesAsync(ListAudienceSegmentCategoriesRequest, CallSettings)
Lists AudienceSegmentCategory objects.
Declaration
public override PagedAsyncEnumerable<ListAudienceSegmentCategoriesResponse, AudienceSegmentCategory> ListAudienceSegmentCategoriesAsync(ListAudienceSegmentCategoriesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAudienceSegmentCategoriesRequest | 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<ListAudienceSegmentCategoriesResponse, AudienceSegmentCategory> | A pageable asynchronous sequence of AudienceSegmentCategory resources. |