public final class Project
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Project() |
Modifier and Type | Method and Description |
---|---|
Project |
clone() |
String |
getCreateTime()
When the script was created.
|
GoogleAppsScriptTypeUser |
getCreator()
User who originally created the script.
|
GoogleAppsScriptTypeUser |
getLastModifyUser()
User who last modified the script.
|
String |
getParentId()
The parent's Drive ID that the script will be attached to.
|
String |
getScriptId()
The script project's Drive ID.
|
String |
getTitle()
The title for the project.
|
String |
getUpdateTime()
When the script was last updated.
|
Project |
set(String fieldName,
Object value) |
Project |
setCreateTime(String createTime)
When the script was created.
|
Project |
setCreator(GoogleAppsScriptTypeUser creator)
User who originally created the script.
|
Project |
setLastModifyUser(GoogleAppsScriptTypeUser lastModifyUser)
User who last modified the script.
|
Project |
setParentId(String parentId)
The parent's Drive ID that the script will be attached to.
|
Project |
setScriptId(String scriptId)
The script project's Drive ID.
|
Project |
setTitle(String title)
The title for the project.
|
Project |
setUpdateTime(String updateTime)
When the script was last updated.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCreateTime()
null
for nonepublic Project setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic GoogleAppsScriptTypeUser getCreator()
null
for nonepublic Project setCreator(GoogleAppsScriptTypeUser creator)
creator
- creator or null
for nonepublic GoogleAppsScriptTypeUser getLastModifyUser()
null
for nonepublic Project setLastModifyUser(GoogleAppsScriptTypeUser lastModifyUser)
lastModifyUser
- lastModifyUser or null
for nonepublic String getParentId()
null
for nonepublic Project setParentId(String parentId)
parentId
- parentId or null
for nonepublic String getScriptId()
null
for nonepublic Project setScriptId(String scriptId)
scriptId
- scriptId or null
for nonepublic String getTitle()
null
for nonepublic Project setTitle(String title)
title
- title or null
for nonepublic String getUpdateTime()
null
for nonepublic Project setUpdateTime(String updateTime)
updateTime
- updateTime or null
for nonepublic Project set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Project clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.