Skip to content

Conversation

@google-cloud-sdk-librarian-dotnet-robot
Copy link
Collaborator

Changes in this PR

  • Generated Google.Cloud.AIPlatform.V1Beta1
  • Generated Google.Cloud.Speech.V2

feat: add streaming function call argument API changes
docs: A comment for field `name` in message `.google.cloud.aiplatform.v1beta1.FunctionCall` is changed
docs: A comment for field `args` in message `.google.cloud.aiplatform.v1beta1.FunctionCall` is changed


PiperOrigin-RevId: 852409018
Source-Link: googleapis/googleapis@286c66a
feat: add custom prompt config in the request and return prompt in the response
feat: update min_speaker_count and max_speaker_count to be optional
docs: Clarify that min_speaker_count and max_speaker_count in SpeakerDiarizationConfig are not currently used
docs: Update guidance on how to enable speaker diarization; to enable, set the diarization_config field to an empty SpeakerDiarizationConfig message


PiperOrigin-RevId: 852383212
Source-Link: googleapis/googleapis@1a14153
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @google-cloud-sdk-librarian-dotnet-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 represents an automated regeneration of the Google.Cloud.AIPlatform.V1Beta1 and Google.Cloud.Speech.V2 client libraries. The most notable functional change is the introduction of streaming capabilities for function call arguments within the AIPlatform V1Beta1 API, allowing for incremental delivery of argument data. This enhancement provides more flexibility in how function parameters are handled during API interactions.

Highlights

  • AIPlatform V1Beta1 API Update: The Google.Cloud.AIPlatform.V1Beta1 library has been regenerated, introducing new features for function calling.
  • Streaming Function Call Arguments: New fields partial_args and will_continue have been added to FunctionCall, along with a new PartialArg message, to support streaming of function call arguments.
  • Function Calling Configuration: A stream_function_call_arguments option has been added to FunctionCallingConfig to enable or disable this streaming behavior.
  • Speech V2 API Update: The Google.Cloud.Speech.V2 library has also been regenerated, reflecting the latest API definitions.

🧠 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 pull request contains auto-generated API client updates for Google.Cloud.AIPlatform.V1Beta1 and Google.Cloud.Speech.V2. The changes introduce support for streaming function call arguments. The generated code is mostly correct, but I've identified a minor documentation issue in a new property that could cause confusion. My review includes a suggestion to improve its clarity.

public const int WillContinueFieldNumber = 5;
private bool willContinue_;
/// <summary>
/// Optional. Whether this is the last part of the FunctionCall.
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 documentation for WillContinue is contradictory. It states that this property indicates if this is the 'last part' of the FunctionCall, but then clarifies that if true, another message is expected to follow. This is confusing for developers. To improve clarity, the documentation should unambiguously state that this property indicates if it's not the last part.

    /// Optional. Whether this is not the last part of the FunctionCall.

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

Pull request diff results
Finding changes in Google.Cloud.AIPlatform.V1Beta1...
Comparing old and new versions (by source)
Minor changes:
Class 'FunctionCall'; property 'RepeatedField PartialArgs { get; }' added.
Class 'FunctionCall'; property 'Boolean WillContinue { get; set; }' added.
Class 'FunctionCall'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.FunctionCall::PartialArgsFieldNumber' added.
Class 'FunctionCall'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.FunctionCall::WillContinueFieldNumber' added.
Class 'FunctionCallingConfig'; property 'Boolean StreamFunctionCallArguments { get; set; }' added.
Class 'FunctionCallingConfig'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.FunctionCallingConfig::StreamFunctionCallArgumentsFieldNumber' added.
Class 'PartialArg' added.
Enum 'PartialArg.DeltaOneofCase' added.

Diff level: Minor

Comparing with previous NuGet package
Checking compatibility for Google.Cloud.AIPlatform.V1Beta1 version 1.0.0-beta64
Differences from 1.0.0-beta64
Minor changes:
Class 'FunctionCall'; property 'RepeatedField PartialArgs { get; }' added.
Class 'FunctionCall'; property 'Boolean WillContinue { get; set; }' added.
Class 'FunctionCall'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.FunctionCall::PartialArgsFieldNumber' added.
Class 'FunctionCall'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.FunctionCall::WillContinueFieldNumber' added.
Class 'FunctionCallingConfig'; property 'Boolean StreamFunctionCallArguments { get; set; }' added.
Class 'FunctionCallingConfig'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.FunctionCallingConfig::StreamFunctionCallArgumentsFieldNumber' added.
Class 'PartialArg' added.
Enum 'PartialArg.DeltaOneofCase' added.

Diff level: Minor

Finished comparisons for Google.Cloud.AIPlatform.V1Beta1

Finding changes in Google.Cloud.Speech.V2...
Comparing old and new versions (by source)
Minor changes:
Class 'CustomPromptConfig' added.
Class 'RecognitionFeatures'; property 'CustomPromptConfig CustomPromptConfig { get; set; }' added.
Class 'RecognitionFeatures'; constant 'System.Int32 Google.Cloud.Speech.V2.RecognitionFeatures::CustomPromptConfigFieldNumber' added.
Class 'RecognitionResponseMetadata'; method 'void ClearPrompt()' added.
Class 'RecognitionResponseMetadata'; property 'Boolean HasPrompt { get; }' added.
Class 'RecognitionResponseMetadata'; property 'String Prompt { get; set; }' added.
Class 'RecognitionResponseMetadata'; constant 'System.Int32 Google.Cloud.Speech.V2.RecognitionResponseMetadata::PromptFieldNumber' added.

Diff level: Minor

Comparing with previous NuGet package
Checking compatibility for Google.Cloud.Speech.V2 version 1.6.0
Differences from 1.6.0
Minor changes:
Class 'CustomPromptConfig' added.
Class 'RecognitionFeatures'; property 'CustomPromptConfig CustomPromptConfig { get; set; }' added.
Class 'RecognitionFeatures'; constant 'System.Int32 Google.Cloud.Speech.V2.RecognitionFeatures::CustomPromptConfigFieldNumber' added.
Class 'RecognitionResponseMetadata'; method 'void ClearPrompt()' added.
Class 'RecognitionResponseMetadata'; property 'Boolean HasPrompt { get; }' added.
Class 'RecognitionResponseMetadata'; property 'String Prompt { get; set; }' added.
Class 'RecognitionResponseMetadata'; constant 'System.Int32 Google.Cloud.Speech.V2.RecognitionResponseMetadata::PromptFieldNumber' added.

Diff level: Minor

Finished comparisons for Google.Cloud.Speech.V2

@jskeet jskeet merged commit 523846d into main Jan 6, 2026
13 checks passed
@jskeet jskeet deleted the librarian-regen-20260106T080112Z branch January 6, 2026 08:12
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