Show / Hide Table of Contents

Class YieldPartnerService.YieldPartnerServiceClient

Client for YieldPartnerService

Inheritance
object
ClientBase
ClientBase<YieldPartnerService.YieldPartnerServiceClient>
YieldPartnerService.YieldPartnerServiceClient
Inherited Members
ClientBase<YieldPartnerService.YieldPartnerServiceClient>.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 YieldPartnerService.YieldPartnerServiceClient : ClientBase<YieldPartnerService.YieldPartnerServiceClient>

Constructors

YieldPartnerServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected YieldPartnerServiceClient()

YieldPartnerServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

YieldPartnerServiceClient(ChannelBase)

Creates a new client for YieldPartnerService

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

The channel to use to make remote calls.

YieldPartnerServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetYieldPartner(GetYieldPartnerRequest, CallOptions)

Gets a YieldPartner object.

Declaration
public virtual YieldPartner GetYieldPartner(GetYieldPartnerRequest request, CallOptions options)
Parameters
Type Name Description
GetYieldPartnerRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
YieldPartner

The response received from the server.

GetYieldPartner(GetYieldPartnerRequest, Metadata, DateTime?, CancellationToken)

Gets a YieldPartner object.

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

The response received from the server.

GetYieldPartnerAsync(GetYieldPartnerRequest, CallOptions)

Gets a YieldPartner object.

Declaration
public virtual AsyncUnaryCall<YieldPartner> GetYieldPartnerAsync(GetYieldPartnerRequest request, CallOptions options)
Parameters
Type Name Description
GetYieldPartnerRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<YieldPartner>

The call object.

GetYieldPartnerAsync(GetYieldPartnerRequest, Metadata, DateTime?, CancellationToken)

Gets a YieldPartner object.

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

The call object.

ListYieldPartners(ListYieldPartnersRequest, CallOptions)

Gets a list of all yield partners.

Declaration
public virtual ListYieldPartnersResponse ListYieldPartners(ListYieldPartnersRequest request, CallOptions options)
Parameters
Type Name Description
ListYieldPartnersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListYieldPartnersResponse

The response received from the server.

ListYieldPartners(ListYieldPartnersRequest, Metadata, DateTime?, CancellationToken)

Gets a list of all yield partners.

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

The response received from the server.

ListYieldPartnersAsync(ListYieldPartnersRequest, CallOptions)

Gets a list of all yield partners.

Declaration
public virtual AsyncUnaryCall<ListYieldPartnersResponse> ListYieldPartnersAsync(ListYieldPartnersRequest request, CallOptions options)
Parameters
Type Name Description
ListYieldPartnersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListYieldPartnersResponse>

The call object.

ListYieldPartnersAsync(ListYieldPartnersRequest, Metadata, DateTime?, CancellationToken)

Gets a list of all yield partners.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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