Class AudienceSegmentService.AudienceSegmentServiceClient
Client for AudienceSegmentService
Inheritance
Inherited Members
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
BatchActivateAudienceSegments(BatchActivateAudienceSegmentsRequest, CallOptions)
Activates AudienceSegment objects.
Declaration
public virtual BatchActivateAudienceSegmentsResponse BatchActivateAudienceSegments(BatchActivateAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchActivateAudienceSegmentsResponse | The response received from the server. |
BatchActivateAudienceSegments(BatchActivateAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Activates AudienceSegment objects.
Declaration
public virtual BatchActivateAudienceSegmentsResponse BatchActivateAudienceSegments(BatchActivateAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateAudienceSegmentsRequest | 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 |
|---|---|
| BatchActivateAudienceSegmentsResponse | The response received from the server. |
BatchActivateAudienceSegmentsAsync(BatchActivateAudienceSegmentsRequest, CallOptions)
Activates AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchActivateAudienceSegmentsResponse> BatchActivateAudienceSegmentsAsync(BatchActivateAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchActivateAudienceSegmentsResponse> | The call object. |
BatchActivateAudienceSegmentsAsync(BatchActivateAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Activates AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchActivateAudienceSegmentsResponse> BatchActivateAudienceSegmentsAsync(BatchActivateAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateAudienceSegmentsRequest | 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<BatchActivateAudienceSegmentsResponse> | The call object. |
BatchApproveAudienceSegments(BatchApproveAudienceSegmentsRequest, CallOptions)
Approves AudienceSegment objects.
Declaration
public virtual BatchApproveAudienceSegmentsResponse BatchApproveAudienceSegments(BatchApproveAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchApproveAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchApproveAudienceSegmentsResponse | The response received from the server. |
BatchApproveAudienceSegments(BatchApproveAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Approves AudienceSegment objects.
Declaration
public virtual BatchApproveAudienceSegmentsResponse BatchApproveAudienceSegments(BatchApproveAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchApproveAudienceSegmentsRequest | 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 |
|---|---|
| BatchApproveAudienceSegmentsResponse | The response received from the server. |
BatchApproveAudienceSegmentsAsync(BatchApproveAudienceSegmentsRequest, CallOptions)
Approves AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchApproveAudienceSegmentsResponse> BatchApproveAudienceSegmentsAsync(BatchApproveAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchApproveAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchApproveAudienceSegmentsResponse> | The call object. |
BatchApproveAudienceSegmentsAsync(BatchApproveAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Approves AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchApproveAudienceSegmentsResponse> BatchApproveAudienceSegmentsAsync(BatchApproveAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchApproveAudienceSegmentsRequest | 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<BatchApproveAudienceSegmentsResponse> | The call object. |
BatchCreateAudienceSegments(BatchCreateAudienceSegmentsRequest, CallOptions)
Creates AudienceSegment objects.
Declaration
public virtual BatchCreateAudienceSegmentsResponse BatchCreateAudienceSegments(BatchCreateAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchCreateAudienceSegmentsResponse | The response received from the server. |
BatchCreateAudienceSegments(BatchCreateAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Creates AudienceSegment objects.
Declaration
public virtual BatchCreateAudienceSegmentsResponse BatchCreateAudienceSegments(BatchCreateAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateAudienceSegmentsRequest | 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 |
|---|---|
| BatchCreateAudienceSegmentsResponse | The response received from the server. |
BatchCreateAudienceSegmentsAsync(BatchCreateAudienceSegmentsRequest, CallOptions)
Creates AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateAudienceSegmentsResponse> BatchCreateAudienceSegmentsAsync(BatchCreateAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchCreateAudienceSegmentsResponse> | The call object. |
BatchCreateAudienceSegmentsAsync(BatchCreateAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Creates AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateAudienceSegmentsResponse> BatchCreateAudienceSegmentsAsync(BatchCreateAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateAudienceSegmentsRequest | 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<BatchCreateAudienceSegmentsResponse> | The call object. |
BatchDeactivateAudienceSegments(BatchDeactivateAudienceSegmentsRequest, CallOptions)
Deactivates AudienceSegment objects.
Declaration
public virtual BatchDeactivateAudienceSegmentsResponse BatchDeactivateAudienceSegments(BatchDeactivateAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchDeactivateAudienceSegmentsResponse | The response received from the server. |
BatchDeactivateAudienceSegments(BatchDeactivateAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Deactivates AudienceSegment objects.
Declaration
public virtual BatchDeactivateAudienceSegmentsResponse BatchDeactivateAudienceSegments(BatchDeactivateAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateAudienceSegmentsRequest | 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 |
|---|---|
| BatchDeactivateAudienceSegmentsResponse | The response received from the server. |
BatchDeactivateAudienceSegmentsAsync(BatchDeactivateAudienceSegmentsRequest, CallOptions)
Deactivates AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchDeactivateAudienceSegmentsResponse> BatchDeactivateAudienceSegmentsAsync(BatchDeactivateAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchDeactivateAudienceSegmentsResponse> | The call object. |
BatchDeactivateAudienceSegmentsAsync(BatchDeactivateAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Deactivates AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchDeactivateAudienceSegmentsResponse> BatchDeactivateAudienceSegmentsAsync(BatchDeactivateAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateAudienceSegmentsRequest | 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<BatchDeactivateAudienceSegmentsResponse> | The call object. |
BatchPopulateAudienceSegments(BatchPopulateAudienceSegmentsRequest, CallOptions)
Populates AudienceSegment objects.
Declaration
public virtual BatchPopulateAudienceSegmentsResponse BatchPopulateAudienceSegments(BatchPopulateAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPopulateAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchPopulateAudienceSegmentsResponse | The response received from the server. |
BatchPopulateAudienceSegments(BatchPopulateAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Populates AudienceSegment objects.
Declaration
public virtual BatchPopulateAudienceSegmentsResponse BatchPopulateAudienceSegments(BatchPopulateAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPopulateAudienceSegmentsRequest | 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 |
|---|---|
| BatchPopulateAudienceSegmentsResponse | The response received from the server. |
BatchPopulateAudienceSegmentsAsync(BatchPopulateAudienceSegmentsRequest, CallOptions)
Populates AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchPopulateAudienceSegmentsResponse> BatchPopulateAudienceSegmentsAsync(BatchPopulateAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPopulateAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchPopulateAudienceSegmentsResponse> | The call object. |
BatchPopulateAudienceSegmentsAsync(BatchPopulateAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Populates AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchPopulateAudienceSegmentsResponse> BatchPopulateAudienceSegmentsAsync(BatchPopulateAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPopulateAudienceSegmentsRequest | 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<BatchPopulateAudienceSegmentsResponse> | The call object. |
BatchRejectAudienceSegments(BatchRejectAudienceSegmentsRequest, CallOptions)
Rejects AudienceSegment objects.
Declaration
public virtual BatchRejectAudienceSegmentsResponse BatchRejectAudienceSegments(BatchRejectAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRejectAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchRejectAudienceSegmentsResponse | The response received from the server. |
BatchRejectAudienceSegments(BatchRejectAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Rejects AudienceSegment objects.
Declaration
public virtual BatchRejectAudienceSegmentsResponse BatchRejectAudienceSegments(BatchRejectAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRejectAudienceSegmentsRequest | 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 |
|---|---|
| BatchRejectAudienceSegmentsResponse | The response received from the server. |
BatchRejectAudienceSegmentsAsync(BatchRejectAudienceSegmentsRequest, CallOptions)
Rejects AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchRejectAudienceSegmentsResponse> BatchRejectAudienceSegmentsAsync(BatchRejectAudienceSegmentsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRejectAudienceSegmentsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchRejectAudienceSegmentsResponse> | The call object. |
BatchRejectAudienceSegmentsAsync(BatchRejectAudienceSegmentsRequest, Metadata, DateTime?, CancellationToken)
Rejects AudienceSegment objects.
Declaration
public virtual AsyncUnaryCall<BatchRejectAudienceSegmentsResponse> BatchRejectAudienceSegmentsAsync(BatchRejectAudienceSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRejectAudienceSegmentsRequest | 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<BatchRejectAudienceSegmentsResponse> | The call object. |
CreateAudienceSegment(CreateAudienceSegmentRequest, CallOptions)
Creates an AudienceSegment object.
Declaration
public virtual AudienceSegment CreateAudienceSegment(CreateAudienceSegmentRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAudienceSegmentRequest | 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. |
CreateAudienceSegment(CreateAudienceSegmentRequest, Metadata, DateTime?, CancellationToken)
Creates an AudienceSegment object.
Declaration
public virtual AudienceSegment CreateAudienceSegment(CreateAudienceSegmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAudienceSegmentRequest | 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. |
CreateAudienceSegmentAsync(CreateAudienceSegmentRequest, CallOptions)
Creates an AudienceSegment object.
Declaration
public virtual AsyncUnaryCall<AudienceSegment> CreateAudienceSegmentAsync(CreateAudienceSegmentRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAudienceSegmentRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<AudienceSegment> | The call object. |
CreateAudienceSegmentAsync(CreateAudienceSegmentRequest, Metadata, DateTime?, CancellationToken)
Creates an AudienceSegment object.
Declaration
public virtual AsyncUnaryCall<AudienceSegment> CreateAudienceSegmentAsync(CreateAudienceSegmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAudienceSegmentRequest | 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. |
GetAudienceSegment(GetAudienceSegmentRequest, CallOptions)
Retrieves 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)
Retrieves 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)
Retrieves 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)
Retrieves 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)
Lists 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)
Lists 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)
Lists 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)
Lists 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 |