Class: Google::Shopping::Merchant::Reviews::V1beta::MerchantReviewAttributes
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Reviews::V1beta::MerchantReviewAttributes
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb
Overview
Attributes.
Defined Under Namespace
Modules: CollectionMethod
Instance Attribute Summary collapse
-
#collection_method ⇒ ::Google::Shopping::Merchant::Reviews::V1beta::MerchantReviewAttributes::CollectionMethod
Optional.
-
#content ⇒ ::String
Required.
-
#is_anonymous ⇒ ::Boolean
Optional.
-
#max_rating ⇒ ::Integer
Optional.
-
#merchant_display_name ⇒ ::String
Optional.
-
#merchant_id ⇒ ::String
Required.
-
#merchant_link ⇒ ::String
Optional.
-
#merchant_rating_link ⇒ ::String
Optional.
-
#min_rating ⇒ ::Integer
Optional.
-
#rating ⇒ ::Float
Optional.
-
#review_country ⇒ ::String
Optional.
-
#review_language ⇒ ::String
Optional.
-
#review_time ⇒ ::Google::Protobuf::Timestamp
Required.
-
#reviewer_id ⇒ ::String
Optional.
-
#reviewer_username ⇒ ::String
Optional.
-
#title ⇒ ::String
Optional.
Instance Attribute Details
#collection_method ⇒ ::Google::Shopping::Merchant::Reviews::V1beta::MerchantReviewAttributes::CollectionMethod
Returns Optional. The method used to collect the review.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#content ⇒ ::String
Returns Required. This should be any freeform text provided by the user and should not be truncated. If multiple responses to different questions are provided, all responses should be included, with the minimal context for the responses to make sense. Context should not be provided if questions were left unanswered.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#is_anonymous ⇒ ::Boolean
Returns Optional. Set to true if the reviewer should remain anonymous.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#max_rating ⇒ ::Integer
Returns Optional. The maximum possible number for the rating. The value of the max rating must be greater than the value of the min rating.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#merchant_display_name ⇒ ::String
Returns Optional. Human-readable display name for the merchant.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#merchant_id ⇒ ::String
Returns Required. Must be unique and stable across all requests. In other words, if a request today and another 90 days ago refer to the same merchant, they must have the same id.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#merchant_link ⇒ ::String
Returns Optional. URL to the merchant's main website. Do not use a redirect URL for this value. In other words, the value should point directly to the merchant's site.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#merchant_rating_link ⇒ ::String
Returns Optional. URL to the landing page that hosts the reviews for this merchant. Do not use a redirect URL.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#min_rating ⇒ ::Integer
Returns Optional. The minimum possible number for the rating. This should be the worst possible rating and should not be a value for no rating.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#rating ⇒ ::Float
Returns Optional. The reviewer's overall rating of the merchant.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#review_country ⇒ ::String
Returns Optional. The country where the reviewer made the order defined by ISO 3166-1 Alpha-2 Country Code.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#review_language ⇒ ::String
Returns Optional. The language of the review defined by BCP-47 language code.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#review_time ⇒ ::Google::Protobuf::Timestamp
Returns Required. The timestamp indicating when the review was written.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#reviewer_id ⇒ ::String
Returns Optional. A permanent, unique identifier for the author of the review in the publisher's system.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#reviewer_username ⇒ ::String
Returns Optional. Display name of the review author.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |
#title ⇒ ::String
Returns Optional. The title of the review.
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'proto_docs/google/shopping/merchant/reviews/v1beta/merchantreviews_common.rb', line 87 class MerchantReviewAttributes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The method used to collect the review. module CollectionMethod # Collection method unspecified. COLLECTION_METHOD_UNSPECIFIED = 0 # The user was not responding to a specific solicitation when they # submitted the review. MERCHANT_UNSOLICITED = 1 # The user submitted the review in response to a solicitation when the # user placed an order. POINT_OF_SALE = 2 # The user submitted the review in response to a solicitation after # fulfillment of the user's order. AFTER_FULFILLMENT = 3 end end |