Class: Google::Apis::DriveV3::ReplaceReviewer

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_emailString

Required. The email of the reviewer to add. Corresponds to the JSON property addedReviewerEmail

Returns:

  • (String)


3823
3824
3825
# File 'lib/google/apis/drive_v3/classes.rb', line 3823

def added_reviewer_email
  @added_reviewer_email
end

#removed_reviewer_emailString

Required. The email of the reviewer to remove. Corresponds to the JSON property removedReviewerEmail

Returns:

  • (String)


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