public final class Folder
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 Cloud Storage JSON API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
Folder.PendingRenameInfo
Only present if the folder is part of an ongoing rename folder operation.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Folder() |
| Modifier and Type | Method and Description |
|---|---|
Folder |
clone() |
String |
getBucket()
The name of the bucket containing this folder.
|
com.google.api.client.util.DateTime |
getCreateTime()
The creation time of the folder in RFC 3339 format.
|
String |
getId()
The ID of the folder, including the bucket name, folder name.
|
String |
getKind()
The kind of item this is.
|
Long |
getMetageneration()
The version of the metadata for this folder.
|
String |
getName()
The name of the folder.
|
Folder.PendingRenameInfo |
getPendingRenameInfo()
Only present if the folder is part of an ongoing rename folder operation.
|
String |
getSelfLink()
The link to this folder.
|
com.google.api.client.util.DateTime |
getUpdateTime()
The modification time of the folder metadata in RFC 3339 format.
|
Folder |
set(String fieldName,
Object value) |
Folder |
setBucket(String bucket)
The name of the bucket containing this folder.
|
Folder |
setCreateTime(com.google.api.client.util.DateTime createTime)
The creation time of the folder in RFC 3339 format.
|
Folder |
setId(String id)
The ID of the folder, including the bucket name, folder name.
|
Folder |
setKind(String kind)
The kind of item this is.
|
Folder |
setMetageneration(Long metageneration)
The version of the metadata for this folder.
|
Folder |
setName(String name)
The name of the folder.
|
Folder |
setPendingRenameInfo(Folder.PendingRenameInfo pendingRenameInfo)
Only present if the folder is part of an ongoing rename folder operation.
|
Folder |
setSelfLink(String selfLink)
The link to this folder.
|
Folder |
setUpdateTime(com.google.api.client.util.DateTime updateTime)
The modification time of the folder metadata in RFC 3339 format.
|
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 getBucket()
null for nonepublic Folder setBucket(String bucket)
bucket - bucket or null for nonepublic com.google.api.client.util.DateTime getCreateTime()
null for nonepublic Folder setCreateTime(com.google.api.client.util.DateTime createTime)
createTime - createTime or null for nonepublic String getId()
null for nonepublic Folder setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Folder setKind(String kind)
kind - kind or null for nonepublic Long getMetageneration()
null for nonepublic Folder setMetageneration(Long metageneration)
metageneration - metageneration or null for nonepublic String getName()
null for nonepublic Folder setName(String name)
name - name or null for nonepublic Folder.PendingRenameInfo getPendingRenameInfo()
null for nonepublic Folder setPendingRenameInfo(Folder.PendingRenameInfo pendingRenameInfo)
pendingRenameInfo - pendingRenameInfo or null for nonepublic String getSelfLink()
null for nonepublic Folder setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic com.google.api.client.util.DateTime getUpdateTime()
null for nonepublic Folder setUpdateTime(com.google.api.client.util.DateTime updateTime)
updateTime - updateTime or null for nonepublic Folder set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Folder clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.