Update import storage
Update a specific GCS import storage connection.
Authentication
AuthorizationToken
Header authentication of the form Token <token>
Path Parameters
id
Request
This endpoint expects an object.
bucket
GCS bucket name
description
Storage description
google_application_credentials
The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details.
google_project_id
Google project ID
prefix
GCS bucket prefix
presign
Presign URLs for direct download
presign_ttl
Presign TTL in minutes
project
Project ID
regex_filter
Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported.
title
Storage title
use_blob_urls
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.
Response
created_at
Creation time
id
project
A unique integer value identifying this project.
type
bucket
GCS bucket name
description
Cloud storage description
google_application_credentials
The content of GOOGLE_APPLICATION_CREDENTIALS json file
google_project_id
Google project ID
last_sync
Last sync finished time
last_sync_count
Count of tasks synced last time
last_sync_job
Last sync job ID
meta
prefix
GCS bucket prefix
presign
presign_ttl
Presigned URLs TTL (in minutes)
recursive_scan
Perform recursive scan over the bucket content
regex_filter
Cloud storage regex for filtering objects
status
* `initialized` - Initialized
* `queued` - Queued
* `in_progress` - In progress
* `failed` - Failed
* `completed` - Completed
* `completed_with_errors` - Completed with errors
synchronizable
title
Cloud storage title
traceback
Traceback report for the last failed sync
use_blob_urls
Interpret objects as BLOBs and generate URLs