Class DeviceManufacturerServiceClientImpl
DeviceManufacturerService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DeviceManufacturerServiceClientImpl : DeviceManufacturerServiceClient
Remarks
Provides methods for handling DeviceManufacturer objects.
Constructors
DeviceManufacturerServiceClientImpl(DeviceManufacturerServiceClient, DeviceManufacturerServiceSettings, ILogger)
Constructs a client wrapper for the DeviceManufacturerService service, with the specified gRPC client and settings.
Declaration
public DeviceManufacturerServiceClientImpl(DeviceManufacturerService.DeviceManufacturerServiceClient grpcClient, DeviceManufacturerServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| DeviceManufacturerService.DeviceManufacturerServiceClient | grpcClient | The underlying gRPC client. |
| DeviceManufacturerServiceSettings | settings | The base DeviceManufacturerServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC DeviceManufacturerService client
Declaration
public override DeviceManufacturerService.DeviceManufacturerServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| DeviceManufacturerService.DeviceManufacturerServiceClient |
Overrides
Methods
GetDeviceManufacturer(GetDeviceManufacturerRequest, CallSettings)
API to retrieve a DeviceManufacturer object.
Declaration
public override DeviceManufacturer GetDeviceManufacturer(GetDeviceManufacturerRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDeviceManufacturerRequest | 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 |
|---|---|
| DeviceManufacturer | The RPC response. |
Overrides
GetDeviceManufacturerAsync(GetDeviceManufacturerRequest, CallSettings)
API to retrieve a DeviceManufacturer object.
Declaration
public override Task<DeviceManufacturer> GetDeviceManufacturerAsync(GetDeviceManufacturerRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDeviceManufacturerRequest | 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<DeviceManufacturer> | A Task containing the RPC response. |
Overrides
ListDeviceManufacturers(ListDeviceManufacturersRequest, CallSettings)
API to retrieve a list of DeviceManufacturer objects.
Declaration
public override PagedEnumerable<ListDeviceManufacturersResponse, DeviceManufacturer> ListDeviceManufacturers(ListDeviceManufacturersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDeviceManufacturersRequest | 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<ListDeviceManufacturersResponse, DeviceManufacturer> | A pageable sequence of DeviceManufacturer resources. |
Overrides
ListDeviceManufacturersAsync(ListDeviceManufacturersRequest, CallSettings)
API to retrieve a list of DeviceManufacturer objects.
Declaration
public override PagedAsyncEnumerable<ListDeviceManufacturersResponse, DeviceManufacturer> ListDeviceManufacturersAsync(ListDeviceManufacturersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDeviceManufacturersRequest | 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<ListDeviceManufacturersResponse, DeviceManufacturer> | A pageable asynchronous sequence of DeviceManufacturer resources. |