|  |  | 
google.appengine.ext.db.Property(__builtin__.object)
CredentialsProperty
FlowProperty
oauth2client.client.Storage(__builtin__.object)
StorageByKeyName
 
 
| class CredentialsProperty(google.appengine.ext.db.Property)
 |  |  | App Engine datastore Property for Credentials. 
 Utility property that allows easy storage and retrieval of
 oath2client.Credentials
 
 |  |  | Method resolution order:CredentialsPropertygoogle.appengine.ext.db.Property__builtin__.object
 Methods defined here:
 
 empty(self, value)
 get_value_for_datastore(self, model_instance)# For writing to datastore.
 make_value_from_datastore(self, value)# For reading from datastore.
 validate(self, value)
 Data and other attributes defined here:
 
 data_type = <class 'oauth2client.client.Credentials'>Base class for all Credentials objects.
 Subclasses must define an authorize() method
 that applies the credentials to an HTTP transport.
 Methods inherited from google.appengine.ext.db.Property:
 
 __get__(self, model_instance, model_class)Returns the value for this property on the given model instance.
 See http://docs.python.org/ref/descriptors.html for a description of
 the arguments to this class and what they mean.
 __init__(self, verbose_name=None, name=None, default=None, required=False, validator=None, choices=None, indexed=True)Initializes this Property with the given options.
 Args:
 verbose_name: User friendly name of property.
 name: Storage name for property.  By default, uses attribute name
 as it is assigned in the Model sub-class.
 default: Default value for property if none is assigned.
 required: Whether property is required.
 validator: User provided method used for validation.
 choices: User provided set of valid property values.
 indexed: Whether property is indexed.
 __property_config__(self, model_class, property_name)Configure property, connecting it to its model.
 Configure the property so that it knows its property name and what class
 it belongs to.
 
 Args:
 model_class: Model class which Property will belong to.
 property_name: Name of property within Model instance to store property
 values in.  By default this will be the property name preceded by
 an underscore, but may change for different subclasses.
 __set__(self, model_instance, value)Sets the value for this property on the given model instance.
 See http://docs.python.org/ref/descriptors.html for a description of
 the arguments to this class and what they mean.
 datastore_type(self)Deprecated backwards-compatible accessor method for self.data_type.
 default_value(self)Default value for unassigned values.
 Returns:
 Default value as provided by __init__(default).
 Data descriptors inherited from google.appengine.ext.db.Property:
 
 __dict__dictionary for instance variables (if defined)
 __weakref__list of weak references to the object (if defined)
 Data and other attributes inherited from google.appengine.ext.db.Property:
 
 creation_counter = 0
 |  
 
| class FlowProperty(google.appengine.ext.db.Property)
 |  |  | App Engine datastore Property for Flow. 
 Utility property that allows easy storage and retreival of an
 oauth2client.Flow
 
 |  |  | Method resolution order:FlowPropertygoogle.appengine.ext.db.Property__builtin__.object
 Methods defined here:
 
 empty(self, value)
 get_value_for_datastore(self, model_instance)# For writing to datastore.
 make_value_from_datastore(self, value)# For reading from datastore.
 validate(self, value)
 Data and other attributes defined here:
 
 data_type = <class 'oauth2client.client.Flow'>Base class for all Flow objects.
 Methods inherited from google.appengine.ext.db.Property:
 
 __get__(self, model_instance, model_class)Returns the value for this property on the given model instance.
 See http://docs.python.org/ref/descriptors.html for a description of
 the arguments to this class and what they mean.
 __init__(self, verbose_name=None, name=None, default=None, required=False, validator=None, choices=None, indexed=True)Initializes this Property with the given options.
 Args:
 verbose_name: User friendly name of property.
 name: Storage name for property.  By default, uses attribute name
 as it is assigned in the Model sub-class.
 default: Default value for property if none is assigned.
 required: Whether property is required.
 validator: User provided method used for validation.
 choices: User provided set of valid property values.
 indexed: Whether property is indexed.
 __property_config__(self, model_class, property_name)Configure property, connecting it to its model.
 Configure the property so that it knows its property name and what class
 it belongs to.
 
 Args:
 model_class: Model class which Property will belong to.
 property_name: Name of property within Model instance to store property
 values in.  By default this will be the property name preceded by
 an underscore, but may change for different subclasses.
 __set__(self, model_instance, value)Sets the value for this property on the given model instance.
 See http://docs.python.org/ref/descriptors.html for a description of
 the arguments to this class and what they mean.
 datastore_type(self)Deprecated backwards-compatible accessor method for self.data_type.
 default_value(self)Default value for unassigned values.
 Returns:
 Default value as provided by __init__(default).
 Data descriptors inherited from google.appengine.ext.db.Property:
 
 __dict__dictionary for instance variables (if defined)
 __weakref__list of weak references to the object (if defined)
 Data and other attributes inherited from google.appengine.ext.db.Property:
 
 creation_counter = 0
 |  
 
| class StorageByKeyName(oauth2client.client.Storage)
 |  |  | Store and retrieve a single credential to and from the App Engine datastore.
 
 This Storage helper presumes the Credentials
 have been stored as a CredenialsProperty
 on a datastore model class, and that entities
 are stored by key_name.
 
 |  |  | Method resolution order:StorageByKeyNameoauth2client.client.Storage__builtin__.object
 Methods defined here:
 
 __init__(self, model, key_name, property_name)Constructor for Storage.
 Args:
 model: db.Model, model class
 key_name: string, key name for the entity that has the credentials
 property_name: string, name of the property that is an CredentialsProperty
 get(self)Retrieve Credential from datastore.
 Returns:
 oauth2client.Credentials
 put(self, credentials)Write a Credentials to the datastore.
 Args:
 credentials: Credentials, the credentials to store.
 Data descriptors inherited from oauth2client.client.Storage:
 
 __dict__dictionary for instance variables (if defined)
 __weakref__list of weak references to the object (if defined)
 |  |