Class ShippingSettingsServiceClientImpl
ShippingSettingsService 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 ShippingSettingsServiceClientImpl : ShippingSettingsServiceClient
Remarks
Service to get method call shipping setting information per Merchant API method.
Constructors
ShippingSettingsServiceClientImpl(ShippingSettingsServiceClient, ShippingSettingsServiceSettings, ILogger)
Constructs a client wrapper for the ShippingSettingsService service, with the specified gRPC client and settings.
Declaration
public ShippingSettingsServiceClientImpl(ShippingSettingsService.ShippingSettingsServiceClient grpcClient, ShippingSettingsServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ShippingSettingsService.ShippingSettingsServiceClient | grpcClient | The underlying gRPC client. |
ShippingSettingsServiceSettings | settings | The base ShippingSettingsServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ShippingSettingsService client
Declaration
public override ShippingSettingsService.ShippingSettingsServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
ShippingSettingsService.ShippingSettingsServiceClient |
Overrides
Methods
GetShippingSettings(GetShippingSettingsRequest, CallSettings)
Retrieve shipping setting information.
Declaration
public override ShippingSettings GetShippingSettings(GetShippingSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetShippingSettingsRequest | 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 |
---|---|
ShippingSettings | The RPC response. |
Overrides
GetShippingSettingsAsync(GetShippingSettingsRequest, CallSettings)
Retrieve shipping setting information.
Declaration
public override Task<ShippingSettings> GetShippingSettingsAsync(GetShippingSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetShippingSettingsRequest | 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<ShippingSettings> | A Task containing the RPC response. |
Overrides
InsertShippingSettings(InsertShippingSettingsRequest, CallSettings)
Replace the shipping setting of a merchant with the request shipping setting. Executing this method requires admin access.
Declaration
public override ShippingSettings InsertShippingSettings(InsertShippingSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
InsertShippingSettingsRequest | 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 |
---|---|
ShippingSettings | The RPC response. |
Overrides
InsertShippingSettingsAsync(InsertShippingSettingsRequest, CallSettings)
Replace the shipping setting of a merchant with the request shipping setting. Executing this method requires admin access.
Declaration
public override Task<ShippingSettings> InsertShippingSettingsAsync(InsertShippingSettingsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
InsertShippingSettingsRequest | 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<ShippingSettings> | A Task containing the RPC response. |