download_object
Download files from a Google Cloud Storage bucket by specifying the project ID, bucket name, file name, and local save path. Simplify file retrieval for GCP resources.
Instructions
Download a file from a Cloud Storage bucket.
Args:
project_id: The ID of the GCP project
bucket_name: The name of the bucket to download from
source_blob_name: The name of the file in the bucket
destination_file_path: The local path to save the file to
Returns:
Result of the download operation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket_name | Yes | ||
destination_file_path | Yes | ||
project_id | Yes | ||
source_blob_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"bucket_name": {
"title": "Bucket Name",
"type": "string"
},
"destination_file_path": {
"title": "Destination File Path",
"type": "string"
},
"project_id": {
"title": "Project Id",
"type": "string"
},
"source_blob_name": {
"title": "Source Blob Name",
"type": "string"
}
},
"required": [
"project_id",
"bucket_name",
"source_blob_name",
"destination_file_path"
],
"title": "download_objectArguments",
"type": "object"
}