Google Apps Chat V1 Client - Class DriveDataRef (0.7.1)

Reference documentation and code samples for the Google Apps Chat V1 Client class DriveDataRef.

A reference to the data of a drive attachment.

Generated from protobuf message google.chat.v1.DriveDataRef

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ drive_file_id string

The ID for the drive file. Use with the Drive API.

getDriveFileId

The ID for the drive file. Use with the Drive API.

Returns
Type Description
string

setDriveFileId

The ID for the drive file. Use with the Drive API.

Parameter
Name Description
var string
Returns
Type Description
$this