Class BrowserServiceClientImpl
BrowserService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class BrowserServiceClientImpl : BrowserServiceClient
Remarks
Provides methods for handling Browser objects.
Constructors
BrowserServiceClientImpl(BrowserServiceClient, BrowserServiceSettings, ILogger)
Constructs a client wrapper for the BrowserService service, with the specified gRPC client and settings.
Declaration
public BrowserServiceClientImpl(BrowserService.BrowserServiceClient grpcClient, BrowserServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| BrowserService.BrowserServiceClient | grpcClient | The underlying gRPC client. |
| BrowserServiceSettings | settings | The base BrowserServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC BrowserService client
Declaration
public override BrowserService.BrowserServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| BrowserService.BrowserServiceClient |
Overrides
Methods
GetBrowser(GetBrowserRequest, CallSettings)
API to retrieve a Browser object.
Declaration
public override Browser GetBrowser(GetBrowserRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBrowserRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Browser | The RPC response. |
Overrides
GetBrowserAsync(GetBrowserRequest, CallSettings)
API to retrieve a Browser object.
Declaration
public override Task<Browser> GetBrowserAsync(GetBrowserRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBrowserRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Browser> | A Task containing the RPC response. |
Overrides
ListBrowsers(ListBrowsersRequest, CallSettings)
API to retrieve a list of Browser objects.
Declaration
public override PagedEnumerable<ListBrowsersResponse, Browser> ListBrowsers(ListBrowsersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListBrowsersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListBrowsersResponse, Browser> | A pageable sequence of Browser resources. |
Overrides
ListBrowsersAsync(ListBrowsersRequest, CallSettings)
API to retrieve a list of Browser objects.
Declaration
public override PagedAsyncEnumerable<ListBrowsersResponse, Browser> ListBrowsersAsync(ListBrowsersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListBrowsersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListBrowsersResponse, Browser> | A pageable asynchronous sequence of Browser resources. |