Show / Hide Table of Contents

Class BrowserLanguageService.BrowserLanguageServiceClient

Client for BrowserLanguageService

Inheritance
object
ClientBase
ClientBase<BrowserLanguageService.BrowserLanguageServiceClient>
BrowserLanguageService.BrowserLanguageServiceClient
Inherited Members
ClientBase<BrowserLanguageService.BrowserLanguageServiceClient>.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 BrowserLanguageService.BrowserLanguageServiceClient : ClientBase<BrowserLanguageService.BrowserLanguageServiceClient>

Constructors

BrowserLanguageServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected BrowserLanguageServiceClient()

BrowserLanguageServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

BrowserLanguageServiceClient(ChannelBase)

Creates a new client for BrowserLanguageService

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

The channel to use to make remote calls.

BrowserLanguageServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetBrowserLanguage(GetBrowserLanguageRequest, CallOptions)

API to retrieve a BrowserLanguage object.

Declaration
public virtual BrowserLanguage GetBrowserLanguage(GetBrowserLanguageRequest request, CallOptions options)
Parameters
Type Name Description
GetBrowserLanguageRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BrowserLanguage

The response received from the server.

GetBrowserLanguage(GetBrowserLanguageRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a BrowserLanguage object.

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

The response received from the server.

GetBrowserLanguageAsync(GetBrowserLanguageRequest, CallOptions)

API to retrieve a BrowserLanguage object.

Declaration
public virtual AsyncUnaryCall<BrowserLanguage> GetBrowserLanguageAsync(GetBrowserLanguageRequest request, CallOptions options)
Parameters
Type Name Description
GetBrowserLanguageRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BrowserLanguage>

The call object.

GetBrowserLanguageAsync(GetBrowserLanguageRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a BrowserLanguage object.

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

The call object.

ListBrowserLanguages(ListBrowserLanguagesRequest, CallOptions)

API to retrieve a list of BrowserLanguage objects.

Declaration
public virtual ListBrowserLanguagesResponse ListBrowserLanguages(ListBrowserLanguagesRequest request, CallOptions options)
Parameters
Type Name Description
ListBrowserLanguagesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListBrowserLanguagesResponse

The response received from the server.

ListBrowserLanguages(ListBrowserLanguagesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of BrowserLanguage objects.

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

The response received from the server.

ListBrowserLanguagesAsync(ListBrowserLanguagesRequest, CallOptions)

API to retrieve a list of BrowserLanguage objects.

Declaration
public virtual AsyncUnaryCall<ListBrowserLanguagesResponse> ListBrowserLanguagesAsync(ListBrowserLanguagesRequest request, CallOptions options)
Parameters
Type Name Description
ListBrowserLanguagesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListBrowserLanguagesResponse>

The call object.

ListBrowserLanguagesAsync(ListBrowserLanguagesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of BrowserLanguage objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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