google-api-python-client 2.186.0__py3-none-any.whl → 2.187.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {google_api_python_client-2.186.0.dist-info → google_api_python_client-2.187.0.dist-info}/METADATA +1 -1
- {google_api_python_client-2.186.0.dist-info → google_api_python_client-2.187.0.dist-info}/RECORD +178 -177
- googleapiclient/discovery_cache/documents/admin.directory_v1.json +27 -1
- googleapiclient/discovery_cache/documents/admin.directoryv1.json +27 -1
- googleapiclient/discovery_cache/documents/aiplatform.v1.json +15863 -7693
- googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +21493 -10629
- googleapiclient/discovery_cache/documents/alloydb.v1.json +35 -10
- googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +35 -10
- googleapiclient/discovery_cache/documents/alloydb.v1beta.json +35 -10
- googleapiclient/discovery_cache/documents/analyticshub.v1.json +39 -1
- googleapiclient/discovery_cache/documents/androidmanagement.v1.json +2 -2
- googleapiclient/discovery_cache/documents/androidpublisher.v3.json +31 -3
- googleapiclient/discovery_cache/documents/apigateway.v1.json +2 -2
- googleapiclient/discovery_cache/documents/apigateway.v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/apigee.v1.json +162 -5
- googleapiclient/discovery_cache/documents/apihub.v1.json +17 -5
- googleapiclient/discovery_cache/documents/apim.v1alpha.json +2 -2
- googleapiclient/discovery_cache/documents/apphub.v1.json +34 -2
- googleapiclient/discovery_cache/documents/apphub.v1alpha.json +34 -2
- googleapiclient/discovery_cache/documents/artifactregistry.v1.json +100 -4
- googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json +31 -3
- googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1alpha.json +31 -3
- googleapiclient/discovery_cache/documents/backupdr.v1.json +202 -2
- googleapiclient/discovery_cache/documents/batch.v1.json +11 -5
- googleapiclient/discovery_cache/documents/biglake.v1.json +273 -1
- googleapiclient/discovery_cache/documents/bigquery.v2.json +5 -1
- googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +15 -1
- googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +3 -3
- googleapiclient/discovery_cache/documents/businessprofileperformance.v1.json +43 -1
- googleapiclient/discovery_cache/documents/chat.v1.json +12 -6
- googleapiclient/discovery_cache/documents/chromewebstore.v2.json +550 -0
- googleapiclient/discovery_cache/documents/cloudbuild.v2.json +2 -2
- googleapiclient/discovery_cache/documents/clouddeploy.v1.json +2 -2
- googleapiclient/discovery_cache/documents/cloudfunctions.v1.json +2 -2
- googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +2 -2
- googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +45 -2
- googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +45 -2
- googleapiclient/discovery_cache/documents/cloudidentity.v1.json +3 -3
- googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json +74 -3
- googleapiclient/discovery_cache/documents/cloudkms.v1.json +20 -65
- googleapiclient/discovery_cache/documents/cloudlocationfinder.v1.json +2 -2
- googleapiclient/discovery_cache/documents/cloudlocationfinder.v1alpha.json +2 -2
- googleapiclient/discovery_cache/documents/cloudscheduler.v1.json +81 -7
- googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json +201 -7
- googleapiclient/discovery_cache/documents/cloudtasks.v2.json +2 -2
- googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json +2 -2
- googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json +2 -2
- googleapiclient/discovery_cache/documents/compute.alpha.json +1824 -199
- googleapiclient/discovery_cache/documents/compute.beta.json +1770 -260
- googleapiclient/discovery_cache/documents/compute.v1.json +397 -20
- googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json +2 -2
- googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +231 -309
- googleapiclient/discovery_cache/documents/container.v1.json +219 -182
- googleapiclient/discovery_cache/documents/container.v1beta1.json +332 -183
- googleapiclient/discovery_cache/documents/dataflow.v1b3.json +76 -1
- googleapiclient/discovery_cache/documents/dataplex.v1.json +36 -6
- googleapiclient/discovery_cache/documents/dataproc.v1.json +3 -2
- googleapiclient/discovery_cache/documents/datastream.v1.json +31 -3
- googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +13 -1
- googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json +16 -7
- googleapiclient/discovery_cache/documents/deploymentmanager.v2.json +16 -7
- googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json +16 -7
- googleapiclient/discovery_cache/documents/developerconnect.v1.json +44 -1
- googleapiclient/discovery_cache/documents/dfareporting.v4.json +47 -6
- googleapiclient/discovery_cache/documents/dfareporting.v5.json +47 -6
- googleapiclient/discovery_cache/documents/dialogflow.v2.json +33 -3
- googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +33 -3
- googleapiclient/discovery_cache/documents/dialogflow.v3.json +70 -2
- googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +70 -2
- googleapiclient/discovery_cache/documents/discoveryengine.v1.json +534 -7
- googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +1861 -14
- googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +326 -6
- googleapiclient/discovery_cache/documents/displayvideo.v2.json +20 -9
- googleapiclient/discovery_cache/documents/displayvideo.v3.json +587 -15
- googleapiclient/discovery_cache/documents/displayvideo.v4.json +1741 -186
- googleapiclient/discovery_cache/documents/dlp.v2.json +4 -5
- googleapiclient/discovery_cache/documents/docs.v1.json +36 -36
- googleapiclient/discovery_cache/documents/documentai.v1.json +2462 -423
- googleapiclient/discovery_cache/documents/documentai.v1beta3.json +1557 -129
- googleapiclient/discovery_cache/documents/drive.v3.json +27 -1
- googleapiclient/discovery_cache/documents/eventarc.v1.json +2 -2
- googleapiclient/discovery_cache/documents/file.v1.json +54 -1
- googleapiclient/discovery_cache/documents/file.v1beta1.json +13 -1
- googleapiclient/discovery_cache/documents/firebaseappdistribution.v1alpha.json +66 -1
- googleapiclient/discovery_cache/documents/firebaseapphosting.v1.json +14 -2
- googleapiclient/discovery_cache/documents/firebaseapphosting.v1beta.json +14 -2
- googleapiclient/discovery_cache/documents/firebasedataconnect.v1.json +59 -7
- googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json +59 -7
- googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +234 -234
- googleapiclient/discovery_cache/documents/firestore.v1.json +2 -2
- googleapiclient/discovery_cache/documents/gkehub.v1.json +2 -2
- googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +2 -2
- googleapiclient/discovery_cache/documents/gkehub.v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/gkehub.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/gkehub.v2.json +2 -2
- googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +2 -2
- googleapiclient/discovery_cache/documents/gkehub.v2beta.json +2 -2
- googleapiclient/discovery_cache/documents/gkeonprem.v1.json +44 -2
- googleapiclient/discovery_cache/documents/healthcare.v1.json +7 -2
- googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +7 -2
- googleapiclient/discovery_cache/documents/iamcredentials.v1.json +1 -143
- googleapiclient/discovery_cache/documents/identitytoolkit.v1.json +5 -5
- googleapiclient/discovery_cache/documents/ids.v1.json +14 -2
- googleapiclient/discovery_cache/documents/language.v1.json +170 -4
- googleapiclient/discovery_cache/documents/language.v1beta2.json +170 -4
- googleapiclient/discovery_cache/documents/language.v2.json +170 -4
- googleapiclient/discovery_cache/documents/logging.v2.json +33 -1
- googleapiclient/discovery_cache/documents/looker.v1.json +28 -2
- googleapiclient/discovery_cache/documents/managedkafka.v1.json +14 -5
- googleapiclient/discovery_cache/documents/marketingplatformadmin.v1alpha.json +304 -1
- googleapiclient/discovery_cache/documents/merchantapi.accounts_v1.json +17 -17
- googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +17 -17
- googleapiclient/discovery_cache/documents/metastore.v1.json +2 -2
- googleapiclient/discovery_cache/documents/metastore.v1alpha.json +2 -2
- googleapiclient/discovery_cache/documents/metastore.v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/migrationcenter.v1.json +2 -2
- googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +48 -9
- googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json +9 -5
- googleapiclient/discovery_cache/documents/netapp.v1.json +3 -3
- googleapiclient/discovery_cache/documents/netapp.v1beta1.json +3 -3
- googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +2 -2
- googleapiclient/discovery_cache/documents/networkmanagement.v1.json +3 -3
- googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +3 -3
- googleapiclient/discovery_cache/documents/networkservices.v1.json +316 -9
- googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +21 -11
- googleapiclient/discovery_cache/documents/notebooks.v2.json +6 -1
- googleapiclient/discovery_cache/documents/observability.v1.json +2 -2
- googleapiclient/discovery_cache/documents/oracledatabase.v1.json +2 -2
- googleapiclient/discovery_cache/documents/parallelstore.v1.json +2 -2
- googleapiclient/discovery_cache/documents/parallelstore.v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/parametermanager.v1.json +12 -2
- googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +20 -1
- googleapiclient/discovery_cache/documents/places.v1.json +11 -3
- googleapiclient/discovery_cache/documents/privateca.v1.json +2 -2
- googleapiclient/discovery_cache/documents/privateca.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/pubsub.v1.json +22 -1
- googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +6 -6
- googleapiclient/discovery_cache/documents/recommender.v1beta1.json +5 -5
- googleapiclient/discovery_cache/documents/redis.v1.json +24 -33
- googleapiclient/discovery_cache/documents/redis.v1beta1.json +24 -33
- googleapiclient/discovery_cache/documents/retail.v2alpha.json +3 -2
- googleapiclient/discovery_cache/documents/retail.v2beta.json +3 -2
- googleapiclient/discovery_cache/documents/run.v1.json +2 -2
- googleapiclient/discovery_cache/documents/run.v2.json +1 -1
- googleapiclient/discovery_cache/documents/securitycenter.v1.json +103 -1
- googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +103 -1
- googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +102 -1
- googleapiclient/discovery_cache/documents/securityposture.v1.json +13 -1
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +17 -1
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +5 -1
- googleapiclient/discovery_cache/documents/servicedirectory.v1.json +2 -2
- googleapiclient/discovery_cache/documents/servicedirectory.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/servicemanagement.v1.json +2 -2
- googleapiclient/discovery_cache/documents/servicenetworking.v1.json +2 -2
- googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/serviceusage.v1.json +35 -12
- googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +35 -12
- googleapiclient/discovery_cache/documents/solar.v1.json +6 -1
- googleapiclient/discovery_cache/documents/spanner.v1.json +6 -4
- googleapiclient/discovery_cache/documents/sqladmin.v1.json +19 -5
- googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +21 -7
- googleapiclient/discovery_cache/documents/storagebatchoperations.v1.json +2 -2
- googleapiclient/discovery_cache/documents/storagetransfer.v1.json +14 -2
- googleapiclient/discovery_cache/documents/trafficdirector.v2.json +228 -1
- googleapiclient/discovery_cache/documents/trafficdirector.v3.json +228 -1
- googleapiclient/discovery_cache/documents/travelimpactmodel.v1.json +6 -6
- googleapiclient/discovery_cache/documents/vmmigration.v1.json +11 -3
- googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +2 -2
- googleapiclient/discovery_cache/documents/vmwareengine.v1.json +13 -1
- googleapiclient/discovery_cache/documents/vpcaccess.v1.json +14 -2
- googleapiclient/discovery_cache/documents/vpcaccess.v1beta1.json +14 -2
- googleapiclient/discovery_cache/documents/workflows.v1.json +13 -1
- googleapiclient/discovery_cache/documents/workflows.v1beta.json +13 -1
- googleapiclient/discovery_cache/documents/workloadmanager.v1.json +3 -3
- googleapiclient/version.py +1 -1
- {google_api_python_client-2.186.0.dist-info → google_api_python_client-2.187.0.dist-info}/WHEEL +0 -0
- {google_api_python_client-2.186.0.dist-info → google_api_python_client-2.187.0.dist-info}/licenses/LICENSE +0 -0
- {google_api_python_client-2.186.0.dist-info → google_api_python_client-2.187.0.dist-info}/top_level.txt +0 -0
|
@@ -1289,13 +1289,352 @@
|
|
|
1289
1289
|
}
|
|
1290
1290
|
}
|
|
1291
1291
|
}
|
|
1292
|
+
},
|
|
1293
|
+
"schemas": {
|
|
1294
|
+
"methods": {
|
|
1295
|
+
"create": {
|
|
1296
|
+
"description": "Creates a schema.",
|
|
1297
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas",
|
|
1298
|
+
"httpMethod": "POST",
|
|
1299
|
+
"id": "documentai.projects.locations.schemas.create",
|
|
1300
|
+
"parameterOrder": [
|
|
1301
|
+
"parent"
|
|
1302
|
+
],
|
|
1303
|
+
"parameters": {
|
|
1304
|
+
"parent": {
|
|
1305
|
+
"description": "Required. The parent (project and location) under which to create the Schema. Format: `projects/{project}/locations/{location}`",
|
|
1306
|
+
"location": "path",
|
|
1307
|
+
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
|
1308
|
+
"required": true,
|
|
1309
|
+
"type": "string"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
"path": "v1beta3/{+parent}/schemas",
|
|
1313
|
+
"request": {
|
|
1314
|
+
"$ref": "GoogleCloudDocumentaiV1beta3NextSchema"
|
|
1315
|
+
},
|
|
1316
|
+
"response": {
|
|
1317
|
+
"$ref": "GoogleCloudDocumentaiV1beta3NextSchema"
|
|
1318
|
+
},
|
|
1319
|
+
"scopes": [
|
|
1320
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1321
|
+
]
|
|
1322
|
+
},
|
|
1323
|
+
"delete": {
|
|
1324
|
+
"description": "Deletes a schema.",
|
|
1325
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}",
|
|
1326
|
+
"httpMethod": "DELETE",
|
|
1327
|
+
"id": "documentai.projects.locations.schemas.delete",
|
|
1328
|
+
"parameterOrder": [
|
|
1329
|
+
"name"
|
|
1330
|
+
],
|
|
1331
|
+
"parameters": {
|
|
1332
|
+
"force": {
|
|
1333
|
+
"description": "Optional. If set to true, any child resources of this Schema will also be deleted. (Otherwise, the request will only work if the Schema has no child resources.)",
|
|
1334
|
+
"location": "query",
|
|
1335
|
+
"type": "boolean"
|
|
1336
|
+
},
|
|
1337
|
+
"name": {
|
|
1338
|
+
"description": "Required. The name of the Schema to be deleted. Format: `projects/{project}/locations/{location}/schemas/{schema}`",
|
|
1339
|
+
"location": "path",
|
|
1340
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$",
|
|
1341
|
+
"required": true,
|
|
1342
|
+
"type": "string"
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
"path": "v1beta3/{+name}",
|
|
1346
|
+
"response": {
|
|
1347
|
+
"$ref": "GoogleLongrunningOperation"
|
|
1348
|
+
},
|
|
1349
|
+
"scopes": [
|
|
1350
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1351
|
+
]
|
|
1352
|
+
},
|
|
1353
|
+
"get": {
|
|
1354
|
+
"description": "Gets a schema.",
|
|
1355
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}",
|
|
1356
|
+
"httpMethod": "GET",
|
|
1357
|
+
"id": "documentai.projects.locations.schemas.get",
|
|
1358
|
+
"parameterOrder": [
|
|
1359
|
+
"name"
|
|
1360
|
+
],
|
|
1361
|
+
"parameters": {
|
|
1362
|
+
"name": {
|
|
1363
|
+
"description": "Required. The name of the Schema to get. Format: `projects/{project}/locations/{location}/schemas/{schema}`",
|
|
1364
|
+
"location": "path",
|
|
1365
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$",
|
|
1366
|
+
"required": true,
|
|
1367
|
+
"type": "string"
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
"path": "v1beta3/{+name}",
|
|
1371
|
+
"response": {
|
|
1372
|
+
"$ref": "GoogleCloudDocumentaiV1beta3NextSchema"
|
|
1373
|
+
},
|
|
1374
|
+
"scopes": [
|
|
1375
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1376
|
+
]
|
|
1377
|
+
},
|
|
1378
|
+
"list": {
|
|
1379
|
+
"description": "Lists Schemas.",
|
|
1380
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas",
|
|
1381
|
+
"httpMethod": "GET",
|
|
1382
|
+
"id": "documentai.projects.locations.schemas.list",
|
|
1383
|
+
"parameterOrder": [
|
|
1384
|
+
"parent"
|
|
1385
|
+
],
|
|
1386
|
+
"parameters": {
|
|
1387
|
+
"pageSize": {
|
|
1388
|
+
"description": "Optional. The maximum number of schema groups to return. If unspecified, at most `10` Schema will be returned. The maximum value is `20`. Values above `20` will be coerced to `20`.",
|
|
1389
|
+
"format": "int32",
|
|
1390
|
+
"location": "query",
|
|
1391
|
+
"type": "integer"
|
|
1392
|
+
},
|
|
1393
|
+
"pageToken": {
|
|
1394
|
+
"description": "Optional. We will return the schema groups sorted by creation time. The page token will point to the next Schema.",
|
|
1395
|
+
"location": "query",
|
|
1396
|
+
"type": "string"
|
|
1397
|
+
},
|
|
1398
|
+
"parent": {
|
|
1399
|
+
"description": "Required. Format: `projects/{project}/locations/{location}`",
|
|
1400
|
+
"location": "path",
|
|
1401
|
+
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
|
1402
|
+
"required": true,
|
|
1403
|
+
"type": "string"
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
"path": "v1beta3/{+parent}/schemas",
|
|
1407
|
+
"response": {
|
|
1408
|
+
"$ref": "GoogleCloudDocumentaiV1beta3ListSchemasResponse"
|
|
1409
|
+
},
|
|
1410
|
+
"scopes": [
|
|
1411
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1412
|
+
]
|
|
1413
|
+
},
|
|
1414
|
+
"patch": {
|
|
1415
|
+
"description": "Updates a schema. Editable fields are: - `display_name` - `labels`",
|
|
1416
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}",
|
|
1417
|
+
"httpMethod": "PATCH",
|
|
1418
|
+
"id": "documentai.projects.locations.schemas.patch",
|
|
1419
|
+
"parameterOrder": [
|
|
1420
|
+
"name"
|
|
1421
|
+
],
|
|
1422
|
+
"parameters": {
|
|
1423
|
+
"name": {
|
|
1424
|
+
"description": "Identifier. The resource name of the Schema. Format: `projects/{project}/locations/{location}/schemas/{schema}`",
|
|
1425
|
+
"location": "path",
|
|
1426
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$",
|
|
1427
|
+
"required": true,
|
|
1428
|
+
"type": "string"
|
|
1429
|
+
},
|
|
1430
|
+
"updateMask": {
|
|
1431
|
+
"description": "Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - display_name. - labels.",
|
|
1432
|
+
"format": "google-fieldmask",
|
|
1433
|
+
"location": "query",
|
|
1434
|
+
"type": "string"
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
"path": "v1beta3/{+name}",
|
|
1438
|
+
"request": {
|
|
1439
|
+
"$ref": "GoogleCloudDocumentaiV1beta3NextSchema"
|
|
1440
|
+
},
|
|
1441
|
+
"response": {
|
|
1442
|
+
"$ref": "GoogleCloudDocumentaiV1beta3NextSchema"
|
|
1443
|
+
},
|
|
1444
|
+
"scopes": [
|
|
1445
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1446
|
+
]
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
"resources": {
|
|
1450
|
+
"schemaVersions": {
|
|
1451
|
+
"methods": {
|
|
1452
|
+
"create": {
|
|
1453
|
+
"description": "Creates a schema version.",
|
|
1454
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions",
|
|
1455
|
+
"httpMethod": "POST",
|
|
1456
|
+
"id": "documentai.projects.locations.schemas.schemaVersions.create",
|
|
1457
|
+
"parameterOrder": [
|
|
1458
|
+
"parent"
|
|
1459
|
+
],
|
|
1460
|
+
"parameters": {
|
|
1461
|
+
"parent": {
|
|
1462
|
+
"description": "Required. The parent (project and location) under which to create the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}`",
|
|
1463
|
+
"location": "path",
|
|
1464
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$",
|
|
1465
|
+
"required": true,
|
|
1466
|
+
"type": "string"
|
|
1467
|
+
}
|
|
1468
|
+
},
|
|
1469
|
+
"path": "v1beta3/{+parent}/schemaVersions",
|
|
1470
|
+
"request": {
|
|
1471
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion"
|
|
1472
|
+
},
|
|
1473
|
+
"response": {
|
|
1474
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion"
|
|
1475
|
+
},
|
|
1476
|
+
"scopes": [
|
|
1477
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1478
|
+
]
|
|
1479
|
+
},
|
|
1480
|
+
"delete": {
|
|
1481
|
+
"description": "Deletes a schema version.",
|
|
1482
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}",
|
|
1483
|
+
"httpMethod": "DELETE",
|
|
1484
|
+
"id": "documentai.projects.locations.schemas.schemaVersions.delete",
|
|
1485
|
+
"parameterOrder": [
|
|
1486
|
+
"name"
|
|
1487
|
+
],
|
|
1488
|
+
"parameters": {
|
|
1489
|
+
"name": {
|
|
1490
|
+
"description": "Required. The name of the SchemaVersion to delete. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`",
|
|
1491
|
+
"location": "path",
|
|
1492
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$",
|
|
1493
|
+
"required": true,
|
|
1494
|
+
"type": "string"
|
|
1495
|
+
}
|
|
1496
|
+
},
|
|
1497
|
+
"path": "v1beta3/{+name}",
|
|
1498
|
+
"response": {
|
|
1499
|
+
"$ref": "GoogleLongrunningOperation"
|
|
1500
|
+
},
|
|
1501
|
+
"scopes": [
|
|
1502
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1503
|
+
]
|
|
1504
|
+
},
|
|
1505
|
+
"generate": {
|
|
1506
|
+
"description": "Generates a schema version.",
|
|
1507
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions:generate",
|
|
1508
|
+
"httpMethod": "POST",
|
|
1509
|
+
"id": "documentai.projects.locations.schemas.schemaVersions.generate",
|
|
1510
|
+
"parameterOrder": [
|
|
1511
|
+
"parent"
|
|
1512
|
+
],
|
|
1513
|
+
"parameters": {
|
|
1514
|
+
"parent": {
|
|
1515
|
+
"description": "Required. The parent (project, location and schema) under which to generate the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}`",
|
|
1516
|
+
"location": "path",
|
|
1517
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$",
|
|
1518
|
+
"required": true,
|
|
1519
|
+
"type": "string"
|
|
1520
|
+
}
|
|
1521
|
+
},
|
|
1522
|
+
"path": "v1beta3/{+parent}/schemaVersions:generate",
|
|
1523
|
+
"request": {
|
|
1524
|
+
"$ref": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest"
|
|
1525
|
+
},
|
|
1526
|
+
"response": {
|
|
1527
|
+
"$ref": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse"
|
|
1528
|
+
},
|
|
1529
|
+
"scopes": [
|
|
1530
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1531
|
+
]
|
|
1532
|
+
},
|
|
1533
|
+
"get": {
|
|
1534
|
+
"description": "Gets a schema version.",
|
|
1535
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}",
|
|
1536
|
+
"httpMethod": "GET",
|
|
1537
|
+
"id": "documentai.projects.locations.schemas.schemaVersions.get",
|
|
1538
|
+
"parameterOrder": [
|
|
1539
|
+
"name"
|
|
1540
|
+
],
|
|
1541
|
+
"parameters": {
|
|
1542
|
+
"name": {
|
|
1543
|
+
"description": "Required. The name of the SchemaVersion to get. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`",
|
|
1544
|
+
"location": "path",
|
|
1545
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$",
|
|
1546
|
+
"required": true,
|
|
1547
|
+
"type": "string"
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
"path": "v1beta3/{+name}",
|
|
1551
|
+
"response": {
|
|
1552
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion"
|
|
1553
|
+
},
|
|
1554
|
+
"scopes": [
|
|
1555
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1556
|
+
]
|
|
1557
|
+
},
|
|
1558
|
+
"list": {
|
|
1559
|
+
"description": "Lists SchemaVersions.",
|
|
1560
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions",
|
|
1561
|
+
"httpMethod": "GET",
|
|
1562
|
+
"id": "documentai.projects.locations.schemas.schemaVersions.list",
|
|
1563
|
+
"parameterOrder": [
|
|
1564
|
+
"parent"
|
|
1565
|
+
],
|
|
1566
|
+
"parameters": {
|
|
1567
|
+
"pageSize": {
|
|
1568
|
+
"description": "Optional. The maximum number of SchemaVersion to return. If unspecified, at most `10` SchemaVersion will be returned. The maximum value is `20`. Values above `20` will be coerced to `20`.",
|
|
1569
|
+
"format": "int32",
|
|
1570
|
+
"location": "query",
|
|
1571
|
+
"type": "integer"
|
|
1572
|
+
},
|
|
1573
|
+
"pageToken": {
|
|
1574
|
+
"description": "Optional. We will return the SchemaVersion sorted by creation time. The page token will point to the next SchemaVersion.",
|
|
1575
|
+
"location": "query",
|
|
1576
|
+
"type": "string"
|
|
1577
|
+
},
|
|
1578
|
+
"parent": {
|
|
1579
|
+
"description": "Required. Format: `projects/{project}/locations/{location}/schemas/{schema}`",
|
|
1580
|
+
"location": "path",
|
|
1581
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+$",
|
|
1582
|
+
"required": true,
|
|
1583
|
+
"type": "string"
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
"path": "v1beta3/{+parent}/schemaVersions",
|
|
1587
|
+
"response": {
|
|
1588
|
+
"$ref": "GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponse"
|
|
1589
|
+
},
|
|
1590
|
+
"scopes": [
|
|
1591
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1592
|
+
]
|
|
1593
|
+
},
|
|
1594
|
+
"patch": {
|
|
1595
|
+
"description": "Updates a schema version. Editable fields are: - `display_name` - `labels`",
|
|
1596
|
+
"flatPath": "v1beta3/projects/{projectsId}/locations/{locationsId}/schemas/{schemasId}/schemaVersions/{schemaVersionsId}",
|
|
1597
|
+
"httpMethod": "PATCH",
|
|
1598
|
+
"id": "documentai.projects.locations.schemas.schemaVersions.patch",
|
|
1599
|
+
"parameterOrder": [
|
|
1600
|
+
"name"
|
|
1601
|
+
],
|
|
1602
|
+
"parameters": {
|
|
1603
|
+
"name": {
|
|
1604
|
+
"description": "Identifier. The resource name of the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`",
|
|
1605
|
+
"location": "path",
|
|
1606
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemas/[^/]+/schemaVersions/[^/]+$",
|
|
1607
|
+
"required": true,
|
|
1608
|
+
"type": "string"
|
|
1609
|
+
},
|
|
1610
|
+
"updateMask": {
|
|
1611
|
+
"description": "Optional. The update mask to apply to the resource. **Note:** Only the following fields can be updated: - display_name. - labels.",
|
|
1612
|
+
"format": "google-fieldmask",
|
|
1613
|
+
"location": "query",
|
|
1614
|
+
"type": "string"
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
"path": "v1beta3/{+name}",
|
|
1618
|
+
"request": {
|
|
1619
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion"
|
|
1620
|
+
},
|
|
1621
|
+
"response": {
|
|
1622
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion"
|
|
1623
|
+
},
|
|
1624
|
+
"scopes": [
|
|
1625
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1626
|
+
]
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1292
1631
|
}
|
|
1293
1632
|
}
|
|
1294
1633
|
}
|
|
1295
1634
|
}
|
|
1296
1635
|
}
|
|
1297
1636
|
},
|
|
1298
|
-
"revision": "
|
|
1637
|
+
"revision": "20251020",
|
|
1299
1638
|
"rootUrl": "https://documentai.googleapis.com/",
|
|
1300
1639
|
"schemas": {
|
|
1301
1640
|
"CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": {
|
|
@@ -1920,7 +2259,170 @@
|
|
|
1920
2259
|
},
|
|
1921
2260
|
"type": "object"
|
|
1922
2261
|
},
|
|
1923
|
-
"
|
|
2262
|
+
"GoogleCloudDocumentaiUiv1beta3DocumentSchema": {
|
|
2263
|
+
"description": "The schema defines the output of the processed document by a processor.",
|
|
2264
|
+
"id": "GoogleCloudDocumentaiUiv1beta3DocumentSchema",
|
|
2265
|
+
"properties": {
|
|
2266
|
+
"description": {
|
|
2267
|
+
"description": "Description of the schema.",
|
|
2268
|
+
"type": "string"
|
|
2269
|
+
},
|
|
2270
|
+
"displayName": {
|
|
2271
|
+
"description": "Display name to show to users.",
|
|
2272
|
+
"type": "string"
|
|
2273
|
+
},
|
|
2274
|
+
"entityTypes": {
|
|
2275
|
+
"description": "Entity types of the schema.",
|
|
2276
|
+
"items": {
|
|
2277
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType"
|
|
2278
|
+
},
|
|
2279
|
+
"type": "array"
|
|
2280
|
+
},
|
|
2281
|
+
"metadata": {
|
|
2282
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata",
|
|
2283
|
+
"description": "Metadata of the schema."
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
"type": "object"
|
|
2287
|
+
},
|
|
2288
|
+
"GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType": {
|
|
2289
|
+
"description": "EntityType is the wrapper of a label of the corresponding model with detailed attributes and limitations for entity-based processors. Multiple types can also compose a dependency tree to represent nested types.",
|
|
2290
|
+
"id": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType",
|
|
2291
|
+
"properties": {
|
|
2292
|
+
"baseTypes": {
|
|
2293
|
+
"description": "The entity type that this type is derived from. For now, one and only one should be set.",
|
|
2294
|
+
"items": {
|
|
2295
|
+
"type": "string"
|
|
2296
|
+
},
|
|
2297
|
+
"type": "array"
|
|
2298
|
+
},
|
|
2299
|
+
"description": {
|
|
2300
|
+
"description": "The description of the entity type. Could be used to provide more information about the entity type for model calls.",
|
|
2301
|
+
"type": "string"
|
|
2302
|
+
},
|
|
2303
|
+
"displayName": {
|
|
2304
|
+
"description": "User defined name for the type.",
|
|
2305
|
+
"type": "string"
|
|
2306
|
+
},
|
|
2307
|
+
"entityTypeMetadata": {
|
|
2308
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata",
|
|
2309
|
+
"description": "Metadata for the entity type."
|
|
2310
|
+
},
|
|
2311
|
+
"enumValues": {
|
|
2312
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues",
|
|
2313
|
+
"description": "If specified, lists all the possible values for this entity. This should not be more than a handful of values. If the number of values is >10 or could change frequently use the `EntityType.value_ontology` field and specify a list of all possible values in a value ontology file."
|
|
2314
|
+
},
|
|
2315
|
+
"name": {
|
|
2316
|
+
"description": "Name of the type. It must be unique within the schema file and cannot be a \"Common Type\". The following naming conventions are used: - Use `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters. - Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward compatibility internal infrastructure and tooling can handle any ascii character.) - The `/` is sometimes used to denote a property of a type. For example `line_item/amount`. This convention is deprecated, but will still be honored for backward compatibility.",
|
|
2317
|
+
"type": "string"
|
|
2318
|
+
},
|
|
2319
|
+
"properties": {
|
|
2320
|
+
"description": "Description the nested structure, or composition of an entity.",
|
|
2321
|
+
"items": {
|
|
2322
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty"
|
|
2323
|
+
},
|
|
2324
|
+
"type": "array"
|
|
2325
|
+
}
|
|
2326
|
+
},
|
|
2327
|
+
"type": "object"
|
|
2328
|
+
},
|
|
2329
|
+
"GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues": {
|
|
2330
|
+
"description": "Defines the a list of enum values.",
|
|
2331
|
+
"id": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues",
|
|
2332
|
+
"properties": {
|
|
2333
|
+
"values": {
|
|
2334
|
+
"description": "The individual values that this enum values type can include.",
|
|
2335
|
+
"items": {
|
|
2336
|
+
"type": "string"
|
|
2337
|
+
},
|
|
2338
|
+
"type": "array"
|
|
2339
|
+
}
|
|
2340
|
+
},
|
|
2341
|
+
"type": "object"
|
|
2342
|
+
},
|
|
2343
|
+
"GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty": {
|
|
2344
|
+
"description": "Defines properties that can be part of the entity type.",
|
|
2345
|
+
"id": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty",
|
|
2346
|
+
"properties": {
|
|
2347
|
+
"description": {
|
|
2348
|
+
"description": "The description of the property. Could be used to provide more information about the property for model calls.",
|
|
2349
|
+
"type": "string"
|
|
2350
|
+
},
|
|
2351
|
+
"displayName": {
|
|
2352
|
+
"description": "User defined name for the property.",
|
|
2353
|
+
"type": "string"
|
|
2354
|
+
},
|
|
2355
|
+
"method": {
|
|
2356
|
+
"description": "Specifies how the entity's value is obtained.",
|
|
2357
|
+
"enum": [
|
|
2358
|
+
"METHOD_UNSPECIFIED",
|
|
2359
|
+
"EXTRACT",
|
|
2360
|
+
"DERIVE"
|
|
2361
|
+
],
|
|
2362
|
+
"enumDescriptions": [
|
|
2363
|
+
"Unspecified method. It defaults to `EXTRACT`.",
|
|
2364
|
+
"The entity's value is directly extracted as-is from the document text.",
|
|
2365
|
+
"The entity's value is derived through inference and is not necessarily an exact text extraction from the document."
|
|
2366
|
+
],
|
|
2367
|
+
"type": "string"
|
|
2368
|
+
},
|
|
2369
|
+
"name": {
|
|
2370
|
+
"description": "The name of the property. Follows the same guidelines as the EntityType name.",
|
|
2371
|
+
"type": "string"
|
|
2372
|
+
},
|
|
2373
|
+
"occurrenceType": {
|
|
2374
|
+
"description": "Occurrence type limits the number of instances an entity type appears in the document.",
|
|
2375
|
+
"enum": [
|
|
2376
|
+
"OCCURRENCE_TYPE_UNSPECIFIED",
|
|
2377
|
+
"OPTIONAL_ONCE",
|
|
2378
|
+
"OPTIONAL_MULTIPLE",
|
|
2379
|
+
"REQUIRED_ONCE",
|
|
2380
|
+
"REQUIRED_MULTIPLE"
|
|
2381
|
+
],
|
|
2382
|
+
"enumDescriptions": [
|
|
2383
|
+
"Unspecified occurrence type.",
|
|
2384
|
+
"There will be zero or one instance of this entity type. The same entity instance may be mentioned multiple times.",
|
|
2385
|
+
"The entity type will appear zero or multiple times.",
|
|
2386
|
+
"The entity type will only appear exactly once. The same entity instance may be mentioned multiple times.",
|
|
2387
|
+
"The entity type will appear once or more times."
|
|
2388
|
+
],
|
|
2389
|
+
"type": "string"
|
|
2390
|
+
},
|
|
2391
|
+
"propertyMetadata": {
|
|
2392
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3PropertyMetadata",
|
|
2393
|
+
"description": "Any additional metadata about the property can be added here."
|
|
2394
|
+
},
|
|
2395
|
+
"valueType": {
|
|
2396
|
+
"description": "A reference to the value type of the property. This type is subject to the same conventions as the `Entity.base_types` field.",
|
|
2397
|
+
"type": "string"
|
|
2398
|
+
}
|
|
2399
|
+
},
|
|
2400
|
+
"type": "object"
|
|
2401
|
+
},
|
|
2402
|
+
"GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata": {
|
|
2403
|
+
"description": "Metadata for global schema behavior.",
|
|
2404
|
+
"id": "GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata",
|
|
2405
|
+
"properties": {
|
|
2406
|
+
"documentAllowMultipleLabels": {
|
|
2407
|
+
"description": "If true, on a given page, there can be multiple `document` annotations covering it.",
|
|
2408
|
+
"type": "boolean"
|
|
2409
|
+
},
|
|
2410
|
+
"documentSplitter": {
|
|
2411
|
+
"description": "If true, a `document` entity type can be applied to subdocument (splitting). Otherwise, it can only be applied to the entire document (classification).",
|
|
2412
|
+
"type": "boolean"
|
|
2413
|
+
},
|
|
2414
|
+
"prefixedNamingOnProperties": {
|
|
2415
|
+
"description": "If set, all the nested entities must be prefixed with the parents.",
|
|
2416
|
+
"type": "boolean"
|
|
2417
|
+
},
|
|
2418
|
+
"skipNamingValidation": {
|
|
2419
|
+
"description": "If set, we will skip the naming format validation in the schema. So the string values in `DocumentSchema.EntityType.name` and `DocumentSchema.EntityType.Property.name` will not be checked.",
|
|
2420
|
+
"type": "boolean"
|
|
2421
|
+
}
|
|
2422
|
+
},
|
|
2423
|
+
"type": "object"
|
|
2424
|
+
},
|
|
2425
|
+
"GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata": {
|
|
1924
2426
|
"description": "The long-running operation metadata for the EnableProcessor method.",
|
|
1925
2427
|
"id": "GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata",
|
|
1926
2428
|
"properties": {
|
|
@@ -1937,6 +2439,37 @@
|
|
|
1937
2439
|
"properties": {},
|
|
1938
2440
|
"type": "object"
|
|
1939
2441
|
},
|
|
2442
|
+
"GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata": {
|
|
2443
|
+
"description": "Metadata about an entity type.",
|
|
2444
|
+
"id": "GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata",
|
|
2445
|
+
"properties": {
|
|
2446
|
+
"fieldTierMetadata": {
|
|
2447
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3FieldTierMetadata",
|
|
2448
|
+
"description": "Field tier metadata on the property"
|
|
2449
|
+
},
|
|
2450
|
+
"humanReviewLabelingMetadata": {
|
|
2451
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata",
|
|
2452
|
+
"description": "Human review labeling config on the entity."
|
|
2453
|
+
},
|
|
2454
|
+
"humanReviewMetadata": {
|
|
2455
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata",
|
|
2456
|
+
"description": "Human review config on the entity."
|
|
2457
|
+
},
|
|
2458
|
+
"inactive": {
|
|
2459
|
+
"description": "Whether the entity type should be considered inactive.",
|
|
2460
|
+
"type": "boolean"
|
|
2461
|
+
},
|
|
2462
|
+
"schemaEditabilityMetadata": {
|
|
2463
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata",
|
|
2464
|
+
"description": "Schema editability metadata on the entity."
|
|
2465
|
+
},
|
|
2466
|
+
"schemaInferenceMetadata": {
|
|
2467
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata",
|
|
2468
|
+
"description": "Schema inference metadata on the entity."
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
"type": "object"
|
|
2472
|
+
},
|
|
1940
2473
|
"GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata": {
|
|
1941
2474
|
"description": "Metadata of the EvaluateProcessorVersion method.",
|
|
1942
2475
|
"id": "GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata",
|
|
@@ -1959,6 +2492,91 @@
|
|
|
1959
2492
|
},
|
|
1960
2493
|
"type": "object"
|
|
1961
2494
|
},
|
|
2495
|
+
"GoogleCloudDocumentaiUiv1beta3EvaluationMetrics": {
|
|
2496
|
+
"description": "Evaluation metrics, either in aggregate or about a specific entity.",
|
|
2497
|
+
"id": "GoogleCloudDocumentaiUiv1beta3EvaluationMetrics",
|
|
2498
|
+
"properties": {
|
|
2499
|
+
"f1Score": {
|
|
2500
|
+
"description": "The calculated f1 score.",
|
|
2501
|
+
"format": "float",
|
|
2502
|
+
"type": "number"
|
|
2503
|
+
},
|
|
2504
|
+
"falseNegativesCount": {
|
|
2505
|
+
"description": "The amount of false negatives.",
|
|
2506
|
+
"format": "int32",
|
|
2507
|
+
"type": "integer"
|
|
2508
|
+
},
|
|
2509
|
+
"falsePositivesCount": {
|
|
2510
|
+
"description": "The amount of false positives.",
|
|
2511
|
+
"format": "int32",
|
|
2512
|
+
"type": "integer"
|
|
2513
|
+
},
|
|
2514
|
+
"groundTruthDocumentCount": {
|
|
2515
|
+
"description": "The amount of documents with a ground truth occurrence.",
|
|
2516
|
+
"format": "int32",
|
|
2517
|
+
"type": "integer"
|
|
2518
|
+
},
|
|
2519
|
+
"groundTruthOccurrencesCount": {
|
|
2520
|
+
"description": "The amount of occurrences in ground truth documents.",
|
|
2521
|
+
"format": "int32",
|
|
2522
|
+
"type": "integer"
|
|
2523
|
+
},
|
|
2524
|
+
"precision": {
|
|
2525
|
+
"description": "The calculated precision.",
|
|
2526
|
+
"format": "float",
|
|
2527
|
+
"type": "number"
|
|
2528
|
+
},
|
|
2529
|
+
"predictedDocumentCount": {
|
|
2530
|
+
"description": "The amount of documents with a predicted occurrence.",
|
|
2531
|
+
"format": "int32",
|
|
2532
|
+
"type": "integer"
|
|
2533
|
+
},
|
|
2534
|
+
"predictedOccurrencesCount": {
|
|
2535
|
+
"description": "The amount of occurrences in predicted documents.",
|
|
2536
|
+
"format": "int32",
|
|
2537
|
+
"type": "integer"
|
|
2538
|
+
},
|
|
2539
|
+
"recall": {
|
|
2540
|
+
"description": "The calculated recall.",
|
|
2541
|
+
"format": "float",
|
|
2542
|
+
"type": "number"
|
|
2543
|
+
},
|
|
2544
|
+
"totalDocumentsCount": {
|
|
2545
|
+
"description": "The amount of documents that had an occurrence of this label.",
|
|
2546
|
+
"format": "int32",
|
|
2547
|
+
"type": "integer"
|
|
2548
|
+
},
|
|
2549
|
+
"truePositivesCount": {
|
|
2550
|
+
"description": "The amount of true positives.",
|
|
2551
|
+
"format": "int32",
|
|
2552
|
+
"type": "integer"
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
"type": "object"
|
|
2556
|
+
},
|
|
2557
|
+
"GoogleCloudDocumentaiUiv1beta3EvaluationReference": {
|
|
2558
|
+
"description": "Gives a short summary of an evaluation, and links to the evaluation itself.",
|
|
2559
|
+
"id": "GoogleCloudDocumentaiUiv1beta3EvaluationReference",
|
|
2560
|
+
"properties": {
|
|
2561
|
+
"aggregateMetrics": {
|
|
2562
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3EvaluationMetrics",
|
|
2563
|
+
"description": "An aggregate of the statistics for the evaluation with fuzzy matching on."
|
|
2564
|
+
},
|
|
2565
|
+
"aggregateMetricsExact": {
|
|
2566
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3EvaluationMetrics",
|
|
2567
|
+
"description": "An aggregate of the statistics for the evaluation with fuzzy matching off."
|
|
2568
|
+
},
|
|
2569
|
+
"evaluation": {
|
|
2570
|
+
"description": "The resource name of the evaluation.",
|
|
2571
|
+
"type": "string"
|
|
2572
|
+
},
|
|
2573
|
+
"operation": {
|
|
2574
|
+
"description": "The resource name of the Long Running Operation for the evaluation.",
|
|
2575
|
+
"type": "string"
|
|
2576
|
+
}
|
|
2577
|
+
},
|
|
2578
|
+
"type": "object"
|
|
2579
|
+
},
|
|
1962
2580
|
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata": {
|
|
1963
2581
|
"description": "Metadata of the batch export documents operation.",
|
|
1964
2582
|
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata",
|
|
@@ -2031,126 +2649,516 @@
|
|
|
2031
2649
|
},
|
|
2032
2650
|
"type": "object"
|
|
2033
2651
|
},
|
|
2034
|
-
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": {
|
|
2035
|
-
"description": "The response proto of ExportDocuments method.",
|
|
2036
|
-
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse",
|
|
2037
|
-
"properties": {},
|
|
2038
|
-
"type": "object"
|
|
2039
|
-
},
|
|
2040
|
-
"GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": {
|
|
2041
|
-
"description": "Metadata message associated with the ExportProcessorVersion operation.",
|
|
2042
|
-
"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata",
|
|
2652
|
+
"GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse": {
|
|
2653
|
+
"description": "The response proto of ExportDocuments method.",
|
|
2654
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse",
|
|
2655
|
+
"properties": {},
|
|
2656
|
+
"type": "object"
|
|
2657
|
+
},
|
|
2658
|
+
"GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata": {
|
|
2659
|
+
"description": "Metadata message associated with the ExportProcessorVersion operation.",
|
|
2660
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata",
|
|
2661
|
+
"properties": {
|
|
2662
|
+
"commonMetadata": {
|
|
2663
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata",
|
|
2664
|
+
"description": "The common metadata about the operation."
|
|
2665
|
+
}
|
|
2666
|
+
},
|
|
2667
|
+
"type": "object"
|
|
2668
|
+
},
|
|
2669
|
+
"GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse": {
|
|
2670
|
+
"description": "Response message associated with the ExportProcessorVersion operation.",
|
|
2671
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse",
|
|
2672
|
+
"properties": {
|
|
2673
|
+
"gcsUri": {
|
|
2674
|
+
"description": "The Cloud Storage URI containing the output artifacts.",
|
|
2675
|
+
"type": "string"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
"type": "object"
|
|
2679
|
+
},
|
|
2680
|
+
"GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata": {
|
|
2681
|
+
"description": "Metadata for how this field value is extracted.",
|
|
2682
|
+
"id": "GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata",
|
|
2683
|
+
"properties": {
|
|
2684
|
+
"entityQuery": {
|
|
2685
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery",
|
|
2686
|
+
"description": "Entity query config."
|
|
2687
|
+
},
|
|
2688
|
+
"summaryOptions": {
|
|
2689
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3SummaryOptions",
|
|
2690
|
+
"description": "Summary options config."
|
|
2691
|
+
}
|
|
2692
|
+
},
|
|
2693
|
+
"type": "object"
|
|
2694
|
+
},
|
|
2695
|
+
"GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery": {
|
|
2696
|
+
"description": "Message for entity query.",
|
|
2697
|
+
"id": "GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery",
|
|
2698
|
+
"properties": {
|
|
2699
|
+
"userEntityQuery": {
|
|
2700
|
+
"description": "The original entity query inputed by the user.",
|
|
2701
|
+
"type": "string"
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
"type": "object"
|
|
2705
|
+
},
|
|
2706
|
+
"GoogleCloudDocumentaiUiv1beta3FieldTierMetadata": {
|
|
2707
|
+
"description": "Metadata for the field tier of a property.",
|
|
2708
|
+
"id": "GoogleCloudDocumentaiUiv1beta3FieldTierMetadata",
|
|
2709
|
+
"properties": {
|
|
2710
|
+
"tierLevel": {
|
|
2711
|
+
"description": "Integer that indicates the tier of a property. e.g. Invoice has entities that are classified as tier 1 which is the most important, while tier 2 and tier 3 less so. This attribute can be used to filter schema attributes before running eval. e.g. compute F1 score for only tier 1 entities. If not present this attribute should be inferred as 1.",
|
|
2712
|
+
"format": "int32",
|
|
2713
|
+
"type": "integer"
|
|
2714
|
+
}
|
|
2715
|
+
},
|
|
2716
|
+
"type": "object"
|
|
2717
|
+
},
|
|
2718
|
+
"GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata": {
|
|
2719
|
+
"description": "Metadata for human review labeling config.",
|
|
2720
|
+
"id": "GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata",
|
|
2721
|
+
"properties": {
|
|
2722
|
+
"enableNormalizationEditing": {
|
|
2723
|
+
"description": "Whether to enable normalization editing.",
|
|
2724
|
+
"type": "boolean"
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
"type": "object"
|
|
2728
|
+
},
|
|
2729
|
+
"GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata": {
|
|
2730
|
+
"description": "Metadata for Human Review config.",
|
|
2731
|
+
"id": "GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata",
|
|
2732
|
+
"properties": {
|
|
2733
|
+
"confidenceThreshold": {
|
|
2734
|
+
"description": "The confidence threshold if human review validation is enabled.",
|
|
2735
|
+
"format": "float",
|
|
2736
|
+
"type": "number"
|
|
2737
|
+
},
|
|
2738
|
+
"enableValidation": {
|
|
2739
|
+
"description": "Whether to enable human review validation.",
|
|
2740
|
+
"type": "boolean"
|
|
2741
|
+
}
|
|
2742
|
+
},
|
|
2743
|
+
"type": "object"
|
|
2744
|
+
},
|
|
2745
|
+
"GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata": {
|
|
2746
|
+
"description": "Metadata of the import document operation.",
|
|
2747
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata",
|
|
2748
|
+
"properties": {
|
|
2749
|
+
"commonMetadata": {
|
|
2750
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata",
|
|
2751
|
+
"description": "The basic metadata of the long-running operation."
|
|
2752
|
+
},
|
|
2753
|
+
"importConfigValidationResults": {
|
|
2754
|
+
"description": "Validation statuses of the batch documents import config.",
|
|
2755
|
+
"items": {
|
|
2756
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult"
|
|
2757
|
+
},
|
|
2758
|
+
"type": "array"
|
|
2759
|
+
},
|
|
2760
|
+
"individualImportStatuses": {
|
|
2761
|
+
"description": "The list of response details of each document.",
|
|
2762
|
+
"items": {
|
|
2763
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus"
|
|
2764
|
+
},
|
|
2765
|
+
"type": "array"
|
|
2766
|
+
},
|
|
2767
|
+
"totalDocumentCount": {
|
|
2768
|
+
"description": "Total number of the documents that are qualified for importing.",
|
|
2769
|
+
"format": "int32",
|
|
2770
|
+
"type": "integer"
|
|
2771
|
+
}
|
|
2772
|
+
},
|
|
2773
|
+
"type": "object"
|
|
2774
|
+
},
|
|
2775
|
+
"GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult": {
|
|
2776
|
+
"description": "The validation status of each import config. Status is set to an error if there are no documents to import in the `import_config`, or `OK` if the operation will try to proceed with at least one document.",
|
|
2777
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult",
|
|
2778
|
+
"properties": {
|
|
2779
|
+
"inputGcsSource": {
|
|
2780
|
+
"description": "The source Cloud Storage URI specified in the import config.",
|
|
2781
|
+
"type": "string"
|
|
2782
|
+
},
|
|
2783
|
+
"status": {
|
|
2784
|
+
"$ref": "GoogleRpcStatus",
|
|
2785
|
+
"description": "The validation status of import config."
|
|
2786
|
+
}
|
|
2787
|
+
},
|
|
2788
|
+
"type": "object"
|
|
2789
|
+
},
|
|
2790
|
+
"GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus": {
|
|
2791
|
+
"description": "The status of each individual document in the import process.",
|
|
2792
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus",
|
|
2793
|
+
"properties": {
|
|
2794
|
+
"inputGcsSource": {
|
|
2795
|
+
"description": "The source Cloud Storage URI of the document.",
|
|
2796
|
+
"type": "string"
|
|
2797
|
+
},
|
|
2798
|
+
"outputDocumentId": {
|
|
2799
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentId",
|
|
2800
|
+
"description": "The document id of imported document if it was successful, otherwise empty."
|
|
2801
|
+
},
|
|
2802
|
+
"outputGcsDestination": {
|
|
2803
|
+
"description": "The output_gcs_destination of the processed document if it was successful, otherwise empty.",
|
|
2804
|
+
"type": "string"
|
|
2805
|
+
},
|
|
2806
|
+
"status": {
|
|
2807
|
+
"$ref": "GoogleRpcStatus",
|
|
2808
|
+
"description": "The status of the importing of the document."
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2811
|
+
"type": "object"
|
|
2812
|
+
},
|
|
2813
|
+
"GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse": {
|
|
2814
|
+
"description": "Response of the import document operation.",
|
|
2815
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse",
|
|
2816
|
+
"properties": {},
|
|
2817
|
+
"type": "object"
|
|
2818
|
+
},
|
|
2819
|
+
"GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata": {
|
|
2820
|
+
"description": "The long-running operation metadata for the ImportProcessorVersion method.",
|
|
2821
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata",
|
|
2822
|
+
"properties": {
|
|
2823
|
+
"commonMetadata": {
|
|
2824
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata",
|
|
2825
|
+
"description": "The basic metadata for the long-running operation."
|
|
2826
|
+
}
|
|
2827
|
+
},
|
|
2828
|
+
"type": "object"
|
|
2829
|
+
},
|
|
2830
|
+
"GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse": {
|
|
2831
|
+
"description": "The response message for the ImportProcessorVersion method.",
|
|
2832
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse",
|
|
2833
|
+
"properties": {
|
|
2834
|
+
"processorVersion": {
|
|
2835
|
+
"description": "The destination processor version name.",
|
|
2836
|
+
"type": "string"
|
|
2837
|
+
}
|
|
2838
|
+
},
|
|
2839
|
+
"type": "object"
|
|
2840
|
+
},
|
|
2841
|
+
"GoogleCloudDocumentaiUiv1beta3Processor": {
|
|
2842
|
+
"description": "The first-class citizen for Document AI. Each processor defines how to extract structural information from a document.",
|
|
2843
|
+
"id": "GoogleCloudDocumentaiUiv1beta3Processor",
|
|
2844
|
+
"properties": {
|
|
2845
|
+
"activeSchemaVersion": {
|
|
2846
|
+
"description": "Optional. SchemaVersion used by the Processor. It is the same as Processor's DatasetSchema.schema_version Format is `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}",
|
|
2847
|
+
"type": "string"
|
|
2848
|
+
},
|
|
2849
|
+
"createTime": {
|
|
2850
|
+
"description": "Output only. The time the processor was created.",
|
|
2851
|
+
"format": "google-datetime",
|
|
2852
|
+
"readOnly": true,
|
|
2853
|
+
"type": "string"
|
|
2854
|
+
},
|
|
2855
|
+
"defaultProcessorVersion": {
|
|
2856
|
+
"description": "The default processor version.",
|
|
2857
|
+
"type": "string"
|
|
2858
|
+
},
|
|
2859
|
+
"displayName": {
|
|
2860
|
+
"description": "The display name of the processor.",
|
|
2861
|
+
"type": "string"
|
|
2862
|
+
},
|
|
2863
|
+
"kmsKeyName": {
|
|
2864
|
+
"description": "The [KMS key](https://cloud.google.com/security-key-management) used for encryption and decryption in CMEK scenarios.",
|
|
2865
|
+
"type": "string"
|
|
2866
|
+
},
|
|
2867
|
+
"name": {
|
|
2868
|
+
"description": "Output only. Immutable. The resource name of the processor. Format: `projects/{project}/locations/{location}/processors/{processor}`",
|
|
2869
|
+
"readOnly": true,
|
|
2870
|
+
"type": "string"
|
|
2871
|
+
},
|
|
2872
|
+
"processEndpoint": {
|
|
2873
|
+
"description": "Output only. Immutable. The http endpoint that can be called to invoke processing.",
|
|
2874
|
+
"readOnly": true,
|
|
2875
|
+
"type": "string"
|
|
2876
|
+
},
|
|
2877
|
+
"processorVersionAliases": {
|
|
2878
|
+
"description": "Output only. The processor version aliases.",
|
|
2879
|
+
"items": {
|
|
2880
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias"
|
|
2881
|
+
},
|
|
2882
|
+
"readOnly": true,
|
|
2883
|
+
"type": "array"
|
|
2884
|
+
},
|
|
2885
|
+
"satisfiesPzi": {
|
|
2886
|
+
"description": "Output only. Reserved for future use.",
|
|
2887
|
+
"readOnly": true,
|
|
2888
|
+
"type": "boolean"
|
|
2889
|
+
},
|
|
2890
|
+
"satisfiesPzs": {
|
|
2891
|
+
"description": "Output only. Reserved for future use.",
|
|
2892
|
+
"readOnly": true,
|
|
2893
|
+
"type": "boolean"
|
|
2894
|
+
},
|
|
2895
|
+
"state": {
|
|
2896
|
+
"description": "Output only. The state of the processor.",
|
|
2897
|
+
"enum": [
|
|
2898
|
+
"STATE_UNSPECIFIED",
|
|
2899
|
+
"ENABLED",
|
|
2900
|
+
"DISABLED",
|
|
2901
|
+
"ENABLING",
|
|
2902
|
+
"DISABLING",
|
|
2903
|
+
"CREATING",
|
|
2904
|
+
"FAILED",
|
|
2905
|
+
"DELETING"
|
|
2906
|
+
],
|
|
2907
|
+
"enumDescriptions": [
|
|
2908
|
+
"The processor is in an unspecified state.",
|
|
2909
|
+
"The processor is enabled, i.e., has an enabled version which can currently serve processing requests and all the feature dependencies have been successfully initialized.",
|
|
2910
|
+
"The processor is disabled.",
|
|
2911
|
+
"The processor is being enabled, will become `ENABLED` if successful.",
|
|
2912
|
+
"The processor is being disabled, will become `DISABLED` if successful.",
|
|
2913
|
+
"The processor is being created, will become either `ENABLED` (for successful creation) or `FAILED` (for failed ones). Once a processor is in this state, it can then be used for document processing, but the feature dependencies of the processor might not be fully created yet.",
|
|
2914
|
+
"The processor failed during creation or initialization of feature dependencies. The user should delete the processor and recreate one as all the functionalities of the processor are disabled.",
|
|
2915
|
+
"The processor is being deleted, will be removed if successful."
|
|
2916
|
+
],
|
|
2917
|
+
"readOnly": true,
|
|
2918
|
+
"type": "string"
|
|
2919
|
+
},
|
|
2920
|
+
"type": {
|
|
2921
|
+
"description": "The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. To get a list of processor types, see FetchProcessorTypes.",
|
|
2922
|
+
"type": "string"
|
|
2923
|
+
}
|
|
2924
|
+
},
|
|
2925
|
+
"type": "object"
|
|
2926
|
+
},
|
|
2927
|
+
"GoogleCloudDocumentaiUiv1beta3ProcessorVersion": {
|
|
2928
|
+
"description": "A processor version is an implementation of a processor. Each processor can have multiple versions, pretrained by Google internally or uptrained by the customer. A processor can only have one default version at a time. Its document-processing behavior is defined by that version.",
|
|
2929
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersion",
|
|
2930
|
+
"properties": {
|
|
2931
|
+
"createTime": {
|
|
2932
|
+
"description": "Output only. The time the processor version was created.",
|
|
2933
|
+
"format": "google-datetime",
|
|
2934
|
+
"readOnly": true,
|
|
2935
|
+
"type": "string"
|
|
2936
|
+
},
|
|
2937
|
+
"deploymentAllowed": {
|
|
2938
|
+
"description": "Output only. Denotes that this `ProcessorVersion` can be deployed and undeployed.",
|
|
2939
|
+
"readOnly": true,
|
|
2940
|
+
"type": "boolean"
|
|
2941
|
+
},
|
|
2942
|
+
"deprecationInfo": {
|
|
2943
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo",
|
|
2944
|
+
"description": "Output only. If set, information about the eventual deprecation of this version.",
|
|
2945
|
+
"readOnly": true
|
|
2946
|
+
},
|
|
2947
|
+
"displayName": {
|
|
2948
|
+
"description": "The display name of the processor version.",
|
|
2949
|
+
"type": "string"
|
|
2950
|
+
},
|
|
2951
|
+
"documentSchema": {
|
|
2952
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3DocumentSchema",
|
|
2953
|
+
"description": "Output only. The schema of the processor version. Describes the output.",
|
|
2954
|
+
"readOnly": true
|
|
2955
|
+
},
|
|
2956
|
+
"genAiModelInfo": {
|
|
2957
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo",
|
|
2958
|
+
"description": "Output only. Information about Generative AI model-based processor versions.",
|
|
2959
|
+
"readOnly": true
|
|
2960
|
+
},
|
|
2961
|
+
"googleManaged": {
|
|
2962
|
+
"description": "Output only. Denotes that this `ProcessorVersion` is managed by Google.",
|
|
2963
|
+
"readOnly": true,
|
|
2964
|
+
"type": "boolean"
|
|
2965
|
+
},
|
|
2966
|
+
"kmsKeyName": {
|
|
2967
|
+
"description": "Output only. The KMS key name used for encryption.",
|
|
2968
|
+
"readOnly": true,
|
|
2969
|
+
"type": "string"
|
|
2970
|
+
},
|
|
2971
|
+
"kmsKeyVersionName": {
|
|
2972
|
+
"description": "Output only. The KMS key version with which data is encrypted.",
|
|
2973
|
+
"readOnly": true,
|
|
2974
|
+
"type": "string"
|
|
2975
|
+
},
|
|
2976
|
+
"latestEvaluation": {
|
|
2977
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3EvaluationReference",
|
|
2978
|
+
"description": "Output only. The most recently invoked evaluation for the processor version.",
|
|
2979
|
+
"readOnly": true
|
|
2980
|
+
},
|
|
2981
|
+
"modelType": {
|
|
2982
|
+
"description": "Output only. The model type of this processor version.",
|
|
2983
|
+
"enum": [
|
|
2984
|
+
"MODEL_TYPE_UNSPECIFIED",
|
|
2985
|
+
"MODEL_TYPE_GENERATIVE",
|
|
2986
|
+
"MODEL_TYPE_CUSTOM"
|
|
2987
|
+
],
|
|
2988
|
+
"enumDescriptions": [
|
|
2989
|
+
"The processor version has unspecified model type.",
|
|
2990
|
+
"The processor version has generative model type.",
|
|
2991
|
+
"The processor version has custom model type."
|
|
2992
|
+
],
|
|
2993
|
+
"readOnly": true,
|
|
2994
|
+
"type": "string"
|
|
2995
|
+
},
|
|
2996
|
+
"name": {
|
|
2997
|
+
"description": "Identifier. The resource name of the processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`",
|
|
2998
|
+
"type": "string"
|
|
2999
|
+
},
|
|
3000
|
+
"satisfiesPzi": {
|
|
3001
|
+
"description": "Output only. Reserved for future use.",
|
|
3002
|
+
"readOnly": true,
|
|
3003
|
+
"type": "boolean"
|
|
3004
|
+
},
|
|
3005
|
+
"satisfiesPzs": {
|
|
3006
|
+
"description": "Output only. Reserved for future use.",
|
|
3007
|
+
"readOnly": true,
|
|
3008
|
+
"type": "boolean"
|
|
3009
|
+
},
|
|
3010
|
+
"schema": {
|
|
3011
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3Schema",
|
|
3012
|
+
"description": "The schema of the processor version. Describes the output."
|
|
3013
|
+
},
|
|
3014
|
+
"state": {
|
|
3015
|
+
"description": "Output only. The state of the processor version.",
|
|
3016
|
+
"enum": [
|
|
3017
|
+
"STATE_UNSPECIFIED",
|
|
3018
|
+
"DEPLOYED",
|
|
3019
|
+
"DEPLOYING",
|
|
3020
|
+
"UNDEPLOYED",
|
|
3021
|
+
"UNDEPLOYING",
|
|
3022
|
+
"CREATING",
|
|
3023
|
+
"DELETING",
|
|
3024
|
+
"FAILED",
|
|
3025
|
+
"IMPORTING"
|
|
3026
|
+
],
|
|
3027
|
+
"enumDescriptions": [
|
|
3028
|
+
"The processor version is in an unspecified state.",
|
|
3029
|
+
"The processor version is deployed and can be used for processing.",
|
|
3030
|
+
"The processor version is being deployed.",
|
|
3031
|
+
"The processor version is not deployed and cannot be used for processing.",
|
|
3032
|
+
"The processor version is being undeployed.",
|
|
3033
|
+
"The processor version is being created.",
|
|
3034
|
+
"The processor version is being deleted.",
|
|
3035
|
+
"The processor version failed and is in an indeterminate state.",
|
|
3036
|
+
"The processor version is being imported."
|
|
3037
|
+
],
|
|
3038
|
+
"readOnly": true,
|
|
3039
|
+
"type": "string"
|
|
3040
|
+
}
|
|
3041
|
+
},
|
|
3042
|
+
"type": "object"
|
|
3043
|
+
},
|
|
3044
|
+
"GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias": {
|
|
3045
|
+
"description": "Contains the alias and the aliased resource name of processor version.",
|
|
3046
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias",
|
|
2043
3047
|
"properties": {
|
|
2044
|
-
"
|
|
2045
|
-
"
|
|
2046
|
-
"
|
|
2047
|
-
}
|
|
2048
|
-
},
|
|
2049
|
-
"type": "object"
|
|
3048
|
+
"alias": {
|
|
3049
|
+
"description": "The alias in the form of `processor_version` resource name.",
|
|
3050
|
+
"type": "string"
|
|
2050
3051
|
},
|
|
2051
|
-
"
|
|
2052
|
-
"description": "
|
|
2053
|
-
"id": "GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse",
|
|
2054
|
-
"properties": {
|
|
2055
|
-
"gcsUri": {
|
|
2056
|
-
"description": "The Cloud Storage URI containing the output artifacts.",
|
|
3052
|
+
"processorVersion": {
|
|
3053
|
+
"description": "The resource name of aliased processor version.",
|
|
2057
3054
|
"type": "string"
|
|
2058
3055
|
}
|
|
2059
3056
|
},
|
|
2060
3057
|
"type": "object"
|
|
2061
3058
|
},
|
|
2062
|
-
"
|
|
2063
|
-
"description": "
|
|
2064
|
-
"id": "
|
|
3059
|
+
"GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo": {
|
|
3060
|
+
"description": "Information about the upcoming deprecation of this processor version.",
|
|
3061
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo",
|
|
2065
3062
|
"properties": {
|
|
2066
|
-
"
|
|
2067
|
-
"
|
|
2068
|
-
"
|
|
2069
|
-
|
|
2070
|
-
"importConfigValidationResults": {
|
|
2071
|
-
"description": "Validation statuses of the batch documents import config.",
|
|
2072
|
-
"items": {
|
|
2073
|
-
"$ref": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult"
|
|
2074
|
-
},
|
|
2075
|
-
"type": "array"
|
|
2076
|
-
},
|
|
2077
|
-
"individualImportStatuses": {
|
|
2078
|
-
"description": "The list of response details of each document.",
|
|
2079
|
-
"items": {
|
|
2080
|
-
"$ref": "GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus"
|
|
2081
|
-
},
|
|
2082
|
-
"type": "array"
|
|
3063
|
+
"deprecationTime": {
|
|
3064
|
+
"description": "The time at which this processor version will be deprecated.",
|
|
3065
|
+
"format": "google-datetime",
|
|
3066
|
+
"type": "string"
|
|
2083
3067
|
},
|
|
2084
|
-
"
|
|
2085
|
-
"description": "
|
|
2086
|
-
"
|
|
2087
|
-
"type": "integer"
|
|
3068
|
+
"replacementProcessorVersion": {
|
|
3069
|
+
"description": "If set, the processor version that will be used as a replacement.",
|
|
3070
|
+
"type": "string"
|
|
2088
3071
|
}
|
|
2089
3072
|
},
|
|
2090
3073
|
"type": "object"
|
|
2091
3074
|
},
|
|
2092
|
-
"
|
|
2093
|
-
"description": "
|
|
2094
|
-
"id": "
|
|
3075
|
+
"GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo": {
|
|
3076
|
+
"description": "Information about Generative AI model-based processor versions.",
|
|
3077
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo",
|
|
2095
3078
|
"properties": {
|
|
2096
|
-
"
|
|
2097
|
-
"
|
|
2098
|
-
"
|
|
3079
|
+
"customGenAiModelInfo": {
|
|
3080
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo",
|
|
3081
|
+
"description": "Information for a custom Generative AI model created by the user."
|
|
2099
3082
|
},
|
|
2100
|
-
"
|
|
2101
|
-
"$ref": "
|
|
2102
|
-
"description": "
|
|
3083
|
+
"foundationGenAiModelInfo": {
|
|
3084
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo",
|
|
3085
|
+
"description": "Information for a pretrained Google-managed foundation model."
|
|
2103
3086
|
}
|
|
2104
3087
|
},
|
|
2105
3088
|
"type": "object"
|
|
2106
3089
|
},
|
|
2107
|
-
"
|
|
2108
|
-
"description": "
|
|
2109
|
-
"id": "
|
|
3090
|
+
"GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo": {
|
|
3091
|
+
"description": "Information for a custom Generative AI model created by the user. These are created with `Create New Version` in either the `Call foundation model` or `Fine tuning` tabs.",
|
|
3092
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo",
|
|
2110
3093
|
"properties": {
|
|
2111
|
-
"
|
|
2112
|
-
"description": "The
|
|
3094
|
+
"baseProcessorVersionId": {
|
|
3095
|
+
"description": "The base processor version ID for the custom model.",
|
|
2113
3096
|
"type": "string"
|
|
2114
3097
|
},
|
|
2115
|
-
"
|
|
2116
|
-
"
|
|
2117
|
-
"
|
|
2118
|
-
|
|
2119
|
-
"
|
|
2120
|
-
"
|
|
3098
|
+
"customModelType": {
|
|
3099
|
+
"description": "The type of custom model created by the user.",
|
|
3100
|
+
"enum": [
|
|
3101
|
+
"CUSTOM_MODEL_TYPE_UNSPECIFIED",
|
|
3102
|
+
"VERSIONED_FOUNDATION",
|
|
3103
|
+
"FINE_TUNED"
|
|
3104
|
+
],
|
|
3105
|
+
"enumDescriptions": [
|
|
3106
|
+
"The model type is unspecified.",
|
|
3107
|
+
"The model is a versioned foundation model.",
|
|
3108
|
+
"The model is a finetuned foundation model."
|
|
3109
|
+
],
|
|
2121
3110
|
"type": "string"
|
|
2122
|
-
},
|
|
2123
|
-
"status": {
|
|
2124
|
-
"$ref": "GoogleRpcStatus",
|
|
2125
|
-
"description": "The status of the importing of the document."
|
|
2126
3111
|
}
|
|
2127
3112
|
},
|
|
2128
3113
|
"type": "object"
|
|
2129
3114
|
},
|
|
2130
|
-
"
|
|
2131
|
-
"description": "
|
|
2132
|
-
"id": "
|
|
2133
|
-
"properties": {},
|
|
2134
|
-
"type": "object"
|
|
2135
|
-
},
|
|
2136
|
-
"GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata": {
|
|
2137
|
-
"description": "The long-running operation metadata for the ImportProcessorVersion method.",
|
|
2138
|
-
"id": "GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata",
|
|
3115
|
+
"GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo": {
|
|
3116
|
+
"description": "Information for a pretrained Google-managed foundation model.",
|
|
3117
|
+
"id": "GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo",
|
|
2139
3118
|
"properties": {
|
|
2140
|
-
"
|
|
2141
|
-
"
|
|
2142
|
-
"
|
|
3119
|
+
"finetuningAllowed": {
|
|
3120
|
+
"description": "Whether finetuning is allowed for this base processor version.",
|
|
3121
|
+
"type": "boolean"
|
|
3122
|
+
},
|
|
3123
|
+
"minTrainLabeledDocuments": {
|
|
3124
|
+
"description": "The minimum number of labeled documents in the training dataset required for finetuning.",
|
|
3125
|
+
"format": "int32",
|
|
3126
|
+
"type": "integer"
|
|
2143
3127
|
}
|
|
2144
3128
|
},
|
|
2145
3129
|
"type": "object"
|
|
2146
3130
|
},
|
|
2147
|
-
"
|
|
2148
|
-
"description": "
|
|
2149
|
-
"id": "
|
|
3131
|
+
"GoogleCloudDocumentaiUiv1beta3PropertyMetadata": {
|
|
3132
|
+
"description": "Metadata about a property.",
|
|
3133
|
+
"id": "GoogleCloudDocumentaiUiv1beta3PropertyMetadata",
|
|
2150
3134
|
"properties": {
|
|
2151
|
-
"
|
|
2152
|
-
"
|
|
2153
|
-
"
|
|
3135
|
+
"fieldExtractionMetadata": {
|
|
3136
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata",
|
|
3137
|
+
"description": "Field extraction metadata on the property."
|
|
3138
|
+
},
|
|
3139
|
+
"fieldTierMetadata": {
|
|
3140
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3FieldTierMetadata",
|
|
3141
|
+
"description": "Field tier metadata on the property"
|
|
3142
|
+
},
|
|
3143
|
+
"humanReviewLabelingMetadata": {
|
|
3144
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata",
|
|
3145
|
+
"description": "Human review labeling config on the property."
|
|
3146
|
+
},
|
|
3147
|
+
"humanReviewMetadata": {
|
|
3148
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata",
|
|
3149
|
+
"description": "Human review validation config on the property."
|
|
3150
|
+
},
|
|
3151
|
+
"inactive": {
|
|
3152
|
+
"description": "Whether the property should be considered as \"inactive\".",
|
|
3153
|
+
"type": "boolean"
|
|
3154
|
+
},
|
|
3155
|
+
"schemaEditabilityMetadata": {
|
|
3156
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata",
|
|
3157
|
+
"description": "Schema editability metadata on the property."
|
|
3158
|
+
},
|
|
3159
|
+
"schemaInferenceMetadata": {
|
|
3160
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata",
|
|
3161
|
+
"description": "Schema inference metadata on the property."
|
|
2154
3162
|
}
|
|
2155
3163
|
},
|
|
2156
3164
|
"type": "object"
|
|
@@ -2257,59 +3265,192 @@
|
|
|
2257
3265
|
"BASE_OCR_REVISION"
|
|
2258
3266
|
],
|
|
2259
3267
|
"enumDescriptions": [
|
|
2260
|
-
"Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.",
|
|
2261
|
-
"The latest revision made by a human.",
|
|
2262
|
-
"The latest revision based on timestamp.",
|
|
2263
|
-
"The first (OCR) revision."
|
|
3268
|
+
"Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.",
|
|
3269
|
+
"The latest revision made by a human.",
|
|
3270
|
+
"The latest revision based on timestamp.",
|
|
3271
|
+
"The first (OCR) revision."
|
|
3272
|
+
],
|
|
3273
|
+
"type": "string"
|
|
3274
|
+
},
|
|
3275
|
+
"revisionId": {
|
|
3276
|
+
"description": "Reads the revision given by the id.",
|
|
3277
|
+
"type": "string"
|
|
3278
|
+
}
|
|
3279
|
+
},
|
|
3280
|
+
"type": "object"
|
|
3281
|
+
},
|
|
3282
|
+
"GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata": {
|
|
3283
|
+
"description": "Metadata of the sample documents operation.",
|
|
3284
|
+
"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata",
|
|
3285
|
+
"properties": {
|
|
3286
|
+
"commonMetadata": {
|
|
3287
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata",
|
|
3288
|
+
"description": "The basic metadata of the long-running operation."
|
|
3289
|
+
}
|
|
3290
|
+
},
|
|
3291
|
+
"type": "object"
|
|
3292
|
+
},
|
|
3293
|
+
"GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse": {
|
|
3294
|
+
"description": "Response of the sample documents operation.",
|
|
3295
|
+
"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse",
|
|
3296
|
+
"properties": {
|
|
3297
|
+
"sampleTestStatus": {
|
|
3298
|
+
"$ref": "GoogleRpcStatus",
|
|
3299
|
+
"description": "The status of sampling documents in test split."
|
|
3300
|
+
},
|
|
3301
|
+
"sampleTrainingStatus": {
|
|
3302
|
+
"$ref": "GoogleRpcStatus",
|
|
3303
|
+
"description": "The status of sampling documents in training split."
|
|
3304
|
+
},
|
|
3305
|
+
"selectedDocuments": {
|
|
3306
|
+
"description": "The result of the sampling process.",
|
|
3307
|
+
"items": {
|
|
3308
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument"
|
|
3309
|
+
},
|
|
3310
|
+
"type": "array"
|
|
3311
|
+
}
|
|
3312
|
+
},
|
|
3313
|
+
"type": "object"
|
|
3314
|
+
},
|
|
3315
|
+
"GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument": {
|
|
3316
|
+
"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument",
|
|
3317
|
+
"properties": {
|
|
3318
|
+
"documentId": {
|
|
3319
|
+
"description": "An internal identifier for document.",
|
|
3320
|
+
"type": "string"
|
|
3321
|
+
}
|
|
3322
|
+
},
|
|
3323
|
+
"type": "object"
|
|
3324
|
+
},
|
|
3325
|
+
"GoogleCloudDocumentaiUiv1beta3Schema": {
|
|
3326
|
+
"description": "The schema defines the output of the processed document by a processor.",
|
|
3327
|
+
"id": "GoogleCloudDocumentaiUiv1beta3Schema",
|
|
3328
|
+
"properties": {
|
|
3329
|
+
"description": {
|
|
3330
|
+
"description": "Description of the schema.",
|
|
3331
|
+
"type": "string"
|
|
3332
|
+
},
|
|
3333
|
+
"displayName": {
|
|
3334
|
+
"description": "Display name to show to users.",
|
|
3335
|
+
"type": "string"
|
|
3336
|
+
},
|
|
3337
|
+
"entityTypes": {
|
|
3338
|
+
"description": "Entity types of the schema.",
|
|
3339
|
+
"items": {
|
|
3340
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaEntityType"
|
|
3341
|
+
},
|
|
3342
|
+
"type": "array"
|
|
3343
|
+
}
|
|
3344
|
+
},
|
|
3345
|
+
"type": "object"
|
|
3346
|
+
},
|
|
3347
|
+
"GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata": {
|
|
3348
|
+
"description": "Metadata that specifies whether a label is editable and reasons why. These fields are read-only. Changing these fields has no impact on the backend.",
|
|
3349
|
+
"id": "GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata",
|
|
3350
|
+
"properties": {
|
|
3351
|
+
"editable": {
|
|
3352
|
+
"description": "Explicit flag that controls whether the label is editable.",
|
|
3353
|
+
"type": "boolean"
|
|
3354
|
+
},
|
|
3355
|
+
"processorVersions": {
|
|
3356
|
+
"description": "Full resource name of processor versions that contain this label. e.g. `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}`",
|
|
3357
|
+
"items": {
|
|
3358
|
+
"type": "string"
|
|
3359
|
+
},
|
|
3360
|
+
"type": "array"
|
|
3361
|
+
}
|
|
3362
|
+
},
|
|
3363
|
+
"type": "object"
|
|
3364
|
+
},
|
|
3365
|
+
"GoogleCloudDocumentaiUiv1beta3SchemaEntityType": {
|
|
3366
|
+
"description": "EntityType is the wrapper of a label of the corresponding model with detailed attributes and limitations for entity-based processors. Multiple types can also compose a dependency tree to represent nested types.",
|
|
3367
|
+
"id": "GoogleCloudDocumentaiUiv1beta3SchemaEntityType",
|
|
3368
|
+
"properties": {
|
|
3369
|
+
"baseType": {
|
|
3370
|
+
"type": "string"
|
|
3371
|
+
},
|
|
3372
|
+
"description": {
|
|
3373
|
+
"description": "Description of the entity type.",
|
|
3374
|
+
"type": "string"
|
|
3375
|
+
},
|
|
3376
|
+
"enumValues": {
|
|
3377
|
+
"description": "If specified, lists all the possible values for this entity.",
|
|
3378
|
+
"items": {
|
|
3379
|
+
"type": "string"
|
|
3380
|
+
},
|
|
3381
|
+
"type": "array"
|
|
3382
|
+
},
|
|
3383
|
+
"hide": {
|
|
3384
|
+
"description": "If the entity type is hidden in the schema. This provides the functionality to temporally \"disable\" an entity without deleting it.",
|
|
3385
|
+
"type": "boolean"
|
|
3386
|
+
},
|
|
3387
|
+
"method": {
|
|
3388
|
+
"description": "Specifies how the entity's value is obtained.",
|
|
3389
|
+
"enum": [
|
|
3390
|
+
"METHOD_UNSPECIFIED",
|
|
3391
|
+
"EXTRACT",
|
|
3392
|
+
"DERIVE"
|
|
3393
|
+
],
|
|
3394
|
+
"enumDescriptions": [
|
|
3395
|
+
"Unspecified method. It defaults to `EXTRACT`.",
|
|
3396
|
+
"The entity's value is directly extracted as-is from the document text.",
|
|
3397
|
+
"The entity's value is derived through inference and is not necessarily an exact text extraction from the document."
|
|
2264
3398
|
],
|
|
2265
3399
|
"type": "string"
|
|
2266
3400
|
},
|
|
2267
|
-
"
|
|
2268
|
-
"description": "
|
|
3401
|
+
"occurrenceType": {
|
|
3402
|
+
"description": "Occurrence type limits the number of times an entity type appears in the document.",
|
|
3403
|
+
"enum": [
|
|
3404
|
+
"OCCURRENCE_TYPE_UNSPECIFIED",
|
|
3405
|
+
"OPTIONAL_ONCE",
|
|
3406
|
+
"OPTIONAL_MULTIPLE",
|
|
3407
|
+
"REQUIRED_ONCE",
|
|
3408
|
+
"REQUIRED_MULTIPLE"
|
|
3409
|
+
],
|
|
3410
|
+
"enumDescriptions": [
|
|
3411
|
+
"Unspecified occurrence type.",
|
|
3412
|
+
"The entity type will appear zero times or once.",
|
|
3413
|
+
"The entity type will appear zero or multiple times.",
|
|
3414
|
+
"The entity type will only appear exactly once.",
|
|
3415
|
+
"The entity type will appear once or more times."
|
|
3416
|
+
],
|
|
2269
3417
|
"type": "string"
|
|
2270
|
-
}
|
|
2271
|
-
},
|
|
2272
|
-
"type": "object"
|
|
2273
|
-
},
|
|
2274
|
-
"GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata": {
|
|
2275
|
-
"description": "Metadata of the sample documents operation.",
|
|
2276
|
-
"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata",
|
|
2277
|
-
"properties": {
|
|
2278
|
-
"commonMetadata": {
|
|
2279
|
-
"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata",
|
|
2280
|
-
"description": "The basic metadata of the long-running operation."
|
|
2281
|
-
}
|
|
2282
|
-
},
|
|
2283
|
-
"type": "object"
|
|
2284
3418
|
},
|
|
2285
|
-
"GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse": {
|
|
2286
|
-
"description": "Response of the sample documents operation.",
|
|
2287
|
-
"id": "GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse",
|
|
2288
3419
|
"properties": {
|
|
2289
|
-
"
|
|
2290
|
-
"$ref": "GoogleRpcStatus",
|
|
2291
|
-
"description": "The status of sampling documents in test split."
|
|
2292
|
-
},
|
|
2293
|
-
"sampleTrainingStatus": {
|
|
2294
|
-
"$ref": "GoogleRpcStatus",
|
|
2295
|
-
"description": "The status of sampling documents in training split."
|
|
2296
|
-
},
|
|
2297
|
-
"selectedDocuments": {
|
|
2298
|
-
"description": "The result of the sampling process.",
|
|
3420
|
+
"description": "Describing the nested structure of an entity. An EntityType may consist of several other EntityTypes. For example, in a document there can be an EntityType `ID`, which consists of EntityType `name` and `address`, with corresponding attributes, such as TEXT for both types and ONCE for occurrence types.",
|
|
2299
3421
|
"items": {
|
|
2300
|
-
"$ref": "
|
|
3422
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3SchemaEntityType"
|
|
2301
3423
|
},
|
|
2302
3424
|
"type": "array"
|
|
3425
|
+
},
|
|
3426
|
+
"source": {
|
|
3427
|
+
"description": "Source of this entity type.",
|
|
3428
|
+
"enum": [
|
|
3429
|
+
"SOURCE_UNSPECIFIED",
|
|
3430
|
+
"PREDEFINED",
|
|
3431
|
+
"USER_INPUT"
|
|
3432
|
+
],
|
|
3433
|
+
"enumDescriptions": [
|
|
3434
|
+
"Unspecified source.",
|
|
3435
|
+
"The entity type is in the predefined schema of a pretrained version of a processor.",
|
|
3436
|
+
"The entity type is added by the users either: - during an uptraining of an existing processor, or - during the process of creating a customized processor."
|
|
3437
|
+
],
|
|
3438
|
+
"type": "string"
|
|
3439
|
+
},
|
|
3440
|
+
"type": {
|
|
3441
|
+
"description": "Name of the type. It must satisfy the following constraints: 1. Must be unique within the set of same level types (with case-insensitive match). 2. Maximum 64 characters. 3. Must start with a letter. 4. Allowed characters: ASCII letters [a-zA-Z], ASCII digits [0-9], or one of the following punctuation characters: * underscore '_' (recommended) * hyphen '-' (allowed, not recommended) * colon ':' (allowed, not recommended) NOTE: Whitespace characters are not allowed. 5. Cannot end with a punctuation character. 6. Cannot contain the following restricted strings: \"google\", \"DocumentAI\" (case-insensitive match). 7. A slash character '/' is reserved as a separator in flattened representations of nested entity types (e.g., \"line_item/amount\") in which case each part (e.g., \"line_item\", \"amount\") must comply with the rules defined above. We recommend using the snake case (\"snake_case\") in entity type names.",
|
|
3442
|
+
"type": "string"
|
|
2303
3443
|
}
|
|
2304
3444
|
},
|
|
2305
3445
|
"type": "object"
|
|
2306
3446
|
},
|
|
2307
|
-
"
|
|
2308
|
-
"
|
|
3447
|
+
"GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata": {
|
|
3448
|
+
"description": "Metadata for schema inference. Only used on dataset.schema for schema inference, can be safely ignored elsewhere.",
|
|
3449
|
+
"id": "GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata",
|
|
2309
3450
|
"properties": {
|
|
2310
|
-
"
|
|
2311
|
-
"description": "
|
|
2312
|
-
"type": "
|
|
3451
|
+
"inferred": {
|
|
3452
|
+
"description": "True if is inferred by schema inference.",
|
|
3453
|
+
"type": "boolean"
|
|
2313
3454
|
}
|
|
2314
3455
|
},
|
|
2315
3456
|
"type": "object"
|
|
@@ -2331,6 +3472,43 @@
|
|
|
2331
3472
|
"properties": {},
|
|
2332
3473
|
"type": "object"
|
|
2333
3474
|
},
|
|
3475
|
+
"GoogleCloudDocumentaiUiv1beta3SummaryOptions": {
|
|
3476
|
+
"description": "Metadata for document summarization.",
|
|
3477
|
+
"id": "GoogleCloudDocumentaiUiv1beta3SummaryOptions",
|
|
3478
|
+
"properties": {
|
|
3479
|
+
"format": {
|
|
3480
|
+
"description": "The format the summary should be in.",
|
|
3481
|
+
"enum": [
|
|
3482
|
+
"FORMAT_UNSPECIFIED",
|
|
3483
|
+
"PARAGRAPH",
|
|
3484
|
+
"BULLETS"
|
|
3485
|
+
],
|
|
3486
|
+
"enumDescriptions": [
|
|
3487
|
+
"Default.",
|
|
3488
|
+
"Format the output in paragraphs.",
|
|
3489
|
+
"Format the output in bullets."
|
|
3490
|
+
],
|
|
3491
|
+
"type": "string"
|
|
3492
|
+
},
|
|
3493
|
+
"length": {
|
|
3494
|
+
"description": "How long the summary should be.",
|
|
3495
|
+
"enum": [
|
|
3496
|
+
"LENGTH_UNSPECIFIED",
|
|
3497
|
+
"BRIEF",
|
|
3498
|
+
"MODERATE",
|
|
3499
|
+
"COMPREHENSIVE"
|
|
3500
|
+
],
|
|
3501
|
+
"enumDescriptions": [
|
|
3502
|
+
"Default.",
|
|
3503
|
+
"A brief summary of one or two sentences.",
|
|
3504
|
+
"A paragraph-length summary.",
|
|
3505
|
+
"The longest option available."
|
|
3506
|
+
],
|
|
3507
|
+
"type": "string"
|
|
3508
|
+
}
|
|
3509
|
+
},
|
|
3510
|
+
"type": "object"
|
|
3511
|
+
},
|
|
2334
3512
|
"GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata": {
|
|
2335
3513
|
"description": "The metadata that represents a processor version being created.",
|
|
2336
3514
|
"id": "GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata",
|
|
@@ -2441,6 +3619,17 @@
|
|
|
2441
3619
|
},
|
|
2442
3620
|
"type": "object"
|
|
2443
3621
|
},
|
|
3622
|
+
"GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata": {
|
|
3623
|
+
"description": "The long-running operation metadata for the UpdateProcessorVersion method.",
|
|
3624
|
+
"id": "GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata",
|
|
3625
|
+
"properties": {
|
|
3626
|
+
"commonMetadata": {
|
|
3627
|
+
"$ref": "GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata",
|
|
3628
|
+
"description": "The basic metadata for the long-running operation."
|
|
3629
|
+
}
|
|
3630
|
+
},
|
|
3631
|
+
"type": "object"
|
|
3632
|
+
},
|
|
2444
3633
|
"GoogleCloudDocumentaiV1BatchProcessMetadata": {
|
|
2445
3634
|
"description": "The long-running operation metadata for BatchProcessDocuments.",
|
|
2446
3635
|
"id": "GoogleCloudDocumentaiV1BatchProcessMetadata",
|
|
@@ -4057,12 +5246,16 @@
|
|
|
4057
5246
|
"description": "Validation result for a single validation rule.",
|
|
4058
5247
|
"id": "GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult",
|
|
4059
5248
|
"properties": {
|
|
5249
|
+
"rule": {
|
|
5250
|
+
"description": "Optional. The name of the rule resource that is used for validation. Format: `projects/{project}/locations/{location}/rules/{rule}`",
|
|
5251
|
+
"type": "string"
|
|
5252
|
+
},
|
|
4060
5253
|
"ruleDescription": {
|
|
4061
5254
|
"description": "The description of the validation rule.",
|
|
4062
5255
|
"type": "string"
|
|
4063
5256
|
},
|
|
4064
5257
|
"ruleName": {
|
|
4065
|
-
"description": "The name of the validation rule.",
|
|
5258
|
+
"description": "The display name of the validation rule.",
|
|
4066
5259
|
"type": "string"
|
|
4067
5260
|
},
|
|
4068
5261
|
"validationDetails": {
|
|
@@ -5386,6 +6579,20 @@ true
|
|
|
5386
6579
|
},
|
|
5387
6580
|
"type": "object"
|
|
5388
6581
|
},
|
|
6582
|
+
"GoogleCloudDocumentaiV1beta3Documents": {
|
|
6583
|
+
"description": "A set of inline documents.",
|
|
6584
|
+
"id": "GoogleCloudDocumentaiV1beta3Documents",
|
|
6585
|
+
"properties": {
|
|
6586
|
+
"documents": {
|
|
6587
|
+
"description": "The list of documents.",
|
|
6588
|
+
"items": {
|
|
6589
|
+
"$ref": "GoogleCloudDocumentaiV1beta3Document"
|
|
6590
|
+
},
|
|
6591
|
+
"type": "array"
|
|
6592
|
+
}
|
|
6593
|
+
},
|
|
6594
|
+
"type": "object"
|
|
6595
|
+
},
|
|
5389
6596
|
"GoogleCloudDocumentaiV1beta3EnableProcessorMetadata": {
|
|
5390
6597
|
"description": "The long-running operation metadata for the EnableProcessor method.",
|
|
5391
6598
|
"id": "GoogleCloudDocumentaiV1beta3EnableProcessorMetadata",
|
|
@@ -5738,6 +6945,63 @@ true
|
|
|
5738
6945
|
},
|
|
5739
6946
|
"type": "object"
|
|
5740
6947
|
},
|
|
6948
|
+
"GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest": {
|
|
6949
|
+
"description": "Request message for GenerateSchemaVersion.",
|
|
6950
|
+
"id": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest",
|
|
6951
|
+
"properties": {
|
|
6952
|
+
"baseSchemaVersion": {
|
|
6953
|
+
"description": "The base schema version name to use for the schema generation. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`",
|
|
6954
|
+
"type": "string"
|
|
6955
|
+
},
|
|
6956
|
+
"gcsDocuments": {
|
|
6957
|
+
"$ref": "GoogleCloudDocumentaiV1beta3GcsDocuments",
|
|
6958
|
+
"description": "The set of documents placed on Cloud Storage."
|
|
6959
|
+
},
|
|
6960
|
+
"gcsPrefix": {
|
|
6961
|
+
"$ref": "GoogleCloudDocumentaiV1beta3GcsPrefix",
|
|
6962
|
+
"description": "The common prefix of documents placed on Cloud Storage."
|
|
6963
|
+
},
|
|
6964
|
+
"generateSchemaVersionParams": {
|
|
6965
|
+
"$ref": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams",
|
|
6966
|
+
"description": "Optional. User specified parameters for the schema generation."
|
|
6967
|
+
},
|
|
6968
|
+
"inlineDocuments": {
|
|
6969
|
+
"$ref": "GoogleCloudDocumentaiV1beta3Documents",
|
|
6970
|
+
"description": "The set of documents specified inline."
|
|
6971
|
+
},
|
|
6972
|
+
"rawDocuments": {
|
|
6973
|
+
"$ref": "GoogleCloudDocumentaiV1beta3RawDocuments",
|
|
6974
|
+
"description": "The set of raw documents."
|
|
6975
|
+
}
|
|
6976
|
+
},
|
|
6977
|
+
"type": "object"
|
|
6978
|
+
},
|
|
6979
|
+
"GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams": {
|
|
6980
|
+
"description": "The parameters for the schema generation.",
|
|
6981
|
+
"id": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams",
|
|
6982
|
+
"properties": {
|
|
6983
|
+
"history": {
|
|
6984
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaGenerationHistory",
|
|
6985
|
+
"description": "Optional. Previous prompt-answers in a chronological order."
|
|
6986
|
+
},
|
|
6987
|
+
"prompt": {
|
|
6988
|
+
"description": "Optional. The prompt used for the schema generation.",
|
|
6989
|
+
"type": "string"
|
|
6990
|
+
}
|
|
6991
|
+
},
|
|
6992
|
+
"type": "object"
|
|
6993
|
+
},
|
|
6994
|
+
"GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse": {
|
|
6995
|
+
"description": "Response message for GenerateSchemaVersion.",
|
|
6996
|
+
"id": "GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse",
|
|
6997
|
+
"properties": {
|
|
6998
|
+
"schemaVersion": {
|
|
6999
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion",
|
|
7000
|
+
"description": "The schema version generated by the model."
|
|
7001
|
+
}
|
|
7002
|
+
},
|
|
7003
|
+
"type": "object"
|
|
7004
|
+
},
|
|
5741
7005
|
"GoogleCloudDocumentaiV1beta3GetDocumentResponse": {
|
|
5742
7006
|
"id": "GoogleCloudDocumentaiV1beta3GetDocumentResponse",
|
|
5743
7007
|
"properties": {
|
|
@@ -6080,6 +7344,76 @@ true
|
|
|
6080
7344
|
},
|
|
6081
7345
|
"type": "object"
|
|
6082
7346
|
},
|
|
7347
|
+
"GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponse": {
|
|
7348
|
+
"description": "Response message for ListSchemaVersions.",
|
|
7349
|
+
"id": "GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponse",
|
|
7350
|
+
"properties": {
|
|
7351
|
+
"nextPageToken": {
|
|
7352
|
+
"description": "Points to the next SchemaVersion, otherwise empty.",
|
|
7353
|
+
"type": "string"
|
|
7354
|
+
},
|
|
7355
|
+
"schemaVersions": {
|
|
7356
|
+
"description": "The list of SchemaVersions.",
|
|
7357
|
+
"items": {
|
|
7358
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion"
|
|
7359
|
+
},
|
|
7360
|
+
"type": "array"
|
|
7361
|
+
}
|
|
7362
|
+
},
|
|
7363
|
+
"type": "object"
|
|
7364
|
+
},
|
|
7365
|
+
"GoogleCloudDocumentaiV1beta3ListSchemasResponse": {
|
|
7366
|
+
"description": "Response message for ListSchemas.",
|
|
7367
|
+
"id": "GoogleCloudDocumentaiV1beta3ListSchemasResponse",
|
|
7368
|
+
"properties": {
|
|
7369
|
+
"nextPageToken": {
|
|
7370
|
+
"description": "Points to the next Schema, otherwise empty.",
|
|
7371
|
+
"type": "string"
|
|
7372
|
+
},
|
|
7373
|
+
"schemas": {
|
|
7374
|
+
"description": "The list of Schemas.",
|
|
7375
|
+
"items": {
|
|
7376
|
+
"$ref": "GoogleCloudDocumentaiV1beta3NextSchema"
|
|
7377
|
+
},
|
|
7378
|
+
"type": "array"
|
|
7379
|
+
}
|
|
7380
|
+
},
|
|
7381
|
+
"type": "object"
|
|
7382
|
+
},
|
|
7383
|
+
"GoogleCloudDocumentaiV1beta3NextSchema": {
|
|
7384
|
+
"description": "NextSchema is a collection of SchemaVersions.",
|
|
7385
|
+
"id": "GoogleCloudDocumentaiV1beta3NextSchema",
|
|
7386
|
+
"properties": {
|
|
7387
|
+
"createTime": {
|
|
7388
|
+
"description": "Output only. The time when the Schema was created.",
|
|
7389
|
+
"format": "google-datetime",
|
|
7390
|
+
"readOnly": true,
|
|
7391
|
+
"type": "string"
|
|
7392
|
+
},
|
|
7393
|
+
"displayName": {
|
|
7394
|
+
"description": "Optional. The user-defined name of the Schema.",
|
|
7395
|
+
"type": "string"
|
|
7396
|
+
},
|
|
7397
|
+
"labels": {
|
|
7398
|
+
"additionalProperties": {
|
|
7399
|
+
"type": "string"
|
|
7400
|
+
},
|
|
7401
|
+
"description": "Optional. The GCP labels for the Schema.",
|
|
7402
|
+
"type": "object"
|
|
7403
|
+
},
|
|
7404
|
+
"name": {
|
|
7405
|
+
"description": "Identifier. The resource name of the Schema. Format: `projects/{project}/locations/{location}/schemas/{schema}`",
|
|
7406
|
+
"type": "string"
|
|
7407
|
+
},
|
|
7408
|
+
"updateTime": {
|
|
7409
|
+
"description": "Output only. The time when the Schema was last updated.",
|
|
7410
|
+
"format": "google-datetime",
|
|
7411
|
+
"readOnly": true,
|
|
7412
|
+
"type": "string"
|
|
7413
|
+
}
|
|
7414
|
+
},
|
|
7415
|
+
"type": "object"
|
|
7416
|
+
},
|
|
6083
7417
|
"GoogleCloudDocumentaiV1beta3NormalizedVertex": {
|
|
6084
7418
|
"description": "A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.",
|
|
6085
7419
|
"id": "GoogleCloudDocumentaiV1beta3NormalizedVertex",
|
|
@@ -6353,6 +7687,10 @@ true
|
|
|
6353
7687
|
"description": "The first-class citizen for Document AI. Each processor defines how to extract structural information from a document.",
|
|
6354
7688
|
"id": "GoogleCloudDocumentaiV1beta3Processor",
|
|
6355
7689
|
"properties": {
|
|
7690
|
+
"activeSchemaVersion": {
|
|
7691
|
+
"description": "Optional. SchemaVersion used by the Processor. It is the same as Processor's DatasetSchema.schema_version Format is `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}",
|
|
7692
|
+
"type": "string"
|
|
7693
|
+
},
|
|
6356
7694
|
"createTime": {
|
|
6357
7695
|
"description": "Output only. The time the processor was created.",
|
|
6358
7696
|
"format": "google-datetime",
|
|
@@ -6733,6 +8071,20 @@ true
|
|
|
6733
8071
|
},
|
|
6734
8072
|
"type": "object"
|
|
6735
8073
|
},
|
|
8074
|
+
"GoogleCloudDocumentaiV1beta3RawDocuments": {
|
|
8075
|
+
"description": "Specifies a set of raw documents.",
|
|
8076
|
+
"id": "GoogleCloudDocumentaiV1beta3RawDocuments",
|
|
8077
|
+
"properties": {
|
|
8078
|
+
"documents": {
|
|
8079
|
+
"description": "Specifies raw document content and mime type.",
|
|
8080
|
+
"items": {
|
|
8081
|
+
"$ref": "GoogleCloudDocumentaiV1beta3RawDocument"
|
|
8082
|
+
},
|
|
8083
|
+
"type": "array"
|
|
8084
|
+
}
|
|
8085
|
+
},
|
|
8086
|
+
"type": "object"
|
|
8087
|
+
},
|
|
6736
8088
|
"GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata": {
|
|
6737
8089
|
"description": "The long-running operation metadata for the ReviewDocument method.",
|
|
6738
8090
|
"id": "GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata",
|
|
@@ -6878,6 +8230,71 @@ true
|
|
|
6878
8230
|
},
|
|
6879
8231
|
"type": "object"
|
|
6880
8232
|
},
|
|
8233
|
+
"GoogleCloudDocumentaiV1beta3SchemaGenerationHistory": {
|
|
8234
|
+
"description": "The history of schema generation iterations.",
|
|
8235
|
+
"id": "GoogleCloudDocumentaiV1beta3SchemaGenerationHistory",
|
|
8236
|
+
"properties": {
|
|
8237
|
+
"iterations": {
|
|
8238
|
+
"description": "Required. Previous prompt-answers in a chronological order.",
|
|
8239
|
+
"items": {
|
|
8240
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaGenerationIteration"
|
|
8241
|
+
},
|
|
8242
|
+
"type": "array"
|
|
8243
|
+
}
|
|
8244
|
+
},
|
|
8245
|
+
"type": "object"
|
|
8246
|
+
},
|
|
8247
|
+
"GoogleCloudDocumentaiV1beta3SchemaGenerationIteration": {
|
|
8248
|
+
"description": "A single iteration of the schema generation.",
|
|
8249
|
+
"id": "GoogleCloudDocumentaiV1beta3SchemaGenerationIteration",
|
|
8250
|
+
"properties": {
|
|
8251
|
+
"adjustedSchema": {
|
|
8252
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion",
|
|
8253
|
+
"description": "Optional. The previous schema version adjusted by the model."
|
|
8254
|
+
},
|
|
8255
|
+
"generatedSchema": {
|
|
8256
|
+
"$ref": "GoogleCloudDocumentaiV1beta3SchemaVersion",
|
|
8257
|
+
"description": "Required. The schema version generated by the model."
|
|
8258
|
+
},
|
|
8259
|
+
"prompt": {
|
|
8260
|
+
"description": "Optional. The prompt used for the iteration.",
|
|
8261
|
+
"type": "string"
|
|
8262
|
+
}
|
|
8263
|
+
},
|
|
8264
|
+
"type": "object"
|
|
8265
|
+
},
|
|
8266
|
+
"GoogleCloudDocumentaiV1beta3SchemaVersion": {
|
|
8267
|
+
"description": "SchemaVersion is a version of the Schema which is created in SchemaGroup.",
|
|
8268
|
+
"id": "GoogleCloudDocumentaiV1beta3SchemaVersion",
|
|
8269
|
+
"properties": {
|
|
8270
|
+
"createTime": {
|
|
8271
|
+
"description": "Output only. The time when the SchemaVersion was created.",
|
|
8272
|
+
"format": "google-datetime",
|
|
8273
|
+
"readOnly": true,
|
|
8274
|
+
"type": "string"
|
|
8275
|
+
},
|
|
8276
|
+
"displayName": {
|
|
8277
|
+
"description": "Optional. The user-defined name of the SchemaVersion.",
|
|
8278
|
+
"type": "string"
|
|
8279
|
+
},
|
|
8280
|
+
"labels": {
|
|
8281
|
+
"additionalProperties": {
|
|
8282
|
+
"type": "string"
|
|
8283
|
+
},
|
|
8284
|
+
"description": "Optional. The GCP labels for the SchemaVersion.",
|
|
8285
|
+
"type": "object"
|
|
8286
|
+
},
|
|
8287
|
+
"name": {
|
|
8288
|
+
"description": "Identifier. The resource name of the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}`",
|
|
8289
|
+
"type": "string"
|
|
8290
|
+
},
|
|
8291
|
+
"schema": {
|
|
8292
|
+
"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchema",
|
|
8293
|
+
"description": "Required. The schema of the SchemaVersion."
|
|
8294
|
+
}
|
|
8295
|
+
},
|
|
8296
|
+
"type": "object"
|
|
8297
|
+
},
|
|
6881
8298
|
"GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata": {
|
|
6882
8299
|
"description": "The long-running operation metadata for the SetDefaultProcessorVersion method.",
|
|
6883
8300
|
"id": "GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata",
|
|
@@ -7121,6 +8538,17 @@ true
|
|
|
7121
8538
|
},
|
|
7122
8539
|
"type": "object"
|
|
7123
8540
|
},
|
|
8541
|
+
"GoogleCloudDocumentaiV1beta3UpdateProcessorVersionMetadata": {
|
|
8542
|
+
"description": "The long-running operation metadata for the UpdateProcessorVersion method.",
|
|
8543
|
+
"id": "GoogleCloudDocumentaiV1beta3UpdateProcessorVersionMetadata",
|
|
8544
|
+
"properties": {
|
|
8545
|
+
"commonMetadata": {
|
|
8546
|
+
"$ref": "GoogleCloudDocumentaiV1beta3CommonOperationMetadata",
|
|
8547
|
+
"description": "The basic metadata for the long-running operation."
|
|
8548
|
+
}
|
|
8549
|
+
},
|
|
8550
|
+
"type": "object"
|
|
8551
|
+
},
|
|
7124
8552
|
"GoogleCloudDocumentaiV1beta3Vertex": {
|
|
7125
8553
|
"description": "A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.",
|
|
7126
8554
|
"id": "GoogleCloudDocumentaiV1beta3Vertex",
|