Skip to content

feat: API regeneration: 20260422T070103Z#15582

Merged
jskeet merged 2 commits intomainfrom
librarian-regen-20260422T070103Z
Apr 22, 2026
Merged

feat: API regeneration: 20260422T070103Z#15582
jskeet merged 2 commits intomainfrom
librarian-regen-20260422T070103Z

Conversation

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

Changes in this PR

  • Generated Google.Cloud.AIPlatform.V1Beta1
  • Generated Google.DevicesAndServices.Health.V4

@snippet-bot
Copy link
Copy Markdown

snippet-bot Bot commented Apr 22, 2026

Here is the summary of changes.

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

@github-actions
Copy link
Copy Markdown

Pull request diff results
Finding changes in Google.Cloud.AIPlatform.V1Beta1...
Comparing old and new versions (by source)
Minor changes:
Class 'TuningJob'; property 'VeoLoraTuningSpec VeoLoraTuningSpec { get; set; }' added.
Class 'TuningJob'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.TuningJob::VeoLoraTuningSpecFieldNumber' added.
Enum 'TuningJob.TuningSpecOneofCase' entry 'VeoLoraTuningSpec' added.
Class 'VeoHyperParameters'; method 'void ClearTuningSpeed()' added.
Class 'VeoHyperParameters'; method 'void ClearVeoDataMixtureRatio()' added.
Class 'VeoHyperParameters'; property 'VeoHyperParameters.Types.AdapterSize AdapterSize { get; set; }' added.
Class 'VeoHyperParameters'; property 'VeoHyperParameters.Types.TuningSpeed TuningSpeed { get; set; }' added.
Class 'VeoHyperParameters'; property 'Boolean HasTuningSpeed { get; }' added.
Class 'VeoHyperParameters'; property 'Boolean HasVeoDataMixtureRatio { get; }' added.
Class 'VeoHyperParameters'; property 'Double VeoDataMixtureRatio { get; set; }' added.
Class 'VeoHyperParameters'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters::AdapterSizeFieldNumber' added.
Class 'VeoHyperParameters'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters::TuningSpeedFieldNumber' added.
Class 'VeoHyperParameters'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters::VeoDataMixtureRatioFieldNumber' added.
Enum 'VeoHyperParameters.Types.AdapterSize' added.
Enum 'VeoHyperParameters.Types.TuningSpeed' added.
Enum 'VeoHyperParameters.Types.TuningTask' entry 'R2V' added.
Class 'VeoLoraTuningSpec' added.

Diff level: Minor

Comparing with previous NuGet package
Checking compatibility for Google.Cloud.AIPlatform.V1Beta1 version 1.0.0-beta76
Differences from 1.0.0-beta76
Minor changes:
Class 'AsyncQueryReasoningEngineOperationMetadata' added.
Class 'AsyncQueryReasoningEngineRequest' added.
Class 'AsyncQueryReasoningEngineResponse' added.
Class 'CopyModelRequest'; property 'String CustomServiceAccount { get; set; }' added.
Class 'CopyModelRequest'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.CopyModelRequest::CustomServiceAccountFieldNumber' added.
Class 'ReasoningEngineExecutionService.ReasoningEngineExecutionServiceBase'; method 'Task AsyncQueryReasoningEngine(AsyncQueryReasoningEngineRequest request, ServerCallContext context)' added.
Class 'ReasoningEngineExecutionService.ReasoningEngineExecutionServiceClient'; method 'Operation AsyncQueryReasoningEngine(AsyncQueryReasoningEngineRequest request, CallOptions options)' added.
Class 'ReasoningEngineExecutionService.ReasoningEngineExecutionServiceClient'; method 'Operation AsyncQueryReasoningEngine(AsyncQueryReasoningEngineRequest request, Metadata headers = null, Nullable deadline = null, CancellationToken cancellationToken = null)' added.
Class 'ReasoningEngineExecutionService.ReasoningEngineExecutionServiceClient'; method 'Operations.OperationsClient CreateOperationsClient()' added.
Class 'ReasoningEngineExecutionService.ReasoningEngineExecutionServiceClient'; method 'AsyncUnaryCall AsyncQueryReasoningEngineAsync(AsyncQueryReasoningEngineRequest request, CallOptions options)' added.
Class 'ReasoningEngineExecutionService.ReasoningEngineExecutionServiceClient'; method 'AsyncUnaryCall AsyncQueryReasoningEngineAsync(AsyncQueryReasoningEngineRequest request, Metadata headers = null, Nullable deadline = null, CancellationToken cancellationToken = null)' added.
Class 'ReasoningEngineExecutionServiceClient'; method 'Operation<AsyncQueryReasoningEngineResponse, AsyncQueryReasoningEngineOperationMetadata> AsyncQueryReasoningEngine(AsyncQueryReasoningEngineRequest request, CallSettings callSettings = null)' added.
Class 'ReasoningEngineExecutionServiceClient'; method 'Operation<AsyncQueryReasoningEngineResponse, AsyncQueryReasoningEngineOperationMetadata> PollOnceAsyncQueryReasoningEngine(String operationName, CallSettings callSettings = null)' added.
Class 'ReasoningEngineExecutionServiceClient'; method 'Task<Operation<AsyncQueryReasoningEngineResponse, AsyncQueryReasoningEngineOperationMetadata>> AsyncQueryReasoningEngineAsync(AsyncQueryReasoningEngineRequest request, CallSettings callSettings = null)' added.
Class 'ReasoningEngineExecutionServiceClient'; method 'Task<Operation<AsyncQueryReasoningEngineResponse, AsyncQueryReasoningEngineOperationMetadata>> AsyncQueryReasoningEngineAsync(AsyncQueryReasoningEngineRequest request, CancellationToken cancellationToken)' added.
Class 'ReasoningEngineExecutionServiceClient'; method 'Task<Operation<AsyncQueryReasoningEngineResponse, AsyncQueryReasoningEngineOperationMetadata>> PollOnceAsyncQueryReasoningEngineAsync(String operationName, CallSettings callSettings = null)' added.
Class 'ReasoningEngineExecutionServiceClient'; property 'OperationsClient AsyncQueryReasoningEngineOperationsClient { get; }' added.
Class 'ReasoningEngineExecutionServiceClientImpl'; method 'Operation<AsyncQueryReasoningEngineResponse, AsyncQueryReasoningEngineOperationMetadata> AsyncQueryReasoningEngine(AsyncQueryReasoningEngineRequest request, CallSettings callSettings = null)' added.
Class 'ReasoningEngineExecutionServiceClientImpl'; method 'Task<Operation<AsyncQueryReasoningEngineResponse, AsyncQueryReasoningEngineOperationMetadata>> AsyncQueryReasoningEngineAsync(AsyncQueryReasoningEngineRequest request, CallSettings callSettings = null)' added.
Class 'ReasoningEngineExecutionServiceClientImpl'; property 'OperationsClient AsyncQueryReasoningEngineOperationsClient { get; }' added.
Class 'ReasoningEngineExecutionServiceSettings'; property 'CallSettings AsyncQueryReasoningEngineSettings { get; set; }' added.
Class 'ReasoningEngineExecutionServiceSettings'; property 'OperationsSettings AsyncQueryReasoningEngineOperationsSettings { get; set; }' added.
Class 'TuningJob'; property 'VeoLoraTuningSpec VeoLoraTuningSpec { get; set; }' added.
Class 'TuningJob'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.TuningJob::VeoLoraTuningSpecFieldNumber' added.
Enum 'TuningJob.TuningSpecOneofCase' entry 'VeoLoraTuningSpec' added.
Class 'VeoHyperParameters'; method 'void ClearTuningSpeed()' added.
Class 'VeoHyperParameters'; method 'void ClearVeoDataMixtureRatio()' added.
Class 'VeoHyperParameters'; property 'VeoHyperParameters.Types.AdapterSize AdapterSize { get; set; }' added.
Class 'VeoHyperParameters'; property 'VeoHyperParameters.Types.TuningSpeed TuningSpeed { get; set; }' added.
Class 'VeoHyperParameters'; property 'Boolean HasTuningSpeed { get; }' added.
Class 'VeoHyperParameters'; property 'Boolean HasVeoDataMixtureRatio { get; }' added.
Class 'VeoHyperParameters'; property 'Double VeoDataMixtureRatio { get; set; }' added.
Class 'VeoHyperParameters'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters::AdapterSizeFieldNumber' added.
Class 'VeoHyperParameters'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters::TuningSpeedFieldNumber' added.
Class 'VeoHyperParameters'; constant 'System.Int32 Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters::VeoDataMixtureRatioFieldNumber' added.
Enum 'VeoHyperParameters.Types.AdapterSize' added.
Enum 'VeoHyperParameters.Types.TuningSpeed' added.
Enum 'VeoHyperParameters.Types.TuningTask' entry 'R2V' added.
Class 'VeoLoraTuningSpec' added.

Diff level: Minor

Finished comparisons for Google.Cloud.AIPlatform.V1Beta1

Finding changes in Google.DevicesAndServices.Health.V4...
API does not exist in earlier commit. Nothing to compare.

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 the new Google.DevicesAndServices.Health.V4 client library and updates the Google.Cloud.AIPlatform.V1Beta1 library to support VeoLoraTuningSpec within TuningJob. Additionally, VeoHyperParameters has been expanded with new fields for data mixture ratio, tuning speed, and adapter size. Feedback on the generated code identifies several discrepancies in TuningJob.g.cs where the initialized default values for VeoDataMixtureRatio, TuningSpeed, and AdapterSize do not align with the behavior described in their respective documentation strings.


/// <summary>Field number for the "veo_data_mixture_ratio" field.</summary>
public const int VeoDataMixtureRatioFieldNumber = 4;
private readonly static double VeoDataMixtureRatioDefaultValue = 0D;
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 documentation for VeoDataMixtureRatio (line 7709) states that the default value is 0.1. However, VeoDataMixtureRatioDefaultValue is initialized to 0D. This creates a discrepancy between the documented behavior and the actual property value when the field is unset.

    private readonly static double VeoDataMixtureRatioDefaultValue = 0.1D;


/// <summary>Field number for the "tuning_speed" field.</summary>
public const int TuningSpeedFieldNumber = 5;
private readonly static global::Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters.Types.TuningSpeed TuningSpeedDefaultValue = global::Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters.Types.TuningSpeed.Unspecified;
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 documentation for TUNING_SPEED_UNSPECIFIED (line 8071) states that for Veo 3.0 models, the speed defaults to FAST. However, TuningSpeedDefaultValue is set to Unspecified. If the client is intended to reflect the effective default, this should be updated.

    private readonly static global::Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters.Types.TuningSpeed TuningSpeedDefaultValue = global::Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters.Types.TuningSpeed.Fast;


/// <summary>Field number for the "adapter_size" field.</summary>
public const int AdapterSizeFieldNumber = 6;
private global::Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters.Types.AdapterSize adapterSize_ = global::Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters.Types.AdapterSize.Unspecified;
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 documentation for ADAPTER_SIZE_EIGHT (line 8092) states it is the default adapter size for Veo LoRA tuning. However, the adapterSize_ field is initialized to Unspecified.

    private global::Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters.Types.AdapterSize adapterSize_ = global::Google.Cloud.AIPlatform.V1Beta1.VeoHyperParameters.Types.AdapterSize.Eight;

@jskeet jskeet merged commit d8097ae into main Apr 22, 2026
14 checks passed
@jskeet jskeet deleted the librarian-regen-20260422T070103Z branch April 22, 2026 07:20
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