Skip to content

Commit 91ef4a3

Browse files
gcf-owl-bot[bot]amanda-tarafa
authored andcommitted
chore: Add FindNearest API to the preview branch
docs: Improve the documentation on Document.fields PiperOrigin-RevId: 599602467 Source-Link: googleapis/googleapis@d32bd97 Source-Link: googleapis/googleapis-gen@0545ffc Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRmlyZXN0b3JlLlYxLy5Pd2xCb3QueWFtbCIsImgiOiIwNTQ1ZmZjNDg4YjgyZDNhNDc3MTExOGM5MjNkNjRjZDBiNzU5OTUzIn0=
1 parent f9f39a5 commit 91ef4a3

2 files changed

Lines changed: 20 additions & 12 deletions

File tree

apis/Google.Cloud.Firestore.V1/Google.Cloud.Firestore.V1/Document.g.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -143,23 +143,23 @@ public string Name {
143143
///
144144
/// The map keys represent field names.
145145
///
146-
/// A simple field name contains only characters `a` to `z`, `A` to `Z`,
147-
/// `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
148-
/// `foo_bar_17`.
149-
///
150146
/// Field names matching the regular expression `__.*__` are reserved. Reserved
151-
/// field names are forbidden except in certain documented contexts. The map
152-
/// keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
147+
/// field names are forbidden except in certain documented contexts. The field
148+
/// names, represented as UTF-8, must not exceed 1,500 bytes and cannot be
153149
/// empty.
154150
///
155151
/// Field paths may be used in other contexts to refer to structured fields
156-
/// defined here. For `map_value`, the field path is represented by the simple
157-
/// or quoted field names of the containing fields, delimited by `.`. For
158-
/// example, the structured field
159-
/// `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
160-
/// represented by the field path `foo.x&y`.
152+
/// defined here. For `map_value`, the field path is represented by a
153+
/// dot-delimited (`.`) string of segments. Each segment is either a simple
154+
/// field name (defined below) or a quoted field name. For example, the
155+
/// structured field `"foo" : { map_value: { "x&y" : { string_value: "hello"
156+
/// }}}` would be represented by the field path `` foo.`x&y` ``.
157+
///
158+
/// A simple field name contains only characters `a` to `z`, `A` to `Z`,
159+
/// `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
160+
/// `foo_bar_17`.
161161
///
162-
/// Within a field path, a quoted field name starts and ends with `` ` `` and
162+
/// A quoted field name starts and ends with `` ` `` and
163163
/// may contain any character. Some characters, including `` ` ``, must be
164164
/// escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
165165
/// `` `bak\`tik` `` represents `` bak`tik ``.

apis/Google.Cloud.Firestore.V1/Google.Cloud.Firestore.V1/Query.g.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,14 @@ static QueryReflection() {
117117
#region Messages
118118
/// <summary>
119119
/// A Firestore query.
120+
///
121+
/// The query stages are executed in the following order:
122+
/// 1. from
123+
/// 2. where
124+
/// 3. select
125+
/// 4. order_by + start_at + end_at
126+
/// 5. offset
127+
/// 6. limit
120128
/// </summary>
121129
public sealed partial class StructuredQuery : pb::IMessage<StructuredQuery>
122130
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE

0 commit comments

Comments
 (0)