Class MobileDeviceSubmodelService.MobileDeviceSubmodelServiceClient
Client for MobileDeviceSubmodelService
Inheritance
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class MobileDeviceSubmodelService.MobileDeviceSubmodelServiceClient : ClientBase<MobileDeviceSubmodelService.MobileDeviceSubmodelServiceClient>
Constructors
MobileDeviceSubmodelServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected MobileDeviceSubmodelServiceClient()
MobileDeviceSubmodelServiceClient(CallInvoker)
Creates a new client for MobileDeviceSubmodelService that uses a custom CallInvoker.
Declaration
public MobileDeviceSubmodelServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
MobileDeviceSubmodelServiceClient(ChannelBase)
Creates a new client for MobileDeviceSubmodelService
Declaration
public MobileDeviceSubmodelServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
MobileDeviceSubmodelServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected MobileDeviceSubmodelServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
GetMobileDeviceSubmodel(GetMobileDeviceSubmodelRequest, CallOptions)
API to retrieve a MobileDeviceSubmodel object.
Declaration
public virtual MobileDeviceSubmodel GetMobileDeviceSubmodel(GetMobileDeviceSubmodelRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMobileDeviceSubmodelRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| MobileDeviceSubmodel | The response received from the server. |
GetMobileDeviceSubmodel(GetMobileDeviceSubmodelRequest, Metadata, DateTime?, CancellationToken)
API to retrieve a MobileDeviceSubmodel object.
Declaration
public virtual MobileDeviceSubmodel GetMobileDeviceSubmodel(GetMobileDeviceSubmodelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMobileDeviceSubmodelRequest | 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 |
|---|---|
| MobileDeviceSubmodel | The response received from the server. |
GetMobileDeviceSubmodelAsync(GetMobileDeviceSubmodelRequest, CallOptions)
API to retrieve a MobileDeviceSubmodel object.
Declaration
public virtual AsyncUnaryCall<MobileDeviceSubmodel> GetMobileDeviceSubmodelAsync(GetMobileDeviceSubmodelRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMobileDeviceSubmodelRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<MobileDeviceSubmodel> | The call object. |
GetMobileDeviceSubmodelAsync(GetMobileDeviceSubmodelRequest, Metadata, DateTime?, CancellationToken)
API to retrieve a MobileDeviceSubmodel object.
Declaration
public virtual AsyncUnaryCall<MobileDeviceSubmodel> GetMobileDeviceSubmodelAsync(GetMobileDeviceSubmodelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMobileDeviceSubmodelRequest | 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<MobileDeviceSubmodel> | The call object. |
ListMobileDeviceSubmodels(ListMobileDeviceSubmodelsRequest, CallOptions)
API to retrieve a list of MobileDeviceSubmodel objects.
Declaration
public virtual ListMobileDeviceSubmodelsResponse ListMobileDeviceSubmodels(ListMobileDeviceSubmodelsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMobileDeviceSubmodelsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListMobileDeviceSubmodelsResponse | The response received from the server. |
ListMobileDeviceSubmodels(ListMobileDeviceSubmodelsRequest, Metadata, DateTime?, CancellationToken)
API to retrieve a list of MobileDeviceSubmodel objects.
Declaration
public virtual ListMobileDeviceSubmodelsResponse ListMobileDeviceSubmodels(ListMobileDeviceSubmodelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMobileDeviceSubmodelsRequest | 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 |
|---|---|
| ListMobileDeviceSubmodelsResponse | The response received from the server. |
ListMobileDeviceSubmodelsAsync(ListMobileDeviceSubmodelsRequest, CallOptions)
API to retrieve a list of MobileDeviceSubmodel objects.
Declaration
public virtual AsyncUnaryCall<ListMobileDeviceSubmodelsResponse> ListMobileDeviceSubmodelsAsync(ListMobileDeviceSubmodelsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMobileDeviceSubmodelsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListMobileDeviceSubmodelsResponse> | The call object. |
ListMobileDeviceSubmodelsAsync(ListMobileDeviceSubmodelsRequest, Metadata, DateTime?, CancellationToken)
API to retrieve a list of MobileDeviceSubmodel objects.
Declaration
public virtual AsyncUnaryCall<ListMobileDeviceSubmodelsResponse> ListMobileDeviceSubmodelsAsync(ListMobileDeviceSubmodelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMobileDeviceSubmodelsRequest | 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<ListMobileDeviceSubmodelsResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override MobileDeviceSubmodelService.MobileDeviceSubmodelServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| MobileDeviceSubmodelService.MobileDeviceSubmodelServiceClient |