Skip to content

Commit 804ef48

Browse files
feat(bigquery): update the api
#### bigquery:v2 The following keys were added: - schemas.RemoteModelInfo.properties.speechRecognizer (Total Keys: 2) - schemas.VectorSearchStatistics (Total Keys: 5)
1 parent dfe3739 commit 804ef48

File tree

2 files changed

+44
-3
lines changed

2 files changed

+44
-3
lines changed

docs/dyn/bigquery_v2.models.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ <h3>Method Details</h3>
801801
&quot;maxBatchingRows&quot;: &quot;A String&quot;, # Output only. Max number of rows in each batch sent to the remote service. If unset, the number of rows in each batch is set dynamically.
802802
&quot;remoteModelVersion&quot;: &quot;A String&quot;, # Output only. The model version for LLM.
803803
&quot;remoteServiceType&quot;: &quot;A String&quot;, # Output only. The remote service type for remote model.
804+
&quot;speechRecognizer&quot;: &quot;A String&quot;, # Output only. The name of the speech recognizer to use for speech recognition. The expected format is `projects/{project}/locations/{location}/recognizers/{recognizer}`. Customers can specify this field at model creation. If not specified, a default recognizer `projects/{model project}/locations/global/recognizers/_` will be used. See more details at [recognizers](https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers)
804805
},
805806
&quot;trainingRuns&quot;: [ # Information for all training runs in increasing order of start_time.
806807
{ # Information about a single training query run for the model.
@@ -1821,6 +1822,7 @@ <h3>Method Details</h3>
18211822
&quot;maxBatchingRows&quot;: &quot;A String&quot;, # Output only. Max number of rows in each batch sent to the remote service. If unset, the number of rows in each batch is set dynamically.
18221823
&quot;remoteModelVersion&quot;: &quot;A String&quot;, # Output only. The model version for LLM.
18231824
&quot;remoteServiceType&quot;: &quot;A String&quot;, # Output only. The remote service type for remote model.
1825+
&quot;speechRecognizer&quot;: &quot;A String&quot;, # Output only. The name of the speech recognizer to use for speech recognition. The expected format is `projects/{project}/locations/{location}/recognizers/{recognizer}`. Customers can specify this field at model creation. If not specified, a default recognizer `projects/{model project}/locations/global/recognizers/_` will be used. See more details at [recognizers](https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers)
18241826
},
18251827
&quot;trainingRuns&quot;: [ # Information for all training runs in increasing order of start_time.
18261828
{ # Information about a single training query run for the model.
@@ -2854,6 +2856,7 @@ <h3>Method Details</h3>
28542856
&quot;maxBatchingRows&quot;: &quot;A String&quot;, # Output only. Max number of rows in each batch sent to the remote service. If unset, the number of rows in each batch is set dynamically.
28552857
&quot;remoteModelVersion&quot;: &quot;A String&quot;, # Output only. The model version for LLM.
28562858
&quot;remoteServiceType&quot;: &quot;A String&quot;, # Output only. The remote service type for remote model.
2859+
&quot;speechRecognizer&quot;: &quot;A String&quot;, # Output only. The name of the speech recognizer to use for speech recognition. The expected format is `projects/{project}/locations/{location}/recognizers/{recognizer}`. Customers can specify this field at model creation. If not specified, a default recognizer `projects/{model project}/locations/global/recognizers/_` will be used. See more details at [recognizers](https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers)
28572860
},
28582861
&quot;trainingRuns&quot;: [ # Information for all training runs in increasing order of start_time.
28592862
{ # Information about a single training query run for the model.
@@ -3862,6 +3865,7 @@ <h3>Method Details</h3>
38623865
&quot;maxBatchingRows&quot;: &quot;A String&quot;, # Output only. Max number of rows in each batch sent to the remote service. If unset, the number of rows in each batch is set dynamically.
38633866
&quot;remoteModelVersion&quot;: &quot;A String&quot;, # Output only. The model version for LLM.
38643867
&quot;remoteServiceType&quot;: &quot;A String&quot;, # Output only. The remote service type for remote model.
3868+
&quot;speechRecognizer&quot;: &quot;A String&quot;, # Output only. The name of the speech recognizer to use for speech recognition. The expected format is `projects/{project}/locations/{location}/recognizers/{recognizer}`. Customers can specify this field at model creation. If not specified, a default recognizer `projects/{model project}/locations/global/recognizers/_` will be used. See more details at [recognizers](https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers)
38653869
},
38663870
&quot;trainingRuns&quot;: [ # Information for all training runs in increasing order of start_time.
38673871
{ # Information about a single training query run for the model.

googleapiclient/discovery_cache/documents/bigquery.v2.json

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@
16861686
}
16871687
}
16881688
},
1689-
"revision": "20231021",
1689+
"revision": "20231202",
16901690
"rootUrl": "https://bigquery.googleapis.com/",
16911691
"schemas": {
16921692
"AggregateClassificationMetrics": {
@@ -5966,16 +5966,23 @@
59665966
"REMOTE_SERVICE_TYPE_UNSPECIFIED",
59675967
"CLOUD_AI_TRANSLATE_V3",
59685968
"CLOUD_AI_VISION_V1",
5969-
"CLOUD_AI_NATURAL_LANGUAGE_V1"
5969+
"CLOUD_AI_NATURAL_LANGUAGE_V1",
5970+
"CLOUD_AI_SPEECH_TO_TEXT_V2"
59705971
],
59715972
"enumDescriptions": [
59725973
"Unspecified remote service type.",
59735974
"V3 Cloud AI Translation API. See more details at [Cloud Translation API] (https://cloud.google.com/translate/docs/reference/rest).",
59745975
"V1 Cloud AI Vision API See more details at [Cloud Vision API] (https://cloud.google.com/vision/docs/reference/rest).",
5975-
"V1 Cloud AI Natural Language API. See more details at [REST Resource: documents](https://cloud.google.com/natural-language/docs/reference/rest/v1/documents)."
5976+
"V1 Cloud AI Natural Language API. See more details at [REST Resource: documents](https://cloud.google.com/natural-language/docs/reference/rest/v1/documents).",
5977+
"V2 Speech-to-Text API. See more details at [Google Cloud Speech-to-Text V2 API](https://cloud.google.com/speech-to-text/v2/docs)"
59765978
],
59775979
"readOnly": true,
59785980
"type": "string"
5981+
},
5982+
"speechRecognizer": {
5983+
"description": "Output only. The name of the speech recognizer to use for speech recognition. The expected format is `projects/{project}/locations/{location}/recognizers/{recognizer}`. Customers can specify this field at model creation. If not specified, a default recognizer `projects/{model project}/locations/global/recognizers/_` will be used. See more details at [recognizers](https://cloud.google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.recognizers)",
5984+
"readOnly": true,
5985+
"type": "string"
59795986
}
59805987
},
59815988
"type": "object"
@@ -8273,6 +8280,36 @@
82738280
},
82748281
"type": "object"
82758282
},
8283+
"VectorSearchStatistics": {
8284+
"description": "Statistics for a vector search query. Populated as part of JobStatistics2.",
8285+
"id": "VectorSearchStatistics",
8286+
"properties": {
8287+
"indexUnusedReasons": {
8288+
"description": "When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why indexes were not used in all or part of the vector search query. If `indexUsageMode` is `FULLY_USED`, this field is not populated.",
8289+
"items": {
8290+
"$ref": "IndexUnusedReason"
8291+
},
8292+
"type": "array"
8293+
},
8294+
"indexUsageMode": {
8295+
"description": "Specifies the index usage mode for the query.",
8296+
"enum": [
8297+
"INDEX_USAGE_MODE_UNSPECIFIED",
8298+
"UNUSED",
8299+
"PARTIALLY_USED",
8300+
"FULLY_USED"
8301+
],
8302+
"enumDescriptions": [
8303+
"Index usage mode not specified.",
8304+
"No vector indexes were used in the vector search query. See [`indexUnusedReasons`] (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for detailed reasons.",
8305+
"Part of the vector search query used vector indexes. See [`indexUnusedReasons`] (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for why other parts of the query did not use vector indexes.",
8306+
"The entire vector search query used vector indexes."
8307+
],
8308+
"type": "string"
8309+
}
8310+
},
8311+
"type": "object"
8312+
},
82768313
"ViewDefinition": {
82778314
"id": "ViewDefinition",
82788315
"properties": {

0 commit comments

Comments
 (0)