Class: Google::Shopping::Merchant::Accounts::V1beta::AcceptTermsOfServiceRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/accounts/v1beta/termsofservice.rb

Overview

Request message for the AcceptTermsOfService method.

Instance Attribute Summary collapse

Instance Attribute Details

#account::String

Returns Required. The account for which to accept the ToS.

Returns:

  • (::String)

    Required. The account for which to accept the ToS.



91
92
93
94
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/termsofservice.rb', line 91

class AcceptTermsOfServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

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

Returns:

  • (::String)

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



91
92
93
94
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/termsofservice.rb', line 91

class AcceptTermsOfServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#region_code::String

Returns 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.

Returns:

  • (::String)

    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.



91
92
93
94
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/termsofservice.rb', line 91

class AcceptTermsOfServiceRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end