From 7c7adc0963b89ae0de08a586bcf4a91e2d74c9c3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 23 Mar 2023 21:15:08 +0000 Subject: [PATCH] chore(all): auto-regenerate .pb.go files This is an auto-generated regeneration of the .pb.go files by cloud.google.com/go/internal/gapicgen. Once this PR is submitted, genbot will update the corresponding PR to depend on the newer version of go-genproto, and assign reviewers. Whilst this or any regen PR is open in go-genproto, genbot will not create any more regeneration PRs. If all regen PRs are closed, gapicgen will create a new set of regeneration PRs once per night. If you have been assigned to review this PR, please: - Ensure that CI is passing. If it's failing, it requires your manual attention. - Approve and submit this PR if you believe it's ready to ship. That will prompt genbot to assign reviewers to the google-cloud-go PR. Corresponding google-cloud-go PR: googleapis/google-cloud-go#7620 Changes: feat(apikeys): promote to GA PiperOrigin-RevId: 518952699 Source-Link: https://github.com/googleapis/googleapis/commit/d4c5ff6d008199e3d7a60330e43bc97695b8cdaa feat(maps/routing): promote to GA PiperOrigin-RevId: 518942337 Source-Link: https://github.com/googleapis/googleapis/commit/554bb7097f3c998f9356383a2214df507af9d25c feat(resourcemanager): promote to GA PiperOrigin-RevId: 518942065 Source-Link: https://github.com/googleapis/googleapis/commit/13a039e9113cfd87d49b11f61112b65434cde8e2 feat: Add SUM/AVG aggregation query support in the preview branch and improve query API documentation PiperOrigin-RevId: 518940761 Source-Link: https://github.com/googleapis/googleapis/commit/b1efb3270a3639831c35ccd7552c2bced807279c feat(maps/addressvalidation): promote to GA PiperOrigin-RevId: 518940667 Source-Link: https://github.com/googleapis/googleapis/commit/f074df89fe7c2b75a76ff600f60ce9fe04c72e27 feat(batch): promote to GA PiperOrigin-RevId: 518910266 Source-Link: https://github.com/googleapis/googleapis/commit/b99ef53a44c7f1cd3e0e538119931a0b712f1ace feat(run): promote to GA PiperOrigin-RevId: 518890346 Source-Link: https://github.com/googleapis/googleapis/commit/2ad33111d92c255a6d5fcfc5fa9e8c83567add8d feat(functions): promote to GA PiperOrigin-RevId: 518879562 Source-Link: https://github.com/googleapis/googleapis/commit/f617ad840fd5292795697aece948db3b067a3cd5 feat(artifactregistry): promote to GA PiperOrigin-RevId: 518851996 Source-Link: https://github.com/googleapis/googleapis/commit/f53c8306955ea30754fa70404bd2b9938fe6bda7 chore(contactcenterinsights): Update the copyright year docs: Reformat some lines of code PiperOrigin-RevId: 518686790 Source-Link: https://github.com/googleapis/googleapis/commit/2205f23a4ef0e505a5f9abf3cb54531fb4e959d9 docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: https://github.com/googleapis/googleapis/commit/8a085aeddfa010af5bcef090827aac5255383d7e feat(bigquery/reservation): add edition/autoscale related fields PiperOrigin-RevId: 518584143 Source-Link: https://github.com/googleapis/googleapis/commit/e4a7ae691c2b3f5448e1d7ab9831aca3e1e6d0ec chore(compute): update Compute to generate Snippetgen Phase 1 samples for Java (#788) Source-Link: https://github.com/googleapis/googleapis/commit/4b19154d0b46e5013a34016e55845347b6fc069a --- googleapis/datastore/v1/aggregation_result.pb.go | 2 +- googleapis/datastore/v1/datastore.pb.go | 2 +- googleapis/datastore/v1/entity.pb.go | 6 +++--- googleapis/datastore/v1/query.pb.go | 15 ++++++++++----- regen.txt | 2 +- 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/googleapis/datastore/v1/aggregation_result.pb.go b/googleapis/datastore/v1/aggregation_result.pb.go index f0c81aa48..f1fde6cf8 100644 --- a/googleapis/datastore/v1/aggregation_result.pb.go +++ b/googleapis/datastore/v1/aggregation_result.pb.go @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/googleapis/datastore/v1/datastore.pb.go b/googleapis/datastore/v1/datastore.pb.go index 4dde402aa..da0c56529 100644 --- a/googleapis/datastore/v1/datastore.pb.go +++ b/googleapis/datastore/v1/datastore.pb.go @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/googleapis/datastore/v1/entity.pb.go b/googleapis/datastore/v1/entity.pb.go index 978aa78f2..f5ce11a34 100644 --- a/googleapis/datastore/v1/entity.pb.go +++ b/googleapis/datastore/v1/entity.pb.go @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -530,8 +530,8 @@ type Entity struct { // The map's keys are property names. // A property name matching regex `__.*__` is reserved. // A reserved property name is forbidden in certain documented contexts. - // The name must not contain more than 500 characters. - // The name cannot be `""`. + // The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot + // be empty. Properties map[string]*Value `protobuf:"bytes,3,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } diff --git a/googleapis/datastore/v1/query.pb.go b/googleapis/datastore/v1/query.pb.go index bdd33e806..e9cf01655 100644 --- a/googleapis/datastore/v1/query.pb.go +++ b/googleapis/datastore/v1/query.pb.go @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -503,6 +503,11 @@ type Query struct { // The properties to make distinct. The query results will contain the first // result for each distinct combination of values for the given properties // (if empty, all results are returned). + // + // Requires: + // + // * If `order` is specified, the set of distinct on properties must appear + // before the non-distinct on properties in `order`. DistinctOn []*PropertyReference `protobuf:"bytes,6,rep,name=distinct_on,json=distinctOn,proto3" json:"distinct_on,omitempty"` // A starting point for the query results. Query cursors are // returned in query result batches and @@ -1432,7 +1437,7 @@ func (x *QueryResultBatch) GetReadTime() *timestamppb.Timestamp { return nil } -// Defines a aggregation that produces a single result. +// Defines an aggregation that produces a single result. type AggregationQuery_Aggregation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1456,7 +1461,7 @@ type AggregationQuery_Aggregation struct { // COUNT_UP_TO(1) AS count_up_to_1, // COUNT_UP_TO(2), // COUNT_UP_TO(3) AS count_up_to_3, - // COUNT_UP_TO(4) + // COUNT(*) // // OVER ( // @@ -1473,7 +1478,7 @@ type AggregationQuery_Aggregation struct { // COUNT_UP_TO(1) AS count_up_to_1, // COUNT_UP_TO(2) AS property_1, // COUNT_UP_TO(3) AS count_up_to_3, - // COUNT_UP_TO(4) AS property_2 + // COUNT(*) AS property_2 // // OVER ( // @@ -1567,7 +1572,7 @@ type AggregationQuery_Aggregation_Count struct { // count. // // This provides a way to set an upper bound on the number of entities - // to scan, limiting latency and cost. + // to scan, limiting latency, and cost. // // Unspecified is interpreted as no bound. // diff --git a/regen.txt b/regen.txt index bfefd218b..6218f737f 100644 --- a/regen.txt +++ b/regen.txt @@ -1 +1 @@ -04e7048f583bdb2ec2886d115d9274259f72b6aa \ No newline at end of file +d4c5ff6d008199e3d7a60330e43bc97695b8cdaa \ No newline at end of file