Class: Google::Shopping::Type::CustomAttribute
- Inherits:
-
Object
- Object
- Google::Shopping::Type::CustomAttribute
- 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
-
#group_values ⇒ ::Array<::Google::Shopping::Type::CustomAttribute>
Subattributes within this attribute group.
-
#name ⇒ ::String
The name of the attribute.
-
#value ⇒ ::String
The value of the attribute.
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.
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.
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.
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 |