Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2298)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Dec 10, 2023
1 parent e5e778a commit d27a8e0
Show file tree
Hide file tree
Showing 26 changed files with 4,086 additions and 118 deletions.
719 changes: 719 additions & 0 deletions apphub/v1/apphub-api.json

Large diffs are not rendered by default.

2,358 changes: 2,358 additions & 0 deletions apphub/v1/apphub-gen.go

Large diffs are not rendered by default.

43 changes: 40 additions & 3 deletions bigquery/v2/bigquery-api.json
Expand Up @@ -1686,7 +1686,7 @@
}
}
},
"revision": "20231008",
"revision": "20231202",
"rootUrl": "https://bigquery.googleapis.com/",
"schemas": {
"AggregateClassificationMetrics": {
Expand Down Expand Up @@ -5966,16 +5966,23 @@
"REMOTE_SERVICE_TYPE_UNSPECIFIED",
"CLOUD_AI_TRANSLATE_V3",
"CLOUD_AI_VISION_V1",
"CLOUD_AI_NATURAL_LANGUAGE_V1"
"CLOUD_AI_NATURAL_LANGUAGE_V1",
"CLOUD_AI_SPEECH_TO_TEXT_V2"
],
"enumDescriptions": [
"Unspecified remote service type.",
"V3 Cloud AI Translation API. See more details at [Cloud Translation API] (https://cloud.google.com/translate/docs/reference/rest).",
"V1 Cloud AI Vision API See more details at [Cloud Vision API] (https://cloud.google.com/vision/docs/reference/rest).",
"V1 Cloud AI Natural Language API. See more details at [REST Resource: documents](https://cloud.google.com/natural-language/docs/reference/rest/v1/documents)."
"V1 Cloud AI Natural Language API. See more details at [REST Resource: documents](https://cloud.google.com/natural-language/docs/reference/rest/v1/documents).",
"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)"
],
"readOnly": true,
"type": "string"
},
"speechRecognizer": {
"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)",
"readOnly": true,
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -8273,6 +8280,36 @@
},
"type": "object"
},
"VectorSearchStatistics": {
"description": "Statistics for a vector search query. Populated as part of JobStatistics2.",
"id": "VectorSearchStatistics",
"properties": {
"indexUnusedReasons": {
"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.",
"items": {
"$ref": "IndexUnusedReason"
},
"type": "array"
},
"indexUsageMode": {
"description": "Specifies the index usage mode for the query.",
"enum": [
"INDEX_USAGE_MODE_UNSPECIFIED",
"UNUSED",
"PARTIALLY_USED",
"FULLY_USED"
],
"enumDescriptions": [
"Index usage mode not specified.",
"No vector indexes were used in the vector search query. See [`indexUnusedReasons`] (/bigquery/docs/reference/rest/v2/Job#IndexUnusedReason) for detailed reasons.",
"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.",
"The entire vector search query used vector indexes."
],
"type": "string"
}
},
"type": "object"
},
"ViewDefinition": {
"id": "ViewDefinition",
"properties": {
Expand Down
61 changes: 61 additions & 0 deletions bigquery/v2/bigquery-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cloudtasks/v2/cloudtasks-api.json
Expand Up @@ -779,7 +779,7 @@
}
}
},
"revision": "20231027",
"revision": "20231201",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AppEngineHttpRequest": {
Expand Down Expand Up @@ -962,7 +962,7 @@
},
"task": {
"$ref": "Task",
"description": "Required. The task to add. Task names have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. The user can optionally specify a task name. If a name is not specified then the system will generate a random unique task id, which will be set in the task returned in the response. If schedule_time is not set or is in the past then Cloud Tasks will set it to the current time. Task De-duplication: Explicitly specifying a task ID enables task de-duplication. If a task's ID is identical to that of an existing task or a task that was deleted or executed recently then the call will fail with ALREADY_EXISTS. If the task's queue was created using Cloud Tasks, then another task with the same name can't be created for ~1hour after the original task was deleted or executed. If the task's queue was created using queue.yaml or queue.xml, then another task with the same name can't be created for ~9days after the original task was deleted or executed. Because there is an extra lookup cost to identify duplicate task names, these CreateTask calls have significantly increased latency. Using hashed strings for the task id or for the prefix of the task id is recommended. Choosing task ids that are sequential or have sequential prefixes, for example using a timestamp, causes an increase in latency and error rates in all task commands. The infrastructure relies on an approximately uniform distribution of task ids to store and serve tasks efficiently."
"description": "Required. The task to add. Task names have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. The user can optionally specify a task name. If a name is not specified then the system will generate a random unique task id, which will be set in the task returned in the response. If schedule_time is not set or is in the past then Cloud Tasks will set it to the current time. Task De-duplication: Explicitly specifying a task ID enables task de-duplication. If a task's ID is identical to that of an existing task or a task that was deleted or executed recently then the call will fail with ALREADY_EXISTS. The IDs of deleted tasks are not immediately available for reuse. It can take up to 4 hours (or 9 days if the task's queue was created using a queue.yaml or queue.xml) for the task ID to be released and made available again. Because there is an extra lookup cost to identify duplicate task names, these CreateTask calls have significantly increased latency. Using hashed strings for the task id or for the prefix of the task id is recommended. Choosing task ids that are sequential or have sequential prefixes, for example using a timestamp, causes an increase in latency and error rates in all task commands. The infrastructure relies on an approximately uniform distribution of task ids to store and serve tasks efficiently."
}
},
"type": "object"
Expand Down
26 changes: 12 additions & 14 deletions cloudtasks/v2/cloudtasks-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cloudtasks/v2beta2/cloudtasks-api.json
Expand Up @@ -935,7 +935,7 @@
}
}
},
"revision": "20231018",
"revision": "20231201",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AcknowledgeTaskRequest": {
Expand Down Expand Up @@ -1167,7 +1167,7 @@
},
"task": {
"$ref": "Task",
"description": "Required. The task to add. Task names have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. The user can optionally specify a task name. If a name is not specified then the system will generate a random unique task id, which will be set in the task returned in the response. If schedule_time is not set or is in the past then Cloud Tasks will set it to the current time. Task De-duplication: Explicitly specifying a task ID enables task de-duplication. If a task's ID is identical to that of an existing task or a task that was deleted or completed recently then the call will fail with ALREADY_EXISTS. If the task's queue was created using Cloud Tasks, then another task with the same name can't be created for ~1 hour after the original task was deleted or completed. If the task's queue was created using queue.yaml or queue.xml, then another task with the same name can't be created for ~9 days after the original task was deleted or completed. Because there is an extra lookup cost to identify duplicate task names, these CreateTask calls have significantly increased latency. Using hashed strings for the task id or for the prefix of the task id is recommended. Choosing task ids that are sequential or have sequential prefixes, for example using a timestamp, causes an increase in latency and error rates in all task commands. The infrastructure relies on an approximately uniform distribution of task ids to store and serve tasks efficiently."
"description": "Required. The task to add. Task names have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. The user can optionally specify a task name. If a name is not specified then the system will generate a random unique task id, which will be set in the task returned in the response. If schedule_time is not set or is in the past then Cloud Tasks will set it to the current time. Task De-duplication: Explicitly specifying a task ID enables task de-duplication. If a task's ID is identical to that of an existing task or a task that was deleted or completed recently then the call will fail with ALREADY_EXISTS. The IDs of deleted tasks are not immediately available for reuse. It can take up to 4 hours (or 9 days if the task's queue was created using a queue.yaml or queue.xml) for the task ID to be released and made available again. Because there is an extra lookup cost to identify duplicate task names, these CreateTask calls have significantly increased latency. Using hashed strings for the task id or for the prefix of the task id is recommended. Choosing task ids that are sequential or have sequential prefixes, for example using a timestamp, causes an increase in latency and error rates in all task commands. The infrastructure relies on an approximately uniform distribution of task ids to store and serve tasks efficiently."
}
},
"type": "object"
Expand Down
26 changes: 12 additions & 14 deletions cloudtasks/v2beta2/cloudtasks-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d27a8e0

Please sign in to comment.