Show / Hide Table of Contents

Class AutomaticImprovementsService.AutomaticImprovementsServiceClient

Client for AutomaticImprovementsService

Inheritance
object
ClientBase
ClientBase<AutomaticImprovementsService.AutomaticImprovementsServiceClient>
AutomaticImprovementsService.AutomaticImprovementsServiceClient
Inherited Members
ClientBase<AutomaticImprovementsService.AutomaticImprovementsServiceClient>.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 AutomaticImprovementsService.AutomaticImprovementsServiceClient : ClientBase<AutomaticImprovementsService.AutomaticImprovementsServiceClient>

Constructors

AutomaticImprovementsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected AutomaticImprovementsServiceClient()

AutomaticImprovementsServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

AutomaticImprovementsServiceClient(ChannelBase)

Creates a new client for AutomaticImprovementsService

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

The channel to use to make remote calls.

AutomaticImprovementsServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetAutomaticImprovements(GetAutomaticImprovementsRequest, CallOptions)

Retrieves the automatic improvements of an account.

Declaration
public virtual AutomaticImprovements GetAutomaticImprovements(GetAutomaticImprovementsRequest request, CallOptions options)
Parameters
Type Name Description
GetAutomaticImprovementsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AutomaticImprovements

The response received from the server.

GetAutomaticImprovements(GetAutomaticImprovementsRequest, Metadata, DateTime?, CancellationToken)

Retrieves the automatic improvements of an account.

Declaration
public virtual AutomaticImprovements GetAutomaticImprovements(GetAutomaticImprovementsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetAutomaticImprovementsRequest 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
AutomaticImprovements

The response received from the server.

GetAutomaticImprovementsAsync(GetAutomaticImprovementsRequest, CallOptions)

Retrieves the automatic improvements of an account.

Declaration
public virtual AsyncUnaryCall<AutomaticImprovements> GetAutomaticImprovementsAsync(GetAutomaticImprovementsRequest request, CallOptions options)
Parameters
Type Name Description
GetAutomaticImprovementsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<AutomaticImprovements>

The call object.

GetAutomaticImprovementsAsync(GetAutomaticImprovementsRequest, Metadata, DateTime?, CancellationToken)

Retrieves the automatic improvements of an account.

Declaration
public virtual AsyncUnaryCall<AutomaticImprovements> GetAutomaticImprovementsAsync(GetAutomaticImprovementsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetAutomaticImprovementsRequest 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<AutomaticImprovements>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override AutomaticImprovementsService.AutomaticImprovementsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
AutomaticImprovementsService.AutomaticImprovementsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Shopping.Merchant.Accounts.V1.AutomaticImprovementsService.AutomaticImprovementsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateAutomaticImprovements(UpdateAutomaticImprovementsRequest, CallOptions)

Updates the automatic improvements of an account.

Declaration
public virtual AutomaticImprovements UpdateAutomaticImprovements(UpdateAutomaticImprovementsRequest request, CallOptions options)
Parameters
Type Name Description
UpdateAutomaticImprovementsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AutomaticImprovements

The response received from the server.

UpdateAutomaticImprovements(UpdateAutomaticImprovementsRequest, Metadata, DateTime?, CancellationToken)

Updates the automatic improvements of an account.

Declaration
public virtual AutomaticImprovements UpdateAutomaticImprovements(UpdateAutomaticImprovementsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateAutomaticImprovementsRequest 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
AutomaticImprovements

The response received from the server.

UpdateAutomaticImprovementsAsync(UpdateAutomaticImprovementsRequest, CallOptions)

Updates the automatic improvements of an account.

Declaration
public virtual AsyncUnaryCall<AutomaticImprovements> UpdateAutomaticImprovementsAsync(UpdateAutomaticImprovementsRequest request, CallOptions options)
Parameters
Type Name Description
UpdateAutomaticImprovementsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<AutomaticImprovements>

The call object.

UpdateAutomaticImprovementsAsync(UpdateAutomaticImprovementsRequest, Metadata, DateTime?, CancellationToken)

Updates the automatic improvements of an account.

Declaration
public virtual AsyncUnaryCall<AutomaticImprovements> UpdateAutomaticImprovementsAsync(UpdateAutomaticImprovementsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateAutomaticImprovementsRequest 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<AutomaticImprovements>

The call object.

In this article
Back to top Generated by DocFX