wb resource add-ref gcs-object
Categories:
Name
wb-resource-add-ref-gcs-object - Add a referenced GCS bucket object.
Synopsis
wb resource add-ref gcs-object [--bucket-name=<bucketName>] [--cloning=<cloningInstructionsOption>] [--description=<description>] [--format=<format>] [--object-name=<objectName>] [--path=<path>] [--workspace=<id>] (--id=<id>)
Description
Add a referenced GCS bucket object.
Options
-
--bucket-name=<bucketName>
Name of the GCS bucket, without the prefix. (e.g.,my-bucket, notgs://my-bucket). -
--cloning=<cloningInstructionsOption>
Instructions for handling when cloning the workspace.Valid values: COPY_NOTHING, COPY_DEFINITION, COPY_RESOURCE, COPY_REFERENCE, COPY_LINK_REFERENCE
Default: COPY_REFERENCE -
--description=<description>
Description of the resource. -
--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. -
--object-name=<objectName>
Full path to the object in the specified GCS bucket, such asfolder1/file.txtandfolder1/ -
--path=<path>
Path of the bucket (e.g.,gs://bucket_name/object/path). -
--workspace=<id>
Workspace ID to use for this command only.
Last Modified: 9 January 2026