Class: Google::Apis::ChatV1::DriveDataRef

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

A reference to the data of a drive attachment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DriveDataRef

Returns a new instance of DriveDataRef.



1008
1009
1010
# File 'lib/google/apis/chat_v1/classes.rb', line 1008

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#drive_file_idString

The ID for the drive file. Use with the Drive API. Corresponds to the JSON property driveFileId

Returns:

  • (String)


1006
1007
1008
# File 'lib/google/apis/chat_v1/classes.rb', line 1006

def drive_file_id
  @drive_file_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1013
1014
1015
# File 'lib/google/apis/chat_v1/classes.rb', line 1013

def update!(**args)
  @drive_file_id = args[:drive_file_id] if args.key?(:drive_file_id)
end