class Google::Apis::DriveV2::Comment::Context
The context of the file which is being commented on.
Attributes
type[RW]
The MIME type of the context snippet. Corresponds to the JSON property `type` @return [String]
value[RW]
Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about. Corresponds to the JSON property `value` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/drive_v2/classes.rb, line 1164 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/drive_v2/classes.rb, line 1169 def update!(**args) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end