Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::Promotion.
Promotion information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#promotion_id
def promotion_id() -> ::String- 
        (::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.Google Merchant Center property promotion. 
#promotion_id=
def promotion_id=(value) -> ::String- 
        value (::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.Google Merchant Center property promotion. 
- 
        (::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.Google Merchant Center property promotion.