Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1IssueAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1IssueAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/playdeveloperreporting_v1beta1/classes.rb,
lib/google/apis/playdeveloperreporting_v1beta1/representations.rb,
lib/google/apis/playdeveloperreporting_v1beta1/representations.rb
Overview
Representation of an annotation message for an issue.
Instance Attribute Summary collapse
-
#body ⇒ String
Contains the contents of the annotation message.
-
#category ⇒ String
Category that the annotation belongs to.
-
#title ⇒ String
Title for the annotation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1IssueAnnotation
constructor
A new instance of GooglePlayDeveloperReportingV1beta1IssueAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1IssueAnnotation
Returns a new instance of GooglePlayDeveloperReportingV1beta1IssueAnnotation.
879 880 881 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 879 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body ⇒ String
Contains the contents of the annotation message.
Corresponds to the JSON property body
866 867 868 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 866 def body @body end |
#category ⇒ String
Category that the annotation belongs to. An annotation will belong to a single
category. Example categories: "Potential fix", "Insight".
Corresponds to the JSON property category
872 873 874 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 872 def category @category end |
#title ⇒ String
Title for the annotation.
Corresponds to the JSON property title
877 878 879 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 877 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
884 885 886 887 888 |
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 884 def update!(**args) @body = args[:body] if args.key?(:body) @category = args[:category] if args.key?(:category) @title = args[:title] if args.key?(:title) end |