Class ProductReviewAttributes
Attributes.
Implements
Namespace: Google.Shopping.Merchant.Reviews.V1Beta
Assembly: Google.Shopping.Merchant.Reviews.V1Beta.dll
Syntax
public sealed class ProductReviewAttributes : IMessage<ProductReviewAttributes>, IEquatable<ProductReviewAttributes>, IDeepCloneable<ProductReviewAttributes>, IBufferMessage, IMessage
Constructors
ProductReviewAttributes()
Declaration
public ProductReviewAttributes()
ProductReviewAttributes(ProductReviewAttributes)
Declaration
public ProductReviewAttributes(ProductReviewAttributes other)
Parameters
Type | Name | Description |
---|---|---|
Product |
other |
Properties
AggregatorName
Optional. The name of the aggregator of the product reviews.
A publisher may use a reviews aggregator to manage reviews and provide the feeds. This element indicates the use of an aggregator and contains information about the aggregator.
Declaration
public string AggregatorName { get; set; }
Property Value
Type | Description |
---|---|
string |
Asins
Optional. Contains ASINs (Amazon Standard Identification Numbers) associated with a product.
Declaration
public RepeatedField<string> Asins { get; }
Property Value
Type | Description |
---|---|
Repeated |
Brands
Optional. Contains brand names associated with a product.
Declaration
public RepeatedField<string> Brands { get; }
Property Value
Type | Description |
---|---|
Repeated |
CollectionMethod
Optional. The method used to collect the review.
Declaration
public ProductReviewAttributes.Types.CollectionMethod CollectionMethod { get; set; }
Property Value
Type | Description |
---|---|
Product |
Cons
Optional. Contains the disadvantages based on the opinion of the reviewer. Omit boilerplate text like "con:" unless it was written by the reviewer.
Declaration
public RepeatedField<string> Cons { get; }
Property Value
Type | Description |
---|---|
Repeated |
Content
Required. The content of the review.
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
string |
Gtins
Optional. Contains GTINs (global trade item numbers) associated with a product. Sub-types of GTINs (e.g. UPC, EAN, ISBN, JAN) are supported.
Declaration
public RepeatedField<string> Gtins { get; }
Property Value
Type | Description |
---|---|
Repeated |
HasAggregatorName
Gets whether the "aggregator_name" field is set
Declaration
public bool HasAggregatorName { get; }
Property Value
Type | Description |
---|---|
bool |
HasContent
Gets whether the "content" field is set
Declaration
public bool HasContent { get; }
Property Value
Type | Description |
---|---|
bool |
HasIsSpam
Gets whether the "is_spam" field is set
Declaration
public bool HasIsSpam { get; }
Property Value
Type | Description |
---|---|
bool |
HasMaxRating
Gets whether the "max_rating" field is set
Declaration
public bool HasMaxRating { get; }
Property Value
Type | Description |
---|---|
bool |
HasMinRating
Gets whether the "min_rating" field is set
Declaration
public bool HasMinRating { get; }
Property Value
Type | Description |
---|---|
bool |
HasPublisherFavicon
Gets whether the "publisher_favicon" field is set
Declaration
public bool HasPublisherFavicon { get; }
Property Value
Type | Description |
---|---|
bool |
HasPublisherName
Gets whether the "publisher_name" field is set
Declaration
public bool HasPublisherName { get; }
Property Value
Type | Description |
---|---|
bool |
HasRating
Gets whether the "rating" field is set
Declaration
public bool HasRating { get; }
Property Value
Type | Description |
---|---|
bool |
HasReviewCountry
Gets whether the "review_country" field is set
Declaration
public bool HasReviewCountry { get; }
Property Value
Type | Description |
---|---|
bool |
HasReviewLanguage
Gets whether the "review_language" field is set
Declaration
public bool HasReviewLanguage { get; }
Property Value
Type | Description |
---|---|
bool |
HasReviewerId
Gets whether the "reviewer_id" field is set
Declaration
public bool HasReviewerId { get; }
Property Value
Type | Description |
---|---|
bool |
HasReviewerIsAnonymous
Gets whether the "reviewer_is_anonymous" field is set
Declaration
public bool HasReviewerIsAnonymous { get; }
Property Value
Type | Description |
---|---|
bool |
HasReviewerUsername
Gets whether the "reviewer_username" field is set
Declaration
public bool HasReviewerUsername { get; }
Property Value
Type | Description |
---|---|
bool |
HasSubclientName
Gets whether the "subclient_name" field is set
Declaration
public bool HasSubclientName { get; }
Property Value
Type | Description |
---|---|
bool |
HasTitle
Gets whether the "title" field is set
Declaration
public bool HasTitle { get; }
Property Value
Type | Description |
---|---|
bool |
IsSpam
Optional. Indicates whether the review is marked as spam in the publisher's system.
Declaration
public bool IsSpam { get; set; }
Property Value
Type | Description |
---|---|
bool |
MaxRating
Optional. The maximum possible number for the rating. The value of the max rating must be greater than the value of the min attribute.
Declaration
public long MaxRating { get; set; }
Property Value
Type | Description |
---|---|
long |
MinRating
Optional. Contains the ratings associated with the review. The minimum possible number for the rating. This should be the worst possible rating and should not be a value for no rating.
Declaration
public long MinRating { get; set; }
Property Value
Type | Description |
---|---|
long |
Mpns
Optional. Contains MPNs (manufacturer part numbers) associated with a product.
Declaration
public RepeatedField<string> Mpns { get; }
Property Value
Type | Description |
---|---|
Repeated |
ProductLinks
Optional. The URI of the product. This URI can have the same value as the
review_link
element, if the review URI and the product URI are the
same.
Declaration
public RepeatedField<string> ProductLinks { get; }
Property Value
Type | Description |
---|---|
Repeated |
ProductNames
Optional. Descriptive name of a product.
Declaration
public RepeatedField<string> ProductNames { get; }
Property Value
Type | Description |
---|---|
Repeated |
Pros
Optional. Contains the advantages based on the opinion of the reviewer. Omit boilerplate text like "pro:" unless it was written by the reviewer.
Declaration
public RepeatedField<string> Pros { get; }
Property Value
Type | Description |
---|---|
Repeated |
PublisherFavicon
Optional. A link to the company favicon of the publisher. The image dimensions should be favicon size: 16x16 pixels. The image format should be GIF, JPG or PNG.
Declaration
public string PublisherFavicon { get; set; }
Property Value
Type | Description |
---|---|
string |
PublisherName
Optional. The name of the publisher of the product reviews.
The information about the publisher, which may be a retailer, manufacturer, reviews service company, or any entity that publishes product reviews.
Declaration
public string PublisherName { get; set; }
Property Value
Type | Description |
---|---|
string |
Rating
Optional. The reviewer's overall rating of the product.
Declaration
public double Rating { get; set; }
Property Value
Type | Description |
---|---|
double |
ReviewCountry
Optional. The country of the review defined by ISO 3166-1 Alpha-2 Country Code.
Declaration
public string ReviewCountry { get; set; }
Property Value
Type | Description |
---|---|
string |
ReviewLanguage
Optional. The language of the review defined by BCP-47 language code.
Declaration
public string ReviewLanguage { get; set; }
Property Value
Type | Description |
---|---|
string |
ReviewLink
Optional. The URI of the review landing page.
Declaration
public ProductReviewAttributes.Types.ReviewLink ReviewLink { get; set; }
Property Value
Type | Description |
---|---|
Product |
ReviewTime
Required. The timestamp indicating when the review was written.
Declaration
public Timestamp ReviewTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |
ReviewerId
Optional. The author of the product review.
A permanent, unique identifier for the author of the review in the publisher's system.
Declaration
public string ReviewerId { get; set; }
Property Value
Type | Description |
---|---|
string |
ReviewerImageLinks
Optional. A URI to an image of the reviewed product created by the review author. The URI does not have to end with an image file extension.
Declaration
public RepeatedField<string> ReviewerImageLinks { get; }
Property Value
Type | Description |
---|---|
Repeated |
ReviewerIsAnonymous
Optional. Set to true if the reviewer should remain anonymous.
Declaration
public bool ReviewerIsAnonymous { get; set; }
Property Value
Type | Description |
---|---|
bool |
ReviewerUsername
Optional. The name of the reviewer of the product review.
Declaration
public string ReviewerUsername { get; set; }
Property Value
Type | Description |
---|---|
string |
Skus
Optional. Contains SKUs (stock keeping units) associated with a product. Often this matches the product Offer Id in the product feed.
Declaration
public RepeatedField<string> Skus { get; }
Property Value
Type | Description |
---|---|
Repeated |
SubclientName
Optional. The name of the subclient of the product reviews.
The subclient is an identifier of the product review source. It should be equivalent to the directory provided in the file data source path.
Declaration
public string SubclientName { get; set; }
Property Value
Type | Description |
---|---|
string |
Title
Optional. The title of the review.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
TransactionId
Optional. A permanent, unique identifier for the transaction associated with the review in the publisher's system. This ID can be used to indicate that multiple reviews are associated with the same transaction.
Declaration
public string TransactionId { get; set; }
Property Value
Type | Description |
---|---|
string |