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.
964 965 966 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 964 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
957 958 959 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 957 def link @link end |
#type ⇒ String
Optional. Type of the review URI.
Corresponds to the JSON property type
962 963 964 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 962 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
969 970 971 972 |
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 969 def update!(**args) @link = args[:link] if args.key?(:link) @type = args[:type] if args.key?(:type) end |