Cloud Storage API v1beta2 (revision 1)



com.google.api.services.storage.model
Class Bucket.Versioning

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.storage.model.Bucket.Versioning
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Bucket

public static final class Bucket.Versioning
extends GenericJson

The bucket's versioning configuration.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Bucket.Versioning()
           
 
Method Summary
 Boolean getEnabled()
          While set to true, versioning is fully enabled for this bucket.
 Bucket.Versioning setEnabled(Boolean enabled)
          While set to true, versioning is fully enabled for this bucket.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bucket.Versioning

public Bucket.Versioning()
Method Detail

getEnabled

public Boolean getEnabled()
While set to true, versioning is fully enabled for this bucket. The value returned may be null.


setEnabled

public Bucket.Versioning setEnabled(Boolean enabled)
While set to true, versioning is fully enabled for this bucket. The value set may be null.