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.22.0 (2024-11-14)

Features

  • [google-cloud-compute] Update Compute Engine API to revision 20241105 (#954) (#13276) (131af55)

1.21.0 (2024-11-11)

Features

  • Update Compute Engine API to revision 20241015 (#13252) (c0351dd)

1.20.1 (2024-10-31)

Bug Fixes

  • disable universe-domain validation (53c951e)

1.20.0 (2024-10-24)

Features

  • Add support for Python 3.13 (6252476)

1.19.2 (2024-07-30)

Bug Fixes

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

1.19.1 (2024-07-08)

Bug Fixes

1.19.0 (2024-05-16)

Features

  • [google-cloud-compute] Update Compute Engine API to revision (f515bc6)

  • [google-cloud-compute] Update Compute Engine API to revision (f515bc6)

  • [google-cloud-compute] Update Compute Engine API to revision 20240430 (#900) (#12648) (f515bc6)

1.18.0 (2024-03-05)

Features

  • Update Compute Engine API to revision 20240220 (6a32592)

Bug Fixes

  • deps: Exclude google-auth 2.24.0 and 2.25.0 (6a32592)

1.17.0 (2024-02-22)

Features

Bug Fixes

  • [Many APIs] fix ValueError in test__validate_universe_domain (#12282) (b985096)

  • deps: [Many APIs] Require google-api-core>=1.34.1 (#12305) (2aa7f17)

1.16.1 (2024-02-06)

Bug Fixes

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

  • Add staticmethod decorator to _get_client_cert_source and _get_api_endpoint (f3db074)

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

1.16.0 (2024-02-01)

Features

  • Allow users to explicitly configure universe domain (#12239) (8004d15)

1.15.0 (2023-12-07)

Features

  • [google-cloud-compute] Update Compute Engine API to revision 20231110 (#868) (#12092) (51e1478)

  • Add support for python 3.12 (b96013d)

  • Introduce compatibility with native namespace packages (b96013d)

Bug Fixes

  • Require proto-plus >= 1.22.3 (b96013d)

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

1.14.1 (2023-09-13)

Documentation

1.14.0 (2023-08-02)

Features

1.13.0 (2023-07-10)

Features

  • Update Compute Engine API to revision 20230701 (#421) (4e1b99e)

1.12.1 (2023-07-06)

Documentation

1.12.0 (2023-07-04)

Features

1.11.0 (2023-03-23)

Features

Documentation

  • Fix formatting of request arg in docstring (#404) (e9b13a0)

1.10.1 (2023-02-23)

Documentation

  • README: Improving readme with some demos and more info (#394) (7db9a9d)

1.10.0 (2023-01-20)

Features

  • Update Compute Engine API to revision 20221224 (3491868)

Bug Fixes

  • Add context manager return types (3491868)

Documentation

  • Add documentation for enums (3491868)

1.9.0 (2023-01-10)

Features

1.8.0 (2022-12-14)

Features

1.7.0 (2022-12-07)

Features

  • add support for google.cloud.compute.__version__ (a6193cf)

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

  • Update Compute Engine API to revision 20221101 (6bdf59e)

Bug Fixes

  • Add dict typing for client_options (a6193cf)

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

  • Drop usage of pkg_resources (12a72b6)

  • Fix timeout default values (12a72b6)

Documentation

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

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

1.6.1 (2022-10-10)

Bug Fixes

  • deps: Allow protobuf 3.19.5 (#351) (f64b468)

  • deps: require google-api-core >=2.10.2 (f64b468)

Documentation

  • samples: Fixing an issue with listing all instances (#349) (8f47a01)

1.6.0 (2022-09-29)

Features

Bug Fixes

  • deps: require google-api-core>=2.10.1 (cf5fab1)

  • deps: Require protobuf >= 3.20.2 (#347) (62ad9cb)

1.5.2 (2022-09-07)

Bug Fixes

  • deps: require google-api-core >= 2.9.0 (b3047e1)

  • deps: require protobuf >= 3.20.1 (b3047e1)

1.5.1 (2022-08-12)

Bug Fixes

Documentation

  • samples: Various ways of creating a new disk (#308) (d7b7825)

1.5.0 (2022-08-04)

Features

1.4.0 (2022-07-18)

Features

Bug Fixes

Documentation

  • samples: adding sample for local SSD disk (#294) (6295ade)

  • samples: Adding samples for Spot VMs (#285) (5b82f47)

  • samples: Adding the missing compute_create_windows_instance_external_ip region (#300) (e402750)

  • samples: Bulk insert sample (#299) (79b26c5)

1.3.2 (2022-06-03)

Bug Fixes

Documentation

  • fix changelog header to consistent size (#288) (20af4aa)

1.3.1 (2022-05-05)

Documentation

  • samples: Adding samples for image creation and deletion (#270) (89ab205)

  • samples: Adding samples for image related operations (#277) (35c548e)

  • samples: Adding Windows server samples (#274) (06291b5)

  • samples: Improving snapshot samples (#276) (343be37)

1.3.0 (2022-04-21)

Features

  • add new methods for long running operations (526fb10)

Bug Fixes

  • compute: remove proto3_optional from parent_id (#260) (526fb10)

  • compute: replace missing REQUIRED for parent_id (526fb10)

  • deps: require google-api-core>=2.7.0 (526fb10)

  • revert proto3_optional, required removal on parent_id (#714) (#265) (ae1aeac)

Documentation

  • samples: Add samples for suspending/resuming an instance (#259) (685d909)

  • samples: Migrate samples to use new type of operations (#264) (767d7c8)

1.2.0 (2022-04-07)

Features

  • update compute API to revision 20220322 (#710) (84604a1)

Bug Fixes

  • fix type in docstring for map fields (#256) (84604a1)

Documentation

  • samples: Add samples for moving VM to different regions/zones (#244) (9d22f0d)

1.1.0 (2022-03-08)

Features

Bug Fixes

  • deps: require dataclasses for python 3.6 (a36c637)

  • deps: require google-api-core >= 2.4.0 (77210f5)

Documentation

  • samples: Adding samples for delete protection (#208) (7ed70ec)

  • samples: additional samples for the Compute API (72544d9)

1.0.0 (2022-01-13)

Features

  • bump release level to production/stable (#189) (d5a5438)

0.9.0 (2021-12-13)

Features

Bug Fixes

  • handle GCP enum name start with uppercase IPProtocol (#691) (#166) (3d0fe75)

  • make parent_id fields required compute move and insert methods (#686) (#160) (8b373af)

Documentation

  • samples: Adding samples for instance from template creation (#159) (34092b5)

  • samples: Adding template samples (#136) (bc721a7)

  • samples: Renaming region to avoid name collision with different region. (#167) (60f2937)

0.8.0 (2021-11-16)

Features

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

  • update to the latest version of the code generator (#147) (de739a1)

Bug Fixes

  • add ‘dict’ annotation type to ‘request’ (de739a1)

  • deps: require google-api-core >=2.2.0 (de739a1)

  • deps: require proto-plus >=1.19.7 (de739a1)

Documentation

  • list oneofs in docstring (de739a1)

0.7.0 (2021-11-09)

Features

  • Integrate latest compute API definitions (#143) (878f8fc)

0.6.0 (2021-10-14)

Features

Bug Fixes

  • compute: Updated max_results to 100 to avoid too many API calls (#108) (691e38e)

  • correct region tag formatting (#102) (8339c00)

Documentation

  • samples: Adding pagination sample. (#78) (db0404c)

0.5.0 (2021-08-09)

⚠ BREAKING CHANGES

  • uint64/int64 fields accept ints instead of strings (#92)

Features

  • add always_use_jwt_access (4d673cf)

Bug Fixes

  • fix required query params handling (closes #12) (4d673cf)

  • uint64/int64 fields accept ints instead of strings (#92) (4d673cf)

Documentation

  • adding samples to start/stop/reset operations (#75) (0df87a9)

Miscellaneous Chores

0.4.2 (2021-07-26)

Bug Fixes

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

  • samples docstring and comments update (#69) (2d53eb1)

  • adding samples for default values (#64) (553e389)

Miscellaneous Chores

  • release as 0.4.2 (#84) (dc77c0c)

  • Kokoro uses separate project for concurent tests. (#83) (40afb33)

0.4.1 (2021-06-16)

Bug Fixes

  • exclude docs and tests from package (#65) (c157bf5)

0.4.0 (2021-06-07)

Features

  • Adding code samples and tests for them (#55) (14cd352)

  • Raise GoogleAPICallError on REST response errors (01db23b)

  • Re-generated to pick up changes from googleapis-discovery with latest fixes (#60) (01db23b)

  • remove support for google-api-core < 1.28.0 (01db23b)

0.3.0 (2021-05-10)

Features

  • Regenerate newest version of python-compute with field presence support (#49) (6181460)

0.2.1 (2021-02-26)

Bug Fixes

  • ignore unknown fields in response (#25) (a8c37b4)

0.2.0 (2021-02-11)

Features

  • run synthtool to pick up mtls feature (#6) (3abec21)

Bug Fixes

  • don’t use integers for enums in json encoding (a3685b5)

  • fix body encoding for rest transport (#17) (a3685b5)

  • regenerate the client lib (#9) (b9def52)

  • set development status classifier to alpha (#2) (54814f8)

  • stabilize order of query_params (a3685b5)

  • update paging implementation to handle unconventional pagination (a3685b5)

0.1.0 (2021-01-08)

Features