public final class File
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 Apps Script 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 |
|---|
File() |
| Modifier and Type | Method and Description |
|---|---|
File |
clone() |
String |
getCreateTime()
Creation date timestamp.
|
GoogleAppsScriptTypeFunctionSet |
getFunctionSet()
The defined set of functions in the script file, if any.
|
GoogleAppsScriptTypeUser |
getLastModifyUser()
The user who modified the file most recently.
|
String |
getName()
The name of the file.
|
String |
getSource()
The file content.
|
String |
getType()
The type of the file.
|
String |
getUpdateTime()
Last modified date timestamp.
|
File |
set(String fieldName,
Object value) |
File |
setCreateTime(String createTime)
Creation date timestamp.
|
File |
setFunctionSet(GoogleAppsScriptTypeFunctionSet functionSet)
The defined set of functions in the script file, if any.
|
File |
setLastModifyUser(GoogleAppsScriptTypeUser lastModifyUser)
The user who modified the file most recently.
|
File |
setName(String name)
The name of the file.
|
File |
setSource(String source)
The file content.
|
File |
setType(String type)
The type of the file.
|
File |
setUpdateTime(String updateTime)
Last modified date timestamp.
|
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 String getCreateTime()
null for nonepublic File setCreateTime(String createTime)
createTime - createTime or null for nonepublic GoogleAppsScriptTypeFunctionSet getFunctionSet()
null for nonepublic File setFunctionSet(GoogleAppsScriptTypeFunctionSet functionSet)
functionSet - functionSet or null for nonepublic GoogleAppsScriptTypeUser getLastModifyUser()
null for nonepublic File setLastModifyUser(GoogleAppsScriptTypeUser lastModifyUser)
lastModifyUser - lastModifyUser or null for nonepublic String getName()
null for nonepublic File setName(String name)
name - name or null for nonepublic String getSource()
null for nonepublic File setSource(String source)
source - source or null for nonepublic String getType()
null for nonepublic File setType(String type)
type - type or null for nonepublic String getUpdateTime()
null for nonepublic File setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic File set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic File clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.