You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The <code>gcloud.datastore</code> object gives you some convenience methods, as well as exposes a <code>dataset</code> function. This will allow you to create a <code>dataset</code>, which is the object from which you will interact with the Google Cloud Datastore.
See <ahref="#/docs/{{version}}/datastore/dataset">the Dataset documentation</a> for examples of how to query the datastore, save entities, run a transaction, and others.
75
-
</p>
76
-
</article>
77
-
78
-
<articleng-if="isActiveDoc('storage')">
79
-
<p>
80
-
The <code>gcloud.storage</code> object contains a <code>Bucket</code> object, which is how you will interact with your Google Cloud Storage bucket.
See <ahref="#/docs/datastore/dataset">the Dataset documentation</a> for examples of how to query the datastore, save entities, run a transaction, and others.
73
+
See <ahref="#/docs/{{version}}/datastore/dataset">the Dataset documentation</a> for examples of how to query the datastore, save entities, run a transaction, and others.
89
74
</p>
90
75
</article>
76
+
91
77
<articleng-if="isActiveDoc('storage')">
92
-
<h2>Overview</h2>
78
+
<h3>Storage Overview</h3>
93
79
<p>
94
80
The <code>gcloud.storage</code> object contains a <code>bucket</code> object, which is how you will interact with your Google Cloud Storage bucket. See the guide on <ahref="https://developers.google.com/storage">Google Cloud Storage</a> to create a bucket.
95
81
</p>
82
+
<divhljs>
83
+
var bucket = gcloud.storage.bucket({
84
+
bucketName: 'MyBucket'
85
+
});</div>
96
86
<p>
97
87
See examples below for more on how to access your bucket to upload a file, read its files, create signed URLs, and more.
0 commit comments