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