Show / Hide Table of Contents

Class TermsOfServiceServiceClientImpl

TermsOfServiceService client wrapper implementation, for convenient use.

Inheritance
object
TermsOfServiceServiceClient
TermsOfServiceServiceClientImpl
Inherited Members
TermsOfServiceServiceClient.DefaultEndpoint
TermsOfServiceServiceClient.DefaultScopes
TermsOfServiceServiceClient.ServiceMetadata
TermsOfServiceServiceClient.CreateAsync(CancellationToken)
TermsOfServiceServiceClient.Create()
TermsOfServiceServiceClient.ShutdownDefaultChannelsAsync()
TermsOfServiceServiceClient.GetTermsOfServiceAsync(GetTermsOfServiceRequest, CancellationToken)
TermsOfServiceServiceClient.GetTermsOfService(string, CallSettings)
TermsOfServiceServiceClient.GetTermsOfServiceAsync(string, CallSettings)
TermsOfServiceServiceClient.GetTermsOfServiceAsync(string, CancellationToken)
TermsOfServiceServiceClient.GetTermsOfService(TermsOfServiceName, CallSettings)
TermsOfServiceServiceClient.GetTermsOfServiceAsync(TermsOfServiceName, CallSettings)
TermsOfServiceServiceClient.GetTermsOfServiceAsync(TermsOfServiceName, CancellationToken)
TermsOfServiceServiceClient.RetrieveLatestTermsOfServiceAsync(RetrieveLatestTermsOfServiceRequest, CancellationToken)
TermsOfServiceServiceClient.AcceptTermsOfServiceAsync(AcceptTermsOfServiceRequest, CancellationToken)
TermsOfServiceServiceClient.AcceptTermsOfService(string, CallSettings)
TermsOfServiceServiceClient.AcceptTermsOfServiceAsync(string, CallSettings)
TermsOfServiceServiceClient.AcceptTermsOfServiceAsync(string, CancellationToken)
TermsOfServiceServiceClient.AcceptTermsOfService(TermsOfServiceName, CallSettings)
TermsOfServiceServiceClient.AcceptTermsOfServiceAsync(TermsOfServiceName, CallSettings)
TermsOfServiceServiceClient.AcceptTermsOfServiceAsync(TermsOfServiceName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
public sealed class TermsOfServiceServiceClientImpl : TermsOfServiceServiceClient
Remarks

Service to support TermsOfService API.

Constructors

TermsOfServiceServiceClientImpl(TermsOfServiceServiceClient, TermsOfServiceServiceSettings, ILogger)

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

Declaration
public TermsOfServiceServiceClientImpl(TermsOfServiceService.TermsOfServiceServiceClient grpcClient, TermsOfServiceServiceSettings settings, ILogger logger)
Parameters
Type Name Description
TermsOfServiceService.TermsOfServiceServiceClient grpcClient

The underlying gRPC client.

TermsOfServiceServiceSettings settings

The base TermsOfServiceServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC TermsOfServiceService client

Declaration
public override TermsOfServiceService.TermsOfServiceServiceClient GrpcClient { get; }
Property Value
Type Description
TermsOfServiceService.TermsOfServiceServiceClient
Overrides
TermsOfServiceServiceClient.GrpcClient

Methods

AcceptTermsOfService(AcceptTermsOfServiceRequest, CallSettings)

Accepts a TermsOfService. Executing this method requires admin access.

Declaration
public override AcceptTermsOfServiceResponse AcceptTermsOfService(AcceptTermsOfServiceRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
AcceptTermsOfServiceRequest 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
AcceptTermsOfServiceResponse

The RPC response.

Overrides
TermsOfServiceServiceClient.AcceptTermsOfService(AcceptTermsOfServiceRequest, CallSettings)

AcceptTermsOfServiceAsync(AcceptTermsOfServiceRequest, CallSettings)

Accepts a TermsOfService. Executing this method requires admin access.

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

A Task containing the RPC response.

Overrides
TermsOfServiceServiceClient.AcceptTermsOfServiceAsync(AcceptTermsOfServiceRequest, CallSettings)

GetTermsOfService(GetTermsOfServiceRequest, CallSettings)

Retrieves the TermsOfService associated with the provided version.

Declaration
public override TermsOfService GetTermsOfService(GetTermsOfServiceRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetTermsOfServiceRequest 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
TermsOfService

The RPC response.

Overrides
TermsOfServiceServiceClient.GetTermsOfService(GetTermsOfServiceRequest, CallSettings)

GetTermsOfServiceAsync(GetTermsOfServiceRequest, CallSettings)

Retrieves the TermsOfService associated with the provided version.

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

A Task containing the RPC response.

Overrides
TermsOfServiceServiceClient.GetTermsOfServiceAsync(GetTermsOfServiceRequest, CallSettings)

RetrieveLatestTermsOfService(RetrieveLatestTermsOfServiceRequest, CallSettings)

Retrieves the latest version of the TermsOfService for a given kind and region_code.

Declaration
public override TermsOfService RetrieveLatestTermsOfService(RetrieveLatestTermsOfServiceRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
RetrieveLatestTermsOfServiceRequest 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
TermsOfService

The RPC response.

Overrides
TermsOfServiceServiceClient.RetrieveLatestTermsOfService(RetrieveLatestTermsOfServiceRequest, CallSettings)

RetrieveLatestTermsOfServiceAsync(RetrieveLatestTermsOfServiceRequest, CallSettings)

Retrieves the latest version of the TermsOfService for a given kind and region_code.

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

A Task containing the RPC response.

Overrides
TermsOfServiceServiceClient.RetrieveLatestTermsOfServiceAsync(RetrieveLatestTermsOfServiceRequest, CallSettings)
In this article
Back to top Generated by DocFX