Class AutomaticImprovementsService.AutomaticImprovementsServiceClient
Client for AutomaticImprovementsService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public class AutomaticImprovementsService.AutomaticImprovementsServiceClient : ClientBase<AutomaticImprovementsService.AutomaticImprovementsServiceClient>
Constructors
AutomaticImprovementsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected AutomaticImprovementsServiceClient()
AutomaticImprovementsServiceClient(CallInvoker)
Creates a new client for AutomaticImprovementsService that uses a custom CallInvoker
.
Declaration
public AutomaticImprovementsServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
Call |
callInvoker | The callInvoker to use to make remote calls. |
AutomaticImprovementsServiceClient(ChannelBase)
Creates a new client for AutomaticImprovementsService
Declaration
public AutomaticImprovementsServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
Channel |
channel | The channel to use to make remote calls. |
AutomaticImprovementsServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected AutomaticImprovementsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Client |
configuration | The client configuration. |
Methods
GetAutomaticImprovements(GetAutomaticImprovementsRequest, CallOptions)
Retrieves the automatic improvements of an account.
Declaration
public virtual AutomaticImprovements GetAutomaticImprovements(GetAutomaticImprovementsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Automatic |
The response received from the server. |
GetAutomaticImprovements(GetAutomaticImprovementsRequest, Metadata, DateTime?, CancellationToken)
Retrieves the automatic improvements of an account.
Declaration
public virtual AutomaticImprovements GetAutomaticImprovements(GetAutomaticImprovementsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Automatic |
The response received from the server. |
GetAutomaticImprovementsAsync(GetAutomaticImprovementsRequest, CallOptions)
Retrieves the automatic improvements of an account.
Declaration
public virtual AsyncUnaryCall<AutomaticImprovements> GetAutomaticImprovementsAsync(GetAutomaticImprovementsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
GetAutomaticImprovementsAsync(GetAutomaticImprovementsRequest, Metadata, DateTime?, CancellationToken)
Retrieves the automatic improvements of an account.
Declaration
public virtual AsyncUnaryCall<AutomaticImprovements> GetAutomaticImprovementsAsync(GetAutomaticImprovementsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override AutomaticImprovementsService.AutomaticImprovementsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Client |
configuration |
Returns
Type | Description |
---|---|
Automatic |
Overrides
UpdateAutomaticImprovements(UpdateAutomaticImprovementsRequest, CallOptions)
Updates the automatic improvements of an account.
Declaration
public virtual AutomaticImprovements UpdateAutomaticImprovements(UpdateAutomaticImprovementsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Automatic |
The response received from the server. |
UpdateAutomaticImprovements(UpdateAutomaticImprovementsRequest, Metadata, DateTime?, CancellationToken)
Updates the automatic improvements of an account.
Declaration
public virtual AutomaticImprovements UpdateAutomaticImprovements(UpdateAutomaticImprovementsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Automatic |
The response received from the server. |
UpdateAutomaticImprovementsAsync(UpdateAutomaticImprovementsRequest, CallOptions)
Updates the automatic improvements of an account.
Declaration
public virtual AsyncUnaryCall<AutomaticImprovements> UpdateAutomaticImprovementsAsync(UpdateAutomaticImprovementsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request to send to the server. |
Call |
options | The options for the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |
UpdateAutomaticImprovementsAsync(UpdateAutomaticImprovementsRequest, Metadata, DateTime?, CancellationToken)
Updates the automatic improvements of an account.
Declaration
public virtual AsyncUnaryCall<AutomaticImprovements> UpdateAutomaticImprovementsAsync(UpdateAutomaticImprovementsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
Date |
deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
Cancellation |
cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Async |
The call object. |