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