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