Changelog
0.18.0 (2025年10月16日)
Features
- Add support for Python 3.14 (98ee71abc0f97c88239b50bf0e0827df19630def)
Bug Fixes
- Deprecate credentials_file argument (98ee71abc0f97c88239b50bf0e0827df19630def)
0.17.37 (2025年09月22日)
Features
0.17.36 (2025年06月11日)
Documentation
- Update import statement example in README (eea9e6f)
0.17.35 (2025年03月15日)
Bug Fixes
[Many APIs] Allow Protobuf 6.x (3a85796)
remove setup.cfg configuration for creating universal wheels (#13659) (59bfd42)
0.17.34 (2025年02月12日)
Features
Add REST Interceptors which support reading metadata (b1c3ce8)
Add support for reading selective GAPIC generation methods from service YAML (b1c3ce8)
promote cancel job API to GA (559dea7)
0.17.33 (2025年01月02日)
Documentation
[google-cloud-batch] fix a few broken references in documentation (651dcb6)
[google-cloud-batch] fix broken references in comments (#13390) (651dcb6)
0.17.32 (2024年12月12日)
Features
- Add support for opt-in debug logging (b1358ba)
Bug Fixes
- Fix typing issue with gRPC metadata when key ends in -bin (b1358ba)
Documentation
[google-cloud-batch] Rephrase reservation field doc (#13311) (bcf230c)
clarify options for logs (b1358ba)
clarify that user provided labels will also be applied to Cloud Logging (90a49b2)
Clarify the custom instance template needs to be in the same project (b1358ba)
Rephrase reservation field doc (b1358ba)
Update reservation field to include NO_RESERVATION (90a49b2)
0.17.31 (2024年10月31日)
Bug Fixes
- disable universe-domain validation (4ed4108)
0.17.30 (2024年10月24日)
Features
0.17.29 (2024年10月08日)
Documentation
- Clarify Batch only supports global custom instance template now (023d099)
0.17.28 (2024年09月16日)
Features
0.17.27 (2024年09月03日)
Features
- v1: promote block_project_ssh_keys support to batch v1 API (63a6de0)
0.17.26 (2024年08月20日)
Documentation
[google-cloud-batch] clarify tasks success criteria for background (e3a6b17)
[google-cloud-batch] clarify tasks success criteria for background runnable (#13023) (e3a6b17)
0.17.25 (2024年08月19日)
Documentation
Batch CentOS images and HPC CentOS images are EOS (5f179b9)
Clarify required fields for Runnable.Container (5f179b9)
Clarify required oneof fields for Runnable.Script (5f179b9)
Clarify TaskSpec requires one or more runnables (5f179b9)
0.17.24 (2024年08月08日)
Features
add block_project_ssh_keys field to the v1alpha job API to block project level ssh keys access to Batch created VMs (56ec4fc)
remove visibility restriction of cancel job api, allow in v1alpha (56ec4fc)
Documentation
- Refine usage scope for field
task_executionandtask_stateinstatus_events(56ec4fc)
0.17.23 (2024年07月30日)
Bug Fixes
- Retry and timeout values do not propagate in requests during pagination (6e83a37)
0.17.22 (2024年07月08日)
Bug Fixes
0.17.21 (2024年06月05日)
Documentation
- Documentation improvements (7e19b0e)
0.17.20 (2024年05月16日)
Features
Add UpdateJob API to update the job spec, only task_count is supported now (b855629)
Update description on allowed_locations in LocationPolicy field (b855629)
Documentation
[google-cloud-batch] Refine description for field
task_execution(f149fb8)[google-cloud-batch] Refine description for field
task_execution(#12693) (f149fb8)updated comments (b855629)
0.17.19 (2024年05月07日)
Documentation
- Update description on allowed_locations in LocationPolicy field (ae30a4e)
0.17.18 (2024年04月15日)
Features
- Add a service_account field to taskGroup for service account support (93b90df)
Bug Fixes
- Add optional flag of existing fields
limitandconsumedin ResourceAllowance (93b90df)
Documentation
- Update comments for ServiceAccount email and scopes fields (93b90df)
0.17.17 (2024年04月04日)
Documentation
A comment for field
max_run_durationin message.google.cloud.batch.v1alpha.TaskSpecand.google.cloud.batch.v1.TaskSpecis changed (3d35d8b)add non-negative restriction comment for usage_resource_allowance.spec.limit.limit exposed on v1alpha (3d35d8b)
state one Resource Allowance per region per project limitation on v1alpha (3d35d8b)
0.17.16 (2024年04月03日)
Documentation
add non-negative restriction comment for usage_resource_allowance.spec.limit.limit exposed on v1alpha (4be4f8d)
state one Resource Allowance per region per project limitation on v1alpha (4be4f8d)
0.17.15 (2024年03月28日)
Features
0.17.14 (2024年03月05日)
Bug Fixes
0.17.13 (2024年03月04日)
Documentation
[google-cloud-batch] Remove UUID specification in comment (#12366) (13c7f8f)
[google-cloud-batch] update description of Job uid field (13c7f8f)
0.17.12 (2024年02月22日)
Bug Fixes
[Many APIs] fix
ValueErrorintest__validate_universe_domain(#12280) (2d75d0e)deps: [Many APIs] Require
google-api-core>=1.34.1(#12304) (c52e0cd)
Documentation
add caution messages for container runnable username and password fields (9379366)
refine proto comment for run_as_non_root (9379366)
0.17.11 (2024年02月06日)
Bug Fixes
Add google-auth as a direct dependency (8465244)
Add staticmethod decorator to _get_client_cert_source and _get_api_endpoint (8465244)
Resolve AttributeError ‘Credentials’ object has no attribute ‘universe_domain’ (8465244)
0.17.10 (2024年02月01日)
Features
- Allow users to explicitly configure universe domain (a0392ee)
0.17.9 (2024年01月24日)
Features
Add
run_as_non_rootfield to allow user’s runnable be executed as non root (7d78274)Add
tagsfield in Job’s AllocationPolicy field in v1 (7d78274)Add Batch Image Streaming support for v1 (7d78274)
Documentation
- [google-cloud-batch] Polish the field descriptions for enableImageStreaming and CloudLoggingOptions (#12216) (d23ec54)
0.17.8 (2024年01月22日)
Bug Fixes
0.17.7 (2024年01月12日)
Features
Add
run_as_non_root fieldand deprecateenable_osloginfor non-root execution (ce7ddbf)Add
tagsfield in Job’s AllocationPolicy field in v1alpha (ce7ddbf)
Documentation
- updated comments (ce7ddbf)
0.17.6 (2023年12月07日)
Features
Add support for python 3.12 (ea6cfc2)
Introduce compatibility with native namespace packages (ea6cfc2)
Bug Fixes
0.17.5 (2023年11月29日)
Features
Add a CloudLoggingOption to configure additional settings for Cloud Logging (9c53819)
v1alpha: Add TaskGroup.enable_oslogin to give the Batch job submitter the ability to run runnables as non-root controlled by IAM (5392065)
Documentation
Update comment for AllocationPolicy.network (9c53819)
v1alpha: Update documentation for the network field of AllocationPolicy (5392065)
0.17.4 (2023年11月14日)
Features
- [google-cloud-batch] add a CloudLoggingOption and use_generic_task_monitored_resource fields for users to opt out new batch monitored resource in cloud logging (#12019) (13fd2e1)
0.17.3 (2023年11月02日)
Documentation
Add clarification for
TaskGroup.parallelism(9cd9608)update default max parallel tasks per job (#11940) (9cd9608)
0.17.2 (2023年10月19日)
Features
- expose display_name to batch v1 API (8235ef6)
0.17.1 (2023年09月30日)
Documentation
- update batch PD interface support (a300b07)
0.17.0 (2023年08月31日)
Features
add Batch Managed Container support for v1alpha (37e457c)
Add more compute resource API descriptions to match with VM’s machine type field (37e457c)
add stderr_snippet to indicate the real stderr output by runnables to the execution field of status event (1a8670d)
Clarify Batch API proto doc about pubsub notifications (37e457c)
Documentation
Clarify Batch API proto doc about pubsub notifications (1a8670d)
Expand compute resource API docs to match with VM’s machine type field (1a8670d)
Update description on size_gb in disk field (#11615) (d46f714)
0.16.0 (2023年08月09日)
Features
Add Batch Managed Container support for v1alpha (0e7f0b0)
Clarify Batch API proto doc about pubsub notifications (0e7f0b0)
Documentation
0.15.0 (2023年08月03日)
Features
Documentation
Add comment to the unsupported order_by field of ListTasksRequest (f5f6d35)
Improve url examples formats on Batch API comments (f5f6d35)
0.14.0 (2023年07月25日)
Features
- v1alpha: Enable gpu driver version field (2528a8e)
Documentation
v1alpha: Improve url examples in comments (2528a8e)
v1alpha: Mark
order_byfield inListTasksRequestas not implemented. (2528a8e)
0.13.0 (2023年07月04日)
Features
- v1alpha: Add gpu driver version field (fa1e00b)
Bug Fixes
Documentation
v1: Add image shortcut example for Batch HPC CentOS Image (#119) (cc9d65a)
v1alpha: Add image shortcut example for Batch HPC CentOS Image (fa1e00b)
0.12.0 (2023年06月14日)
Features
- v1: Add support for scheduling_policy (23d3a5e)
Documentation
- Minor clarifications for TaskGroup and min_cpu_platform (23d3a5e)
0.11.0 (2023年05月25日)
Features
v1: Add support for per-Runnable labels (977ce57)
v1: Add support for placement policies (977ce57)
v1alpha: Add support for placement policies (be22675)
v1alpha: Support order_by in ListJobs and ListTasks requests (be22675)
0.10.0 (2023年03月16日)
Features
- Added StatusEvent.task_state (de68b7c)
Bug Fixes
- Remove IAM methods (de68b7c)
Documentation
0.9.0 (2023年02月04日)
Features
Add boot disk field in InstancePolicy (3a73b21)
Add boot disk field in InstanceStatus (3a73b21)
Support custom scopes for service account (3a73b21)
0.8.1 (2023年01月20日)
Bug Fixes
- Add context manager return types (695d075)
Documentation
- Add documentation for enums (695d075)
0.8.0 (2023年01月10日)
Features
0.7.0 (2023年01月04日)
Features
- Support secret and encrypted environment variables in v1 (711e132)
Documentation
- Updated documentation for message NetworkInterface (711e132)
0.6.0 (2022年12月15日)
Features
- Add InstancePolicy.boot_disk (7e275de)
Bug Fixes
Removed unused endpoints for IAM methods (7e275de)
rest: Remove unsupported HTTP bindings for IAMPolicy RPCs (7e275de)
ServiceAccount.scopes is no longer deprecated (7e275de)
0.5.0 (2022年12月07日)
Features
add support for
google.cloud.batch.__version__(2f6bdca)Add typing to proto.Message based class attributes (2f6bdca)
Adds named reservation to InstancePolicy (9414457)
Bug Fixes
Add dict typing for client_options (2f6bdca)
deps: Require google-api-core >=1.34.0, >=2.11.0 (1b70819)
Drop usage of pkg_resources (1b70819)
Fix timeout default values (1b70819)
Documentation
Remove "not yet implemented" for Accelerator & Refine Volume API docs (9414457)
samples: Snippetgen handling of repeated enum field (2f6bdca)
samples: Snippetgen should call await on the operation coroutine before calling result (1b70819)
update the job id format requirement (9414457)
0.4.1 (2022年10月27日)
Documentation
0.4.0 (2022年10月18日)
Features
- Enable install_gpu_drivers flag in v1 proto (e7b8681)
Documentation
Refine comments for deprecated proto fields (e7b8681)
Refine comments for deprecated proto fields (e7b8681)
Refine GPU drivers installation proto description (e7b8681)
Refine GPU drivers installation proto description (#57) (e7b8681)
Update the API comments about the device_name (e7b8681)
Update the API comments about the device_name (e7b8681)
0.3.2 (2022年10月10日)
Bug Fixes
0.3.1 (2022年10月03日)
Bug Fixes
Documentation
0.3.0 (2022年09月16日)
Features
Bug Fixes
Documentation
0.2.0 (2022年08月31日)
Features
0.1.2 (2022年08月11日)
Bug Fixes
0.1.1 (2022年07月18日)
Bug Fixes
0.1.0 (2022年07月08日)
Features
- generate v1 (3e74724)