Show / Hide Table of Contents

Class AudienceSegmentService.AudienceSegmentServiceClient

Client for AudienceSegmentService

Inheritance
object
ClientBase
ClientBase<AudienceSegmentService.AudienceSegmentServiceClient>
AudienceSegmentService.AudienceSegmentServiceClient
Inherited Members
ClientBase<AudienceSegmentService.AudienceSegmentServiceClient>.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 AudienceSegmentService.AudienceSegmentServiceClient : ClientBase<AudienceSegmentService.AudienceSegmentServiceClient>

Constructors

AudienceSegmentServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected AudienceSegmentServiceClient()

AudienceSegmentServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

AudienceSegmentServiceClient(ChannelBase)

Creates a new client for AudienceSegmentService

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

The channel to use to make remote calls.

AudienceSegmentServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetAudienceSegment(GetAudienceSegmentRequest, CallOptions)

API to retrieve an AudienceSegment object.

Declaration
public virtual AudienceSegment GetAudienceSegment(GetAudienceSegmentRequest request, CallOptions options)
Parameters
Type Name Description
GetAudienceSegmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AudienceSegment

The response received from the server.

GetAudienceSegment(GetAudienceSegmentRequest, Metadata, DateTime?, CancellationToken)

API to retrieve an AudienceSegment object.

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

The response received from the server.

GetAudienceSegmentAsync(GetAudienceSegmentRequest, CallOptions)

API to retrieve an AudienceSegment object.

Declaration
public virtual AsyncUnaryCall<AudienceSegment> GetAudienceSegmentAsync(GetAudienceSegmentRequest request, CallOptions options)
Parameters
Type Name Description
GetAudienceSegmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<AudienceSegment>

The call object.

GetAudienceSegmentAsync(GetAudienceSegmentRequest, Metadata, DateTime?, CancellationToken)

API to retrieve an AudienceSegment object.

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

The call object.

ListAudienceSegments(ListAudienceSegmentsRequest, CallOptions)

API to retrieve a list of AudienceSegment objects.

Declaration
public virtual ListAudienceSegmentsResponse ListAudienceSegments(ListAudienceSegmentsRequest request, CallOptions options)
Parameters
Type Name Description
ListAudienceSegmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListAudienceSegmentsResponse

The response received from the server.

ListAudienceSegments(ListAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of AudienceSegment objects.

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

The response received from the server.

ListAudienceSegmentsAsync(ListAudienceSegmentsRequest, CallOptions)

API to retrieve a list of AudienceSegment objects.

Declaration
public virtual AsyncUnaryCall<ListAudienceSegmentsResponse> ListAudienceSegmentsAsync(ListAudienceSegmentsRequest request, CallOptions options)
Parameters
Type Name Description
ListAudienceSegmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListAudienceSegmentsResponse>

The call object.

ListAudienceSegmentsAsync(ListAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of AudienceSegment objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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