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