As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

Changelog

0.10.13 (2024-11-21)

Features

  • support manual instance count in Cloud Run for manual scaling feature (16b5ba7)

0.10.12 (2024-11-14)

Features

  • add EncryptionKeyRevocationAction and shutdown duration configuration to Services (579e338)

Documentation

  • fixed formatting of some documentation (579e338)

0.10.11 (2024-11-11)

Features

  • support advanced configurations options for cloud storage volumes by setting mount_options in the GCSVolumeSource configuration (97b9b6b)

Bug Fixes

Documentation

  • A comment for field max_instance_request_concurrency in message .google.cloud.run.v2.RevisionTemplate is changed (97b9b6b)

  • For field invoker_iam_disabled in message .google.cloud.run.v2.Service, clarify that feature is available by invitation only (97b9b6b)

  • Update docs for field value in message .google.cloud.run.v2.EnvVar to reflect Cloud Run product capabilities (97b9b6b)

0.10.10 (2024-10-24)

Features

0.10.9 (2024-10-08)

Features

  • add Builds API (6dde382)

  • add GPU configuration to Services (6dde382)

  • add INGRESS_TRAFFIC_NONE to Services (6dde382)

  • add Service Mesh configuration to Services (6dde382)

  • add ServiceScaling to Services (6dde382)

Documentation

  • fixed formatting of some documentation (6dde382)

0.10.8 (2024-07-30)

Bug Fixes

  • Retry and timeout values do not propagate in requests during pagination (52db52e)

0.10.7 (2024-07-10)

Features

  • add Job ExecutionReference.completion_status to show status of the most recent execution (0829cc1)

  • add Job start_execution_token and run_execution_token to execute jobs immediately on creation (0829cc1)

  • support update_mask in Cloud Run UpdateService (0829cc1)

Documentation

  • clarify optional fields in Cloud Run requests (0829cc1)

0.10.6 (2024-07-08)

Bug Fixes

0.10.5 (2024-03-05)

Features

  • Allow disabling the default URL (run.app) for Cloud Run Services (5535d1e)

  • Support disabling waiting for health checks during Service deployment. (5535d1e)

  • Support mounting NFS and GCS volumes in Cloud Run Jobs and Services (5535d1e)

  • Support specifying a per-Service min-instance-count (5535d1e)

Bug Fixes

Documentation

  • Clarify some defaults and required or optional values (5535d1e)

0.10.4 (2024-02-22)

Bug Fixes

  • deps: [Many APIs] Require google-api-core>=1.34.1 (#12309) (c23398a)

  • fix ValueError in test__validate_universe_domain (89c1b05)

0.10.3 (2024-02-06)

Bug Fixes

  • Add google-auth as a direct dependency (9e8d039)

  • Add staticmethod decorator to _get_client_cert_source and _get_api_endpoint (9e8d039)

  • Resolve AttributeError ‘Credentials’ object has no attribute ‘universe_domain’ (9e8d039)

0.10.2 (2024-02-01)

Features

  • Allow users to explicitly configure universe domain (4368029)

0.10.1 (2023-12-07)

Features

  • Add support for python 3.12 (9a629e1)

  • Introduce compatibility with native namespace packages (9a629e1)

Bug Fixes

  • Require proto-plus >= 1.22.3 (9a629e1)

  • Use retry_async instead of retry in async client (9a629e1)

0.10.0 (2023-10-09)

Features

  • Adds support for cancel Execution (f2c76e1)

  • Adds support for Direct VPC egress setting (f2c76e1)

  • Adds support for Execution overrides (f2c76e1)

  • New field for Task’s scheduled timestamp (f2c76e1)

  • New fields for multi-container (f2c76e1)

Documentation

0.9.1 (2023-08-02)

Documentation

0.9.0 (2023-07-06)

Features

0.8.1 (2023-07-04)

Bug Fixes

  • Add async context manager return types (#105) (592b761)

0.8.0 (2023-05-25)

Features

  • Adds support for Session affinity in Service (GA) (c907927)

  • Adds support for Startup CPU Boost (GA) (c907927)

  • New ‘port’ field for HttpGetAction probe type (c907927)

  • New fields/enum values (c907927)

Documentation

  • General documentation fixes. (c907927)

0.7.1 (2023-03-23)

Documentation

  • Fix formatting of request arg in docstring (#93) (4db3679)

0.7.0 (2023-01-20)

Features

  • Adding support for encryption_key_revocation_action and encryption_key_shutdown_duration for RevisionTemplate and ExecutionTemplate (bdb8baf)

Bug Fixes

  • Add context manager return types (bdb8baf)

Documentation

  • Add documentation for enums (bdb8baf)

  • Documentation improvements, including clarification that v1 labels/annotations are rejected in v2 API (bdb8baf)

0.6.0 (2023-01-10)

Features

0.5.0 (2022-12-14)

Features

  • Add support for google.cloud.run.__version__ (a19c445)

  • Add typing to proto.Message based class attributes (a19c445)

  • Adds Cloud Run Jobs v2 API client libraries (a19c445)

  • Adds Startup and Liveness probes to Cloud Run v2 API client libraries (#60) (d4d22ec)

Bug Fixes

  • Add dict typing for client_options (a19c445)

  • deps: Require google-api-core >=1.34.0, >=2.11.0 (cfedfb2)

  • Drop usage of pkg_resources (cfedfb2)

  • Fix timeout default values (cfedfb2)

Documentation

  • samples: Snippetgen handling of repeated enum field (a19c445)

  • samples: Snippetgen should call await on the operation coroutine before calling result (cfedfb2)

0.4.2 (2022-10-10)

Bug Fixes

  • deps: Allow protobuf 3.19.5 (#58) (87dcb78)

  • deps: require google-api-core>=1.33.2 (87dcb78)

0.4.1 (2022-10-03)

Bug Fixes

  • deps: Require protobuf >= 3.20.2 (#55) (7a85bac)

0.4.0 (2022-09-13)

Features

0.3.0 (2022-08-15)

Features

Bug Fixes

  • deps: allow protobuf < 5.0.0 (#33) (55bf980)

  • deps: require google-api-core>=1.32.0,>=2.8.0 (0d02163)

  • deps: require proto-plus >= 1.22.0 (55bf980)

  • Updates pre-release Cloud Run v2 Preview client libraries to work with the latest API revision (0d02163)

0.2.1 (2022-07-26)

Bug Fixes

0.2.0 (2022-04-14)

Features

Bug Fixes

  • deps: require grpc-google-iam-v1 >=0.12.4 (43244bc)

Documentation

  • fix type in docstring for map fields (43244bc)

0.1.0 (2022-04-03)

Features