Skip to content

feat(compute)!: add pagination and an Operation wrapper#4542

Merged
codyoss merged 10 commits intogoogleapis:masterfrom
noahdietz:compute-latest
Aug 3, 2021
Merged

feat(compute)!: add pagination and an Operation wrapper#4542
codyoss merged 10 commits intogoogleapis:masterfrom
noahdietz:compute-latest

Conversation

@noahdietz
Copy link
Copy Markdown
Contributor

@noahdietz noahdietz commented Aug 2, 2021

This PR does multiple things due to the breaking nature of the code changes for compute.

Breaking changes:

  • paginated APIs now return Iterators
  • long running APIs now return a wrapped Operation type instead of the protobuf-go generated type directly

Integration tests are added for all of the new changes.

The gapic generator is updated with the aforementioned changes. To enable these changes, genbot will now supply the diregapic flag to the gapic generator based on if the API is generated via googleapis-discovery.

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 2, 2021
@noahdietz noahdietz marked this pull request as ready for review August 3, 2021 19:42
@noahdietz noahdietz requested a review from a team August 3, 2021 19:42
@codyoss
Copy link
Copy Markdown
Member

codyoss commented Aug 3, 2021

Force merging. This broke samples in a known way. This code is currently considered alpha.

@codyoss codyoss merged commit 36f4649 into googleapis:master Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants