Cloud Storage API v1beta2 (revision 2)



com.google.api.services.storage.model
Class ComposeRequest.SourceObjects.ObjectPreconditions

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.ComposeRequest.SourceObjects.ObjectPreconditions
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
ComposeRequest.SourceObjects

public static final class ComposeRequest.SourceObjects.ObjectPreconditions
extends GenericJson

Model definition for ComposeRequestSourceObjectsObjectPreconditions.


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
ComposeRequest.SourceObjects.ObjectPreconditions()
           
 
Method Summary
 ComposeRequest.SourceObjects.ObjectPreconditions clone()
           
 Long getIfGenerationMatch()
          Only perform the composition if the generation of the source object that would be used matches this value.
 ComposeRequest.SourceObjects.ObjectPreconditions set(String fieldName, Object value)
           
 ComposeRequest.SourceObjects.ObjectPreconditions setIfGenerationMatch(Long ifGenerationMatch)
          Only perform the composition if the generation of the source object that would be used matches this value.
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, 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

ComposeRequest.SourceObjects.ObjectPreconditions

public ComposeRequest.SourceObjects.ObjectPreconditions()
Method Detail

getIfGenerationMatch

public Long getIfGenerationMatch()
Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail.

Returns:
value or null for none

setIfGenerationMatch

public ComposeRequest.SourceObjects.ObjectPreconditions setIfGenerationMatch(Long ifGenerationMatch)
Only perform the composition if the generation of the source object that would be used matches this value. If this value and a generation are both specified, they must be the same value or the call will fail.

Parameters:
ifGenerationMatch - ifGenerationMatch or null for none

set

public ComposeRequest.SourceObjects.ObjectPreconditions set(String fieldName,
                                                            Object value)
Overrides:
set in class GenericJson

clone

public ComposeRequest.SourceObjects.ObjectPreconditions clone()
Overrides:
clone in class GenericJson