Show / Hide Table of Contents

Class TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceClient

Client for TermsOfServiceAgreementStateService

Inheritance
object
ClientBase
ClientBase<TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceClient>
TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceClient
Inherited Members
ClientBase<TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceClient>.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 TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceClient : ClientBase<TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceClient>

Constructors

TermsOfServiceAgreementStateServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected TermsOfServiceAgreementStateServiceClient()

TermsOfServiceAgreementStateServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

TermsOfServiceAgreementStateServiceClient(ChannelBase)

Creates a new client for TermsOfServiceAgreementStateService

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

The channel to use to make remote calls.

TermsOfServiceAgreementStateServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest, CallOptions)

Returns the state of a terms of service agreement.

Declaration
public virtual TermsOfServiceAgreementState GetTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest request, CallOptions options)
Parameters
Type Name Description
GetTermsOfServiceAgreementStateRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
TermsOfServiceAgreementState

The response received from the server.

GetTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest, Metadata, DateTime?, CancellationToken)

Returns the state of a terms of service agreement.

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

The response received from the server.

GetTermsOfServiceAgreementStateAsync(GetTermsOfServiceAgreementStateRequest, CallOptions)

Returns the state of a terms of service agreement.

Declaration
public virtual AsyncUnaryCall<TermsOfServiceAgreementState> GetTermsOfServiceAgreementStateAsync(GetTermsOfServiceAgreementStateRequest request, CallOptions options)
Parameters
Type Name Description
GetTermsOfServiceAgreementStateRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<TermsOfServiceAgreementState>

The call object.

GetTermsOfServiceAgreementStateAsync(GetTermsOfServiceAgreementStateRequest, Metadata, DateTime?, CancellationToken)

Returns the state of a terms of service agreement.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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

RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest, CallOptions)

Retrieves the state of the agreement for the application terms of service.

Application terms of service covers permissions related to the usage of data provided through Merchant Center, CSS Center, Manufacturer Center, and more.

Declaration
public virtual TermsOfServiceAgreementState RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest request, CallOptions options)
Parameters
Type Name Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
TermsOfServiceAgreementState

The response received from the server.

RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest, Metadata, DateTime?, CancellationToken)

Retrieves the state of the agreement for the application terms of service.

Application terms of service covers permissions related to the usage of data provided through Merchant Center, CSS Center, Manufacturer Center, and more.

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

The response received from the server.

RetrieveForApplicationTermsOfServiceAgreementStateAsync(RetrieveForApplicationTermsOfServiceAgreementStateRequest, CallOptions)

Retrieves the state of the agreement for the application terms of service.

Application terms of service covers permissions related to the usage of data provided through Merchant Center, CSS Center, Manufacturer Center, and more.

Declaration
public virtual AsyncUnaryCall<TermsOfServiceAgreementState> RetrieveForApplicationTermsOfServiceAgreementStateAsync(RetrieveForApplicationTermsOfServiceAgreementStateRequest request, CallOptions options)
Parameters
Type Name Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<TermsOfServiceAgreementState>

The call object.

RetrieveForApplicationTermsOfServiceAgreementStateAsync(RetrieveForApplicationTermsOfServiceAgreementStateRequest, Metadata, DateTime?, CancellationToken)

Retrieves the state of the agreement for the application terms of service.

Application terms of service covers permissions related to the usage of data provided through Merchant Center, CSS Center, Manufacturer Center, and more.

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

The call object.

In this article
Back to top Generated by DocFX