Class AutofeedSettingsServiceClientImpl
AutofeedSettingsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class AutofeedSettingsServiceClientImpl : AutofeedSettingsServiceClient
Remarks
Service to support autofeed setting.
Constructors
AutofeedSettingsServiceClientImpl(AutofeedSettingsServiceClient, AutofeedSettingsServiceSettings, ILogger)
Constructs a client wrapper for the AutofeedSettingsService service, with the specified gRPC client and settings.
Declaration
public AutofeedSettingsServiceClientImpl(AutofeedSettingsService.AutofeedSettingsServiceClient grpcClient, AutofeedSettingsServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
AutofeedSettingsService.AutofeedSettingsServiceClient | grpcClient | The underlying gRPC client. |
AutofeedSettingsServiceSettings | settings | The base AutofeedSettingsServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC AutofeedSettingsService client
Declaration
public override AutofeedSettingsService.AutofeedSettingsServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
AutofeedSettingsService.AutofeedSettingsServiceClient |
Overrides
Methods
GetAutofeedSettings(GetAutofeedSettingsRequest, CallSettings)
Retrieves the autofeed settings of an account.
Declaration
public override AutofeedSettings GetAutofeedSettings(GetAutofeedSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAutofeedSettingsRequest | 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 |
---|---|
AutofeedSettings | The RPC response. |
Overrides
GetAutofeedSettingsAsync(GetAutofeedSettingsRequest, CallSettings)
Retrieves the autofeed settings of an account.
Declaration
public override Task<AutofeedSettings> GetAutofeedSettingsAsync(GetAutofeedSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetAutofeedSettingsRequest | 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<AutofeedSettings> | A Task containing the RPC response. |
Overrides
UpdateAutofeedSettings(UpdateAutofeedSettingsRequest, CallSettings)
Updates the autofeed settings of an account.
Declaration
public override AutofeedSettings UpdateAutofeedSettings(UpdateAutofeedSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateAutofeedSettingsRequest | 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 |
---|---|
AutofeedSettings | The RPC response. |
Overrides
UpdateAutofeedSettingsAsync(UpdateAutofeedSettingsRequest, CallSettings)
Updates the autofeed settings of an account.
Declaration
public override Task<AutofeedSettings> UpdateAutofeedSettingsAsync(UpdateAutofeedSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateAutofeedSettingsRequest | 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<AutofeedSettings> | A Task containing the RPC response. |