Skip to content

Commit 1b5a8d2

Browse files
Google APIscopybara-github
authored andcommitted
Fix documentation for string_value. The value does not have to be at least 1MB, but rather, at most 1MB.
PiperOrigin-RevId: 309845930
1 parent e0f9d9e commit 1b5a8d2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

google/datastore/v1/entity.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ message Value {
145145
Key key_value = 5;
146146

147147
// A UTF-8 encoded string value.
148-
// When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes.
149-
// Otherwise, may be set to at least 1,000,000 bytes.
148+
// When `exclude_from_indexes` is false (it is indexed), may have at most
149+
// 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
150150
string string_value = 17;
151151

152152
// A blob value.

google/datastore/v1beta3/entity.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ message Value {
145145
Key key_value = 5;
146146

147147
// A UTF-8 encoded string value.
148-
// When `exclude_from_indexes` is false (it is indexed) , may have at most
149-
// 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
148+
// When `exclude_from_indexes` is false (it is indexed), may have at most
149+
// 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
150150
string string_value = 17;
151151

152152
// A blob value.

0 commit comments

Comments
 (0)