Skip to content

feat: update generator for GAX V2 - #901

Open
bshaffer wants to merge 9 commits into
mainfrom
gax-v2
Open

bshaffer wants to merge 9 commits into
mainfrom
gax-v2

Conversation

@bshaffer

@bshaffer bshaffer commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Update generated GAPIC clients and tests to support google/gax V2:

  • Add ServiceInterface, LongRunningOperationProviderInterface, IamProviderInterface, and OperationsClientInterface to generated clients
  • Add declare(strict_types=1) and native parameter/return types to generated client methods
  • Accept array|ClientOptions in setDefaultEmulatorConfig
  • Remove 'gcpApiConfigPath' from getClientDefaults() and redundant createOperationsClient() from standard LRO clients
  • Use HeaderCredentialsInterface in docblocks and InsecureCredentialsWrapper in generated unit tests

@bshaffer
bshaffer requested a review from a team as a code owner November 6, 2026 18:56
@bshaffer bshaffer added the v2 Issues and features set to release with the gapic generator v2 label Nov 16, 2026
@Hectorhammett

Copy link
Copy Markdown
Contributor

There seems to be a broken test, i am unsure with all the different moving pieces but it seems that now we are getting an empty operation inside the test object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Issues and features set to release with the gapic generator v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants