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