Show / Hide Table of Contents

Class OperatingSystemService.OperatingSystemServiceClient

Client for OperatingSystemService

Inheritance
object
ClientBase
ClientBase<OperatingSystemService.OperatingSystemServiceClient>
OperatingSystemService.OperatingSystemServiceClient
Inherited Members
ClientBase<OperatingSystemService.OperatingSystemServiceClient>.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 OperatingSystemService.OperatingSystemServiceClient : ClientBase<OperatingSystemService.OperatingSystemServiceClient>

Constructors

OperatingSystemServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected OperatingSystemServiceClient()

OperatingSystemServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

OperatingSystemServiceClient(ChannelBase)

Creates a new client for OperatingSystemService

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

The channel to use to make remote calls.

OperatingSystemServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetOperatingSystem(GetOperatingSystemRequest, CallOptions)

API to retrieve a OperatingSystem object.

Declaration
public virtual OperatingSystem GetOperatingSystem(GetOperatingSystemRequest request, CallOptions options)
Parameters
Type Name Description
GetOperatingSystemRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
OperatingSystem

The response received from the server.

GetOperatingSystem(GetOperatingSystemRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a OperatingSystem object.

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

The response received from the server.

GetOperatingSystemAsync(GetOperatingSystemRequest, CallOptions)

API to retrieve a OperatingSystem object.

Declaration
public virtual AsyncUnaryCall<OperatingSystem> GetOperatingSystemAsync(GetOperatingSystemRequest request, CallOptions options)
Parameters
Type Name Description
GetOperatingSystemRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<OperatingSystem>

The call object.

GetOperatingSystemAsync(GetOperatingSystemRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a OperatingSystem object.

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

The call object.

ListOperatingSystems(ListOperatingSystemsRequest, CallOptions)

API to retrieve a list of OperatingSystem objects.

Declaration
public virtual ListOperatingSystemsResponse ListOperatingSystems(ListOperatingSystemsRequest request, CallOptions options)
Parameters
Type Name Description
ListOperatingSystemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListOperatingSystemsResponse

The response received from the server.

ListOperatingSystems(ListOperatingSystemsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of OperatingSystem objects.

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

The response received from the server.

ListOperatingSystemsAsync(ListOperatingSystemsRequest, CallOptions)

API to retrieve a list of OperatingSystem objects.

Declaration
public virtual AsyncUnaryCall<ListOperatingSystemsResponse> ListOperatingSystemsAsync(ListOperatingSystemsRequest request, CallOptions options)
Parameters
Type Name Description
ListOperatingSystemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListOperatingSystemsResponse>

The call object.

ListOperatingSystemsAsync(ListOperatingSystemsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of OperatingSystem objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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