Skip to content

Conversation

@cloud-sdk-librarian-robot
Copy link
Collaborator

PR created by the Librarian CLI to generate Cloud Client Libraries code from protos.

BEGIN_COMMIT

BEGIN_NESTED_COMMIT
feat: add the SingleTenantHsm functionality including the management API and resource types

PiperOrigin-RevId: 858582271
Library-IDs: google-cloud-kms
Source-link: googleapis/googleapis@d9f058d2
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
docs: A comment for field crypto_key_backend in message .google.cloud.kms.v1.CryptoKey is expanded to include SingleTenantHsmInstances

PiperOrigin-RevId: 858582271
Library-IDs: google-cloud-kms
Source-link: googleapis/googleapis@d9f058d2
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
docs: A comment for enum value MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION in enum AccessReason is changed

PiperOrigin-RevId: 858582271
Library-IDs: google-cloud-kms
Source-link: googleapis/googleapis@d9f058d2
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
docs: A comment for enum value MODIFIED_CUSTOMER_INITIATED_ACCESS in enum AccessReason is changed

PiperOrigin-RevId: 858582271
Library-IDs: google-cloud-kms
Source-link: googleapis/googleapis@d9f058d2
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: Added OUTPUT_ONLY annotations to create_time and update_time in InternalRange to reflect existing service behavior

PiperOrigin-RevId: 858089458
Library-IDs: google-cloud-network-connectivity
Source-link: googleapis/googleapis@cb268fbe
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
docs: add instances description

PiperOrigin-RevId: 856756379
Library-IDs: google-cloud-run
Source-link: googleapis/googleapis@a79ccb6a
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: add instances client library

PiperOrigin-RevId: 856756379
Library-IDs: google-cloud-run
Source-link: googleapis/googleapis@a79ccb6a
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
fix: An existing field webhook_latencies is removed from message .google.cloud.dialogflow.cx.v3.QueryResult

PiperOrigin-RevId: 856725401
Library-IDs: google-cloud-dialogflow-cx
Source-link: googleapis/googleapis@b8d14913
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
fix: An existing field webhook_display_names is removed from message .google.cloud.dialogflow.cx.v3.QueryResult

PiperOrigin-RevId: 856725401
Library-IDs: google-cloud-dialogflow-cx
Source-link: googleapis/googleapis@b8d14913
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
fix: An existing field start_flow is moved in to oneof in message .google.cloud.dialogflow.cx.v3.Agent

PiperOrigin-RevId: 856725401
Library-IDs: google-cloud-dialogflow-cx
Source-link: googleapis/googleapis@b8d14913
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: updated v3 dialogflow client libraries

PiperOrigin-RevId: 856725401
Library-IDs: google-cloud-dialogflow-cx
Source-link: googleapis/googleapis@b8d14913
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
fix: An existing field webhook_ids is removed from message .google.cloud.dialogflow.cx.v3.QueryResult

PiperOrigin-RevId: 856725401
Library-IDs: google-cloud-dialogflow-cx
Source-link: googleapis/googleapis@b8d14913
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
fix: An existing field webhook_tags is removed from message .google.cloud.dialogflow.cx.v3.QueryResult

PiperOrigin-RevId: 856725401
Library-IDs: google-cloud-dialogflow-cx
Source-link: googleapis/googleapis@b8d14913
END_NESTED_COMMIT

BEGIN_NESTED_COMMIT
feat: Adding Method AggregateIssueStats of Database Center API v1beta
This release includes:

  • DatabaseCenter service with AggregateIssueStats method.
  • All related enums.

PiperOrigin-RevId: 856484579
Library-IDs: google-cloud-databasecenter
Source-link: googleapis/googleapis@615bb9ac
END_NESTED_COMMIT

END_COMMIT

This pull request is generated with proto changes between
googleapis/googleapis@94aa4f5a
(exclusive) and
googleapis/googleapis@d9f058d2
(inclusive).

Librarian Version: v0.0.0-20251218164811-cd2252e38d0a
Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209

Generation failed for

  • google-cloud-compute
  • google-cloud-compute-v1beta

@cloud-sdk-librarian-robot
Copy link
Collaborator Author

One or more libraries have failed to generate, please review PR description for a list of failed libraries.
For each failed library, open a ticket in that library’s repository and then you may resolve this comment and merge.

@snippet-bot
Copy link

snippet-bot bot commented Jan 21, 2026

Here is the summary of changes.

You are about to add 86 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

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @cloud-sdk-librarian-robot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request delivers a comprehensive set of automated updates across several Google Cloud client libraries. It integrates new features for KMS, Network Connectivity, Cloud Run, Dialogflow CX, and Database Center, alongside crucial bug fixes and documentation improvements. The changes aim to enhance API capabilities and client library accuracy.

Highlights

  • Google Cloud KMS Updates: Introduced new functionality for SingleTenantHsm, including management API and resource types. Documentation for CryptoKey and AccessReason enums has been expanded and updated.
  • Google Cloud Network Connectivity Enhancements: Added OUTPUT_ONLY annotations to create_time and update_time fields within the InternalRange resource to accurately reflect existing service behavior.
  • Google Cloud Run Instance Management: A new client library and updated documentation have been added to support instance management functionalities.
  • Dialogflow CX v3 API Changes: Several fields (webhook_latencies, webhook_display_names, webhook_ids, webhook_tags) have been removed from the QueryResult message. The start_flow field in the Agent message has been refactored into a oneof. Additionally, new services for Examples, Playbooks, and Tools have been introduced, along with related types and documentation updates.
  • Database Center API v1beta Expansion: Added the AggregateIssueStats method to the Database Center API v1beta, along with new related types such as AggregateIssueStatsRequest, AggregateIssueStatsResponse, IssueGroupStats, and IssueStats.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
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 is an automated pull request that updates client libraries from new protobuf definitions. The changes introduce new features and clients for services like Database Center and Dialogflow CX. My review focuses on the correctness of the generated code, especially the new sample snippets. I've found several issues in the generated samples that would cause them to fail, a typo in a docstring, and some minor maintainability issues in __init__.py files. The sample code issues are critical as they would break for users copying them.

# Initialize request argument(s)
example = dialogflowcx_v3.Example()
example.actions.user_utterance.text = "text_value"
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

The sample code for initializing example.actions is incorrect. actions is a repeated field of Action messages and does not have a user_utterance attribute. You should create an Action instance, populate it, and then append it to the actions list. This issue is also present in the update_example sample in this file.

For example:

action = dialogflowcx_v3.Action()
action.user_utterance.text = "text_value"
example.actions.append(action)

example.conversation_state = "OUTPUT_STATE_PENDING"
request = dialogflowcx_v3.UpdateExampleRequest(
example=example,
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

The sample code for initializing example.actions is incorrect. actions is a repeated field of Action messages and does not have a user_utterance attribute. You should create an Action instance, populate it, and then append it to the actions list.

For example:

action = dialogflowcx_v3.Action()
action.user_utterance.text = "text_value"
example.actions.append(action)

request = dialogflowcx_v3.CreateExampleRequest(
parent="parent_value",
example=example,
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

The sample code for initializing example.actions is incorrect. actions is a repeated field of Action messages and does not have a user_utterance attribute. You should create an Action instance, populate it, and then append it to the actions list. This issue is also present in the update_example sample in this file.

For example:

action = dialogflowcx_v3.Action()
action.user_utterance.text = "text_value"
example.actions.append(action)

request = dialogflowcx_v3.UpdateExampleRequest(
example=example,
)
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

The sample code for initializing example.actions is incorrect. actions is a repeated field of Action messages and does not have a user_utterance attribute. You should create an Action instance, populate it, and then append it to the actions list.

For example:

action = dialogflowcx_v3.Action()
action.user_utterance.text = "text_value"
example.actions.append(action)

Comment on lines +1167 to +1169
request = dialogflowcx_v3.CreatePlaybookVersionRequest(
parent="parent_value",
)
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

The playbook_version field is required for this request but is not provided in the sample. This will cause a TypeError at runtime. Please add the playbook_version to the request initialization.

Suggested change
request = dialogflowcx_v3.CreatePlaybookVersionRequest(
parent="parent_value",
)
playbook_version = dialogflowcx_v3.PlaybookVersion()
request = dialogflowcx_v3.CreatePlaybookVersionRequest(
parent="parent_value",
playbook_version=playbook_version,
)



class IssueGroupStats(proto.Message):
r"""IssueGroupStats refers to stats for a particulare combination
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There is a typo in the docstring. "particulare" should be "particular".

Suggested change
r"""IssueGroupStats refers to stats for a particulare combination
r"""IssueGroupStats refers to stats for a particular combination

"GetChangelogRequest",
"ListChangelogsRequest",
"ListChangelogsResponse",
"CodeBlock",
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The __all__ list is not alphabetically sorted. The new entry CodeBlock is inserted here, but it should be placed in alphabetical order within the list for better maintainability. This issue is present for other new entries in this list as well.

@ldetmer ldetmer merged commit 13f6df0 into main Jan 21, 2026
23 of 26 checks passed
@ldetmer ldetmer deleted the librarian-20260121T084706Z branch January 21, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants