Show / Hide Table of Contents

Class TermsOfServiceResource

The "termsOfService" collection of methods.

Inheritance
object
TermsOfServiceResource
Inherited Members
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

Constructors

TermsOfServiceResource(IClientService)

Constructs a new resource.

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

Methods

Accept(string)

Accepts a TermsOfService. Executing this method requires admin access.

Declaration
public virtual TermsOfServiceResource.AcceptRequest Accept(string name)
Parameters
Type Name Description
string name

Required. The resource name of the terms of service version. Format: termsOfService/{version}

Returns
Type Description
TermsOfServiceResource.AcceptRequest

Get(string)

Retrieves the TermsOfService associated with the provided version.

Declaration
public virtual TermsOfServiceResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The resource name of the terms of service version. Format: termsOfService/{version}

Returns
Type Description
TermsOfServiceResource.GetRequest

RetrieveLatest()

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

Declaration
public virtual TermsOfServiceResource.RetrieveLatestRequest RetrieveLatest()
Returns
Type Description
TermsOfServiceResource.RetrieveLatestRequest
In this article
Back to top Generated by DocFX