Show / Hide Table of Contents

Class DeviceCategoryServiceClientImpl

DeviceCategoryService client wrapper implementation, for convenient use.

Inheritance
object
DeviceCategoryServiceClient
DeviceCategoryServiceClientImpl
Inherited Members
DeviceCategoryServiceClient.DefaultEndpoint
DeviceCategoryServiceClient.DefaultScopes
DeviceCategoryServiceClient.ServiceMetadata
DeviceCategoryServiceClient.CreateAsync(CancellationToken)
DeviceCategoryServiceClient.Create()
DeviceCategoryServiceClient.ShutdownDefaultChannelsAsync()
DeviceCategoryServiceClient.GetDeviceCategoryAsync(GetDeviceCategoryRequest, CancellationToken)
DeviceCategoryServiceClient.GetDeviceCategory(string, CallSettings)
DeviceCategoryServiceClient.GetDeviceCategoryAsync(string, CallSettings)
DeviceCategoryServiceClient.GetDeviceCategoryAsync(string, CancellationToken)
DeviceCategoryServiceClient.GetDeviceCategory(DeviceCategoryName, CallSettings)
DeviceCategoryServiceClient.GetDeviceCategoryAsync(DeviceCategoryName, CallSettings)
DeviceCategoryServiceClient.GetDeviceCategoryAsync(DeviceCategoryName, CancellationToken)
DeviceCategoryServiceClient.ListDeviceCategories(string, string, int?, CallSettings)
DeviceCategoryServiceClient.ListDeviceCategoriesAsync(string, string, int?, CallSettings)
DeviceCategoryServiceClient.ListDeviceCategories(NetworkName, string, int?, CallSettings)
DeviceCategoryServiceClient.ListDeviceCategoriesAsync(NetworkName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DeviceCategoryServiceClientImpl : DeviceCategoryServiceClient
Remarks

Provides methods for handling DeviceCategory objects.

Constructors

DeviceCategoryServiceClientImpl(DeviceCategoryServiceClient, DeviceCategoryServiceSettings, ILogger)

Constructs a client wrapper for the DeviceCategoryService service, with the specified gRPC client and settings.

Declaration
public DeviceCategoryServiceClientImpl(DeviceCategoryService.DeviceCategoryServiceClient grpcClient, DeviceCategoryServiceSettings settings, ILogger logger)
Parameters
Type Name Description
DeviceCategoryService.DeviceCategoryServiceClient grpcClient

The underlying gRPC client.

DeviceCategoryServiceSettings settings

The base DeviceCategoryServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC DeviceCategoryService client

Declaration
public override DeviceCategoryService.DeviceCategoryServiceClient GrpcClient { get; }
Property Value
Type Description
DeviceCategoryService.DeviceCategoryServiceClient
Overrides
DeviceCategoryServiceClient.GrpcClient

Methods

GetDeviceCategory(GetDeviceCategoryRequest, CallSettings)

API to retrieve a DeviceCategory object.

Declaration
public override DeviceCategory GetDeviceCategory(GetDeviceCategoryRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetDeviceCategoryRequest 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
DeviceCategory

The RPC response.

Overrides
DeviceCategoryServiceClient.GetDeviceCategory(GetDeviceCategoryRequest, CallSettings)

GetDeviceCategoryAsync(GetDeviceCategoryRequest, CallSettings)

API to retrieve a DeviceCategory object.

Declaration
public override Task<DeviceCategory> GetDeviceCategoryAsync(GetDeviceCategoryRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetDeviceCategoryRequest 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<DeviceCategory>

A Task containing the RPC response.

Overrides
DeviceCategoryServiceClient.GetDeviceCategoryAsync(GetDeviceCategoryRequest, CallSettings)

ListDeviceCategories(ListDeviceCategoriesRequest, CallSettings)

API to retrieve a list of DeviceCategory objects.

Declaration
public override PagedEnumerable<ListDeviceCategoriesResponse, DeviceCategory> ListDeviceCategories(ListDeviceCategoriesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListDeviceCategoriesRequest 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<ListDeviceCategoriesResponse, DeviceCategory>

A pageable sequence of DeviceCategory resources.

Overrides
DeviceCategoryServiceClient.ListDeviceCategories(ListDeviceCategoriesRequest, CallSettings)

ListDeviceCategoriesAsync(ListDeviceCategoriesRequest, CallSettings)

API to retrieve a list of DeviceCategory objects.

Declaration
public override PagedAsyncEnumerable<ListDeviceCategoriesResponse, DeviceCategory> ListDeviceCategoriesAsync(ListDeviceCategoriesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListDeviceCategoriesRequest 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<ListDeviceCategoriesResponse, DeviceCategory>

A pageable asynchronous sequence of DeviceCategory resources.

Overrides
DeviceCategoryServiceClient.ListDeviceCategoriesAsync(ListDeviceCategoriesRequest, CallSettings)
In this article
Back to top Generated by DocFX