Skip to content

feat(Gax): add ServiceInterface, LongRunningOperationProviderInterface, and IamProviderInterface - #9754

Open
bshaffer wants to merge 3 commits into
mainfrom
gax-service-interfaces
Open

bshaffer wants to merge 3 commits into
mainfrom
gax-service-interfaces

Conversation

@bshaffer

@bshaffer bshaffer commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor
  • Add ServiceInterface, LongRunningOperationProviderInterface, and IamProviderInterface.
  • Add GapicClientTrait::close(): void and update createOperationsClient() to return Google\LongRunning\Client\OperationsClient in V2 mode.

@bshaffer
bshaffer requested a review from a team as a code owner October 1, 2026 00:30
* @return OperationsClient
* @return DeprecatedOperationsClient|OperationsClient|object
*/
private function createOperationsClient(array $options)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a type annotation but not the actual return type on the function. Any reason why?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it's typehinted as object, so I feel like the typehint wouldn't be that useful

@bshaffer bshaffer added the next release PRs to be included in the next release label Nov 2, 2026

This branch has not been deployed

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

Labels

next release PRs to be included in the next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants