-
Notifications
You must be signed in to change notification settings - Fork 439
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
docs: Update documentation and generated tests. #2013
Conversation
…nt library generator.
@@ -55,7 +55,7 @@ | |||
* ``` | |||
* $speechClient = new SpeechClient(); | |||
* try { | |||
* $encoding = RecognitionConfig\AudioEncoding::FLAC; | |||
* $encoding = AudioEncoding::FLAC; |
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.
/cc @hzyi-google
Looks like there could be an issue related to googleapis/gapic-generator#2757
The Google\Cloud\Speech\V1\RecognitionConfig\AudioEncoding
import is missing.
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.
This small sample here does not have an import section at all, the imports above are for the client I think. The type is imported in unit tests and smoke tests.
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.
That's a really good point. Based on your experience with the generator, do you think it would be difficult to add imports into the samples as well?
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.
I don't think so, considering the imports for standalone samples are already there.
Codecov Report
@@ Coverage Diff @@
## master #2013 +/- ##
============================================
+ Coverage 92.56% 92.57% +<.01%
- Complexity 4374 4378 +4
============================================
Files 303 304 +1
Lines 12996 13012 +16
============================================
+ Hits 12030 12046 +16
Misses 966 966
Continue to review full report at Codecov.
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) ℹ️ Googlers: Go here for more info. |
This PR was generated using Autosynth. 🌈
Here's the log from Synthtool: