Skip to content

Commit

Permalink
feat: add new types ExplainOptions, ExplainMetrics, PlanSummary, Exec…
Browse files Browse the repository at this point in the history
…utionStats

feat: add ExplainOptions field to RunQueryRequest
feat: add ExplainMetrics field to RunQueryResponse
feat: add ExplainOptions field to RunAggregationQueryRequest
feat: add ExplainMetrics field to RunAggregationQueryResponse

PiperOrigin-RevId: 615158086

Source-Link: googleapis/googleapis@dbd2d6d

Source-Link: googleapis/googleapis-gen@a1d5d01
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRmlyZXN0b3JlLlYxLy5Pd2xCb3QueWFtbCIsImgiOiJhMWQ1ZDAxOTMwMGQyMDY5ODk3NDZhZGRkYTkyMWUyMWQxYjAyZTgyIn0=
  • Loading branch information
gcf-owl-bot[bot] authored and amanda-tarafa committed Mar 12, 2024
1 parent 647855a commit c2793f0
Show file tree
Hide file tree
Showing 7 changed files with 1,485 additions and 216 deletions.
Expand Up @@ -42,6 +42,7 @@ public async Task RunAggregationQueryRequestObject()
Parent = "",
StructuredAggregationQuery = new StructuredAggregationQuery(),
Transaction = ByteString.Empty,
ExplainOptions = new ExplainOptions(),
};
// Make the request, returning a streaming response
using FirestoreClient.RunAggregationQueryStream response = firestoreClient.RunAggregationQuery(request);
Expand Down
Expand Up @@ -42,6 +42,7 @@ public async Task RunQueryRequestObject()
Parent = "",
StructuredQuery = new StructuredQuery(),
Transaction = ByteString.Empty,
ExplainOptions = new ExplainOptions(),
};
// Make the request, returning a streaming response
using FirestoreClient.RunQueryStream response = firestoreClient.RunQuery(request);
Expand Down
Expand Up @@ -1270,12 +1270,12 @@
"segments": [
{
"start": 20,
"end": 59,
"end": 60,
"type": "FULL"
},
{
"start": 37,
"end": 57,
"end": 58,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -1318,12 +1318,12 @@
"segments": [
{
"start": 20,
"end": 59,
"end": 60,
"type": "FULL"
},
{
"start": 37,
"end": 57,
"end": 58,
"type": "SHORT"
}
]
Expand Down
Expand Up @@ -535,6 +535,7 @@ public async Task RunQueryRequestObject()
Parent = "",
StructuredQuery = new StructuredQuery(),
Transaction = ByteString.Empty,
ExplainOptions = new ExplainOptions(),
};
// Make the request, returning a streaming response
using FirestoreClient.RunQueryStream response = firestoreClient.RunQuery(request);
Expand Down Expand Up @@ -563,6 +564,7 @@ public async Task RunAggregationQueryRequestObject()
Parent = "",
StructuredAggregationQuery = new StructuredAggregationQuery(),
Transaction = ByteString.Empty,
ExplainOptions = new ExplainOptions(),
};
// Make the request, returning a streaming response
using FirestoreClient.RunAggregationQueryStream response = firestoreClient.RunAggregationQuery(request);
Expand Down
633 changes: 421 additions & 212 deletions apis/Google.Cloud.Firestore.V1/Google.Cloud.Firestore.V1/Firestore.g.cs

Large diffs are not rendered by default.

Expand Up @@ -37,6 +37,7 @@ internal static class PackageApiMetadata
yield return DocumentReflection.Descriptor;
yield return FirestoreReflection.Descriptor;
yield return QueryReflection.Descriptor;
yield return QueryProfileReflection.Descriptor;
yield return WriteReflection.Descriptor;
yield return gcl::LocationsReflection.Descriptor;
}
Expand Down

0 comments on commit c2793f0

Please sign in to comment.