Skip to content

chore: update googleapis and regenerate#16615

Closed
jskeet wants to merge 6 commits intogoogleapis:mainfrom
jskeet:librarianops-generateall-20260410T185805Z
Closed

chore: update googleapis and regenerate#16615
jskeet wants to merge 6 commits intogoogleapis:mainfrom
jskeet:librarianops-generateall-20260410T185805Z

Conversation

@jskeet
Copy link
Copy Markdown
Contributor

@jskeet jskeet commented Apr 10, 2026

Update googleapis to the latest commit and regenerate all client libraries.

This was a test run of "update and regenerate" before migrating other libraries. We will close this PR.

@jskeet jskeet requested a review from a team as a code owner April 10, 2026 18:58
@snippet-bot
Copy link
Copy Markdown

snippet-bot bot commented Apr 10, 2026

Here is the summary of changes.

You are about to add 18 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@jskeet jskeet added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 10, 2026
@jskeet jskeet closed this 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 introduces support for DeploymentGroups in the config service, including new API methods, request/response types, and generated samples. The review identified that the generated samples for UpdateDeploymentGroup are currently unusable because they initialize an empty request, which leads to runtime errors due to missing required fields for routing headers. I have provided suggestions to properly initialize these requests in the samples.

client = config_v1.ConfigAsyncClient()

# Initialize request argument(s)
request = config_v1.UpdateDeploymentGroupRequest()
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.

high

Initializing an empty UpdateDeploymentGroupRequest will likely cause a runtime AttributeError because the client code expects request.deployment_group.name to be set for routing headers. The sample is not usable as is. Please update the generator to initialize the request with the required fields.

Suggested change
request = config_v1.UpdateDeploymentGroupRequest()
deployment_group = config_v1.DeploymentGroup(
name="name_value",
)
request = config_v1.UpdateDeploymentGroupRequest(
deployment_group=deployment_group,
)

client = config_v1.ConfigClient()

# Initialize request argument(s)
request = config_v1.UpdateDeploymentGroupRequest()
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.

high

Initializing an empty UpdateDeploymentGroupRequest will likely cause a runtime AttributeError because the client code expects request.deployment_group.name to be set for routing headers. The sample is not usable as is. Please update the generator to initialize the request with the required fields.

Suggested change
request = config_v1.UpdateDeploymentGroupRequest()
deployment_group = config_v1.DeploymentGroup(
name="name_value",
)
request = config_v1.UpdateDeploymentGroupRequest(
deployment_group=deployment_group,
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant