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:



53
54
55
56
# File 'proto_docs/google/shopping/type/types.rb', line 53

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.



53
54
55
56
# File 'proto_docs/google/shopping/type/types.rb', line 53

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.



53
54
55
56
# File 'proto_docs/google/shopping/type/types.rb', line 53

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