Class: Google::Apis::SecuresourcemanagerV1::Comment
- Inherits:
-
Object
- Object
- Google::Apis::SecuresourcemanagerV1::Comment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securesourcemanager_v1/classes.rb,
lib/google/apis/securesourcemanager_v1/representations.rb,
lib/google/apis/securesourcemanager_v1/representations.rb
Overview
The general pull request comment.
Instance Attribute Summary collapse
-
#body ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Comment
constructor
A new instance of Comment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Comment
Returns a new instance of Comment.
491 492 493 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 491 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body ⇒ String
Required. The comment body.
Corresponds to the JSON property body
489 490 491 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 489 def body @body end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
496 497 498 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 496 def update!(**args) @body = args[:body] if args.key?(:body) end |