Class: Google::Apis::DriveV3::CommentApprovalRequest
- Inherits:
-
Object
- Object
- Google::Apis::DriveV3::CommentApprovalRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drive_v3/classes.rb,
lib/google/apis/drive_v3/representations.rb,
lib/google/apis/drive_v3/representations.rb
Overview
Request for commenting on an approval.
Instance Attribute Summary collapse
-
#message ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommentApprovalRequest
constructor
A new instance of CommentApprovalRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommentApprovalRequest
Returns a new instance of CommentApprovalRequest.
1116 1117 1118 |
# File 'lib/google/apis/drive_v3/classes.rb', line 1116 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Required. A message to comment on the approval. This message is included in
notifications for the action and in the approval activity log.
Corresponds to the JSON property message
1114 1115 1116 |
# File 'lib/google/apis/drive_v3/classes.rb', line 1114 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1121 1122 1123 |
# File 'lib/google/apis/drive_v3/classes.rb', line 1121 def update!(**args) @message = args[:message] if args.key?(:message) end |