Skip to content

feat: API regeneration: release-2026-04-20.08-02-44#3155

Merged
jskeet merged 40 commits intomainfrom
release-2026-04-20.08-02-44
Apr 20, 2026
Merged

feat: API regeneration: release-2026-04-20.08-02-44#3155
jskeet merged 40 commits intomainfrom
release-2026-04-20.08-02-44

Conversation

@amanda-tarafa
Copy link
Copy Markdown
Contributor

Changes in this PR will be published to Nuget on the next release cycle.

@amanda-tarafa amanda-tarafa requested a review from a team as a code owner April 20, 2026 08:06
Copy link
Copy Markdown

@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 Developer Knowledge API (v1alpha) and provides extensive updates across various existing Google Cloud services, including Chrome Management, GKE, Health, and Dataform. Key enhancements involve new resource types like connector configurations and subscribers, along with refined documentation and regional endpoint expansions. The review feedback identifies several improvement opportunities: removing internal LINT.IfChange directives from public API descriptions in Chrome Management, correcting a stray slash typo in the HomeGraph API documentation, and adding a regex pattern for the subscriberId parameter in the Health API to enhance client-side validation.

"type": "object"
},
"GoogleChromeManagementVersionsV1ConnectorConfigDetails": {
"description": "The details of the connector config. LINT.IfChange",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The description contains an internal lint directive LINT.IfChange. This should be removed from the public API discovery document as it is intended for internal developer use only.

public virtual string Type { get; set; }
}

/// <summary>The details of the connector config. LINT.IfChange</summary>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The summary contains an internal lint directive LINT.IfChange. This should be removed from the generated documentation.

    /// <summary>The details of the connector config.</summary>

"deviceId": {
"description": "Required. / Unique identifier for the device.",
"type": "string"
},
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

There is a stray slash / in the description: Required. / Unique identifier. This appears to be a typo in the source API definition.

/// <summary>Contains the set of events for an item.</summary>
public class HomeEvents : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>Required. / Unique identifier for the device.</summary>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

There is a stray slash / in the summary documentation. This typo should be corrected in the source API definition to ensure clean generated code.

        /// <summary>Required. Unique identifier for the device.</summary>

"type": "string"
},
"subscriberId": {
"description": "Optional. The ID to use for the subscriber, which will become the final component of the subscriber's resource name. This value should be 4-36 characters, and valid characters are /[a-z]([a-z0-9-]{2,34}[a-z0-9])/.",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The subscriberId parameter has a character constraint mentioned in the description but lacks a corresponding pattern field. Adding a pattern field with the regex ^[a-z]([a-z0-9-]{2,34}[a-z0-9])$ would allow client libraries to perform local validation and provide a better developer experience.

@jskeet jskeet merged commit 392f128 into main Apr 20, 2026
6 checks passed
@jskeet jskeet deleted the release-2026-04-20.08-02-44 branch April 20, 2026 08:25
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