docs/integrations/prefect-gcp/api-ref/prefect_gcp-experimental-bundles-upload.mdx
prefect_gcp.experimental.bundles.uploadupload_bundle_to_gcs <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-gcp/prefect_gcp/experimental/bundles/upload.py#L23" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>upload_bundle_to_gcs(local_filepath: Path, bucket: str, key: str, gcp_credentials_block_name: str | None = None) -> UploadBundleToGcsOutput
Uploads a bundle file to a GCS bucket.
Args:
local_filepath: The path to the bundle file to upload.bucket: The name of the GCS bucket to upload the bundle to.key: The key (path) to upload the bundle to in the GCS bucket.gcp_credentials_block_name: The name of the GCP credentials block to use.Returns:
UploadBundleToGcsOutput <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-gcp/prefect_gcp/experimental/bundles/upload.py#L14" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>The output of the upload_bundle_to_gcs step.