Google Cloud Storage Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
</syntaxhighlight>
</syntaxhighlight>
Java programming model:
Java programming model:
 
{{External|https://github.com/ovidiuf/playground/blob/master/google/gcp/gcs/gcs-simple/src/main/java/playground/google/gcs/ListBuckets.java}}
 
For concepts, see: {{Internal|Google_Cloud_Storage_Concepts#Bucket|Bucket}}
For concepts, see: {{Internal|Google_Cloud_Storage_Concepts#Bucket|Bucket}}



Revision as of 00:40, 25 August 2021

Internal

gsutil

gsutil

Bucket Operations

List Buckets

CLI:

gsutil ls [-L] [-p <proj_id>]

Java programming model:

https://github.com/ovidiuf/playground/blob/master/google/gcp/gcs/gcs-simple/src/main/java/playground/google/gcs/ListBuckets.java

For concepts, see:

Bucket

Create a Bucket

https://cloud.google.com/storage/docs/creating-buckets
gsutil mb -b on -l us-west1 gs://of72t3336344j

For concepts, see:

Bucket