diff --git a/_modules/gcloud/datastore/__init__.html b/_modules/gcloud/datastore/__init__.html index bde6d81423f5..15c1635be34a 100644 --- a/_modules/gcloud/datastore/__init__.html +++ b/_modules/gcloud/datastore/__init__.html @@ -85,10 +85,10 @@

Source code for gcloud.datastore.__init__

 
 You'll typically use these to get started with the API:
 
->>> import gcloud.datastore
->>> dataset = gcloud.datastore.get_dataset('dataset-id-here',
-                                          'long-email@googleapis.com',
-                                          '/path/to/private.key')
+>>> from gcloud import datastore
+>>> dataset = datastore.get_dataset('dataset-id-here',
+...                                 'long-email@googleapis.com',
+...                                 '/path/to/private.key')
 >>> # Then do other things...
 >>> query = dataset.query().kind('EntityKind')
 >>> entity = dataset.entity('EntityKind')
@@ -129,8 +129,8 @@ 

Source code for gcloud.datastore.__init__

   Use this if you are going to access several datasets
   with the same set of credentials (unlikely):
 
-  >>> import gcloud.datastore
-  >>> connection = gcloud.datastore.get_connection(email, key_path)
+  >>> from gcloud import datastore
+  >>> connection = datastore.get_connection(email, key_path)
   >>> dataset1 = connection.dataset('dataset1')
   >>> dataset2 = connection.dataset('dataset2')
 
@@ -157,8 +157,8 @@ 

Source code for gcloud.datastore.__init__

 
   You'll generally use this as the first call to working with the API:
 
-  >>> import gcloud.datastore
-  >>> dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
+  >>> from gcloud import datastore
+  >>> dataset = datastore.get_dataset('dataset-id', email, key_path)
   >>> # Now you can do things with the dataset.
   >>> dataset.query().kind('TestKind').fetch()
   [...]
diff --git a/_modules/gcloud/datastore/connection.html b/_modules/gcloud/datastore/connection.html
index 3bfffe4d7d43..21b63a0c5a30 100644
--- a/_modules/gcloud/datastore/connection.html
+++ b/_modules/gcloud/datastore/connection.html
@@ -278,8 +278,8 @@ 

Source code for gcloud.datastore.connection

     Under the hood, the :class:`gcloud.datastore.query.Query` class
     uses this method to fetch data:
 
-    >>> import gcloud.datastore
-    >>> connection = gcloud.datastore.get_connection(email, key_path)
+    >>> from gcloud import datastore
+    >>> connection = datastore.get_connection(email, key_path)
     >>> dataset = connection.dataset('dataset-id')
     >>> query = dataset.query().kind('MyKind').filter('property =', 'value')
 
@@ -321,9 +321,9 @@ 

Source code for gcloud.datastore.connection

     and is used under the hood for methods like
     :func:`gcloud.datastore.dataset.Dataset.get_entity`:
 
-    >>> import gcloud.datastore
+    >>> from gcloud import datastore
     >>> from gcloud.datastore.key import Key
-    >>> connection = gcloud.datastore.get_connection(email, key_path)
+    >>> connection = datastore.get_connection(email, key_path)
     >>> dataset = connection.dataset('dataset-id')
     >>> key = Key(dataset=dataset).kind('MyKind').id(1234)
 
diff --git a/_modules/gcloud/datastore/query.html b/_modules/gcloud/datastore/query.html
index 7f6bd62c7835..4c9671bff4b7 100644
--- a/_modules/gcloud/datastore/query.html
+++ b/_modules/gcloud/datastore/query.html
@@ -114,8 +114,8 @@ 

Source code for gcloud.datastore.query

   which generates a query that can be executed
   without any additional work::
 
-    >>> import gcloud.datastore
-    >>> dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
+    >>> from gcloud import datastore
+    >>> dataset = datastore.get_dataset('dataset-id', email, key_path)
     >>> query = dataset.query('MyKind')
 
   :type kind: string
@@ -300,8 +300,8 @@ 

Source code for gcloud.datastore.query

 
     For example::
 
-      >>> import gcloud.datastore
-      >>> dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
+      >>> from gcloud import datastore
+      >>> dataset = datastore.get_dataset('dataset-id', email, key_path)
       >>> query = dataset.query('Person').filter('name =', 'Sally')
       >>> query.fetch()
       [<Entity object>, <Entity object>, ...]
diff --git a/_modules/gcloud/datastore/transaction.html b/_modules/gcloud/datastore/transaction.html
index e1a1cc2725d9..03a28ed250dd 100644
--- a/_modules/gcloud/datastore/transaction.html
+++ b/_modules/gcloud/datastore/transaction.html
@@ -98,22 +98,22 @@ 

Source code for gcloud.datastore.transaction

  (either ``insert_auto_id`` or ``upsert``)
   into the same mutation, and execute those within a transaction::
 
-    import gcloud.datastore
-    dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
-    with dataset.transaction(bulk_mutation=True)  # The default.
-      entity1.save()
-      entity2.save()
+    >>> from gcloud import datastore
+    >>> dataset = datastore.get_dataset('dataset-id', email, key_path)
+    >>> with dataset.transaction(bulk_mutation=True)  # The default.
+    ...   entity1.save()
+    ...   entity2.save()
 
   To rollback a transaction if there is an error::
 
-    import gcloud.datastore
-    dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
-    with dataset.transaction() as t:
-      try:
-        do_some_work()
-        entity1.save()
-      except:
-        t.rollback()
+    >>> from gcloud import datastore
+    >>> dataset = datastore.get_dataset('dataset-id', email, key_path)
+    >>> with dataset.transaction() as t:
+    ...   try:
+    ...     do_some_work()
+    ...     entity1.save()
+    ...   except:
+    ...     t.rollback()
 
   If the transaction isn't rolled back,
   it will commit by default.
@@ -125,8 +125,8 @@ 

Source code for gcloud.datastore.transaction

    That means,
     if you try::
 
-      with dataset.transaction():
-        entity = dataset.entity('Thing').save()
+      >>> with dataset.transaction():
+      ...   entity = dataset.entity('Thing').save()
 
     ``entity`` won't have a complete Key
     until the transaction is committed.
@@ -135,12 +135,11 @@ 

Source code for gcloud.datastore.transaction

    the automatically generated ID will be assigned
     to the entity::
 
-      with dataset.transaction():
-        entity = dataset.entity('Thing')
-        entity.save()
-        assert entity.key().is_partial()  # There is no ID on this key.
-
-      assert not entity.key().is_partial()  # There *is* an ID on this key.
+      >>> with dataset.transaction():
+      ...   entity = dataset.entity('Thing')
+      ...   entity.save()
+      ...   assert entity.key().is_partial()  # There is no ID on this key.
+      >>> assert not entity.key().is_partial()  # There *is* an ID on this key.
 
   .. warning::
     If you're using the automatically generated ID functionality,
@@ -156,16 +155,16 @@ 

Source code for gcloud.datastore.transaction

  If you don't want to use the context manager
   you can initialize a transaction manually::
 
-    transaction = dataset.transaction()
-    transaction.begin()
+    >>> transaction = dataset.transaction()
+    >>> transaction.begin()
 
-    entity = dataset.entity('Thing')
-    entity.save()
+    >>> entity = dataset.entity('Thing')
+    >>> entity.save()
 
-    if error:
-      transaction.rollback()
-    else:
-      transaction.commit()
+    >>> if error:
+    ...   transaction.rollback()
+    ... else:
+    ...   transaction.commit()
 
   For now,
   this library will enforce a rule of
@@ -178,31 +177,31 @@ 

Source code for gcloud.datastore.transaction

  For example, this is perfectly valid::
 
-    import gcloud.datastore
-    dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
-    with dataset.transaction():
-      dataset.entity('Thing').save()
+    >>> from gcloud import datastore
+    >>> dataset = datastore.get_dataset('dataset-id', email, key_path)
+    >>> with dataset.transaction():
+    ...   dataset.entity('Thing').save()
 
   However, this **wouldn't** be acceptable::
 
-    import gcloud.datastore
-    dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
-    with dataset.transaction():
-      dataset.entity('Thing').save()
-      with dataset.transaction():
-        dataset.entity('Thing').save()
+    >>> from gcloud import datastore
+    >>> dataset = datastore.get_dataset('dataset-id', email, key_path)
+    >>> with dataset.transaction():
+    ...   dataset.entity('Thing').save()
+    ...   with dataset.transaction():
+    ...     dataset.entity('Thing').save()
 
   Technically, it looks like the Protobuf API supports this type of pattern,
   however it makes the code particularly messy.
   If you really need to nest transactions, try::
 
-    import gcloud.datastore
-    dataset1 = gcloud.datastore.get_dataset('dataset-id', email, key_path)
-    dataset2 = gcloud.datastore.get_dataset('dataset-id', email, key_path)
-    with dataset1.transaction():
-      dataset1.entity('Thing').save()
-      with dataset2.transaction():
-        dataset2.entity('Thing').save()
+    >>> from gcloud import datastore
+    >>> dataset1 = datastore.get_dataset('dataset-id', email, key_path)
+    >>> dataset2 = datastore.get_dataset('dataset-id', email, key_path)
+    >>> with dataset1.transaction():
+    ...   dataset1.entity('Thing').save()
+    ...   with dataset2.transaction():
+    ...     dataset2.entity('Thing').save()
 
   :type dataset: :class:`gcloud.datastore.dataset.Dataset`
   :param dataset: The dataset to which this :class:`Transaction` belongs.
diff --git a/_modules/index.html b/_modules/index.html
index dccd096401dd..7295e6c92453 100644
--- a/_modules/index.html
+++ b/_modules/index.html
@@ -84,7 +84,6 @@ 

All modules for which code is available

  • gcloud.credentials
  • gcloud.datastore.__init__
  • gcloud.datastore.connection
  • -
  • gcloud.datastore.credentials
  • gcloud.datastore.dataset
  • gcloud.datastore.entity
  • gcloud.datastore.helpers
  • diff --git a/_sources/datastore-api.txt b/_sources/datastore-api.txt index 157e9d7beba2..93a042eb1651 100644 --- a/_sources/datastore-api.txt +++ b/_sources/datastore-api.txt @@ -17,14 +17,6 @@ Connections :undoc-members: :show-inheritance: -Credentials ------------ - -.. automodule:: gcloud.datastore.credentials - :members: - :undoc-members: - :show-inheritance: - Datasets -------- diff --git a/datastore-api.html b/datastore-api.html index 42b817942f82..09cfba8ed745 100644 --- a/datastore-api.html +++ b/datastore-api.html @@ -67,7 +67,6 @@

    gcloud 0.1 documentation

  • Cloud Datastore
    • gcloud.datastore
    • Connections
    • -
    • Credentials
    • Datasets
    • Entities
    • Keys
    • @@ -105,10 +104,10 @@

      Cloud Datastore

      gcloud.datastore

      Shortcut methods for getting set up with Google Cloud Datastore.

      You’ll typically use these to get started with the API:

      -
      >>> import gcloud.datastore
      ->>> dataset = gcloud.datastore.get_dataset('dataset-id-here',
      -                                          'long-email@googleapis.com',
      -                                          '/path/to/private.key')
      +
      >>> from gcloud import datastore
      +>>> dataset = datastore.get_dataset('dataset-id-here',
      +...                                 'long-email@googleapis.com',
      +...                                 '/path/to/private.key')
       >>> # Then do other things...
       >>> query = dataset.query().kind('EntityKind')
       >>> entity = dataset.entity('EntityKind')
      @@ -143,8 +142,8 @@ 

      Cloud Datastore
      >>> import gcloud.datastore
      ->>> connection = gcloud.datastore.get_connection(email, key_path)
      +
      >>> from gcloud import datastore
      +>>> connection = datastore.get_connection(email, key_path)
       >>> dataset1 = connection.dataset('dataset1')
       >>> dataset2 = connection.dataset('dataset2')
       
      @@ -176,8 +175,8 @@

      Cloud Datastoregcloud.datastore.__init__.get_dataset(dataset_id, client_email, private_key_path)[source]

      Shortcut method to establish a connection to a particular dataset in the Cloud Datastore.

      You’ll generally use this as the first call to working with the API:

      -
      >>> import gcloud.datastore
      ->>> dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
      +
      >>> from gcloud import datastore
      +>>> dataset = datastore.get_dataset('dataset-id', email, key_path)
       >>> # Now you can do things with the dataset.
       >>> dataset.query().kind('TestKind').fetch()
       [...]
      @@ -365,9 +364,9 @@ 

      Cloud Datastoregcloud.datastore.datastore_v1_pb2.Entity) and is used under the hood for methods like gcloud.datastore.dataset.Dataset.get_entity():

      -
      >>> import gcloud.datastore
      +
      >>> from gcloud import datastore
       >>> from gcloud.datastore.key import Key
      ->>> connection = gcloud.datastore.get_connection(email, key_path)
      +>>> connection = datastore.get_connection(email, key_path)
       >>> dataset = connection.dataset('dataset-id')
       >>> key = Key(dataset=dataset).kind('MyKind').id(1234)
       
      @@ -444,8 +443,8 @@

      Cloud Datastoregcloud.datastore.query.Query.fetch() method.

      Under the hood, the gcloud.datastore.query.Query class uses this method to fetch data:

      -
      >>> import gcloud.datastore
      ->>> connection = gcloud.datastore.get_connection(email, key_path)
      +
      >>> from gcloud import datastore
      +>>> connection = datastore.get_connection(email, key_path)
       >>> dataset = connection.dataset('dataset-id')
       >>> query = dataset.query().kind('MyKind').filter('property =', 'value')
       
      @@ -496,56 +495,11 @@

      Cloud Datastore
      -transaction(transaction=<object object at 0x3b2edc0>)[source]
      +transaction(transaction=<object object at 0x3769dc0>)[source]

      -

      -
      -

      Credentials

      -

      A simple wrapper around the OAuth2 credentials library.

      -
      -
      -class gcloud.datastore.credentials.Credentials
      -

      Bases: object

      -

      An object used to simplify the OAuth2 credentials library.

      -
      -

      Note

      -

      You should not need to use this class directly. -Instead, use the helper methods provided in -gcloud.datastore.__init__.get_connection() -and -gcloud.datastore.__init__.get_dataset() -which use this class under the hood.

      -
      -
      -
      -SCOPE = 'https://www.googleapis.com/auth/datastore https://www.googleapis.com/auth/userinfo.email'
      -
      - -
      -
      -classmethod get_for_service_account(client_email, private_key_path)
      -

      Gets the credentials for a service account.

      - --- - - - -
      Parameters:
        -
      • client_email (string) – The e-mail attached to the service account.
      • -
      • private_key_path (string) – The path to a private key file (this file was -given to you when you created the service -account).
      • -
      -
      -
      - -
      -

      Datasets

      @@ -952,8 +906,8 @@

      Cloud Datastoregcloud.datastore.dataset.Dataset.query() method which generates a query that can be executed without any additional work:

      -
      >>> import gcloud.datastore
      ->>> dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
      +
      >>> from gcloud import datastore
      +>>> dataset = datastore.get_dataset('dataset-id', email, key_path)
       >>> query = dataset.query('MyKind')
       
      @@ -1010,8 +964,8 @@

      Cloud Datastoregcloud.datastore.entity.Entity objects.

      For example:

      -
      >>> import gcloud.datastore
      ->>> dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
      +
      >>> from gcloud import datastore
      +>>> dataset = datastore.get_dataset('dataset-id', email, key_path)
       >>> query = dataset.query('Person').filter('name =', 'Sally')
       >>> query.fetch()
       [<Entity object>, <Entity object>, ...]
      @@ -1168,22 +1122,22 @@ 

      Cloud Datastoresave operations (either insert_auto_id or upsert) into the same mutation, and execute those within a transaction:

      -
      import gcloud.datastore
      -dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
      -with dataset.transaction(bulk_mutation=True)  # The default.
      -  entity1.save()
      -  entity2.save()
      +
      >>> from gcloud import datastore
      +>>> dataset = datastore.get_dataset('dataset-id', email, key_path)
      +>>> with dataset.transaction(bulk_mutation=True)  # The default.
      +...   entity1.save()
      +...   entity2.save()
       

      To rollback a transaction if there is an error:

      -
      import gcloud.datastore
      -dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
      -with dataset.transaction() as t:
      -  try:
      -    do_some_work()
      -    entity1.save()
      -  except:
      -    t.rollback()
      +
      >>> from gcloud import datastore
      +>>> dataset = datastore.get_dataset('dataset-id', email, key_path)
      +>>> with dataset.transaction() as t:
      +...   try:
      +...     do_some_work()
      +...     entity1.save()
      +...   except:
      +...     t.rollback()
       

      If the transaction isn’t rolled back, @@ -1195,8 +1149,8 @@

      Cloud Datastore
      with dataset.transaction():
      -  entity = dataset.entity('Thing').save()
      +
      >>> with dataset.transaction():
      +...   entity = dataset.entity('Thing').save()
       

      entity won’t have a complete Key @@ -1204,12 +1158,11 @@

      Cloud Datastorecommit()), the automatically generated ID will be assigned to the entity:

      -
      with dataset.transaction():
      -  entity = dataset.entity('Thing')
      -  entity.save()
      -  assert entity.key().is_partial()  # There is no ID on this key.
      -
      -assert not entity.key().is_partial()  # There *is* an ID on this key.
      +
      >>> with dataset.transaction():
      +...   entity = dataset.entity('Thing')
      +...   entity.save()
      +...   assert entity.key().is_partial()  # There is no ID on this key.
      +>>> assert not entity.key().is_partial()  # There *is* an ID on this key.
       
      @@ -1226,16 +1179,16 @@

      Cloud Datastore
      transaction = dataset.transaction()
      -transaction.begin()
      +
      >>> transaction = dataset.transaction()
      +>>> transaction.begin()
       
      -entity = dataset.entity('Thing')
      -entity.save()
      +>>> entity = dataset.entity('Thing')
      +>>> entity.save()
       
      -if error:
      -  transaction.rollback()
      -else:
      -  transaction.commit()
      +>>> if error:
      +...   transaction.rollback()
      +... else:
      +...   transaction.commit()
       

      For now, @@ -1247,31 +1200,31 @@

      Cloud Datastoregcloud.datastore.connection.Connection s.

      For example, this is perfectly valid:

      -
      import gcloud.datastore
      -dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
      -with dataset.transaction():
      -  dataset.entity('Thing').save()
      +
      >>> from gcloud import datastore
      +>>> dataset = datastore.get_dataset('dataset-id', email, key_path)
      +>>> with dataset.transaction():
      +...   dataset.entity('Thing').save()
       

      However, this wouldn’t be acceptable:

      -
      import gcloud.datastore
      -dataset = gcloud.datastore.get_dataset('dataset-id', email, key_path)
      -with dataset.transaction():
      -  dataset.entity('Thing').save()
      -  with dataset.transaction():
      -    dataset.entity('Thing').save()
      +
      >>> from gcloud import datastore
      +>>> dataset = datastore.get_dataset('dataset-id', email, key_path)
      +>>> with dataset.transaction():
      +...   dataset.entity('Thing').save()
      +...   with dataset.transaction():
      +...     dataset.entity('Thing').save()
       

      Technically, it looks like the Protobuf API supports this type of pattern, however it makes the code particularly messy. If you really need to nest transactions, try:

      -
      import gcloud.datastore
      -dataset1 = gcloud.datastore.get_dataset('dataset-id', email, key_path)
      -dataset2 = gcloud.datastore.get_dataset('dataset-id', email, key_path)
      -with dataset1.transaction():
      -  dataset1.entity('Thing').save()
      -  with dataset2.transaction():
      -    dataset2.entity('Thing').save()
      +
      >>> from gcloud import datastore
      +>>> dataset1 = datastore.get_dataset('dataset-id', email, key_path)
      +>>> dataset2 = datastore.get_dataset('dataset-id', email, key_path)
      +>>> with dataset1.transaction():
      +...   dataset1.entity('Thing').save()
      +...   with dataset2.transaction():
      +...     dataset2.entity('Thing').save()
       
      diff --git a/genindex.html b/genindex.html index e6273f024d9e..d9cbedcad18f 100644 --- a/genindex.html +++ b/genindex.html @@ -299,12 +299,6 @@

      C

      Credentials (class in gcloud.credentials)
      -
      - -
      (class in gcloud.datastore.credentials) -
      - -
      @@ -482,10 +476,6 @@

      G

      -
      gcloud.datastore.credentials (module) -
      - -
      gcloud.datastore.dataset (module)
      @@ -621,12 +611,6 @@

      G

      get_for_service_account() (gcloud.credentials.Credentials class method)
      -
      - -
      (gcloud.datastore.credentials.Credentials class method) -
      - -
      get_headers() (gcloud.storage.iterator.KeyDataIterator method)
      @@ -1108,15 +1092,9 @@

      S

      -
      SCOPE (gcloud.datastore.credentials.Credentials attribute) +
      SCOPE (in module gcloud.datastore.__init__)
      -
      - -
      (in module gcloud.datastore.__init__) -
      - -
      diff --git a/objects.inv b/objects.inv index 6e8f4f29d302..edd52106831c 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/py-modindex.html b/py-modindex.html index 7c77324727df..a1f4dc6fc870 100644 --- a/py-modindex.html +++ b/py-modindex.html @@ -119,11 +119,6 @@

      Python Module Index

          gcloud.datastore.connection - - -     - gcloud.datastore.credentials -     diff --git a/searchindex.js b/searchindex.js index 50b05006e116..6c8db6e15062 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({envversion:42,terms:{represent:5,all:[5,7],concept:[5,7],partial:5,chain:7,messi:5,consum:[5,7],mykind:5,code:[5,0,4,7,2],per:[5,7],follow:[5,0,7,4],set_contents_from_filenam:7,disk:7,make_request:7,row:5,privat:[3,7,6,5],sorri:7,readabl:3,base_url:5,send:[5,7],granular:7,under:[5,0,7,6,3],instruct:[0,4],transaction_id:5,sourc:[0,1,2,4,5,6,7],rollback:5,string:[5,6,7],fals:[5,7],account:[5,6],defaultobjectacl:7,ident:7,allus:7,get_protobuf_attribute_and_valu:5,get_kei:7,appar:7,bucketacl:7,level:[6,7],button:3,list:[5,7],upload:7,fewer:7,factori:[5,7],"try":5,item:[5,7],add_ent:7,not_found_pag:7,librari:[5,6],set_contents_from_str:[2,7],sign:[0,7],jump:0,second:3,pass:[5,7],download:3,dataset_id:[5,4],get_bucket:7,click:3,proxi:7,even:7,index:7,what:7,get_for_service_account:[5,6],defin:[5,7],section:3,abl:[5,0,1,7,3],gclouddatstor:5,current:[5,7],delet:[2,7,5],version:[5,7],hurdl:0,"new":[5,2,7,3],ever:7,method:[5,2,7,6,4],other_arg:7,metadata:7,intellectu:0,deriv:5,gener:[3,7,6,5],never:0,datastore_v1_pb2:5,get_value_from_protobuf:5,here:[3,7,5],bodi:7,shouldn:[5,7],explicitli:5,address:[3,7],path:[3,7,6,5],along:5,modifi:5,valu:[5,7],get_contents_to_filenam:7,box:3,search:[5,7],tire:3,host:7,jame:5,permit:7,new_bucket:7,typic:[3,7,5],mix:5,via:[5,7],extra:5,revok:7,appli:5,modul:4,prefer:3,apt:1,friendli:3,ask:7,"boolean":5,key_pb:5,txt:[2,7],establish:[5,7],from:[2,1,3,4,5,7],would:[5,7],visit:3,two:[0,7,5],todai:3,next:[3,7,4],websit:7,few:7,live:[5,0,4,2],call:[5,6,7],criteria:5,scope:[5,6],type:[5,6,7],until:5,more:[5,7],sort:[3,7],get_contents_as_str:[2,7],save_acl:7,relat:[5,7],lookup:[5,7],from_path:5,accept:[0,7,5],particular:[5,6,7],known:7,compani:[0,7],dataset1:5,content_typ:7,must:[5,7],none:[5,6,7],endpoint:7,retriev:[5,7],setup:1,work:[5,0,7,3],uniqu:[3,7,5],dev:1,other:[5,7],itself:5,whatev:5,get_items_from_respons:7,akin:[5,7],root:7,fetch:[5,3,4],def:7,overrid:[5,7],quickstart:3,give:[3,7],process:7,sudo:1,share:4,templat:[5,7],entity_dict:7,want:[0,1,3,4,5,7],everi:5,keep:[0,5],api_url_templ:[5,7],entitykind:5,alwai:[2,7,4],multipl:[5,7],turn:3,rather:[5,7],anoth:7,get:[5,6],grant_read:7,write:[0,7,2],how:4,anyon:4,configure_websit:7,conn:5,rewind:7,instead:[5,6,7],simpl:[5,7,6,4],collaps:5,map:5,resourc:7,protobuf:[5,7],overridden:7,to_protobuf:5,clone:[5,1],after:7,befor:[0,7,5],revoke_own:7,clear_default_object_acl:7,mutat:5,datastor:6,associ:7,demonstr:2,"short":7,classmethod:[5,6,7],notfounderror:7,correspond:[5,7],issu:0,inform:3,limited_queri:5,allow:[0,5],enter:5,order:[5,7],talk:[5,6],origin:[0,5],help:0,entity_from_dict:7,runqueri:5,over:[5,7],clear_acl:7,approv:7,becaus:5,revoke_writ:7,through:[0,7,2],api_request:7,add_auto_id_ent:5,still:[0,7],pointer:[5,7],paramet:[5,6,7],keyiter:7,snippet:5,style:7,group:7,primarili:0,glcouddatastor:5,cla:0,platform:6,persist:5,mail:[3,7,6,5],main:[5,7],might:[3,5],alter:5,wouldn:5,them:[5,4],"float":5,"return":[0,7,6,5],thei:[6,7],python:[5,3,1,4],timestamp:5,auth:[3,5],"break":7,httplib2:[5,6],now:[3,7,5],name:[5,3,7,4],anyth:7,didn:5,entity1:5,authent:[3,7,6,5],separ:5,get_connect:[2,7,6,5],each:[5,7],found:[5,7],updat:[5,7],side:[3,5],api_base_url:[5,6,7],mean:[5,4],recommend:5,domain:7,chunk:7,wasn:7,realli:[5,7],disable_websit:7,usernam:3,our:3,happen:[5,7],differ:[5,6,7],special:7,out:[0,4,7,2],upload_fil:7,pyopenssl:1,newli:7,content:[2,7,5],key_path:[5,7],reader:7,print:[2,7],correct:[5,7],red:3,get_head:7,insid:[5,7],advanc:[5,6,7],given:[5,6,7],reason:5,base:[5,6,7],mime:7,dictionari:[5,7],usual:5,put:[5,7],org:7,"byte":7,basi:7,precompil:1,get_all_bucket:[2,7],val:5,could:5,openssl:1,string_valu:5,filter:5,thing:[3,7,5],enforc:5,isn:[5,7],outsid:7,assign:5,first:[3,7,5],oper:[5,7],directli:[5,6,7],onc:[5,0,4,2],number:[5,7],unlik:5,alreadi:7,done:[5,7],wrapper:[5,6,7],blank:[5,7],owner:7,open:[0,7,3],hood:[5,6,7],size:7,datetim:5,otherkeykind:5,guess:7,"long":[3,7,5],breviti:7,script:[2,4],data:[5,6],interact:[2,7,4],perfectli:5,system:7,construct:[0,7,5],set_contents_from_fil:7,attach:[5,6,7],userinfo:5,statement:5,easier:5,store:[5,7],includ:[2,7,4],shell:[2,4],consol:[3,7,5],my_dataset:5,chunk_siz:7,namespac:5,copi:3,specifi:7,github:[0,1,4,2],pars:[5,7],than:[5,7],serv:5,kind:5,whenev:[5,7],provid:[5,6,7],remov:7,offici:[0,7,5],exampl:[5,2,4,7,3],project:5,has_more_data:7,were:5,"0x3b2edc0":5,toward:[5,7],initi:[3,5],result:[5,7],"function":5,sai:[3,7],get_contents_to_fil:7,arg:[5,7],beforehand:1,ani:[5,0,7,6,4],all_authent:7,packag:[2,1,4],have:[0,1,2,3,4,5,7],tabl:5,need:[5,0,7,6,3],seem:5,seek:7,option:[5,7],imagin:7,built:5,equival:[5,7],self:7,note:7,also:[5,7],builtin:5,without:[5,7],build:[5,7],which:[5,3,7,6,4],coworker1:7,get_next_chunk:7,singl:5,blue:3,begin:[5,7],sure:[5,0,7,3],"enum":7,buffer:7,object:[5,6,7],salli:5,regular:5,from_kei:5,plan:7,pair:7,make_publ:7,"class":[5,6,7],myentitykind:5,rollback_transact:5,don:[5,7],connectionerror:7,save_default_object_acl:7,url:[5,6,7],doc:7,clear:7,request:[0,7,5],rais:[5,7],doe:7,part:[5,7],determin:[5,7],databas:[3,5],my_str:5,upsert:5,awesom:0,serializ:5,text:7,sent:5,particularli:5,permiss:7,key_dict:7,find:7,setter:5,access:[5,0,6,3],do_some_work:5,coerc:5,execut:5,pretti:4,writer:7,start:5,get_ent:[5,7],configur:7,dict:[5,7],factor:7,bucket_dict:7,local:[5,7],fstat:7,get_rol:7,copy_kei:7,save_ent:5,express:5,revoke_read:7,soon:0,cannot:[5,7],googleapi:[5,6,7],increas:7,requir:[5,6],item_nam:5,googlecloudplatform:1,possibl:[5,7],yield:7,"public":7,remot:[5,7],stuff:7,contain:7,has_ent:7,storageerror:7,where:[3,7,5],v1beta2:[5,7],acl:7,set:[5,7],project_nam:[2,7],bucket_nam:7,bucket1:7,bucket2:7,mutabl:[5,7],see:[7,4],temporarili:5,get_query_param:7,is_parti:5,from_protobuf:5,grant_writ:7,servic:[5,6],analog:5,parent:5,pattern:5,someth:[3,7],filtered_queri:5,label:3,favor:5,won:[5,7],between:[5,7],"import":[5,2,4,7,3],bunch:[7,4],email:[5,7],attribut:[5,7],altern:7,kei:6,isol:5,myitemclass:7,entir:5,wrote:4,grant_own:7,come:[0,5],revoke_:7,addit:5,jumbl:5,howev:[5,6,7],scrutin:5,against:[5,6],etc:7,myiter:7,instanc:5,"__init__":[5,6,7],mani:3,whole:7,load:[5,7],simpli:5,technic:5,can:[0,1,2,4,5,7],instanti:[2,7,4],hyphen:3,ubuntu:1,walk:[2,7],header:7,rpc:5,duplic:5,coupl:0,delete_ent:5,empti:[5,7],compon:7,json:7,interpret:7,objectacl:7,basic:[5,6,7],popul:7,my_other_acl:7,valueerror:5,grant_:7,some_other_acl:7,mind:0,convert:[5,7],argument:[5,6,7],bulk:5,reload_default_object_acl:7,craft:[5,7],understand:[5,6,7],togeth:[5,7],func:7,"catch":7,private_key_path:[5,2,7,6,4],those:[5,7],"case":5,onli:[5,6,7],look:[5,0,4,7,3],plain:7,mount:7,properti:[0,7,5],delete_kei:7,mutation_pb:5,"while":7,match:[5,7],abov:0,error:5,full:7,create_bucket:[2,7],get_next_page_respons:7,helper:6,demo:[2,4],non:7,get_metadata:7,"default":[5,7],kwarg:[5,7],bulk_mut:5,notimplementederror:7,sever:[5,7],develop:7,build_api_url:[5,7],grant:7,belond:5,make:[3,7,5],belong:[5,7],has_metadata:7,same:[5,7],shorter:3,handl:[5,7],html:7,document:[0,6,7],infer:5,complet:[3,7,5],http:[3,7,6,5],context:5,nest:5,overriden:7,upon:5,effect:5,hand:3,capabl:[5,6,7],retriv:5,insert_auto_id:5,user:7,respons:[5,7],weird:3,run_queri:5,has_next_pag:7,appropri:[0,7],off:[3,7,5],com:[3,1,7,6,5],well:[5,7],person:[5,3,4],client:[0,7,3],default_object_acl:7,thi:[0,2,3,4,5,6,7],choos:3,everyth:1,left:[3,7],coworker2:7,identifi:[3,7,5],entri:[5,7],just:[5,2,4,7,3],hybrid:5,begin_transact:5,rest:[5,7],human:3,mysql:3,touch:7,patch_metadata:7,query_param:7,field:7,get_acl:7,point:[5,7],except:[3,5],shortcut:[5,2,7,4],add:5,is_valid:7,primit:7,els:[5,7],tell:3,save:[5,3,7,4],app:7,kick:3,take:[5,0,4,3],earli:7,applic:7,around:[5,6,7],format:5,read:[2,7,4],big:3,piec:7,api_vers:[5,7],know:5,world:5,password:3,recurs:7,you:[0,1,2,3,4,5,6,7],licens:0,insert:7,like:[3,7,5],specif:7,filenam:7,should:[5,0,7,6,2],manual:5,integ:5,integer_valu:5,from_dict:7,api:[5,6],necessari:5,either:[0,7,5],corpor:0,page:7,get_dataset:[5,3,6,4],www:[5,6],right:[3,5],deal:5,simplifi:[5,6,7],some:5,back:5,crypto:1,intern:5,refresh:7,proper:[5,7],query_pb:5,server:7,transport:[5,6,7],libssl:1,get_default_object_acl:7,subclass:[5,6,7],cast:5,track:5,exit:5,testkind:5,refer:[5,7],machin:[5,7],who:7,run:[5,2,4],entity2:5,reload_acl:7,agreement:0,bucket2_nam:7,repositori:1,storagedataerror:7,immut:5,post:7,"throw":7,about:7,actual:[3,7,5],get_url:7,my_text_fil:7,nextpagetoken:7,manag:5,unsav:7,act:5,commit:5,disabl:7,id_or_nam:5,own:[5,0,4],reload_metadata:7,new_kei:[2,7],within:5,automat:[3,5],down:3,doesnt:7,been:[5,7],contributor:0,chang:[5,7],your:5,api_bas:5,dataset2:5,git:1,wai:[3,7],support:5,gcloud:6,submit:0,custom:7,avail:[5,7,4],lost:3,reli:5,low:7,cowork:7,individu:0,expect_json:7,fork:0,properli:5,form:5,tupl:[5,6,7],public_url:7,somehow:7,link:0,oauth:3,renam:3,role:7,"true":[5,7],reset:7,pull:0,oauth2:[5,6],bucket1_nam:7,consist:7,reload:[5,7],whether:7,maximum:5,troubl:1,getter:[5,6,7],limit:5,get_all_kei:[2,7],otherwis:7,quickli:[2,7,4],constant:7,creat:[5,6],"int":7,certain:5,"abstract":5,delete_bucket:7,doesn:7,repres:[5,7],exist:[5,7],file:[5,2,7,6,3],pip:[2,1,4],check:[2,7,6,4],probabl:[0,7],assembl:7,googl:[3,6,5],when:[3,7,6,5],intend:3,myexamplekind:4,main_page_suffix:7,valid:5,bool:[5,7],futur:7,test:2,mutuat:5,roll:5,refernec:7,my_other_kei:5,bucketiter:7,legal:0,assert:5,receiv:0,pycrypto:1,directori:7,client_email:[5,2,7,6,4],rule:[5,7],time:[3,5],far:5,fresh:7,scroll:3,keydataiter:7},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:attribute","4":"py:classmethod","5":"py:exception","6":"py:data","7":"py:function"},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","attribute","Python attribute"],"4":["py","classmethod","Python class method"],"5":["py","exception","Python exception"],"6":["py","data","Python data"],"7":["py","function","Python function"]},filenames:["index","getting-started","storage-quickstart","datastore-getting-started","datastore-quickstart","datastore-api","common-api","storage-api"],titles:["Google Cloud Python API","Getting started with gcloud","Cloud Storage in 10 seconds","Getting started with Cloud Datastore","Cloud Datastore in 10 seconds","Cloud Datastore","Cloud Common","Cloud Storage"],objects:{"gcloud.datastore.__init__":{SCOPE:[5,6,1,""],get_dataset:[5,7,1,""],get_connection:[5,7,1,""]},"gcloud.storage.key.Key":{patch_metadata:[7,2,1,""],reload_metadata:[7,2,1,""],exists:[7,2,1,""],get_metadata:[7,2,1,""],get_contents_as_string:[7,2,1,""],get_contents_to_filename:[7,2,1,""],get_acl:[7,2,1,""],has_metadata:[7,2,1,""],connection:[7,3,1,""],set_contents_from_filename:[7,2,1,""],CHUNK_SIZE:[7,3,1,""],save_acl:[7,2,1,""],set_contents_from_string:[7,2,1,""],public_url:[7,3,1,""],reload_acl:[7,2,1,""],clear_acl:[7,2,1,""],path:[7,3,1,""],set_contents_from_file:[7,2,1,""],get_contents_to_file:[7,2,1,""],from_dict:[7,4,1,""],make_public:[7,2,1,""],"delete":[7,2,1,""]},"gcloud.credentials.Credentials":{get_for_service_account:[6,4,1,""]},"gcloud.datastore.helpers":{get_value_from_protobuf:[5,7,1,""],get_protobuf_attribute_and_value:[5,7,1,""]},"gcloud.storage.iterator.KeyIterator":{get_items_from_response:[7,2,1,""]},"gcloud.storage.bucket.Bucket":{patch_metadata:[7,2,1,""],reload_metadata:[7,2,1,""],clear_acl:[7,2,1,""],get_metadata:[7,2,1,""],new_key:[7,2,1,""],get_default_object_acl:[7,2,1,""],get_acl:[7,2,1,""],has_metadata:[7,2,1,""],get_all_keys:[7,2,1,""],save_acl:[7,2,1,""],get_key:[7,2,1,""],reload_acl:[7,2,1,""],reload_default_object_acl:[7,2,1,""],delete_keys:[7,2,1,""],copy_key:[7,2,1,""],clear_default_object_acl:[7,2,1,""],path:[7,3,1,""],configure_website:[7,2,1,""],upload_file:[7,2,1,""],save_default_object_acl:[7,2,1,""],from_dict:[7,4,1,""],delete_key:[7,2,1,""],make_public:[7,2,1,""],disable_website:[7,2,1,""],"delete":[7,2,1,""]},"gcloud.datastore.credentials":{Credentials:[5,1,1,""]},"gcloud.storage.iterator.BucketIterator":{get_items_from_response:[7,2,1,""]},"gcloud.datastore.entity.Entity":{kind:[5,2,1,""],from_key:[5,4,1,""],dataset:[5,2,1,""],reload:[5,2,1,""],key:[5,2,1,""],from_protobuf:[5,4,1,""],save:[5,2,1,""],"delete":[5,2,1,""]},"gcloud.storage.acl.ACL.Role":{Owner:[7,3,1,""],Writer:[7,3,1,""],Reader:[7,3,1,""]},gcloud:{credentials:[6,0,0,"-"],connection:[6,0,0,"-"]},"gcloud.connection.Connection":{http:[6,3,1,""],API_BASE_URL:[6,3,1,""]},"gcloud.datastore.transaction":{Transaction:[5,1,1,""]},"gcloud.storage.connection":{Connection:[7,1,1,""]},"gcloud.storage":{iterator:[7,0,0,"-"],bucket:[7,0,0,"-"],acl:[7,0,0,"-"],connection:[7,0,0,"-"],key:[7,0,0,"-"],exceptions:[7,0,0,"-"],"__init__":[7,0,0,"-"]},"gcloud.storage.__init__":{get_connection:[7,7,1,""],get_bucket:[7,7,1,""]},"gcloud.connection":{Connection:[6,1,1,""]},"gcloud.storage.iterator":{KeyDataIterator:[7,1,1,""],BucketIterator:[7,1,1,""],KeyIterator:[7,1,1,""],Iterator:[7,1,1,""]},"gcloud.storage.acl":{DefaultObjectACL:[7,1,1,""],ACL:[7,1,1,""],ObjectACL:[7,1,1,""],BucketACL:[7,1,1,""]},"gcloud.storage.iterator.KeyDataIterator":{reset:[7,2,1,""],get_next_chunk:[7,2,1,""],has_more_data:[7,2,1,""],get_headers:[7,2,1,""],get_url:[7,2,1,""]},"gcloud.datastore.query.Query":{kind:[5,2,1,""],OPERATORS:[5,3,1,""],dataset:[5,2,1,""],filter:[5,2,1,""],limit:[5,2,1,""],to_protobuf:[5,2,1,""],fetch:[5,2,1,""]},"gcloud.storage.acl.BucketACL":{save:[7,2,1,""]},"gcloud.datastore.key.Key":{kind:[5,2,1,""],is_partial:[5,2,1,""],name:[5,2,1,""],parent:[5,2,1,""],id_or_name:[5,2,1,""],namespace:[5,2,1,""],dataset:[5,2,1,""],from_path:[5,4,1,""],from_protobuf:[5,4,1,""],path:[5,2,1,""],to_protobuf:[5,2,1,""],id:[5,2,1,""]},"gcloud.datastore.connection":{Connection:[5,1,1,""]},"gcloud.datastore.dataset":{Dataset:[5,1,1,""]},"gcloud.storage.acl.ACL.Entity":{grant_write:[7,2,1,""],revoke:[7,2,1,""],revoke_write:[7,2,1,""],grant:[7,2,1,""],revoke_read:[7,2,1,""],grant_read:[7,2,1,""],grant_owner:[7,2,1,""],revoke_owner:[7,2,1,""],get_roles:[7,2,1,""]},"gcloud.datastore.key":{Key:[5,1,1,""]},"gcloud.datastore":{transaction:[5,0,0,"-"],entity:[5,0,0,"-"],connection:[5,0,0,"-"],helpers:[5,0,0,"-"],key:[5,0,0,"-"],credentials:[5,0,0,"-"],query:[5,0,0,"-"],dataset:[5,0,0,"-"],"__init__":[5,0,0,"-"]},"gcloud.datastore.dataset.Dataset":{transaction:[5,2,1,""],get_entities:[5,2,1,""],entity:[5,2,1,""],get_entity:[5,2,1,""],connection:[5,2,1,""],query:[5,2,1,""],id:[5,2,1,""]},"gcloud.storage.acl.DefaultObjectACL":{save:[7,2,1,""]},"gcloud.storage.connection.Connection":{get_all_buckets:[7,2,1,""],create_bucket:[7,2,1,""],build_api_url:[7,2,1,""],delete_bucket:[7,2,1,""],API_URL_TEMPLATE:[7,3,1,""],lookup:[7,2,1,""],api_request:[7,2,1,""],new_bucket:[7,2,1,""],get_bucket:[7,2,1,""],make_request:[7,2,1,""],API_VERSION:[7,3,1,""]},"gcloud.storage.bucket":{Bucket:[7,1,1,""]},"gcloud.storage.iterator.Iterator":{reset:[7,2,1,""],get_items_from_response:[7,2,1,""],get_next_page_response:[7,2,1,""],get_query_params:[7,2,1,""],has_next_page:[7,2,1,""]},"gcloud.datastore.connection.Connection":{delete_entity:[5,2,1,""],rollback_transaction:[5,2,1,""],transaction:[5,2,1,""],http:[5,3,1,""],build_api_url:[5,4,1,""],delete_entities:[5,2,1,""],save_entity:[5,2,1,""],run_query:[5,2,1,""],API_URL_TEMPLATE:[5,3,1,""],lookup:[5,2,1,""],mutation:[5,2,1,""],API_VERSION:[5,3,1,""],commit:[5,2,1,""],dataset:[5,2,1,""],API_BASE_URL:[5,3,1,""],begin_transaction:[5,2,1,""]},"gcloud.datastore.query":{Query:[5,1,1,""]},"gcloud.datastore.credentials.Credentials":{SCOPE:[5,3,1,""],get_for_service_account:[5,4,1,""]},"gcloud.datastore.transaction.Transaction":{begin:[5,2,1,""],rollback:[5,2,1,""],add_auto_id_entity:[5,2,1,""],dataset:[5,2,1,""],connection:[5,2,1,""],mutation:[5,2,1,""],commit:[5,2,1,""],id:[5,2,1,""]},"gcloud.credentials":{Credentials:[6,1,1,""]},"gcloud.storage.acl.ACL":{domain:[7,2,1,""],group:[7,2,1,""],entity_from_dict:[7,2,1,""],all:[7,2,1,""],get_entities:[7,2,1,""],Entity:[7,1,1,""],get_entity:[7,2,1,""],has_entity:[7,2,1,""],user:[7,2,1,""],entity:[7,2,1,""],Role:[7,1,1,""],save:[7,2,1,""],all_authenticated:[7,2,1,""],add_entity:[7,2,1,""]},"gcloud.storage.exceptions":{StorageError:[7,5,1,""],NotFoundError:[7,5,1,""],ConnectionError:[7,5,1,""],StorageDataError:[7,5,1,""]},"gcloud.datastore.entity":{Entity:[5,1,1,""]},"gcloud.storage.acl.ObjectACL":{save:[7,2,1,""]},"gcloud.storage.key":{Key:[7,1,1,""]}},titleterms:{control:7,comput:0,creat:3,queri:[0,5],modul:0,some:3,dataset:[3,5],second:[2,4],api:[0,3],connect:[5,6,7],instal:[2,1,4],storag:[0,7,2],your:3,cloud:[0,2,3,4,5,6,7],entiti:5,project:3,engin:0,helper:5,start:[0,1,3],transact:5,gcloud:[5,1,7],except:7,access:7,how:0,add:3,librari:[2,4],credenti:[5,6],contribut:0,kei:[5,7],get:[0,1,3],python:0,big:0,sql:0,datastor:[5,0,4,3],yourself:[2,4],data:3,googl:0,account:3,enabl:3,servic:[0,3],bucket:7,iter:7,"try":[2,4],common:[0,6]}}) \ No newline at end of file +Search.setIndex({envversion:42,terms:{represent:5,all:[5,7],concept:[5,7],partial:5,chain:7,messi:5,consum:[5,7],mykind:5,code:[5,0,4,7,2],per:[5,7],follow:[5,0,7,4],set_contents_from_filenam:7,disk:7,make_request:7,row:5,privat:[3,7,6,5],sorri:7,readabl:3,base_url:5,send:[5,7],granular:7,under:[5,0,7,6,3],instruct:[0,4],transaction_id:5,sourc:[0,1,2,4,5,6,7],rollback:5,string:[5,6,7],fals:[5,7],account:[5,6],defaultobjectacl:7,ident:7,allus:7,get_protobuf_attribute_and_valu:5,get_kei:7,appar:7,bucketacl:7,level:[6,7],button:3,list:[5,7],upload:7,fewer:7,factori:[5,7],"try":5,item:[5,7],add_ent:7,not_found_pag:7,librari:[5,6],set_contents_from_str:[2,7],sign:[0,7],jump:0,second:3,pass:[5,7],download:3,dataset_id:[5,4],get_bucket:7,click:3,proxi:7,even:7,index:7,what:7,get_for_service_account:6,defin:[5,7],section:3,abl:[5,0,1,7,3],gclouddatstor:5,current:[5,7],delet:[2,7,5],version:[5,7],hurdl:0,"new":[5,2,7,3],ever:7,method:[5,2,7,6,4],other_arg:7,metadata:7,intellectu:0,deriv:5,gener:[3,7,6,5],never:0,datastore_v1_pb2:5,get_value_from_protobuf:5,here:[3,7,5],bodi:7,shouldn:[5,7],explicitli:5,address:[3,7],path:[3,7,6,5],along:5,modifi:5,valu:[5,7],get_contents_to_filenam:7,box:3,search:[5,7],tire:3,host:7,jame:5,permit:7,new_bucket:7,typic:[3,7,5],mix:5,via:[5,7],extra:5,revok:7,appli:5,modul:4,prefer:3,apt:1,friendli:3,ask:7,"boolean":5,key_pb:5,txt:[2,7],establish:[5,7],from:[2,1,3,4,5,7],would:[5,7],visit:3,two:[0,7,5],todai:3,next:[3,7,4],websit:7,few:7,live:[5,0,4,2],call:[5,6,7],criteria:5,scope:[5,6],type:[5,6,7],until:5,more:[5,7],sort:[3,7],get_contents_as_str:[2,7],save_acl:7,relat:[5,7],lookup:[5,7],from_path:5,accept:[0,7,5],particular:[5,6,7],known:7,compani:[0,7],dataset1:5,content_typ:7,must:[5,7],none:[5,6,7],endpoint:7,retriev:[5,7],setup:1,work:[5,0,7,3],uniqu:[3,7,5],dev:1,other:[5,7],itself:5,whatev:5,get_items_from_respons:7,akin:[5,7],root:7,fetch:[5,3,4],def:7,overrid:[5,7],quickstart:3,give:[3,7],process:7,sudo:1,share:4,templat:[5,7],entity_dict:7,want:[0,1,3,4,5,7],everi:5,keep:[0,5],api_url_templ:[5,7],entitykind:5,alwai:[2,7,4],multipl:[5,7],turn:3,rather:[5,7],anoth:7,get:[5,6],grant_read:7,write:[0,7,2],how:4,anyon:4,configure_websit:7,conn:5,rewind:7,instead:[5,6,7],simpl:[7,6,4],collaps:5,map:5,resourc:7,protobuf:[5,7],overridden:7,to_protobuf:5,clone:[5,1],after:7,befor:[0,7,5],revoke_own:7,clear_default_object_acl:7,mutat:5,datastor:6,associ:7,demonstr:2,"short":7,classmethod:[5,6,7],notfounderror:7,correspond:[5,7],issu:0,inform:3,limited_queri:5,allow:[0,5],enter:5,order:[5,7],talk:[5,6],origin:[0,5],help:0,entity_from_dict:7,runqueri:5,over:[5,7],clear_acl:7,approv:7,becaus:5,revoke_writ:7,through:[0,7,2],api_request:7,add_auto_id_ent:5,still:[0,7],pointer:[5,7],paramet:[5,6,7],keyiter:7,snippet:5,style:7,group:7,primarili:0,glcouddatastor:5,cla:0,platform:6,persist:5,mail:[3,7,6,5],main:[5,7],might:[3,5],alter:5,wouldn:5,them:[5,4],"float":5,"return":[0,7,6,5],thei:[6,7],python:[5,3,1,4],timestamp:5,auth:[3,5],"break":7,httplib2:[5,6],now:[3,7,5],name:[5,3,7,4],anyth:7,didn:5,entity1:5,authent:[3,7,6,5],separ:5,get_connect:[2,7,6,5],each:[5,7],found:[5,7],updat:[5,7],side:[3,5],api_base_url:[5,6,7],mean:[5,4],recommend:5,domain:7,chunk:7,wasn:7,realli:[5,7],disable_websit:7,usernam:3,our:3,happen:[5,7],differ:[5,6,7],special:7,out:[0,4,7,2],upload_fil:7,pyopenssl:1,newli:7,content:[2,7,5],key_path:[5,7],reader:7,print:[2,7],correct:[5,7],red:3,get_head:7,insid:[5,7],advanc:[5,6,7],given:[5,6,7],reason:5,base:[5,6,7],mime:7,dictionari:[5,7],usual:5,put:[5,7],org:7,"byte":7,basi:7,precompil:1,get_all_bucket:[2,7],val:5,could:5,openssl:1,string_valu:5,filter:5,thing:[3,7,5],enforc:5,isn:[5,7],outsid:7,assign:5,first:[3,7,5],oper:[5,7],directli:[5,6,7],onc:[5,0,4,2],number:[5,7],unlik:5,alreadi:7,done:[5,7],wrapper:[6,7],blank:[5,7],owner:7,open:[0,7,3],hood:[5,6,7],size:7,datetim:5,otherkeykind:5,guess:7,"long":[3,7,5],breviti:7,script:[2,4],data:[5,6],interact:[2,7,4],perfectli:5,system:7,construct:[0,7,5],set_contents_from_fil:7,attach:[5,6,7],userinfo:5,statement:5,easier:5,store:[5,7],includ:[2,7,4],shell:[2,4],consol:[3,7,5],my_dataset:5,chunk_siz:7,namespac:5,copi:3,specifi:7,github:[0,1,4,2],pars:[5,7],than:[5,7],serv:5,kind:5,whenev:[5,7],provid:[5,6,7],remov:7,offici:[0,7,5],exampl:[5,2,4,7,3],project:5,has_more_data:7,were:5,toward:[5,7],initi:[3,5],result:[5,7],"function":5,sai:[3,7],get_contents_to_fil:7,arg:[5,7],beforehand:1,ani:[5,0,7,6,4],all_authent:7,packag:[2,1,4],have:[0,1,2,3,4,5,7],tabl:5,need:[5,0,7,6,3],seem:5,seek:7,option:[5,7],imagin:7,built:5,equival:[5,7],self:7,note:7,also:[5,7],builtin:5,without:[5,7],build:[5,7],which:[5,3,7,6,4],coworker1:7,get_next_chunk:7,singl:5,blue:3,begin:[5,7],sure:[5,0,7,3],"enum":7,buffer:7,object:[5,6,7],salli:5,regular:5,from_kei:5,plan:7,pair:7,make_publ:7,"class":[5,6,7],myentitykind:5,rollback_transact:5,don:[5,7],connectionerror:7,save_default_object_acl:7,url:[5,6,7],doc:7,clear:7,request:[0,7,5],rais:[5,7],doe:7,part:[5,7],determin:[5,7],databas:[3,5],my_str:5,upsert:5,awesom:0,serializ:5,text:7,sent:5,particularli:5,permiss:7,key_dict:7,find:7,setter:5,access:[5,0,6,3],do_some_work:5,coerc:5,execut:5,pretti:4,writer:7,start:5,get_ent:[5,7],configur:7,dict:[5,7],factor:7,bucket_dict:7,local:[5,7],fstat:7,get_rol:7,copy_kei:7,save_ent:5,express:5,revoke_read:7,soon:0,cannot:[5,7],googleapi:[5,6,7],increas:7,requir:[5,6],item_nam:5,googlecloudplatform:1,possibl:[5,7],yield:7,"public":7,remot:[5,7],stuff:7,contain:7,has_ent:7,storageerror:7,where:[3,7,5],v1beta2:[5,7],acl:7,set:[5,7],project_nam:[2,7],bucket_nam:7,bucket1:7,bucket2:7,mutabl:[5,7],see:[7,4],temporarili:5,get_query_param:7,is_parti:5,from_protobuf:5,grant_writ:7,servic:[5,6],analog:5,parent:5,pattern:5,someth:[3,7],filtered_queri:5,label:3,favor:5,won:[5,7],between:[5,7],"import":[5,2,4,7,3],bunch:[7,4],email:[5,7],attribut:[5,7],altern:7,kei:6,isol:5,myitemclass:7,entir:5,wrote:4,grant_own:7,come:[0,5],revoke_:7,addit:5,jumbl:5,howev:[5,6,7],scrutin:5,against:[5,6],etc:7,myiter:7,instanc:5,"__init__":[5,6,7],mani:3,whole:7,load:[5,7],simpli:5,technic:5,can:[0,1,2,4,5,7],instanti:[2,7,4],hyphen:3,ubuntu:1,walk:[2,7],header:7,rpc:5,duplic:5,coupl:0,delete_ent:5,empti:[5,7],compon:7,json:7,interpret:7,objectacl:7,basic:[5,6,7],popul:7,my_other_acl:7,valueerror:5,grant_:7,some_other_acl:7,mind:0,convert:[5,7],argument:[5,6,7],bulk:5,reload_default_object_acl:7,craft:[5,7],understand:[5,6,7],togeth:[5,7],func:7,"catch":7,private_key_path:[5,2,7,6,4],those:[5,7],"case":5,onli:[5,6,7],look:[5,0,4,7,3],plain:7,mount:7,properti:[0,7,5],delete_kei:7,mutation_pb:5,"while":7,match:[5,7],abov:0,error:5,full:7,create_bucket:[2,7],get_next_page_respons:7,helper:6,demo:[2,4],non:7,get_metadata:7,"default":[5,7],kwarg:[5,7],bulk_mut:5,notimplementederror:7,sever:[5,7],develop:7,build_api_url:[5,7],grant:7,belond:5,make:[3,7,5],belong:[5,7],has_metadata:7,same:[5,7],shorter:3,handl:[5,7],html:7,document:[0,6,7],infer:5,complet:[3,7,5],http:[3,7,6,5],context:5,nest:5,overriden:7,upon:5,effect:5,hand:3,capabl:[5,6,7],retriv:5,insert_auto_id:5,user:7,respons:[5,7],weird:3,run_queri:5,has_next_pag:7,appropri:[0,7],off:[3,7,5],com:[3,1,7,6,5],well:[5,7],person:[5,3,4],client:[0,7,3],default_object_acl:7,thi:[0,2,3,4,5,6,7],choos:3,everyth:1,left:[3,7],coworker2:7,identifi:[3,7,5],entri:[5,7],just:[5,2,4,7,3],hybrid:5,begin_transact:5,rest:[5,7],human:3,mysql:3,touch:7,patch_metadata:7,query_param:7,field:7,get_acl:7,point:[5,7],except:[3,5],shortcut:[5,2,7,4],add:5,is_valid:7,primit:7,els:[5,7],tell:3,save:[5,3,7,4],app:7,kick:3,take:[5,0,4,3],earli:7,applic:7,around:[6,7],format:5,read:[2,7,4],big:3,piec:7,api_vers:[5,7],know:5,world:5,password:3,recurs:7,you:[0,1,2,3,4,5,6,7],licens:0,insert:7,like:[3,7,5],specif:7,filenam:7,should:[5,0,7,6,2],manual:5,integ:5,integer_valu:5,from_dict:7,api:[5,6],necessari:5,either:[0,7,5],corpor:0,page:7,get_dataset:[5,3,6,4],"0x3769dc0":5,www:[5,6],right:[3,5],deal:5,simplifi:[6,7],some:5,back:5,crypto:1,intern:5,refresh:7,proper:[5,7],query_pb:5,server:7,transport:[5,6,7],libssl:1,get_default_object_acl:7,subclass:[5,6,7],cast:5,track:5,exit:5,testkind:5,refer:[5,7],machin:[5,7],who:7,run:[5,2,4],entity2:5,reload_acl:7,agreement:0,bucket2_nam:7,repositori:1,storagedataerror:7,immut:5,post:7,"throw":7,about:7,actual:[3,7,5],get_url:7,my_text_fil:7,nextpagetoken:7,manag:5,unsav:7,act:5,commit:5,disabl:7,id_or_nam:5,own:[5,0,4],reload_metadata:7,new_kei:[2,7],within:5,automat:[3,5],down:3,doesnt:7,been:[5,7],contributor:0,chang:[5,7],your:5,api_bas:5,dataset2:5,git:1,wai:[3,7],support:5,gcloud:6,submit:0,custom:7,avail:[5,7,4],lost:3,reli:5,low:7,cowork:7,individu:0,expect_json:7,fork:0,properli:5,form:5,tupl:[5,6,7],public_url:7,somehow:7,link:0,oauth:3,renam:3,role:7,"true":[5,7],reset:7,pull:0,oauth2:[5,6],bucket1_nam:7,consist:7,reload:[5,7],whether:7,maximum:5,troubl:1,getter:[5,6,7],limit:5,get_all_kei:[2,7],otherwis:7,quickli:[2,7,4],constant:7,creat:[5,6],"int":7,certain:5,"abstract":5,delete_bucket:7,doesn:7,repres:[5,7],exist:[5,7],file:[5,2,7,6,3],pip:[2,1,4],check:[2,7,6,4],probabl:[0,7],assembl:7,googl:[3,6,5],when:[3,7,6,5],intend:3,myexamplekind:4,main_page_suffix:7,valid:5,bool:[5,7],futur:7,test:2,mutuat:5,roll:5,refernec:7,my_other_kei:5,bucketiter:7,legal:0,assert:5,receiv:0,pycrypto:1,directori:7,client_email:[5,2,7,6,4],rule:[5,7],time:[3,5],far:5,fresh:7,scroll:3,keydataiter:7},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:attribute","4":"py:classmethod","5":"py:exception","6":"py:data","7":"py:function"},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","attribute","Python attribute"],"4":["py","classmethod","Python class method"],"5":["py","exception","Python exception"],"6":["py","data","Python data"],"7":["py","function","Python function"]},filenames:["index","getting-started","storage-quickstart","datastore-getting-started","datastore-quickstart","datastore-api","common-api","storage-api"],titles:["Google Cloud Python API","Getting started with gcloud","Cloud Storage in 10 seconds","Getting started with Cloud Datastore","Cloud Datastore in 10 seconds","Cloud Datastore","Cloud Common","Cloud Storage"],objects:{"gcloud.datastore.__init__":{SCOPE:[5,6,1,""],get_dataset:[5,7,1,""],get_connection:[5,7,1,""]},"gcloud.storage.key.Key":{patch_metadata:[7,2,1,""],reload_metadata:[7,2,1,""],exists:[7,2,1,""],get_metadata:[7,2,1,""],get_contents_as_string:[7,2,1,""],get_contents_to_filename:[7,2,1,""],get_acl:[7,2,1,""],has_metadata:[7,2,1,""],connection:[7,3,1,""],set_contents_from_filename:[7,2,1,""],CHUNK_SIZE:[7,3,1,""],save_acl:[7,2,1,""],set_contents_from_string:[7,2,1,""],public_url:[7,3,1,""],reload_acl:[7,2,1,""],clear_acl:[7,2,1,""],path:[7,3,1,""],set_contents_from_file:[7,2,1,""],get_contents_to_file:[7,2,1,""],from_dict:[7,4,1,""],make_public:[7,2,1,""],"delete":[7,2,1,""]},"gcloud.credentials.Credentials":{get_for_service_account:[6,4,1,""]},"gcloud.datastore.helpers":{get_value_from_protobuf:[5,7,1,""],get_protobuf_attribute_and_value:[5,7,1,""]},"gcloud.storage.iterator.KeyIterator":{get_items_from_response:[7,2,1,""]},"gcloud.storage.bucket.Bucket":{patch_metadata:[7,2,1,""],reload_metadata:[7,2,1,""],clear_acl:[7,2,1,""],get_metadata:[7,2,1,""],new_key:[7,2,1,""],get_default_object_acl:[7,2,1,""],get_acl:[7,2,1,""],has_metadata:[7,2,1,""],get_all_keys:[7,2,1,""],save_acl:[7,2,1,""],get_key:[7,2,1,""],reload_acl:[7,2,1,""],reload_default_object_acl:[7,2,1,""],delete_keys:[7,2,1,""],copy_key:[7,2,1,""],clear_default_object_acl:[7,2,1,""],path:[7,3,1,""],configure_website:[7,2,1,""],upload_file:[7,2,1,""],save_default_object_acl:[7,2,1,""],from_dict:[7,4,1,""],delete_key:[7,2,1,""],make_public:[7,2,1,""],disable_website:[7,2,1,""],"delete":[7,2,1,""]},"gcloud.storage.iterator.BucketIterator":{get_items_from_response:[7,2,1,""]},"gcloud.datastore.entity.Entity":{kind:[5,2,1,""],from_key:[5,4,1,""],dataset:[5,2,1,""],reload:[5,2,1,""],key:[5,2,1,""],from_protobuf:[5,4,1,""],save:[5,2,1,""],"delete":[5,2,1,""]},"gcloud.storage.acl.ACL.Role":{Owner:[7,3,1,""],Writer:[7,3,1,""],Reader:[7,3,1,""]},gcloud:{credentials:[6,0,0,"-"],connection:[6,0,0,"-"]},"gcloud.connection.Connection":{http:[6,3,1,""],API_BASE_URL:[6,3,1,""]},"gcloud.datastore.transaction":{Transaction:[5,1,1,""]},"gcloud.storage.connection":{Connection:[7,1,1,""]},"gcloud.storage":{iterator:[7,0,0,"-"],bucket:[7,0,0,"-"],acl:[7,0,0,"-"],connection:[7,0,0,"-"],key:[7,0,0,"-"],exceptions:[7,0,0,"-"],"__init__":[7,0,0,"-"]},"gcloud.storage.__init__":{get_connection:[7,7,1,""],get_bucket:[7,7,1,""]},"gcloud.connection":{Connection:[6,1,1,""]},"gcloud.storage.iterator":{KeyDataIterator:[7,1,1,""],BucketIterator:[7,1,1,""],KeyIterator:[7,1,1,""],Iterator:[7,1,1,""]},"gcloud.storage.acl":{DefaultObjectACL:[7,1,1,""],ACL:[7,1,1,""],ObjectACL:[7,1,1,""],BucketACL:[7,1,1,""]},"gcloud.storage.iterator.KeyDataIterator":{reset:[7,2,1,""],get_next_chunk:[7,2,1,""],has_more_data:[7,2,1,""],get_headers:[7,2,1,""],get_url:[7,2,1,""]},"gcloud.datastore.query.Query":{kind:[5,2,1,""],OPERATORS:[5,3,1,""],dataset:[5,2,1,""],filter:[5,2,1,""],limit:[5,2,1,""],to_protobuf:[5,2,1,""],fetch:[5,2,1,""]},"gcloud.storage.acl.BucketACL":{save:[7,2,1,""]},"gcloud.datastore.key.Key":{kind:[5,2,1,""],is_partial:[5,2,1,""],name:[5,2,1,""],parent:[5,2,1,""],id_or_name:[5,2,1,""],namespace:[5,2,1,""],dataset:[5,2,1,""],from_path:[5,4,1,""],from_protobuf:[5,4,1,""],path:[5,2,1,""],to_protobuf:[5,2,1,""],id:[5,2,1,""]},"gcloud.datastore.connection":{Connection:[5,1,1,""]},"gcloud.datastore.dataset":{Dataset:[5,1,1,""]},"gcloud.storage.acl.ACL.Entity":{grant_write:[7,2,1,""],revoke:[7,2,1,""],revoke_write:[7,2,1,""],grant:[7,2,1,""],revoke_read:[7,2,1,""],grant_read:[7,2,1,""],grant_owner:[7,2,1,""],revoke_owner:[7,2,1,""],get_roles:[7,2,1,""]},"gcloud.datastore.key":{Key:[5,1,1,""]},"gcloud.datastore":{transaction:[5,0,0,"-"],dataset:[5,0,0,"-"],connection:[5,0,0,"-"],helpers:[5,0,0,"-"],key:[5,0,0,"-"],query:[5,0,0,"-"],entity:[5,0,0,"-"],"__init__":[5,0,0,"-"]},"gcloud.datastore.dataset.Dataset":{transaction:[5,2,1,""],get_entities:[5,2,1,""],entity:[5,2,1,""],get_entity:[5,2,1,""],connection:[5,2,1,""],query:[5,2,1,""],id:[5,2,1,""]},"gcloud.storage.acl.DefaultObjectACL":{save:[7,2,1,""]},"gcloud.storage.connection.Connection":{get_all_buckets:[7,2,1,""],create_bucket:[7,2,1,""],build_api_url:[7,2,1,""],delete_bucket:[7,2,1,""],API_URL_TEMPLATE:[7,3,1,""],lookup:[7,2,1,""],api_request:[7,2,1,""],new_bucket:[7,2,1,""],get_bucket:[7,2,1,""],make_request:[7,2,1,""],API_VERSION:[7,3,1,""]},"gcloud.storage.bucket":{Bucket:[7,1,1,""]},"gcloud.storage.iterator.Iterator":{reset:[7,2,1,""],get_items_from_response:[7,2,1,""],get_next_page_response:[7,2,1,""],get_query_params:[7,2,1,""],has_next_page:[7,2,1,""]},"gcloud.datastore.connection.Connection":{delete_entity:[5,2,1,""],rollback_transaction:[5,2,1,""],transaction:[5,2,1,""],http:[5,3,1,""],build_api_url:[5,4,1,""],delete_entities:[5,2,1,""],save_entity:[5,2,1,""],run_query:[5,2,1,""],API_URL_TEMPLATE:[5,3,1,""],lookup:[5,2,1,""],mutation:[5,2,1,""],API_VERSION:[5,3,1,""],commit:[5,2,1,""],dataset:[5,2,1,""],API_BASE_URL:[5,3,1,""],begin_transaction:[5,2,1,""]},"gcloud.datastore.query":{Query:[5,1,1,""]},"gcloud.datastore.transaction.Transaction":{begin:[5,2,1,""],rollback:[5,2,1,""],add_auto_id_entity:[5,2,1,""],dataset:[5,2,1,""],connection:[5,2,1,""],mutation:[5,2,1,""],commit:[5,2,1,""],id:[5,2,1,""]},"gcloud.credentials":{Credentials:[6,1,1,""]},"gcloud.storage.acl.ACL":{domain:[7,2,1,""],group:[7,2,1,""],entity_from_dict:[7,2,1,""],all:[7,2,1,""],get_entities:[7,2,1,""],Entity:[7,1,1,""],get_entity:[7,2,1,""],has_entity:[7,2,1,""],user:[7,2,1,""],entity:[7,2,1,""],Role:[7,1,1,""],save:[7,2,1,""],all_authenticated:[7,2,1,""],add_entity:[7,2,1,""]},"gcloud.storage.exceptions":{StorageError:[7,5,1,""],NotFoundError:[7,5,1,""],ConnectionError:[7,5,1,""],StorageDataError:[7,5,1,""]},"gcloud.datastore.entity":{Entity:[5,1,1,""]},"gcloud.storage.acl.ObjectACL":{save:[7,2,1,""]},"gcloud.storage.key":{Key:[7,1,1,""]}},titleterms:{control:7,comput:0,creat:3,queri:[0,5],modul:0,some:3,dataset:[3,5],second:[2,4],api:[0,3],connect:[5,6,7],instal:[2,1,4],storag:[0,7,2],your:3,cloud:[0,2,3,4,5,6,7],entiti:5,project:3,engin:0,helper:5,start:[0,1,3],transact:5,gcloud:[5,1,7],except:7,access:7,how:0,add:3,librari:[2,4],credenti:6,contribut:0,kei:[5,7],get:[0,1,3],python:0,big:0,sql:0,datastor:[5,0,4,3],yourself:[2,4],data:3,googl:0,account:3,enabl:3,servic:[0,3],bucket:7,iter:7,"try":[2,4],common:[0,6]}}) \ No newline at end of file