Google Cloud Storage: List Directory of
Parameter | Purpose | Example |
---|---|---|
service_account | GCP service account JSON | {"type": "service_account", ...} |
bucket | GCS bucket name | "my-app-bucket" |
path | Directory path to list | "folder/" , "uploads/" |
as | Alias for directory listing | x1 , directory_contents |
Example
Example
- Lists contents of a GCS directory
- Returns object names and metadata
- Supports nested directories
- Lists all objects in specified path
Google Cloud Storage: Get Signed URL of
Parameter | Purpose | Example |
---|---|---|
service_account | GCP service account JSON | {"type": "service_account", ...} |
bucket | GCS bucket name | "my-app-bucket" |
filePath | Path to file | "documents/file.pdf" |
method | HTTP method to allow | "GET" , "PUT" |
ttl | Time-to-live in seconds | 300 , 3600 |
as | Alias for signed URL | x2 , signed_url |
Example
Example
- Generates signed URL for temporary access
Google Cloud Storage: Get Signed URL of
Parameter | Purpose | Example |
---|---|---|
service_account | GCP service account JSON | {"type": "service_account", ...} |
bucket | GCS bucket name | "my-app-bucket" |
filePath | Path to file | "documents/file.pdf" |
method | HTTP method to allow | "GET" , "PUT" |
ttl | Time-to-live in seconds | 300 , 3600 |
as | Alias for signed URL | x2 , signed_url |
Example
Example
- Generates signed URL for temporary access
Google Cloud Storage: Upload file to
Parameter | Purpose | Example |
---|---|---|
service_account | GCP service account JSON | {"type": "service_account", ...} |
bucket | GCS bucket name | "my-app-bucket" |
filePath | Destination path in bucket | "uploads/file.jpg" |
file | File to upload | $input.file |
metadata | Custom metadata for object | {contentType: "image/jpeg"} |
Example
Example
- Uploads file to Google Cloud Storage
- Supports custom metadata
Google Cloud Storage: Delete file
Parameter | Purpose | Example |
---|---|---|
service_account | GCP service account JSON | {"type": "service_account", ...} |
bucket | GCS bucket name | "my-app-bucket" |
filePath | Path to file to delete | "folder/file.txt" |
Example
Example
- Deletes an object from storage
Google Cloud Storage: Create Var From File Resource
Parameter | Purpose | Example |
---|---|---|
service_account | GCP service account JSON | {"type": "service_account", ...} |
bucket | GCS bucket name | "my-app-bucket" |
filePath | Path to file to read | "documents/file.txt" |
as | Alias for file contents | x3 , file_data |
Example
Example
- Reads object contents
- Returns file data
Google Cloud Storage: Get File Metadata
Parameter | Purpose | Example |
---|---|---|
service_account | GCP service account JSON | {"type": "service_account", ...} |
bucket | GCS bucket name | "my-app-bucket" |
filePath | Path to file | "folder/file.txt" |
as | Alias for file metadata | x4 , object_info |
Example
Example
- Retrieves object metadata