Class TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceBase
Base class for server-side implementations of TermsOfServiceAgreementStateService
Namespace: Google.Shopping.Merchant.Accounts.V1
Assembly: Google.Shopping.Merchant.Accounts.V1.dll
Syntax
[BindServiceMethod(typeof(TermsOfServiceAgreementStateService), "BindService")]
public abstract class TermsOfServiceAgreementStateService.TermsOfServiceAgreementStateServiceBase
Methods
GetTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest, ServerCallContext)
Returns the state of a terms of service agreement.
Declaration
public virtual Task<TermsOfServiceAgreementState> GetTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetTermsOfServiceAgreementStateRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<TermsOfServiceAgreementState> | The response to send back to the client (wrapped by a task). |
RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest, ServerCallContext)
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 Task<TermsOfServiceAgreementState> RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
RetrieveForApplicationTermsOfServiceAgreementStateRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<TermsOfServiceAgreementState> | The response to send back to the client (wrapped by a task). |