wb resource add-ref gcs-object

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', not 'gs://my-bucket').

  • --cloning=<cloningInstructionsOption>
    Instructions for handling when cloning the workspace: 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: 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.

  • --object-name=<objectName>
    Full path to the object in the specified GCS bucket, such as folder1/file.txt and folder1/

  • --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: 26 November 2024