wb resource update gcs-bucket
Categories:
Name
wb-resource-update-gcs-bucket - Update a GCS bucket.
Synopsis
wb resource update gcs-bucket [--format=<format>] [--new-bucket-name=<newBucketName>] [--new-cloning=<cloning>] [--new-description=<newDescription>] [--new-id=<newId>] [--storage=<storageClass>] [--workspace=<id>] (--id=<id>) [--lifecycle=<pathToLifecycleFile> | --auto-delete=<autoDelete>]
Description
Update a GCS bucket.
Options
-
--auto-delete=<autoDelete>
Number of days after which to auto-delete the objects in the bucket. This option is a shortcut for specifying a lifecycle rule that auto-deletes objects in the bucket after some number of days. -
--auto-delete=<autoDelete>
Number of days after which to auto-delete the objects in the bucket. This option is a shortcut for specifying a lifecycle rule that auto-deletes objects in the bucket after some number of days. -
--format=<format>
Set the format for printing command output: JSON, TEXT. Defaults to the config format property.Default: null
-
--id=<id>
ID of the resource, scoped to the workspace. Only use letters, numbers, dashes, and underscores. -
--id=<id>
ID of the resource, scoped to the workspace. Only use letters, numbers, dashes, and underscores. -
--lifecycle=<pathToLifecycleFile>
Lifecycle rules (https://cloud.google.com/storage/docs/lifecycle) specified in a JSON-formatted file. See the README for the expected JSON format. -
--lifecycle=<pathToLifecycleFile>
Lifecycle rules (https://cloud.google.com/storage/docs/lifecycle) specified in a JSON-formatted file. See the README for the expected JSON format. -
--new-bucket-name=<newBucketName>
New name of the GCS bucket, without the prefix. (e.g. 'my-bucket', not 'gs://my-bucket'). -
--new-cloning=<cloning>
Instructions for handling when cloning the workspace: COPY_NOTHING, COPY_DEFINITION, COPY_RESOURCE, COPY_REFERENCE for controlled resources; COPY_NOTHING or COPY_REFERENCE for referenced resources. -
--new-description=<newDescription>
New description of the resource. -
--new-id=<newId>
New ID of the resource. Only alphanumeric and underscore characters are permitted. -
--storage=<storageClass>
Storage class (https://cloud.google.com/storage/docs/storage-classes): STANDARD, NEARLINE, COLDLINE, ARCHIVE. -
--workspace=<id>
Workspace id to use for this command only.
Last Modified: 16 December 2024