Google Cloud Storage Operations: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Google Cloud Storage =<tt>gsutil</tt>=") |
|||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Google_Cloud_Storage#Subjects|Google Cloud Storage]] | * [[Google_Cloud_Storage#Subjects|Google Cloud Storage]] | ||
* [[Google Cloud Storage Java Programming Model]] | |||
=<tt>gsutil</tt>= | =<tt>gsutil</tt>= | ||
{{Internal|gsutil|gsutil}} | |||
=Bucket Operations= | |||
==<span id='Listing_Buckets'></span>List Buckets== | |||
CLI: | |||
<syntaxhighlight lang='bash'> | |||
gsutil ls [-L] [-p <proj_id>] | |||
</syntaxhighlight> | |||
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}} | |||
==<span id='Create_a_Bucket'></span>Create Bucket== | |||
{{External|https://cloud.google.com/storage/docs/creating-buckets}} | |||
CLI: | |||
<syntaxhighlight lang='bash'> | |||
gsutil mb -b on -l us-west1 gs://of72t3336344j | |||
</syntaxhighlight> | |||
Java programming model: <font color=darkgray>TODO: https://cloud.google.com/storage/docs/creating-buckets#storage-create-bucket-code_samples</font> | |||
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> |
Latest revision as of 18:54, 2 September 2021
Internal
gsutil
Bucket Operations
List Buckets
CLI:
gsutil ls [-L] [-p <proj_id>]
Java programming model:
For concepts, see:
Create Bucket
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:
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