Show / Hide Table of Contents

Class ShippingSettingsService.ShippingSettingsServiceClient

Client for ShippingSettingsService

Inheritance
object
ClientBase
ClientBase<ShippingSettingsService.ShippingSettingsServiceClient>
ShippingSettingsService.ShippingSettingsServiceClient
Inherited Members
ClientBase<ShippingSettingsService.ShippingSettingsServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public class ShippingSettingsService.ShippingSettingsServiceClient : ClientBase<ShippingSettingsService.ShippingSettingsServiceClient>

Constructors

ShippingSettingsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected ShippingSettingsServiceClient()

ShippingSettingsServiceClient(CallInvoker)

Creates a new client for ShippingSettingsService that uses a custom CallInvoker.

Declaration
public ShippingSettingsServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

ShippingSettingsServiceClient(ChannelBase)

Creates a new client for ShippingSettingsService

Declaration
public ShippingSettingsServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

ShippingSettingsServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected ShippingSettingsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

GetShippingSettings(GetShippingSettingsRequest, CallOptions)

Retrieve shipping setting information.

Declaration
public virtual ShippingSettings GetShippingSettings(GetShippingSettingsRequest request, CallOptions options)
Parameters
Type Name Description
GetShippingSettingsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ShippingSettings

The response received from the server.

GetShippingSettings(GetShippingSettingsRequest, Metadata, DateTime?, CancellationToken)

Retrieve shipping setting information.

Declaration
public virtual ShippingSettings GetShippingSettings(GetShippingSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetShippingSettingsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ShippingSettings

The response received from the server.

GetShippingSettingsAsync(GetShippingSettingsRequest, CallOptions)

Retrieve shipping setting information.

Declaration
public virtual AsyncUnaryCall<ShippingSettings> GetShippingSettingsAsync(GetShippingSettingsRequest request, CallOptions options)
Parameters
Type Name Description
GetShippingSettingsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ShippingSettings>

The call object.

GetShippingSettingsAsync(GetShippingSettingsRequest, Metadata, DateTime?, CancellationToken)

Retrieve shipping setting information.

Declaration
public virtual AsyncUnaryCall<ShippingSettings> GetShippingSettingsAsync(GetShippingSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetShippingSettingsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ShippingSettings>

The call object.

InsertShippingSettings(InsertShippingSettingsRequest, CallOptions)

Replace the shipping setting of a business with the request shipping setting. Executing this method requires admin access.

Declaration
public virtual ShippingSettings InsertShippingSettings(InsertShippingSettingsRequest request, CallOptions options)
Parameters
Type Name Description
InsertShippingSettingsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ShippingSettings

The response received from the server.

InsertShippingSettings(InsertShippingSettingsRequest, Metadata, DateTime?, CancellationToken)

Replace the shipping setting of a business with the request shipping setting. Executing this method requires admin access.

Declaration
public virtual ShippingSettings InsertShippingSettings(InsertShippingSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
InsertShippingSettingsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ShippingSettings

The response received from the server.

InsertShippingSettingsAsync(InsertShippingSettingsRequest, CallOptions)

Replace the shipping setting of a business with the request shipping setting. Executing this method requires admin access.

Declaration
public virtual AsyncUnaryCall<ShippingSettings> InsertShippingSettingsAsync(InsertShippingSettingsRequest request, CallOptions options)
Parameters
Type Name Description
InsertShippingSettingsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ShippingSettings>

The call object.

InsertShippingSettingsAsync(InsertShippingSettingsRequest, Metadata, DateTime?, CancellationToken)

Replace the shipping setting of a business with the request shipping setting. Executing this method requires admin access.

Declaration
public virtual AsyncUnaryCall<ShippingSettings> InsertShippingSettingsAsync(InsertShippingSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
InsertShippingSettingsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ShippingSettings>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override ShippingSettingsService.ShippingSettingsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
ShippingSettingsService.ShippingSettingsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Shopping.Merchant.Accounts.V1.ShippingSettingsService.ShippingSettingsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX