Class: Google::Apis::SecuresourcemanagerV1::Review
- Inherits:
-
Object
- Object
- Google::Apis::SecuresourcemanagerV1::Review
- 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 review summary comment.
Instance Attribute Summary collapse
-
#action_type ⇒ String
Required.
-
#body ⇒ String
Optional.
-
#effective_commit_sha ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Review
constructor
A new instance of Review.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Review
Returns a new instance of Review.
2063 2064 2065 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 2063 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_type ⇒ String
Required. The review action type.
Corresponds to the JSON property actionType
2051 2052 2053 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 2051 def action_type @action_type end |
#body ⇒ String
Optional. The comment body.
Corresponds to the JSON property body
2056 2057 2058 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 2056 def body @body end |
#effective_commit_sha ⇒ String
Output only. The effective commit sha this review is pointing to.
Corresponds to the JSON property effectiveCommitSha
2061 2062 2063 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 2061 def effective_commit_sha @effective_commit_sha end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2068 2069 2070 2071 2072 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 2068 def update!(**args) @action_type = args[:action_type] if args.key?(:action_type) @body = args[:body] if args.key?(:body) @effective_commit_sha = args[:effective_commit_sha] if args.key?(:effective_commit_sha) end |