Validate a specific GCS import storage connection.
post/api/storages/gcs/validate
Request body
bucketstring
GCS bucket name
descriptionstring
Storage description
google_application_credentialsstring
The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details.
google_project_idstring
Google project ID
idinteger
Storage ID. If set, storage with specified ID will be updated
prefixstring
GCS bucket prefix
presignboolean
Presign URLs for direct download
presign_ttlinteger
Presign TTL in minutes
projectinteger
Project ID
regex_filterstring
Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported.
titlestring
Storage title
use_blob_urlsboolean
Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.