upload_object
Upload a local file to a Google Cloud Storage bucket. Specify project, bucket, and source path; optionally set destination name or content type.
Instructions
Upload a file to a Cloud Storage bucket.
Args:
project_id: The ID of the GCP project
bucket_name: The name of the bucket to upload to
source_file_path: The local file path to upload
destination_blob_name: The name to give the file in GCS (default: filename from source)
content_type: The content type of the file (default: auto-detect)
Returns:
Result of the upload operation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| bucket_name | Yes | ||
| content_type | No | ||
| source_file_path | Yes | ||
| destination_blob_name | No |