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

1.18.1 (2024-11-11)

Bug Fixes

1.18.0 (2024-10-24)

Features

1.17.0 (2024-08-08)

Features

  • Added build_service_account field to CloudFunction (68e105d)

  • additional field on the output that specified whether the deployment supports Physical Zone Separation. (68e105d)

  • Generate upload URL now supports for specifying the GCF generation that the generated upload url will be used for. (68e105d)

  • ListRuntimes response now includes deprecation and decommissioning dates. (68e105d)

  • optional field for binary authorization policy. (68e105d)

  • optional field for deploying a source from a GitHub repository. (68e105d)

  • optional field for specifying a revision on GetFunction. (68e105d)

  • optional field for specifying a service account to use for the build. This helps navigate the change of historical default on new projects. For more details, see https://cloud.google.com/build/docs/cloud-build-service-account-updates (68e105d)

  • optional fields for setting up automatic base image updates. (68e105d)

Documentation

  • A comment for field automatic_update_policy in message .google.cloud.functions.v1.CloudFunction is changed (68e105d)

  • A comment for field docker_repository in message .google.cloud.functions.v1.CloudFunction is changed (68e105d)

  • A comment for field on_deploy_update_policy in message .google.cloud.functions.v1.CloudFunction is changed (68e105d)

  • A comment for field runtime_version in message .google.cloud.functions.v1.CloudFunction is changed (68e105d)

  • A comment for field url in message .google.cloud.functions.v1.HttpsTrigger is changed (68e105d)

  • A comment for field url in message .google.cloud.functions.v1.SourceRepository is changed (68e105d)

  • Refined description in several fields. (68e105d)

1.16.5 (2024-07-30)

Bug Fixes

  • Retry and timeout values do not propagate in requests during pagination (189922a)

1.16.4 (2024-07-08)

Bug Fixes

1.16.3 (2024-03-05)

Bug Fixes

1.16.2 (2024-02-22)

Bug Fixes

  • [Many APIs] fix ValueError in test__validate_universe_domain (#12283) (f20b41a)

  • deps: [Many APIs] Require google-api-core>=1.34.1 (#12306) (1e787f2)

1.16.1 (2024-02-06)

Bug Fixes

  • Add google-auth as a direct dependency (c721248)

  • Add staticmethod decorator to _get_client_cert_source and _get_api_endpoint (c721248)

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

1.16.0 (2024-02-01)

Features

  • Allow users to explicitly configure universe domain (#12240) (d51f832)

1.15.0 (2024-01-24)

Features

  • Add fields for automatic runtime updates (82e676d)

  • Add optional parameter version_id to GetFunctionRequest (82e676d)

Documentation

  • Deprecate network field of CloudFunction (82e676d)

  • Minor updates in comments throughout (82e676d)

  • Update description for docker_registry to reflect transition to Artifact Registry (82e676d)

1.14.0 (2023-12-07)

Features

  • Add support for python 3.12 (fb6f9db)

  • Introduce compatibility with native namespace packages (fb6f9db)

Bug Fixes

  • Require proto-plus >= 1.22.3 (fb6f9db)

  • Use retry_async instead of retry in async client (fb6f9db)

1.13.3 (2023-09-19)

Documentation

1.13.2 (2023-08-03)

Documentation

1.13.1 (2023-07-05)

Bug Fixes

1.13.0 (2023-05-25)

Features

  • Added helper methods for long running operations, IAM, and locations (17b7a5b)

  • ListFunctions now include metadata which indicates whether a function is a GEN_1 or GEN_2 function (#263) (ea38aad)

Documentation

  • Applied general style guide updates to descriptions (17b7a5b)

  • Clarified that vpcConnector shortname is only returned if the connector is in the same project as the function (17b7a5b)

1.12.0 (2023-03-23)

Features

  • Add available_cpu field (af189a0)

  • Add kms_key_name field to ServiceConfig (the CMEK use case) (af189a0)

  • Add max_instance_request_concurrency field (af189a0)

  • Add security_level field (af189a0)

Documentation

  • Fix formatting of request arg in docstring (#259) (8befe21)

1.11.0 (2023-02-16)

Features

  • Enable “rest” transport in Python for services supporting numeric enums (#248) (be19686)

1.10.1 (2023-01-20)

Bug Fixes

  • Add context manager return types (e50be06)

Documentation

  • Add documentation for enums (e50be06)

1.10.0 (2023-01-10)

Features

1.9.0 (2022-12-14)

Features

  • Add support for google.cloud.functions.__version__ (8fa10be)

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

Bug Fixes

  • Add dict typing for client_options (8fa10be)

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

  • Drop usage of pkg_resources (716d441)

  • Fix timeout default values (716d441)

Documentation

  • samples: Snippetgen handling of repeated enum field (8fa10be)

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

1.8.3 (2022-10-07)

Bug Fixes

1.8.2 (2022-09-29)

Bug Fixes

1.8.1 (2022-08-11)

Bug Fixes

  • deps: allow protobuf < 5.0.0 (#207) (bdc415b)

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

1.8.0 (2022-07-14)

Features

Bug Fixes

  • deps: require google-api-core>=1.32.0,>=2.8.0 (10a61fa)

  • require python 3.7+ (#197) (6ed2206)

1.7.0 (2022-06-06)

Features

Bug Fixes

Documentation

  • fix changelog header to consistent size (#183) (b28c780)

1.6.0 (2022-04-14)

Features

Bug Fixes

  • deps: require grpc-google-iam-v1 >=0.12.4 (784539c)

1.5.2 (2022-03-05)

Bug Fixes

  • deps: require google-api-core>=1.31.5, >=2.3.2 (#157) (68d56b4)

  • deps: require proto-plus>=1.15.0 (68d56b4)

1.5.1 (2022-02-26)

Bug Fixes

  • resolve DuplicateCredentialArgs error when using credentials_file (80fe038)

1.5.0 (2022-01-25)

Features

1.4.0 (2021-11-05)

Features

  • CMEK integration fields ‘kms_key_name’ and ‘docker_repository’ added (47c99d0)

  • Secret Manager integration fields ‘secret_environment_variables’ and ‘secret_volumes’ added (#130) (47c99d0)

1.3.1 (2021-11-01)

Bug Fixes

  • deps: drop packaging dependency (7076c62)

  • deps: require google-api-core >= 1.28.0 (7076c62)

Documentation

  • list oneofs in docstring (7076c62)

1.3.0 (2021-10-21)

Features

1.2.0 (2021-10-08)

Features

  • add context manager support in client (#119) (66772fa)

1.1.1 (2021-09-30)

Bug Fixes

  • improper types in pagers generation (ef050bd)

1.1.0 (2021-09-16)

Features

  • add SecurityLevel option on HttpsTrigger (#109) (91aa229)

1.0.4 (2021-08-30)

Documentation

  • minor formatting fixes to Cloud Functions reference docs (#98) (05f10cf)

1.0.3 (2021-08-07)

Bug Fixes

  • Updating behavior of source_upload_url during Get/List function calls (#93) (264984c)

1.0.2 (2021-07-28)

Bug Fixes

Documentation

  • add Samples section to CONTRIBUTING.rst (#86) (a20de35)

Miscellaneous Chores

1.0.1 (2021-07-20)

Bug Fixes

  • deps: pin ‘google-{api,cloud}-core’, ‘google-auth’ to allow 2.x versions (#85) (5ad78fb)

1.0.0 (2021-06-30)

Features

  • bump release level to production/stable (#65) (b0f9d70)

0.7.0 (2021-06-30)

Features

Bug Fixes

Documentation

0.6.1 (2021-06-16)

Bug Fixes

  • exclude docs and tests from package (#69) (c75b52b)

0.6.0 (2021-05-28)

Features

  • support self-signed JWT flow for service accounts (167f431)

Bug Fixes

  • add async client to %name_%version/init.py (167f431)

  • deps: add packaging requirement (#62) (1384f55)

  • use correct default retry and timeout (#42) (8c7db91)

0.5.1 (2021-02-08)

Bug Fixes

  • remove client recv msg limit and add enums to types/__init__.py (#26) (207db35)

0.5.0 (2020-12-07)

Features

  • add common resource helper paths, expose client transport (#17) (e2660f2)

Documentation

0.4.0 (2020-10-02)

Features

0.1.0 (2020-07-20)

Features