Class: Google::Apis::SecuresourcemanagerV1::IssueComment
- Inherits:
-
Object
- Object
- Google::Apis::SecuresourcemanagerV1::IssueComment
- 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
IssueComment represents a comment on an issue.
Instance Attribute Summary collapse
-
#body ⇒ String
Required.
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IssueComment
constructor
A new instance of IssueComment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IssueComment
Returns a new instance of IssueComment.
1112 1113 1114 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 1112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body ⇒ String
Required. The comment body.
Corresponds to the JSON property body
1093 1094 1095 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 1093 def body @body end |
#create_time ⇒ String
Output only. Creation timestamp.
Corresponds to the JSON property createTime
1098 1099 1100 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 1098 def create_time @create_time end |
#name ⇒ String
Identifier. Unique identifier for an issue comment. The comment id is
generated by the server. Format: projects/project/locations/location/
repositories/repository/issues/issue/issueComments/comment_id`
Corresponds to the JSON propertyname`
1105 1106 1107 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 1105 def name @name end |
#update_time ⇒ String
Output only. Last updated timestamp.
Corresponds to the JSON property updateTime
1110 1111 1112 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 1110 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1117 1118 1119 1120 1121 1122 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 1117 def update!(**args) @body = args[:body] if args.key?(:body) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |