public final class Directory
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
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Directory() |
| Modifier and Type | Method and Description |
|---|---|
Directory |
clone() |
String |
getBucket()
The name of the bucket containing this directory.
|
String |
getId()
The ID of the directory, including the bucket name, directory name.
|
String |
getKind()
The kind of item this is.
|
Long |
getMetageneration()
The version of the metadata for this directory at this generation.
|
String |
getName()
The name of the directory.
|
String |
getSelfLink()
The link to this directory.
|
com.google.api.client.util.DateTime |
getTimeCreated()
The creation time of the directory in RFC 3339 format.
|
com.google.api.client.util.DateTime |
getUpdated()
The modification time of the directory metadata in RFC 3339 format.
|
Directory |
set(String fieldName,
Object value) |
Directory |
setBucket(String bucket)
The name of the bucket containing this directory.
|
Directory |
setId(String id)
The ID of the directory, including the bucket name, directory name.
|
Directory |
setKind(String kind)
The kind of item this is.
|
Directory |
setMetageneration(Long metageneration)
The version of the metadata for this directory at this generation.
|
Directory |
setName(String name)
The name of the directory.
|
Directory |
setSelfLink(String selfLink)
The link to this directory.
|
Directory |
setTimeCreated(com.google.api.client.util.DateTime timeCreated)
The creation time of the directory in RFC 3339 format.
|
Directory |
setUpdated(com.google.api.client.util.DateTime updated)
The modification time of the directory 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 Directory setBucket(String bucket)
bucket - bucket or null for nonepublic String getId()
null for nonepublic Directory setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Directory setKind(String kind)
kind - kind or null for nonepublic Long getMetageneration()
null for nonepublic Directory setMetageneration(Long metageneration)
metageneration - metageneration or null for nonepublic String getName()
null for nonepublic Directory setName(String name)
name - name or null for nonepublic String getSelfLink()
null for nonepublic Directory setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic com.google.api.client.util.DateTime getTimeCreated()
null for nonepublic Directory setTimeCreated(com.google.api.client.util.DateTime timeCreated)
timeCreated - timeCreated or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic Directory setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic Directory set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Directory clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2022. All rights reserved.