Class AutomaticImprovementsServiceClientImpl
AutomaticImprovementsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class AutomaticImprovementsServiceClientImpl : AutomaticImprovementsServiceClient
Remarks
Service to manage the automatic improvements of an account. The automatic improvements of the account can be used to automatically update products, improve images and shipping.
Constructors
AutomaticImprovementsServiceClientImpl(AutomaticImprovementsServiceClient, AutomaticImprovementsServiceSettings, ILogger)
Constructs a client wrapper for the AutomaticImprovementsService service, with the specified gRPC client and settings.
Declaration
public AutomaticImprovementsServiceClientImpl(AutomaticImprovementsService.AutomaticImprovementsServiceClient grpcClient, AutomaticImprovementsServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
AutomaticImprovementsService.AutomaticImprovementsServiceClient | grpcClient | The underlying gRPC client. |
AutomaticImprovementsServiceSettings | settings | The base AutomaticImprovementsServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC AutomaticImprovementsService client
Declaration
public override AutomaticImprovementsService.AutomaticImprovementsServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
AutomaticImprovementsService.AutomaticImprovementsServiceClient |
Overrides
Methods
GetAutomaticImprovements(GetAutomaticImprovementsRequest, CallSettings)
Retrieves the automatic improvements of an account.
Declaration
public override AutomaticImprovements GetAutomaticImprovements(GetAutomaticImprovementsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAutomaticImprovementsRequest | 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 |
---|---|
AutomaticImprovements | The RPC response. |
Overrides
GetAutomaticImprovementsAsync(GetAutomaticImprovementsRequest, CallSettings)
Retrieves the automatic improvements of an account.
Declaration
public override Task<AutomaticImprovements> GetAutomaticImprovementsAsync(GetAutomaticImprovementsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAutomaticImprovementsRequest | 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<AutomaticImprovements> | A Task containing the RPC response. |
Overrides
UpdateAutomaticImprovements(UpdateAutomaticImprovementsRequest, CallSettings)
Updates the automatic improvements of an account.
Declaration
public override AutomaticImprovements UpdateAutomaticImprovements(UpdateAutomaticImprovementsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateAutomaticImprovementsRequest | 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 |
---|---|
AutomaticImprovements | The RPC response. |
Overrides
UpdateAutomaticImprovementsAsync(UpdateAutomaticImprovementsRequest, CallSettings)
Updates the automatic improvements of an account.
Declaration
public override Task<AutomaticImprovements> UpdateAutomaticImprovementsAsync(UpdateAutomaticImprovementsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateAutomaticImprovementsRequest | 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<AutomaticImprovements> | A Task containing the RPC response. |