Google Cloud Storage Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 22: Line 22:


For concepts, see: {{Internal|Google_Cloud_Storage_Concepts#Bucket|Bucket}}
For concepts, see: {{Internal|Google_Cloud_Storage_Concepts#Bucket|Bucket}}
==Get Bucket Information==
Java programming model: <font color=darkgray>TODO: https://cloud.google.com/storage/docs/getting-bucket-information</font>
==Move or Rename Bucket==
Java programming model: <font color=darkgray>TODO: https://cloud.google.com/storage/docs/moving-buckets</font>
==Delete Bucket==
Java programming model: <font color=darkgray>TODO: https://cloud.google.com/storage/docs/deleting-buckets</font>
==Upload Objects to Bucket==
Java programming model: <font color=darkgray>TODO: https://cloud.google.com/storage/docs/uploading-objects</font>

Revision as of 00:44, 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 Bucket

https://cloud.google.com/storage/docs/creating-buckets

CLI:

gsutil mb -b on -l us-west1 gs://of72t3336344j

Java programming model: TODO: https://cloud.google.com/storage/docs/creating-buckets#storage-create-bucket-code_samples

For concepts, see:

Bucket

Get Bucket Information

Java programming model: TODO: https://cloud.google.com/storage/docs/getting-bucket-information

Move or Rename Bucket

Java programming model: TODO: https://cloud.google.com/storage/docs/moving-buckets

Delete Bucket

Java programming model: TODO: https://cloud.google.com/storage/docs/deleting-buckets

Upload Objects to Bucket

Java programming model: TODO: https://cloud.google.com/storage/docs/uploading-objects