-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support paging method #28
Merged
Merged
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
99857c8
init lro setup
xiaozhenliu-gg5 8fc163b
merge from master
xiaozhenliu-gg5 5b98dae
upgrade google-gax
xiaozhenliu-gg5 c179f97
add dom to tsconfig for browser check
xiaozhenliu-gg5 028eb20
copy protos to build/
xiaozhenliu-gg5 c442323
Revert "copy protos to build/"
xiaozhenliu-gg5 351d6ff
copy protos/ to build/
xiaozhenliu-gg5 73f3bd8
load protos from json file
xiaozhenliu-gg5 df2c8ef
LRO methods & update baseline test
xiaozhenliu-gg5 07ae443
gts fix
xiaozhenliu-gg5 4bc8125
paging methods init
xiaozhenliu-gg5 728505c
update gts version and fix back the format
xiaozhenliu-gg5 3b753a5
change path name & update baseline
xiaozhenliu-gg5 4e2168a
merge conflict
xiaozhenliu-gg5 73f0434
update baseline test
xiaozhenliu-gg5 fb2898c
pull from master
xiaozhenliu-gg5 777ec3d
fix test
xiaozhenliu-gg5 76fa166
feedback
xiaozhenliu-gg5 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -368,4 +368,40 @@ export class EchoClient { | |
options = options || {}; | ||
return this._innerApiCalls.wait(request, options, callback); | ||
} | ||
pagedExpand( | ||
request: protosTypes.google.showcase.v1beta1.IPagedExpandRequest, | ||
options?: gax.CallOptions): | ||
Promise<[ | ||
protosTypes.google.showcase.v1beta1.IPagedExpandResponse, | ||
protosTypes.google.showcase.v1beta1.IPagedExpandRequest|undefined, {}|undefined | ||
]>; | ||
pagedExpand( | ||
request: protosTypes.google.showcase.v1beta1.IPagedExpandRequest, | ||
options: gax.CallOptions, | ||
callback: Callback< | ||
protosTypes.google.showcase.v1beta1.IPagedExpandResponse, | ||
protosTypes.google.showcase.v1beta1.IPagedExpandRequest|undefined, | ||
{}|undefined>): void; | ||
pagedExpand( | ||
request: protosTypes.google.showcase.v1beta1.IPagedExpandRequest, | ||
optionsOrCallback?: gax.CallOptions|Callback< | ||
protosTypes.google.showcase.v1beta1.IPagedExpandResponse, | ||
protosTypes.google.showcase.v1beta1.IPagedExpandRequest|undefined, {}|undefined>, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||
callback?: Callback< | ||
protosTypes.google.showcase.v1beta1.IPagedExpandResponse, | ||
protosTypes.google.showcase.v1beta1.IPagedExpandRequest|undefined, | ||
{}|undefined>): | ||
Promise<[ | ||
protosTypes.google.showcase.v1beta1.IPagedExpandResponse, | ||
protosTypes.google.showcase.v1beta1.IPagedExpandRequest|undefined, {}|undefined | ||
]>|void { | ||
request = request || {}; | ||
let options = optionsOrCallback; | ||
if (typeof options === 'function' && callback === undefined) { | ||
callback = options; | ||
options = {}; | ||
} | ||
options = options || {}; | ||
return this._innerApiCalls.pagedExpand(request, options, callback); | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: let's add a new line before
{}|undefined
here and in the template.