public sealed class Promotion : IMessage<Promotion>, IEquatable<Promotion>, IDeepCloneable<Promotion>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Promotion.
Promotion information.
Implements
IMessagePromotion, IEquatablePromotion, IDeepCloneablePromotion, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
Promotion()
public Promotion()
Promotion(Promotion)
public Promotion(Promotion other)
Parameter | |
---|---|
Name | Description |
other | Promotion |
Properties
PromotionId
public string PromotionId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |