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. -
--format=<format>
Set the format for printing command output. Defaults to the config format property.Valid values: JSON, TEXT
Default: null -
--id=<id>
ID of the resource, scoped to the workspace. Only use letters, numbers, dashes, and underscores. -
--lifecycle=<pathToLifecycleFile>
Lifecycle rules 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.Valid values for controlled resources: COPY_NOTHING, COPY_DEFINITION, COPY_RESOURCE, COPY_REFERENCE
Valid values for referenced resources: COPY_NOTHING, COPY_REFERENCE
-
--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.Valid values: STANDARD, NEARLINE, COLDLINE, ARCHIVE
-
--workspace=<id>
Workspace ID to use for this command only.
Last Modified: 13 November 2025