Class TermsOfServiceAgreementStateServiceClientImpl
TermsOfServiceAgreementStateService client wrapper implementation, for convenient use.
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.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
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
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
RetrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest, CallSettings)
Retrieves the state of the agreement for the application terms of service.
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
RetrieveForApplicationTermsOfServiceAgreementStateAsync(RetrieveForApplicationTermsOfServiceAgreementStateRequest, CallSettings)
Retrieves the state of the agreement for the application terms of service.
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. |