Class: Google::Cloud::Retail::V2::Promotion
- Inherits:
-
Object
- Object
- Google::Cloud::Retail::V2::Promotion
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/retail/v2/promotion.rb
Overview
Promotion information.
Instance Attribute Summary collapse
-
#promotion_id ⇒ ::String
ID of the promotion.
Instance Attribute Details
#promotion_id ⇒ ::String
ID of the promotion. For example, "free gift".
The value must be a UTF-8 encoded string with a length limit of 128
characters, and match the pattern: [a-zA-Z][a-zA-Z0-9_]*
. For example,
id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
returned.
Corresponds to Google Merchant Center property promotion_id.
36 37 38 39 |
# File 'proto_docs/google/cloud/retail/v2/promotion.rb', line 36 class Promotion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |