Version history

Version 2.11.0, released 2024-07-01

New features

  • Add a install_ops_agent field to InstancePolicyOrTemplate for Ops Agent support (commit d8e69ab)

Documentation improvements

  • Add instructions on how to configure cross-project pubsub publisher (commit d8e69ab)
  • Document default disk type: pd-standard for non boot disk, pd-balanced for boot disk (commit d8e69ab)
  • Update list of volume.mount_options field (commit d8e69ab)
  • Update GCS description of volume.mount_options field (commit d8e69ab)
  • Update links in the description of volume.mount_options field (commit d8e69ab)
  • Documentation improvements (commit 5d53acd)
  • Refine description for field task_execution (commit 7115e29)

Version 2.10.0, released 2024-05-08

New features

  • Add IServiceCollection extension methods for client registration where an IServiceProvider is required. (commit 022fab2)

Documentation improvements

  • Update description on allowed_locations in LocationPolicy field (commit 28e0693)
  • Update comments on ServiceAccount email and scopes fields (commit 64a9268)
  • State one Resource Allowance per region per project limitation on v1alpha (commit 159689e)
  • A comment for field max_run_duration in message .google.cloud.batch.v1alpha.TaskSpec and .google.cloud.batch.v1.TaskSpec is changed (commit 159689e)
  • Add non-negative restriction comment for usage_resource_allowance.spec.limit.limit exposed on v1alpha (commit 159689e)

Version 2.9.0, released 2024-03-26

New features

Version 2.8.0, released 2024-02-28

Documentation improvements

Version 2.7.0, released 2024-02-08

New features

  • Add run_as_non_root field to allow user's runnable be executed as non root (commit 7529915)
  • Add tags field in Job's AllocationPolicy field in v1 (commit 7529915)
  • Add Batch Image Streaming support for v1 (commit 7529915)

Documentation improvements

  • Polish the field descriptions for enableImageStreaming and CloudLoggingOptions (commit 7529915)

Version 2.6.0, released 2023-12-05

New features

  • Add a CloudLoggingOption and use_generic_task_monitored_resource fields for users to opt out new batch monitored resource in cloud logging (commit 838c6df)

Documentation improvements

Version 2.5.0, released 2023-10-30

New features

  • Expose display_name to batch v1 API (commit 86e0579)
  • Add InstancePolicy.reservation field for restricting jobs to a specific reservation (commit 10652c4)

Documentation improvements

Version 2.4.0, released 2023-08-16

New features

Version 2.3.0, released 2023-08-04

New features

Documentation improvements

  • Add image shortcut example for Batch HPC CentOS Image (commit 9b54ce0)

Version 2.2.0, released 2023-06-20

New features

Documentation improvements

  • Minor clarifications for TaskGroup and min_cpu_platform (commit 051cc0d)

Version 2.1.0, released 2023-05-26

New features

Version 2.0.0, released 2023-03-09

BREAKING CHANGE

BatchServiceClient no longer exposes an IAMPolicyClient. This was only exposed unintentionally, and has never worked. However, this is still a breaking change as application code may have referred to it.

New features

Documentation improvements

Version 1.3.0, released 2023-02-08

New features

Version 1.2.0, released 2023-01-11

Bug fixes

  • Remove unsupported HTTP bindings for IAMPolicy RPCs (commit 9ca7a4b)

New features

  • Support secret and encrypted environment variables in v1 (commit f527507)

Documentation improvements

Version 1.2.0-beta01, released 2022-12-08

New features

  • Enable REST transport in selected APIs. Set GrpcAdapter=RestGrpcAdapter.Default in the client builder to use this transport (commit 5008946)

Version 1.1.0, released 2022-12-01

New features

Documentation improvements

Version 1.0.0, released 2022-11-02

No API surface changes; just dependency updates and promotion to general availability.

Version 1.0.0-beta03, released 2022-10-17

New features

Documentation improvements

Version 1.0.0-beta02, released 2022-08-26

New features

Version 1.0.0-beta01, released 2022-07-14

Initial release.