Class: Google::Apis::DriveV3::ReplaceReviewer
- Inherits:
-
Object
- Object
- Google::Apis::DriveV3::ReplaceReviewer
- 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 replacement.
Instance Attribute Summary collapse
-
#added_reviewer_email ⇒ String
Required.
-
#removed_reviewer_email ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReplaceReviewer
constructor
A new instance of ReplaceReviewer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReplaceReviewer
Returns a new instance of ReplaceReviewer.
3830 3831 3832 |
# File 'lib/google/apis/drive_v3/classes.rb', line 3830 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
3823 3824 3825 |
# File 'lib/google/apis/drive_v3/classes.rb', line 3823 def added_reviewer_email @added_reviewer_email end |
#removed_reviewer_email ⇒ String
Required. The email of the reviewer to remove.
Corresponds to the JSON property removedReviewerEmail
3828 3829 3830 |
# File 'lib/google/apis/drive_v3/classes.rb', line 3828 def removed_reviewer_email @removed_reviewer_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3835 3836 3837 3838 |
# File 'lib/google/apis/drive_v3/classes.rb', line 3835 def update!(**args) @added_reviewer_email = args[:added_reviewer_email] if args.key?(:added_reviewer_email) @removed_reviewer_email = args[:removed_reviewer_email] if args.key?(:removed_reviewer_email) end |