Class AudienceSegmentServiceClientImpl
AudienceSegmentService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AudienceSegmentServiceClientImpl : AudienceSegmentServiceClient
Remarks
Provides methods for handling AudienceSegment objects.
Constructors
AudienceSegmentServiceClientImpl(AudienceSegmentServiceClient, AudienceSegmentServiceSettings, ILogger)
Constructs a client wrapper for the AudienceSegmentService service, with the specified gRPC client and settings.
Declaration
public AudienceSegmentServiceClientImpl(AudienceSegmentService.AudienceSegmentServiceClient grpcClient, AudienceSegmentServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| AudienceSegmentService.AudienceSegmentServiceClient | grpcClient | The underlying gRPC client. |
| AudienceSegmentServiceSettings | settings | The base AudienceSegmentServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC AudienceSegmentService client
Declaration
public override AudienceSegmentService.AudienceSegmentServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| AudienceSegmentService.AudienceSegmentServiceClient |
Overrides
Methods
GetAudienceSegment(GetAudienceSegmentRequest, CallSettings)
API to retrieve an AudienceSegment object.
Declaration
public override AudienceSegment GetAudienceSegment(GetAudienceSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAudienceSegmentRequest | 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 |
|---|---|
| AudienceSegment | The RPC response. |
Overrides
GetAudienceSegmentAsync(GetAudienceSegmentRequest, CallSettings)
API to retrieve an AudienceSegment object.
Declaration
public override Task<AudienceSegment> GetAudienceSegmentAsync(GetAudienceSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAudienceSegmentRequest | 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<AudienceSegment> | A Task containing the RPC response. |
Overrides
ListAudienceSegments(ListAudienceSegmentsRequest, CallSettings)
API to retrieve a list of AudienceSegment objects.
Declaration
public override PagedEnumerable<ListAudienceSegmentsResponse, AudienceSegment> ListAudienceSegments(ListAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAudienceSegmentsRequest | 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<ListAudienceSegmentsResponse, AudienceSegment> | A pageable sequence of AudienceSegment resources. |
Overrides
ListAudienceSegmentsAsync(ListAudienceSegmentsRequest, CallSettings)
API to retrieve a list of AudienceSegment objects.
Declaration
public override PagedAsyncEnumerable<ListAudienceSegmentsResponse, AudienceSegment> ListAudienceSegmentsAsync(ListAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAudienceSegmentsRequest | 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<ListAudienceSegmentsResponse, AudienceSegment> | A pageable asynchronous sequence of AudienceSegment resources. |