Skip to content

feat: update sources and regenerate - #20399

Merged
quirogas merged 1 commit into
googleapis:mainfrom
quirogas:feat-update-libraries-2026-08-19
Aug 19, 2026
Merged

quirogas merged 1 commit into
googleapis:mainfrom
quirogas:feat-update-libraries-2026-08-19

Conversation

@quirogas

Copy link
Copy Markdown
Contributor

No description provided.

@quirogas quirogas self-assigned this Aug 19, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request updates several Google Cloud client libraries, including adding IAM permission documentation to BigQuery v2, introducing new OAuth scopes and markup syntax support to Chat v1, and implementing workspace branch management methods in Dataform v1beta1. In the Compute v1 preview client, defensive nil-guards were added to req when checking ParentId. The review feedback recommends removing these defensive nil-guards on req because the parameter is guaranteed to be non-nil by the caller, and such guards can mask bugs by silently no-oping instead of allowing a nil-panic to surface.

Comment on lines +994 to +996
if req != nil && req.ParentId != nil {
params.Add("parentId", fmt.Sprintf("%v", req.GetParentId()))
}

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

Avoid adding defensive nil-guards on req since it is a parameter whose non-nil status is guaranteed by the caller. According to the general rules, such guards can mask real bugs by silently no-oping instead of allowing a nil-panic to surface the caller's mistake.

Suggested change
if req != nil && req.ParentId != nil {
params.Add("parentId", fmt.Sprintf("%v", req.GetParentId()))
}
if req.ParentId != nil {
params.Add("parentId", fmt.Sprintf("%v", req.GetParentId()))
}
References
  1. Do not add defensive nil-guards on variables or parameters where invariants guaranteed by construction or call sites ensure they will never be nil.

Comment on lines +1202 to +1204
if req != nil && req.ParentId != nil {
params.Add("parentId", fmt.Sprintf("%v", req.GetParentId()))
}

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

Avoid adding defensive nil-guards on req since it is a parameter whose non-nil status is guaranteed by the caller. According to the general rules, such guards can mask real bugs by silently no-oping instead of allowing a nil-panic to surface the caller's mistake.

Suggested change
if req != nil && req.ParentId != nil {
params.Add("parentId", fmt.Sprintf("%v", req.GetParentId()))
}
if req.ParentId != nil {
params.Add("parentId", fmt.Sprintf("%v", req.GetParentId()))
}
References
  1. Do not add defensive nil-guards on variables or parameters where invariants guaranteed by construction or call sites ensure they will never be nil.

@quirogas
quirogas marked this pull request as ready for review August 19, 2026 16:56
@quirogas
quirogas requested review from a team as code owners August 19, 2026 16:56
@snippet-bot

snippet-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

Here is the summary of changes.

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

@noahdietz

Copy link
Copy Markdown
Contributor

Note that the changes to the preview/internal/compute client are intentional. See source CL cl/966098511

@quirogas
quirogas enabled auto-merge (squash) August 19, 2026 17:40
@quirogas
quirogas merged commit a6b5cdb into googleapis:main Aug 19, 2026
19 checks passed
sushanb pushed a commit that referenced this pull request Aug 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.53.0](bigtable/v1.52.0...bigtable/v1.53.0)
(2026-08-27)


### Features

* **bigtable/accelerator:** Add --user-agent flag to daemon
([#20341](#20341))
([6b33c06](6b33c06))
* **bigtable/accelerator:** Add daemon binary with identity verification
([#20330](#20330))
([2f9cf89](2f9cf89))
* **bigtable/accelerator:** Add proxy channel scaffold owning a sessi…
([#20310](#20310))
([d65ca7d](d65ca7d))
* **bigtable/accelerator:** Add stdin-EOF and parent-PID lifecycle wa…
([#20328](#20328))
([dc1c6ae](dc1c6ae))
* **bigtable/accelerator:** Add UDS server with authenticated proxy i…
([#20320](#20320))
([a837020](a837020))
* **bigtable/accelerator:** Add V2-to-session request adapters
([#20271](#20271))
([4cb6f16](4cb6f16))
* **bigtable/accelerator:** Authenticate UDS callers with a stdin tok…
([#20324](#20324))
([7847ab7](7847ab7))
* **bigtable/accelerator:** Dispatch MutateRow and single-row ReadRow…
([#20312](#20312))
([c89f336](c89f336))
* Update API sources and regenerate
([#20369](#20369))
([bfe3aaf](bfe3aaf))
* Update sources and regenerate
([#20399](#20399))
([a6b5cdb](a6b5cdb))


### Bug Fixes

* **bigtable/internal/transport:** Drop redundant defer p.Close() in AFE
picker tests
([#20311](#20311))
([c05b767](c05b767))
* **bigtable:** Register c2p resolver + RLS balancer for accelerator
daemon DirectPath
([#20362](#20362))
([95f372f](95f372f))
* **bigtable:** Session client — set AllowNonDefaultServiceAccount on
DirectPath dial
([#20343](#20343))
([b9c76ec](b9c76ec))
* **bigtable:** Session client — single ownership + single-flight pool
loading
([#20368](#20368))
([f4ad950](f4ad950))
* **bigtable:** Session pool — re-drive creation after a never-activated
close so the consecutive-failure breaker is reachable
([#20355](#20355))
([ee74949](ee74949))
* **bigtable:** Use composed user agent as CSM client_name
([#20383](#20383))
([cb02335](cb02335))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
noahdietz added a commit that referenced this pull request Oct 1, 2026
This is a manually created release that includes the updated
`preview/internal/compute` code from `main` at 56307b0.
---


##
[1.72.0-preview.1](compute/v1.66.0-preview.1...compute/v1.72.0-preview.1)
(2026-09-30)


### Features

* **all:** Update supported go versions
([#20520](#20520))
([90413d3](90413d3))
* Update API sources and regenerate
([#20326](#20326))
([a25826f](a25826f))
* Update API sources and regenerate
([#20459](#20459))
([5426e32](5426e32))
* Update API sources and regenerate
([#20526](#20526))
([e6f37a3](e6f37a3))
* Update API sources and regenerate
([#20607](#20607))
([395fc59](395fc59))
* Update API sources and regenerate.
([e6f37a3](e6f37a3))
* Update sources and regenerate
([#20399](#20399))
([a6b5cdb](a6b5cdb))

---
This PR **body** was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

3 participants