Class: Google::Apis::ChatV1::DriveDataRef
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::DriveDataRef
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/chat_v1/classes.rb,
generated/google/apis/chat_v1/representations.rb,
generated/google/apis/chat_v1/representations.rb
Overview
A reference to the data of a drive attachment.
Instance Attribute Summary collapse
-
#drive_file_id ⇒ String
The id for the drive file, for use with the Drive API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DriveDataRef
constructor
A new instance of DriveDataRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DriveDataRef
Returns a new instance of DriveDataRef.
425 426 427 |
# File 'generated/google/apis/chat_v1/classes.rb', line 425 def initialize(**args) update!(**args) end |
Instance Attribute Details
#drive_file_id ⇒ String
The id for the drive file, for use with the Drive API.
Corresponds to the JSON property driveFileId
423 424 425 |
# File 'generated/google/apis/chat_v1/classes.rb', line 423 def drive_file_id @drive_file_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
430 431 432 |
# File 'generated/google/apis/chat_v1/classes.rb', line 430 def update!(**args) @drive_file_id = args[:drive_file_id] if args.key?(:drive_file_id) end |