Show / Hide Table of Contents

Class TermsOfServiceAgreementStateServiceClientImpl

TermsOfServiceAgreementStateService client wrapper implementation, for convenient use.

Inheritance
object
TermsOfServiceAgreementStateServiceClient
TermsOfServiceAgreementStateServiceClientImpl
Inherited Members
TermsOfServiceAgreementStateServiceClient.DefaultEndpoint
TermsOfServiceAgreementStateServiceClient.DefaultScopes
TermsOfServiceAgreementStateServiceClient.ServiceMetadata
TermsOfServiceAgreementStateServiceClient.CreateAsync(CancellationToken)
TermsOfServiceAgreementStateServiceClient.Create()
TermsOfServiceAgreementStateServiceClient.ShutdownDefaultChannelsAsync()
TermsOfServiceAgreementStateServiceClient.GetTermsOfServiceAgreementStateAsync(GetTermsOfServiceAgreementStateRequest, CancellationToken)
TermsOfServiceAgreementStateServiceClient.GetTermsOfServiceAgreementState(string, CallSettings)
TermsOfServiceAgreementStateServiceClient.GetTermsOfServiceAgreementStateAsync(string, CallSettings)
TermsOfServiceAgreementStateServiceClient.GetTermsOfServiceAgreementStateAsync(string, CancellationToken)
TermsOfServiceAgreementStateServiceClient.GetTermsOfServiceAgreementState(TermsOfServiceAgreementStateName, CallSettings)
TermsOfServiceAgreementStateServiceClient.GetTermsOfServiceAgreementStateAsync(TermsOfServiceAgreementStateName, CallSettings)
TermsOfServiceAgreementStateServiceClient.GetTermsOfServiceAgreementStateAsync(TermsOfServiceAgreementStateName, CancellationToken)
TermsOfServiceAgreementStateServiceClient.RetrieveForApplicationTermsOfServiceAgreementStateAsync(RetrieveForApplicationTermsOfServiceAgreementStateRequest, CancellationToken)
TermsOfServiceAgreementStateServiceClient.RetrieveForApplicationTermsOfServiceAgreementState(string, CallSettings)
TermsOfServiceAgreementStateServiceClient.RetrieveForApplicationTermsOfServiceAgreementStateAsync(string, CallSettings)
TermsOfServiceAgreementStateServiceClient.RetrieveForApplicationTermsOfServiceAgreementStateAsync(string, CancellationToken)
TermsOfServiceAgreementStateServiceClient.RetrieveForApplicationTermsOfServiceAgreementState(AccountName, CallSettings)
TermsOfServiceAgreementStateServiceClient.RetrieveForApplicationTermsOfServiceAgreementStateAsync(AccountName, CallSettings)
TermsOfServiceAgreementStateServiceClient.RetrieveForApplicationTermsOfServiceAgreementStateAsync(AccountName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class TermsOfServiceAgreementStateServiceClientImpl : TermsOfServiceAgreementStateServiceClient
Remarks

Service to support TermsOfServiceAgreementState API.

Constructors

TermsOfServiceAgreementStateServiceClientImpl(TermsOfServiceAgreementStateServiceClient, TermsOfServiceAgreementStateServiceSettings, ILogger)

Constructs a client wrapper for the TermsOfServiceAgreementStateService service, with the specified gRPC client and settings.

Declaration
public TermsOfServiceAgreementStateServiceClientImpl(TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceClient grpcClient, TermsOfServiceAgreementStateServiceSettings settings, ILogger logger)
Parameters
Type Name Description
TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceClient grpcClient

The underlying gRPC client.

TermsOfServiceAgreementStateServiceSettings settings

The base TermsOfServiceAgreementStateServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC TermsOfServiceAgreementStateService client

Declaration
public override TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceClient GrpcClient { get; }
Property Value
Type Description
TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceClient
Overrides
TermsOfServiceAgreementStateServiceClient.GrpcClient

Methods

GetTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest, CallSettings)

Returns the state of a terms of service agreement.

Declaration
public override TermsOfServiceAgreementState GetTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetTermsOfServiceAgreementStateRequest 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
TermsOfServiceAgreementState

The RPC response.

Overrides
TermsOfServiceAgreementStateServiceClient.GetTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest, CallSettings)

GetTermsOfServiceAgreementStateAsync(GetTermsOfServiceAgreementStateRequest, CallSettings)

Returns the state of a terms of service agreement.

Declaration
public override Task<TermsOfServiceAgreementState> GetTermsOfServiceAgreementStateAsync(GetTermsOfServiceAgreementStateRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetTermsOfServiceAgreementStateRequest 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<TermsOfServiceAgreementState>

A Task containing the RPC response.

Overrides
TermsOfServiceAgreementStateServiceClient.GetTermsOfServiceAgreementStateAsync(GetTermsOfServiceAgreementStateRequest, CallSettings)

RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest, CallSettings)

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 override TermsOfServiceAgreementState RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest 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
TermsOfServiceAgreementState

The RPC response.

Overrides
TermsOfServiceAgreementStateServiceClient.RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest, CallSettings)

RetrieveForApplicationTermsOfServiceAgreementStateAsync(RetrieveForApplicationTermsOfServiceAgreementStateRequest, CallSettings)

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 override Task<TermsOfServiceAgreementState> RetrieveForApplicationTermsOfServiceAgreementStateAsync(RetrieveForApplicationTermsOfServiceAgreementStateRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RetrieveForApplicationTermsOfServiceAgreementStateRequest 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<TermsOfServiceAgreementState>

A Task containing the RPC response.

Overrides
TermsOfServiceAgreementStateServiceClient.RetrieveForApplicationTermsOfServiceAgreementStateAsync(RetrieveForApplicationTermsOfServiceAgreementStateRequest, CallSettings)
In this article
Back to top Generated by DocFX