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