Skip to content

feat: update API sources and regenerate - #9293

Merged
feywind merged 1 commit into
mainfrom
chore-update-libraries-2026-09-11
Sep 11, 2026
Merged

feat: update API sources and regenerate#9293
feywind merged 1 commit into
mainfrom
chore-update-libraries-2026-09-11

Conversation

@suztomo

@suztomo suztomo commented Sep 11, 2026

Copy link
Copy Markdown
Member

Update API sources and regenerate.

Included googleapis CLs

google/ads/admanager/v1

google/ads/datamanager/v1

google/apps/meet/v2

google/apps/meet/v2beta

google/bigtable/admin/v2

google/cloud/alloydb/v1alpha

google/cloud/alloydb/v1beta

google/cloud/apigateway/v1

google/cloud/auditmanager/v1

google/cloud/chronicle/v1

google/cloud/compute/v1

google/cloud/compute/v1beta

google/cloud/geminidataanalytics/v1alpha

google/cloud/kms/v1

google/cloud/retail/v2alpha

google/cloud/securesourcemanager/v1

google/cloud/vectorsearch/v1beta

google/cloud/visionai/v1

google/pubsub/v1

google/shopping/merchant/loyaltycustomers/v1

@suztomo
suztomo requested a review from a team as a code owner September 11, 2026 16:00
@github-actions
github-actions Bot requested a review from shivanee-p September 11, 2026 16:01

@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 introduces the new BreakTemplateService for the Ad Manager API, including the necessary proto definitions, client library updates, and corresponding generated samples and tests. Additionally, it includes updates to the Data Manager API, such as new fields and error codes, and updates to the Meet API protos and samples. The review feedback identifies that several generated sample files contain incorrect placeholder types for 'requests' parameters, which should be updated to match the expected object array structure to improve clarity for users.

* Required. The `AudienceSegment` objects to create.
* A maximum of 100 objects can be created in a batch.
*/
// const requests = [1,2,3,4]

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 placeholder value for requests is [1,2,3,4], which is an array of numbers. However, the requests parameter expects an array of CreateAudienceSegmentRequest objects. The placeholder should be updated to reflect the correct type, for example: // const requests = [{}, {}]; to avoid confusion for users of this sample.

Suggested change
// const requests = [1,2,3,4]
// const requests = [{}, {}]

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.

This feels like it might be a legit issue with the generator. (Not particularly for this PR though...)

* Required. The `BreakTemplate` objects to create.
* A maximum of 100 objects can be created in a batch.
*/
// const requests = [1,2,3,4]

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 placeholder value for requests is [1,2,3,4], which is an array of numbers. However, the requests parameter expects an array of CreateBreakTemplateRequest objects. The placeholder should be updated to reflect the correct type, for example: // const requests = [{}, {}]; to avoid confusion for users of this sample.

Suggested change
// const requests = [1,2,3,4]
// const requests = [{}, {}]

* Required. The `BreakTemplate` objects to update.
* A maximum of 100 objects can be updated in a batch.
*/
// const requests = [1,2,3,4]

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 placeholder value for requests is [1,2,3,4], which is an array of numbers. However, the requests parameter expects an array of UpdateBreakTemplateRequest objects. The placeholder should be updated to reflect the correct type, for example: // const requests = [{}, {}]; to avoid confusion for users of this sample.

Suggested change
// const requests = [1,2,3,4]
// const requests = [{}, {}]

* Required. The request message specifying the resources to update.
* A maximum of 500 members can be modified in a batch.
*/
// const requests = [1,2,3,4]

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 placeholder value for requests is [1,2,3,4], which is an array of numbers. However, the requests parameter expects an array of UpdateMemberRequest objects. The placeholder should be updated to reflect the correct type, for example: // const requests = [{}, {}]; to avoid confusion for users of this sample.

Suggested change
// const requests = [1,2,3,4]
// const requests = [{}, {}]

* Required. The request message specifying the resources to update.
* A maximum of 500 members can be modified in a batch.
*/
// const requests = [1,2,3,4]

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 placeholder value for requests is [1,2,3,4], which is an array of numbers. However, the requests parameter expects an array of UpdateMemberRequest objects. The placeholder should be updated to reflect the correct type, for example: // const requests = [{}, {}]; to avoid confusion for users of this sample.

Suggested change
// const requests = [1,2,3,4]
// const requests = [{}, {}]

@suztomo

suztomo commented Sep 11, 2026

Copy link
Copy Markdown
Member Author

"presubmit / lint (pull_request)" still failed.

@feywind

feywind commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

"presubmit / lint (pull_request)" still failed.

Actually these all kind of feel like generator issues - it's making code that has linter problems. @shivanee-p were you working on these earlier and have a PR? (ISTR..) If not, we can throw it onto the next sprint. We might also need a heap parameter boost for the monorepo-wide linter.

@feywind
feywind merged commit 07ae774 into main Sep 11, 2026
85 of 86 checks passed
@feywind
feywind deleted the chore-update-libraries-2026-09-11 branch September 11, 2026 18:03
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