Class TermsOfServiceResource
The "termsOfService" collection of methods.
Inherited Members
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: |
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: |
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 |