Skip to content

Conversation

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

Changes in this PR

  • Generated Google.Cloud.BackupDR.V1
  • Generated Google.Cloud.Kms.V1
  • Generated Google.Cloud.PubSub.V1
  • Generated Google.Cloud.Spanner

feat: A new service `BackupDrProtectionSummary` is added
feat: A new message `ListResourceBackupConfigsRequest` is added
feat: A new message `ListResourceBackupConfigsResponse` is added
feat: A new message `ResourceBackupConfig` is added
feat: A new resource_definition `backupdr.googleapis.com/ResourceBackupConfig` is added
feat: A new message `BackupConfigDetails` is added
feat: A new message `PitrSettings` is added
feat: A new message `BackupDrTemplateConfig` is added
feat: A new message `BackupDrPlanConfig` is added
feat: A new message `BackupDrPlanRule` is added
feat: A new message `BackupLocation` is added


PiperOrigin-RevId: 854009996
Source-Link: googleapis/googleapis@524b2de
docs: Marking MODIFIED_CUSTOMER_INITIATED_ACCESS and MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION Key Access Justification codes as deprecated in favor of GOOGLE_RESPONSE_TO_PRODUCTION_ALERT


PiperOrigin-RevId: 853754070
Source-Link: googleapis/googleapis@f814267
feat: Add AIInference MessageTransform type
docs: A comment for field `topic` in message `.google.pubsub.v1.Subscription` is updated
docs: A comment for field `analytics_hub_subscription_info` in message `.google.pubsub.v1.Subscription` is updated
docs: A comment for field `subscription` in message `.google.pubsub.v1.CreateSnapshotRequest` is updated


PiperOrigin-RevId: 853856321
Source-Link: googleapis/googleapis@9fb55c4
chore: adjust initial_poll_delay for CreateDatabase and UpdateDatabaseDdl LRO operations


PiperOrigin-RevId: 853884590
Source-Link: googleapis/googleapis@136a2c4
@snippet-bot
Copy link

snippet-bot bot commented Jan 9, 2026

Here is the summary of changes.

You are about to add 6 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 @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 contains an automated regeneration of several Google Cloud client libraries. The primary goal is to ensure that the client libraries for BackupDR, KMS, PubSub, and Spanner are up-to-date with the latest API definitions, incorporating new services like BackupDR and refining existing ones with minor documentation and deprecation updates.

Highlights

  • New API Client Library: A new client library for Google.Cloud.BackupDR.V1 has been generated and added, including its client, gRPC service definitions, resource names, and snippets.
  • Google.Cloud.Kms.V1 Updates: The AccessReason enum in Google.Cloud.Kms.V1 has been updated to deprecate ModifiedCustomerInitiatedAccess and ModifiedGoogleInitiatedSystemOperation values, along with adding corresponding deprecation comments.
  • Google.Cloud.PubSub.V1 Documentation Refinements: Parameter comments in Google.Cloud.PubSub.V1 for Publish, GetTopic, GetSubscription, ListSubscriptions, GetSnapshot, ListSnapshots, CreateSnapshot, and DeleteSnapshot methods have been updated to remove the 'Identifier.' prefix, improving clarity.
  • Copyright Year Update: Copyright years in PubsubGrpc.g.cs and SchemaGrpc.g.cs within Google.Cloud.PubSub.V1 have been updated to 2026.
  • Automated Generation State Update: The generator-input/pipeline-state.json file has been updated to reflect the latest generation commits for Google.Cloud.BackupDR.V1, Google.Cloud.Kms.V1, Google.Cloud.PubSub.V1, and Google.Cloud.Spanner, ensuring the pipeline tracks the most recent client library versions.

🧠 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.

@github-actions
Copy link

github-actions bot commented Jan 9, 2026

Pull request diff results
Finding changes in Google.Cloud.BackupDR.V1...
Comparing old and new versions (by source)
Minor changes:
Class 'BackupConfigDetails' added.
Enum 'BackupConfigDetails.PlanSpecificConfigOneofCase' added.
Class 'BackupConfigDetails.Types' added.
Enum 'BackupConfigDetails.Types.State' added.
Enum 'BackupConfigDetails.Types.Type' added.
Class 'BackupDrPlanConfig' added.
Class 'BackupDrPlanRule' added.
Class 'BackupDrProtectionSummary' added.
Class 'BackupDrProtectionSummary.BackupDrProtectionSummaryBase' added.
Class 'BackupDrProtectionSummary.BackupDrProtectionSummaryClient' added.
Class 'BackupDrProtectionSummaryClient' added.
Class 'BackupDrProtectionSummaryClientBuilder' added.
Class 'BackupDrProtectionSummaryClientImpl' added.
Class 'BackupDrProtectionSummarySettings' added.
Class 'BackupDrTemplateConfig' added.
Class 'BackupLocation' added.
Class 'BackupLocation.Types' added.
Enum 'BackupLocation.Types.Type' added.
Class 'ListResourceBackupConfigsRequest' added.
Class 'ListResourceBackupConfigsResponse' added.
Class 'PitrSettings' added.
Class 'ProtectionSummaryReflection' added.
Class 'ResourceBackupConfig' added.
Class 'ResourceBackupConfig.Types' added.
Enum 'ResourceBackupConfig.Types.ResourceType' added.
Class 'ResourceBackupConfigName' added.
Enum 'ResourceBackupConfigName.ResourceNameType' added.
Class 'ServiceCollectionExtensions'; method 'IServiceCollection AddBackupDrProtectionSummaryClient(IServiceCollection services, Action action = null)' added.
Class 'ServiceCollectionExtensions'; method 'IServiceCollection AddBackupDrProtectionSummaryClient(IServiceCollection services, Action<IServiceProvider, BackupDrProtectionSummaryClientBuilder> action)' added.

Diff level: Minor

Comparing with previous NuGet package
Checking compatibility for Google.Cloud.BackupDR.V1 version 2.6.0
Differences from 2.6.0
Minor changes:
Class 'BackupConfigDetails' added.
Enum 'BackupConfigDetails.PlanSpecificConfigOneofCase' added.
Class 'BackupConfigDetails.Types' added.
Enum 'BackupConfigDetails.Types.State' added.
Enum 'BackupConfigDetails.Types.Type' added.
Class 'BackupDrPlanConfig' added.
Class 'BackupDrPlanRule' added.
Class 'BackupDrProtectionSummary' added.
Class 'BackupDrProtectionSummary.BackupDrProtectionSummaryBase' added.
Class 'BackupDrProtectionSummary.BackupDrProtectionSummaryClient' added.
Class 'BackupDrProtectionSummaryClient' added.
Class 'BackupDrProtectionSummaryClientBuilder' added.
Class 'BackupDrProtectionSummaryClientImpl' added.
Class 'BackupDrProtectionSummarySettings' added.
Class 'BackupDrTemplateConfig' added.
Class 'BackupLocation' added.
Class 'BackupLocation.Types' added.
Enum 'BackupLocation.Types.Type' added.
Class 'ListResourceBackupConfigsRequest' added.
Class 'ListResourceBackupConfigsResponse' added.
Class 'PitrSettings' added.
Class 'ProtectionSummaryReflection' added.
Class 'ResourceBackupConfig' added.
Class 'ResourceBackupConfig.Types' added.
Enum 'ResourceBackupConfig.Types.ResourceType' added.
Class 'ResourceBackupConfigName' added.
Enum 'ResourceBackupConfigName.ResourceNameType' added.
Class 'ServiceCollectionExtensions'; method 'IServiceCollection AddBackupDrProtectionSummaryClient(IServiceCollection services, Action action = null)' added.
Class 'ServiceCollectionExtensions'; method 'IServiceCollection AddBackupDrProtectionSummaryClient(IServiceCollection services, Action<IServiceProvider, BackupDrProtectionSummaryClientBuilder> action)' added.

Diff level: Minor

Finished comparisons for Google.Cloud.BackupDR.V1

Finding changes in Google.Cloud.Kms.V1...
Comparing old and new versions (by source)
Diff level: Identical

Comparing with previous NuGet package
Checking compatibility for Google.Cloud.Kms.V1 version 3.20.0
Differences from 3.20.0
Diff level: Identical

Finished comparisons for Google.Cloud.Kms.V1

Finding changes in Google.Cloud.PubSub.V1...
Comparing old and new versions (by source)
Minor changes:
Class 'AIInference' added.
Enum 'AIInference.InferenceModeOneofCase' added.
Class 'AIInference.Types' added.
Class 'AIInference.Types.UnstructuredInference' added.
Enum 'BigQueryConfig.Types.State' entry 'VertexAiLocationRestriction' added.
Enum 'CloudStorageConfig.Types.State' entry 'VertexAiLocationRestriction' added.
Class 'MessageTransform'; property 'AIInference AiInference { get; set; }' added.
Class 'MessageTransform'; constant 'System.Int32 Google.Cloud.PubSub.V1.MessageTransform::AiInferenceFieldNumber' added.
Enum 'MessageTransform.TransformOneofCase' entry 'AiInference' added.

Diff level: Minor

Comparing with previous NuGet package
Checking compatibility for Google.Cloud.PubSub.V1 version 3.30.0
Differences from 3.30.0
Minor changes:
Class 'AIInference' added.
Enum 'AIInference.InferenceModeOneofCase' added.
Class 'AIInference.Types' added.
Class 'AIInference.Types.UnstructuredInference' added.
Enum 'BigQueryConfig.Types.State' entry 'VertexAiLocationRestriction' added.
Enum 'CloudStorageConfig.Types.State' entry 'VertexAiLocationRestriction' added.
Class 'MessageTransform'; property 'AIInference AiInference { get; set; }' added.
Class 'MessageTransform'; constant 'System.Int32 Google.Cloud.PubSub.V1.MessageTransform::AiInferenceFieldNumber' added.
Enum 'MessageTransform.TransformOneofCase' entry 'AiInference' added.

Diff level: Minor

Finished comparisons for Google.Cloud.PubSub.V1

@jskeet jskeet merged commit 6f45d2e into main Jan 9, 2026
13 checks passed
@jskeet jskeet deleted the librarian-regen-20260109T080112Z branch January 9, 2026 08:17
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 is an API regeneration, introducing several updates across different services. Notably, it adds a new BackupDrProtectionSummaryClient for the Google.Cloud.BackupDR.V1 API. For Google.Cloud.Kms.V1, it deprecates two AccessReason enum values, which is a significant change for users of this API. Additionally, there are minor documentation improvements in Google.Cloud.PubSub.V1 for better clarity. My review includes suggestions to enhance the developer experience regarding the deprecated enum values in the KMS API.

/// resource in the same project or folder as the currently accessed resource
/// within the past 7 days.
/// </summary>
[global::System.ObsoleteAttribute]
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

For a better developer experience, it's recommended to add a descriptive message to the ObsoleteAttribute. This message will be displayed as part of the compiler warning, guiding users on how to address the deprecation. The XML documentation already contains a good explanation that could be summarized in the attribute.

    [global::System.ObsoleteAttribute("This access reason is deprecated. Please refer to the documentation for alternatives.")]

/// resource in the same project or folder as the currently accessed resource
/// within the past 7 days.
/// </summary>
[global::System.ObsoleteAttribute]
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

For a better developer experience, it's recommended to add a descriptive message to the ObsoleteAttribute. This message will be displayed as part of the compiler warning, guiding users on how to address the deprecation. The XML documentation already contains a good explanation that could be summarized in the attribute.

    [global::System.ObsoleteAttribute("This access reason is deprecated. Please refer to the documentation for alternatives.")]

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