Class: Google::Shopping::Type::CustomAttribute

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/type/types.rb

Overview

A message that represents custom attributes. Exactly one of value or group_values must not be empty.

Instance Attribute Summary collapse

Instance Attribute Details

#group_values::Array<::Google::Shopping::Type::CustomAttribute>

Returns Subattributes within this attribute group. If group_values is not empty, value must be empty.

Returns:



80
81
82
83
# File 'proto_docs/google/shopping/type/types.rb', line 80

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

#name::String

Returns The name of the attribute.

Returns:

  • (::String)

    The name of the attribute.



80
81
82
83
# File 'proto_docs/google/shopping/type/types.rb', line 80

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

#value::String

Returns The value of the attribute. If value is not empty, group_values must be empty.

Returns:

  • (::String)

    The value of the attribute. If value is not empty, group_values must be empty.



80
81
82
83
# File 'proto_docs/google/shopping/type/types.rb', line 80

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