Class OmnichannelSettingsServiceClientImpl
OmnichannelSettingsService 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 OmnichannelSettingsServiceClientImpl : OmnichannelSettingsServiceClient
Remarks
The service facilitates the management of a merchant's omnichannel settings.
This API defines the following resource model:
[OmnichannelSetting][google.shopping.merchant.accounts.v1.OmnichannelSetting]
Constructors
OmnichannelSettingsServiceClientImpl(OmnichannelSettingsServiceClient, OmnichannelSettingsServiceSettings, ILogger)
Constructs a client wrapper for the OmnichannelSettingsService service, with the specified gRPC client and settings.
Declaration
public OmnichannelSettingsServiceClientImpl(OmnichannelSettingsService.OmnichannelSettingsServiceClient grpcClient, OmnichannelSettingsServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
OmnichannelSettingsService.OmnichannelSettingsServiceClient | grpcClient | The underlying gRPC client. |
OmnichannelSettingsServiceSettings | settings | The base OmnichannelSettingsServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC OmnichannelSettingsService client
Declaration
public override OmnichannelSettingsService.OmnichannelSettingsServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
OmnichannelSettingsService.OmnichannelSettingsServiceClient |
Overrides
Methods
CreateOmnichannelSetting(CreateOmnichannelSettingRequest, CallSettings)
Create the omnichannel settings for a given merchant.
Declaration
public override OmnichannelSetting CreateOmnichannelSetting(CreateOmnichannelSettingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateOmnichannelSettingRequest | 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 |
---|---|
OmnichannelSetting | The RPC response. |
Overrides
CreateOmnichannelSettingAsync(CreateOmnichannelSettingRequest, CallSettings)
Create the omnichannel settings for a given merchant.
Declaration
public override Task<OmnichannelSetting> CreateOmnichannelSettingAsync(CreateOmnichannelSettingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateOmnichannelSettingRequest | 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<OmnichannelSetting> | A Task containing the RPC response. |
Overrides
GetOmnichannelSetting(GetOmnichannelSettingRequest, CallSettings)
Get the omnichannel settings for a given merchant.
Declaration
public override OmnichannelSetting GetOmnichannelSetting(GetOmnichannelSettingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetOmnichannelSettingRequest | 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 |
---|---|
OmnichannelSetting | The RPC response. |
Overrides
GetOmnichannelSettingAsync(GetOmnichannelSettingRequest, CallSettings)
Get the omnichannel settings for a given merchant.
Declaration
public override Task<OmnichannelSetting> GetOmnichannelSettingAsync(GetOmnichannelSettingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetOmnichannelSettingRequest | 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<OmnichannelSetting> | A Task containing the RPC response. |
Overrides
ListOmnichannelSettings(ListOmnichannelSettingsRequest, CallSettings)
List all the omnichannel settings for a given merchant.
Declaration
public override PagedEnumerable<ListOmnichannelSettingsResponse, OmnichannelSetting> ListOmnichannelSettings(ListOmnichannelSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListOmnichannelSettingsRequest | 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<ListOmnichannelSettingsResponse, OmnichannelSetting> | A pageable sequence of OmnichannelSetting resources. |
Overrides
ListOmnichannelSettingsAsync(ListOmnichannelSettingsRequest, CallSettings)
List all the omnichannel settings for a given merchant.
Declaration
public override PagedAsyncEnumerable<ListOmnichannelSettingsResponse, OmnichannelSetting> ListOmnichannelSettingsAsync(ListOmnichannelSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListOmnichannelSettingsRequest | 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<ListOmnichannelSettingsResponse, OmnichannelSetting> | A pageable asynchronous sequence of OmnichannelSetting resources. |
Overrides
RequestInventoryVerification(RequestInventoryVerificationRequest, CallSettings)
Requests inventory verification for a given merchant in a given country.
Declaration
public override RequestInventoryVerificationResponse RequestInventoryVerification(RequestInventoryVerificationRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RequestInventoryVerificationRequest | 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 |
---|---|
RequestInventoryVerificationResponse | The RPC response. |
Overrides
RequestInventoryVerificationAsync(RequestInventoryVerificationRequest, CallSettings)
Requests inventory verification for a given merchant in a given country.
Declaration
public override Task<RequestInventoryVerificationResponse> RequestInventoryVerificationAsync(RequestInventoryVerificationRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RequestInventoryVerificationRequest | 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<RequestInventoryVerificationResponse> | A Task containing the RPC response. |
Overrides
UpdateOmnichannelSetting(UpdateOmnichannelSettingRequest, CallSettings)
Update the omnichannel setting for a given merchant in a given country.
Declaration
public override OmnichannelSetting UpdateOmnichannelSetting(UpdateOmnichannelSettingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateOmnichannelSettingRequest | 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 |
---|---|
OmnichannelSetting | The RPC response. |
Overrides
UpdateOmnichannelSettingAsync(UpdateOmnichannelSettingRequest, CallSettings)
Update the omnichannel setting for a given merchant in a given country.
Declaration
public override Task<OmnichannelSetting> UpdateOmnichannelSettingAsync(UpdateOmnichannelSettingRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateOmnichannelSettingRequest | 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<OmnichannelSetting> | A Task containing the RPC response. |