Class: Google::Shopping::Merchant::Accounts::V1::TermsOfService
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1::TermsOfService
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1/termsofservice.rb
Overview
The TermsOfService message represents a specific version of the terms of
service that merchants must accept to access certain features or services.
For more information, see Terms of
Service.
This message is important for the onboarding process, ensuring that merchants
agree to the necessary legal agreements for using the service. Merchants can
retrieve the latest terms of service for a given kind and region through
RetrieveLatestTermsOfService, and accept them as required through
AcceptTermsOfService.
Instance Attribute Summary collapse
-
#external ⇒ ::Boolean
Whether this terms of service version is external.
-
#file_uri ⇒ ::String
URI for terms of service file that needs to be displayed to signing users.
-
#kind ⇒ ::Google::Shopping::Merchant::Accounts::V1::TermsOfServiceKind
The Kind this terms of service version applies to.
-
#name ⇒ ::String
Identifier.
-
#region_code ⇒ ::String
Region code as defined by CLDR.
Instance Attribute Details
#external ⇒ ::Boolean
Returns Whether this terms of service version is external. External terms of service versions can only be agreed through external processes and not directly by the merchant through UI or API.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/termsofservice.rb', line 58 class TermsOfService include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#file_uri ⇒ ::String
Returns URI for terms of service file that needs to be displayed to signing users.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/termsofservice.rb', line 58 class TermsOfService include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#kind ⇒ ::Google::Shopping::Merchant::Accounts::V1::TermsOfServiceKind
Returns The Kind this terms of service version applies to.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/termsofservice.rb', line 58 class TermsOfService include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Identifier. The resource name of the terms of service version.
Format: termsOfService/{version}.
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/termsofservice.rb', line 58 class TermsOfService include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#region_code ⇒ ::String
Returns Region code as defined by CLDR. This is either
a country where the ToS applies specifically to that country or 001 when
the same TermsOfService can be signed in any country. However note that
when signing a ToS that applies globally we still expect that a specific
country is provided (this should be merchant business country or program
country of participation).
58 59 60 61 |
# File 'proto_docs/google/shopping/merchant/accounts/v1/termsofservice.rb', line 58 class TermsOfService include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |