Skip to content

feat: [appoptimize] new module for appoptimize#12756

Closed
cloud-java-bot wants to merge 1 commit intomainfrom
new-library/appoptimize-DPfBR
Closed

feat: [appoptimize] new module for appoptimize#12756
cloud-java-bot wants to merge 1 commit intomainfrom
new-library/appoptimize-DPfBR

Conversation

@cloud-java-bot
Copy link
Copy Markdown
Collaborator

Generated by @diegomarquezp via generate_new_client_hermetic_build.yaml

Command used:

python generation/new_client_hermetic_build/add-new-client-config.py add-new-library --api-shortname "appoptimize" --name-pretty "App Optimize API" --api-description "The App Optimize API provides developers and platform teams with tools to monitor, analyze, and improve the performance and cost-efficiency of their cloud applications." --proto-path "google/cloud/appoptimize/v1beta" --product-docs "https://docs.cloud.google.com/app-optimize/overview" 

@cloud-java-bot cloud-java-bot added the owlbot:run Add this label to trigger the Owlbot post processor. label Apr 10, 2026
@cloud-java-bot cloud-java-bot requested a review from a team as a code owner April 10, 2026 17:57
@cloud-java-bot cloud-java-bot added the owlbot:run Add this label to trigger the Owlbot post processor. label Apr 10, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds the configuration for the App Optimize API to the generation_config.yaml file. The feedback identifies a formatting inconsistency where the client_documentation URL is split across two lines and suggests moving it to a single line for better readability and consistency.

Comment on lines +192 to +193
client_documentation:
https://cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/overview
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The client_documentation URL is split across two lines, which is inconsistent with other URL fields in this file (like product_documentation on line 188). While valid YAML, it's better to keep the URL on a single line for consistency and readability.

  client_documentation: https://cloud.google.com/java/docs/reference/google-cloud-appoptimize/latest/overview

diegomarquezp added a commit that referenced this pull request Apr 10, 2026
Fixes the following failure occured in
#12756
([job](https://github.com/googleapis/google-cloud-java/actions/runs/24256669481/job/70829822721?pr=12756)):

```
YAMLException: end of the stream or a document separator is expected (24:1)

 21 | 
 22 | deep-preserve-regex:
 23 |  - "/google-.*/src/test/java/co ...
 24 | - "/.*google-.*/src/main/java/c ...
------^
 25 | 
 26 | deep-copy-regex:
```
 
The approach is to keep the indentation as 0 spaces before the dash.
Added unit tests to confirm this.
Also modified the yaml template to handle special cases such as
`io/grafeas` instead of `com/google/cloud/service/...`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

owlbot:run Add this label to trigger the Owlbot post processor.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants