Class: Google::Apis::MerchantapiReviewsV1beta::ReviewLink
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiReviewsV1beta::ReviewLink
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_reviews_v1beta/classes.rb,
lib/google/apis/merchantapi_reviews_v1beta/representations.rb,
lib/google/apis/merchantapi_reviews_v1beta/representations.rb
Overview
The URI of the review landing page.
Instance Attribute Summary collapse
-
#link ⇒ String
Optional.
-
#type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReviewLink
constructor
A new instance of ReviewLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReviewLink
Returns a new instance of ReviewLink.
932 933 934 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 932 def initialize(**args) update!(**args) end |
Instance Attribute Details
#link ⇒ String
Optional. The URI of the review landing page. For example: http://www.example.
com/review_5.html
.
Corresponds to the JSON property link
925 926 927 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 925 def link @link end |
#type ⇒ String
Optional. Type of the review URI.
Corresponds to the JSON property type
930 931 932 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 930 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
937 938 939 940 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 937 def update!(**args) @link = args[:link] if args.key?(:link) @type = args[:type] if args.key?(:type) end |