public final class DriveLinkData
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Chat API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DriveLinkData() |
| Modifier and Type | Method and Description |
|---|---|
DriveLinkData |
clone() |
DriveDataRef |
getDriveDataRef()
A [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.mess
ages.attachments#drivedataref) which references a Google Drive file.
|
String |
getMimeType()
The mime type of the linked Google Drive resource.
|
DriveLinkData |
set(String fieldName,
Object value) |
DriveLinkData |
setDriveDataRef(DriveDataRef driveDataRef)
A [DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.mess
ages.attachments#drivedataref) which references a Google Drive file.
|
DriveLinkData |
setMimeType(String mimeType)
The mime type of the linked Google Drive resource.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic DriveDataRef getDriveDataRef()
null for nonepublic DriveLinkData setDriveDataRef(DriveDataRef driveDataRef)
driveDataRef - driveDataRef or null for nonepublic String getMimeType()
null for nonepublic DriveLinkData setMimeType(String mimeType)
mimeType - mimeType or null for nonepublic DriveLinkData set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DriveLinkData clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.