Class: Google::Apis::DriveV3::AddReviewer
- Inherits:
-
Object
- Object
- Google::Apis::DriveV3::AddReviewer
- 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
Representation of a reviewer addition.
Instance Attribute Summary collapse
-
#added_reviewer_email ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddReviewer
constructor
A new instance of AddReviewer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddReviewer
Returns a new instance of AddReviewer.
325 326 327 |
# File 'lib/google/apis/drive_v3/classes.rb', line 325 def initialize(**args) update!(**args) end |
Instance Attribute Details
#added_reviewer_email ⇒ String
Required. The email of the reviewer to add.
Corresponds to the JSON property addedReviewerEmail
323 324 325 |
# File 'lib/google/apis/drive_v3/classes.rb', line 323 def added_reviewer_email @added_reviewer_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
330 331 332 |
# File 'lib/google/apis/drive_v3/classes.rb', line 330 def update!(**args) @added_reviewer_email = args[:added_reviewer_email] if args.key?(:added_reviewer_email) end |