Show / Hide Table of Contents

Class BrowserService.BrowserServiceClient

Client for BrowserService

Inheritance
object
ClientBase
ClientBase<BrowserService.BrowserServiceClient>
BrowserService.BrowserServiceClient
Inherited Members
ClientBase<BrowserService.BrowserServiceClient>.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 BrowserService.BrowserServiceClient : ClientBase<BrowserService.BrowserServiceClient>

Constructors

BrowserServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected BrowserServiceClient()

BrowserServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

BrowserServiceClient(ChannelBase)

Creates a new client for BrowserService

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

The channel to use to make remote calls.

BrowserServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetBrowser(GetBrowserRequest, CallOptions)

API to retrieve a Browser object.

Declaration
public virtual Browser GetBrowser(GetBrowserRequest request, CallOptions options)
Parameters
Type Name Description
GetBrowserRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Browser

The response received from the server.

GetBrowser(GetBrowserRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a Browser object.

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

The response received from the server.

GetBrowserAsync(GetBrowserRequest, CallOptions)

API to retrieve a Browser object.

Declaration
public virtual AsyncUnaryCall<Browser> GetBrowserAsync(GetBrowserRequest request, CallOptions options)
Parameters
Type Name Description
GetBrowserRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Browser>

The call object.

GetBrowserAsync(GetBrowserRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a Browser object.

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

The call object.

ListBrowsers(ListBrowsersRequest, CallOptions)

API to retrieve a list of Browser objects.

Declaration
public virtual ListBrowsersResponse ListBrowsers(ListBrowsersRequest request, CallOptions options)
Parameters
Type Name Description
ListBrowsersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListBrowsersResponse

The response received from the server.

ListBrowsers(ListBrowsersRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of Browser objects.

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

The response received from the server.

ListBrowsersAsync(ListBrowsersRequest, CallOptions)

API to retrieve a list of Browser objects.

Declaration
public virtual AsyncUnaryCall<ListBrowsersResponse> ListBrowsersAsync(ListBrowsersRequest request, CallOptions options)
Parameters
Type Name Description
ListBrowsersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListBrowsersResponse>

The call object.

ListBrowsersAsync(ListBrowsersRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of Browser objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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