Show / Hide Table of Contents

Class PrivateAuctionService.PrivateAuctionServiceClient

Client for PrivateAuctionService

Inheritance
object
ClientBase
ClientBase<PrivateAuctionService.PrivateAuctionServiceClient>
PrivateAuctionService.PrivateAuctionServiceClient
Inherited Members
ClientBase<PrivateAuctionService.PrivateAuctionServiceClient>.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 PrivateAuctionService.PrivateAuctionServiceClient : ClientBase<PrivateAuctionService.PrivateAuctionServiceClient>

Constructors

PrivateAuctionServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected PrivateAuctionServiceClient()

PrivateAuctionServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

PrivateAuctionServiceClient(ChannelBase)

Creates a new client for PrivateAuctionService

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

The channel to use to make remote calls.

PrivateAuctionServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

CreatePrivateAuction(CreatePrivateAuctionRequest, CallOptions)

API to create a PrivateAuction object.

Declaration
public virtual PrivateAuction CreatePrivateAuction(CreatePrivateAuctionRequest request, CallOptions options)
Parameters
Type Name Description
CreatePrivateAuctionRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
PrivateAuction

The response received from the server.

CreatePrivateAuction(CreatePrivateAuctionRequest, Metadata, DateTime?, CancellationToken)

API to create a PrivateAuction object.

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

The response received from the server.

CreatePrivateAuctionAsync(CreatePrivateAuctionRequest, CallOptions)

API to create a PrivateAuction object.

Declaration
public virtual AsyncUnaryCall<PrivateAuction> CreatePrivateAuctionAsync(CreatePrivateAuctionRequest request, CallOptions options)
Parameters
Type Name Description
CreatePrivateAuctionRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<PrivateAuction>

The call object.

CreatePrivateAuctionAsync(CreatePrivateAuctionRequest, Metadata, DateTime?, CancellationToken)

API to create a PrivateAuction object.

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

The call object.

GetPrivateAuction(GetPrivateAuctionRequest, CallOptions)

API to retrieve a PrivateAuction object.

Declaration
public virtual PrivateAuction GetPrivateAuction(GetPrivateAuctionRequest request, CallOptions options)
Parameters
Type Name Description
GetPrivateAuctionRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
PrivateAuction

The response received from the server.

GetPrivateAuction(GetPrivateAuctionRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a PrivateAuction object.

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

The response received from the server.

GetPrivateAuctionAsync(GetPrivateAuctionRequest, CallOptions)

API to retrieve a PrivateAuction object.

Declaration
public virtual AsyncUnaryCall<PrivateAuction> GetPrivateAuctionAsync(GetPrivateAuctionRequest request, CallOptions options)
Parameters
Type Name Description
GetPrivateAuctionRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<PrivateAuction>

The call object.

GetPrivateAuctionAsync(GetPrivateAuctionRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a PrivateAuction object.

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

The call object.

ListPrivateAuctions(ListPrivateAuctionsRequest, CallOptions)

API to retrieve a list of PrivateAuction objects.

Declaration
public virtual ListPrivateAuctionsResponse ListPrivateAuctions(ListPrivateAuctionsRequest request, CallOptions options)
Parameters
Type Name Description
ListPrivateAuctionsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListPrivateAuctionsResponse

The response received from the server.

ListPrivateAuctions(ListPrivateAuctionsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of PrivateAuction objects.

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

The response received from the server.

ListPrivateAuctionsAsync(ListPrivateAuctionsRequest, CallOptions)

API to retrieve a list of PrivateAuction objects.

Declaration
public virtual AsyncUnaryCall<ListPrivateAuctionsResponse> ListPrivateAuctionsAsync(ListPrivateAuctionsRequest request, CallOptions options)
Parameters
Type Name Description
ListPrivateAuctionsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListPrivateAuctionsResponse>

The call object.

ListPrivateAuctionsAsync(ListPrivateAuctionsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of PrivateAuction objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override PrivateAuctionService.PrivateAuctionServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
PrivateAuctionService.PrivateAuctionServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.PrivateAuctionService.PrivateAuctionServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdatePrivateAuction(UpdatePrivateAuctionRequest, CallOptions)

API to update a PrivateAuction object.

Declaration
public virtual PrivateAuction UpdatePrivateAuction(UpdatePrivateAuctionRequest request, CallOptions options)
Parameters
Type Name Description
UpdatePrivateAuctionRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
PrivateAuction

The response received from the server.

UpdatePrivateAuction(UpdatePrivateAuctionRequest, Metadata, DateTime?, CancellationToken)

API to update a PrivateAuction object.

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

The response received from the server.

UpdatePrivateAuctionAsync(UpdatePrivateAuctionRequest, CallOptions)

API to update a PrivateAuction object.

Declaration
public virtual AsyncUnaryCall<PrivateAuction> UpdatePrivateAuctionAsync(UpdatePrivateAuctionRequest request, CallOptions options)
Parameters
Type Name Description
UpdatePrivateAuctionRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<PrivateAuction>

The call object.

UpdatePrivateAuctionAsync(UpdatePrivateAuctionRequest, Metadata, DateTime?, CancellationToken)

API to update a PrivateAuction object.

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

The call object.

In this article
Back to top Generated by DocFX