You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces the new Developer Knowledge API (v1alpha) and provides extensive updates across various existing Google Cloud services, including Chrome Management, GKE, Health, and Dataform. Key enhancements involve new resource types like connector configurations and subscribers, along with refined documentation and regional endpoint expansions. The review feedback identifies several improvement opportunities: removing internal LINT.IfChange directives from public API descriptions in Chrome Management, correcting a stray slash typo in the HomeGraph API documentation, and adding a regex pattern for the subscriberId parameter in the Health API to enhance client-side validation.
The reason will be displayed to describe this comment to others. Learn more.
The description contains an internal lint directive LINT.IfChange. This should be removed from the public API discovery document as it is intended for internal developer use only.
"description": "Optional. The ID to use for the subscriber, which will become the final component of the subscriber's resource name. This value should be 4-36 characters, and valid characters are /[a-z]([a-z0-9-]{2,34}[a-z0-9])/.",
The reason will be displayed to describe this comment to others. Learn more.
The subscriberId parameter has a character constraint mentioned in the description but lacks a corresponding pattern field. Adding a pattern field with the regex ^[a-z]([a-z0-9-]{2,34}[a-z0-9])$ would allow client libraries to perform local validation and provide a better developer experience.
This file contains hidden or 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
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.
Changes in this PR will be published to Nuget on the next release cycle.