Skip to content

Replace cloudbuild_v1_client with Google Cloud Build client #25680

Description

@BjornPrime

Replace references to the apitools-generated cloudbuild client (sdks/python/apache_beam/runners/dataflow/internal/clients/cloudbuild) with analogous calls to the Google Cloud Build client, supplementing with other Google Cloud Python clients if necessary.

Please ensure that all client references are being thoroughly tested before swapping the GCP client in for the old client. The job is done when the old client can be safely deleted from Beam without impacting functionality.

Background:

apitools is deprecated and continued reliance on it is complicating Beam's dependency management. In order to remove it we need to replace the clients that it currently generates with Google Cloud Python clients, which are being actively maintained (and should be reasonably up-to-date in google3, though please confirm for any particular libraries you end up using.)

Tracking issue: #19073

Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions