Show / Hide Table of Contents

Class AudienceSegmentServiceClientImpl

AudienceSegmentService client wrapper implementation, for convenient use.

Inheritance
object
AudienceSegmentServiceClient
AudienceSegmentServiceClientImpl
Inherited Members
AudienceSegmentServiceClient.DefaultEndpoint
AudienceSegmentServiceClient.DefaultScopes
AudienceSegmentServiceClient.ServiceMetadata
AudienceSegmentServiceClient.CreateAsync(CancellationToken)
AudienceSegmentServiceClient.Create()
AudienceSegmentServiceClient.ShutdownDefaultChannelsAsync()
AudienceSegmentServiceClient.GetAudienceSegmentAsync(GetAudienceSegmentRequest, CancellationToken)
AudienceSegmentServiceClient.GetAudienceSegment(string, CallSettings)
AudienceSegmentServiceClient.GetAudienceSegmentAsync(string, CallSettings)
AudienceSegmentServiceClient.GetAudienceSegmentAsync(string, CancellationToken)
AudienceSegmentServiceClient.GetAudienceSegment(AudienceSegmentName, CallSettings)
AudienceSegmentServiceClient.GetAudienceSegmentAsync(AudienceSegmentName, CallSettings)
AudienceSegmentServiceClient.GetAudienceSegmentAsync(AudienceSegmentName, CancellationToken)
AudienceSegmentServiceClient.ListAudienceSegments(string, string, int?, CallSettings)
AudienceSegmentServiceClient.ListAudienceSegmentsAsync(string, string, int?, CallSettings)
AudienceSegmentServiceClient.ListAudienceSegments(NetworkName, string, int?, CallSettings)
AudienceSegmentServiceClient.ListAudienceSegmentsAsync(NetworkName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
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
AudienceSegmentServiceClient.GrpcClient

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
AudienceSegmentServiceClient.GetAudienceSegment(GetAudienceSegmentRequest, CallSettings)

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
AudienceSegmentServiceClient.GetAudienceSegmentAsync(GetAudienceSegmentRequest, CallSettings)

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
AudienceSegmentServiceClient.ListAudienceSegments(ListAudienceSegmentsRequest, CallSettings)

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.

Overrides
AudienceSegmentServiceClient.ListAudienceSegmentsAsync(ListAudienceSegmentsRequest, CallSettings)
In this article
Back to top Generated by DocFX