Show / Hide Table of Contents

Class TermsOfServiceResource.RetrieveLatestRequest

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

Inheritance
object
ClientServiceRequest
ClientServiceRequest<TermsOfService>
MerchantBaseServiceRequest<TermsOfService>
TermsOfServiceResource.RetrieveLatestRequest
Implements
IClientServiceRequest<TermsOfService>
IClientServiceRequest
Inherited Members
MerchantBaseServiceRequest<TermsOfService>.Xgafv
MerchantBaseServiceRequest<TermsOfService>.AccessToken
MerchantBaseServiceRequest<TermsOfService>.Alt
MerchantBaseServiceRequest<TermsOfService>.Callback
MerchantBaseServiceRequest<TermsOfService>.Fields
MerchantBaseServiceRequest<TermsOfService>.Key
MerchantBaseServiceRequest<TermsOfService>.OauthToken
MerchantBaseServiceRequest<TermsOfService>.PrettyPrint
MerchantBaseServiceRequest<TermsOfService>.QuotaUser
MerchantBaseServiceRequest<TermsOfService>.UploadType
MerchantBaseServiceRequest<TermsOfService>.UploadProtocol
ClientServiceRequest<TermsOfService>.Execute()
ClientServiceRequest<TermsOfService>.ExecuteAsStream()
ClientServiceRequest<TermsOfService>.ExecuteAsync()
ClientServiceRequest<TermsOfService>.ExecuteAsync(CancellationToken)
ClientServiceRequest<TermsOfService>.ExecuteAsStreamAsync()
ClientServiceRequest<TermsOfService>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<TermsOfService>.CreateRequest(bool?)
ClientServiceRequest<TermsOfService>.GenerateRequestUri()
ClientServiceRequest<TermsOfService>.GetBody()
ClientServiceRequest<TermsOfService>.GetDefaultETagAction(string)
ClientServiceRequest<TermsOfService>.ETagAction
ClientServiceRequest<TermsOfService>.ModifyRequest
ClientServiceRequest<TermsOfService>.ValidateParameters
ClientServiceRequest<TermsOfService>.ApiVersion
ClientServiceRequest<TermsOfService>.RequestParameters
ClientServiceRequest<TermsOfService>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Merchant.accounts_v1beta
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class TermsOfServiceResource.RetrieveLatestRequest : MerchantBaseServiceRequest<TermsOfService>, IClientServiceRequest<TermsOfService>, IClientServiceRequest

Constructors

RetrieveLatestRequest(IClientService)

Constructs a new RetrieveLatest request.

Declaration
public RetrieveLatestRequest(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<TermsOfService>.HttpMethod

Kind

Required. The Kind this terms of service version applies to.

Declaration
[RequestParameter("kind", RequestParameterType.Query)]
public virtual TermsOfServiceResource.RetrieveLatestRequest.KindEnum? Kind { get; set; }
Property Value
Type Description
TermsOfServiceResource.RetrieveLatestRequest.KindEnum?

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<TermsOfService>.MethodName

RegionCode

Required. Region code as defined by CLDR. This is either a country when the ToS applies specifically to that country or 001 when it applies globally.

Declaration
[RequestParameter("regionCode", RequestParameterType.Query)]
public virtual string RegionCode { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<TermsOfService>.RestPath

Methods

InitParameters()

Initializes RetrieveLatest parameter list.

Declaration
protected override void InitParameters()
Overrides
MerchantBaseServiceRequest<TermsOfService>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX