Skip to content

Remove conditionals related to google-api-core versions, once we no longer support older versions. #18657

Open

Description

@chalmerlowe

Determine this is the right repository

  • I determined this is the correct repository in which to report this bug.

Summary of the issue

There are conditional checks OR situations in GAPIC generated code that depend on features that are not available when

  • google-api-core < 2.42.0.
  • google-api-core < 2.35.0

Once we drop support, those conditionals should be updated to remove tech debt.

API client name and version

No response

Reproduction steps: code

Reproduction steps: supporting files

Reproduction steps: actual results

Reproduction steps: expected results

OS & version + platform

No response

Python environment

No response

Python dependencies

No response

Additional context

No response

Activity

  1. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    triage meI really want to be triaged.
    type: cleanupAn internal cleanup or hygiene concern.
    and removed
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    triage meI really want to be triaged.
    on Oct 13, 2026
  2. changed the title [-]Remove conditionals related to google-api-core < 2.42.0, once we no longer support it.[/-] [+]Remove conditionals related to google-api-core versions, once we no longer support older versions.[/+] on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions