Class TermsOfServiceResource.RetrieveLatestRequest
Retrieves the latest version of the TermsOfService
for a given kind
and region_code
.
Inheritance
TermsOfServiceResource.RetrieveLatestRequest
Inherited Members
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
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
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
Methods
InitParameters()
Initializes RetrieveLatest parameter list.
Declaration
protected override void InitParameters()