Class: Google::Apis::AndroidpublisherV2::Review
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV2::Review
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidpublisher_v2/classes.rb,
generated/google/apis/androidpublisher_v2/representations.rb,
generated/google/apis/androidpublisher_v2/representations.rb
Instance Attribute Summary collapse
-
#author_name ⇒ String
The name of the user who wrote the review.
-
#comments ⇒ Array<Google::Apis::AndroidpublisherV2::Comment>
A repeated field containing comments for the review.
-
#review_id ⇒ String
Unique identifier for this review.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Review
constructor
A new instance of Review.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Review
Returns a new instance of Review.
1231 1232 1233 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1231 def initialize(**args) update!(**args) end |
Instance Attribute Details
#author_name ⇒ String
The name of the user who wrote the review.
Corresponds to the JSON property authorName
1219 1220 1221 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1219 def @author_name end |
#comments ⇒ Array<Google::Apis::AndroidpublisherV2::Comment>
A repeated field containing comments for the review.
Corresponds to the JSON property comments
1224 1225 1226 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1224 def comments @comments end |
#review_id ⇒ String
Unique identifier for this review.
Corresponds to the JSON property reviewId
1229 1230 1231 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1229 def review_id @review_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1236 1237 1238 1239 1240 |
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1236 def update!(**args) @author_name = args[:author_name] if args.key?(:author_name) @comments = args[:comments] if args.key?(:comments) @review_id = args[:review_id] if args.key?(:review_id) end |