Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2189)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Sep 27, 2023
1 parent 65ec288 commit ec24c23
Show file tree
Hide file tree
Showing 26 changed files with 4,716 additions and 595 deletions.
279 changes: 277 additions & 2 deletions aiplatform/v1/aiplatform-api.json

Large diffs are not rendered by default.

1,401 changes: 1,205 additions & 196 deletions aiplatform/v1/aiplatform-gen.go

Large diffs are not rendered by default.

294 changes: 281 additions & 13 deletions aiplatform/v1beta1/aiplatform-api.json

Large diffs are not rendered by default.

1,470 changes: 1,239 additions & 231 deletions aiplatform/v1beta1/aiplatform-gen.go

Large diffs are not rendered by default.

192 changes: 188 additions & 4 deletions discoveryengine/v1alpha/discoveryengine-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
"type": "string"
},
"queryModel": {
"description": "Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for IndustryVertical.SITE_SEARCH dataStores.",
"description": "Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -1185,6 +1185,36 @@
}
},
"siteSearchEngine": {
"methods": {
"recrawlUris": {
"description": "Request on-demand recrawl for a list of URIs.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/dataStores/{dataStoresId}/siteSearchEngine:recrawlUris",
"httpMethod": "POST",
"id": "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.recrawlUris",
"parameterOrder": [
"siteSearchEngine"
],
"parameters": {
"siteSearchEngine": {
"description": "Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/dataStores/[^/]+/siteSearchEngine$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+siteSearchEngine}:recrawlUris",
"request": {
"$ref": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"operations": {
"methods": {
Expand Down Expand Up @@ -1638,7 +1668,7 @@
"type": "string"
},
"queryModel": {
"description": "Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for IndustryVertical.SITE_SEARCH dataStores.",
"description": "Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -2494,6 +2524,38 @@
}
}
},
"siteSearchEngine": {
"methods": {
"recrawlUris": {
"description": "Request on-demand recrawl for a list of URIs.",
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/dataStores/{dataStoresId}/siteSearchEngine:recrawlUris",
"httpMethod": "POST",
"id": "discoveryengine.projects.locations.dataStores.siteSearchEngine.recrawlUris",
"parameterOrder": [
"siteSearchEngine"
],
"parameters": {
"siteSearchEngine": {
"description": "Required. Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/dataStores/[^/]+/siteSearchEngine$",
"required": true,
"type": "string"
}
},
"path": "v1alpha/{+siteSearchEngine}:recrawlUris",
"request": {
"$ref": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest"
},
"response": {
"$ref": "GoogleLongrunningOperation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"userEvents": {
"methods": {
"collect": {
Expand Down Expand Up @@ -2770,7 +2832,7 @@
}
}
},
"revision": "20230914",
"revision": "20230925",
"rootUrl": "https://discoveryengine.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -3223,7 +3285,7 @@
"type": "string"
},
"queryModel": {
"description": "Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for IndustryVertical.SITE_SEARCH dataStores.",
"description": "Selects data model of query suggestions for serving. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.",
"type": "string"
},
"userPseudoId": {
Expand Down Expand Up @@ -4327,6 +4389,128 @@
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata": {
"description": "Metadata related to the progress of the SiteSearchEngineService.RecrawlUris operation. This will be returned by the google.longrunning.Operation.metadata field.",
"id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata",
"properties": {
"createTime": {
"description": "Operation create time.",
"format": "google-datetime",
"type": "string"
},
"invalidUris": {
"description": "Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE.",
"items": {
"type": "string"
},
"type": "array"
},
"pendingCount": {
"description": "Total number of URIs that have yet to be crawled.",
"format": "int32",
"type": "integer"
},
"quotaExceededCount": {
"description": "Total number of URIs that were rejected due to insufficient indexing resources.",
"format": "int32",
"type": "integer"
},
"successCount": {
"description": "Total number of URIs that have been crawled so far.",
"format": "int32",
"type": "integer"
},
"updateTime": {
"description": "Operation last update time. If the operation is done, this is also the finish time.",
"format": "google-datetime",
"type": "string"
},
"validUrisCount": {
"description": "Total number of unique URIs in the request that are not in invalid_uris.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest": {
"description": "Request message for SiteSearchEngineService.RecrawlUris method.",
"id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest",
"properties": {
"uris": {
"description": "Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in `site_search_engine`.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse": {
"description": "Response message for SiteSearchEngineService.RecrawlUris method.",
"id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse",
"properties": {
"failedUris": {
"description": "URIs that were not crawled before the LRO terminated.",
"items": {
"type": "string"
},
"type": "array"
},
"failureSamples": {
"description": "Details for a sample of up to 10 `failed_uris`.",
"items": {
"$ref": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo": {
"description": "Details about why a particular URI failed to be crawled. Each FailureInfo contains one FailureReason per CorpusType.",
"id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo",
"properties": {
"failureReasons": {
"description": "List of failure reasons by corpus type (e.g. desktop, mobile).",
"items": {
"$ref": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason"
},
"type": "array"
},
"uri": {
"description": "URI that failed to be crawled.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason": {
"description": "Details about why crawling failed for a particular CorpusType, e.g. DESKTOP and MOBILE crawling may fail for different reasons.",
"id": "GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason",
"properties": {
"corpusType": {
"description": "DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.",
"enum": [
"CORPUS_TYPE_UNSPECIFIED",
"DESKTOP",
"MOBILE"
],
"enumDescriptions": [
"Default value.",
"Denotes a crawling attempt for the desktop version of a page.",
"Denotes a crawling attempt for the mobile version of a page."
],
"type": "string"
},
"errorMessage": {
"description": "Reason why the URI was not crawled.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1alphaReply": {
"description": "Defines a reply message to user.",
"id": "GoogleCloudDiscoveryengineV1alphaReply",
Expand Down
Loading

0 comments on commit ec24c23

Please sign in to comment.