Skip to content

Commit bcc345c

Browse files
feat(all): auto-regenerate discovery clients (#1808)
1 parent de06921 commit bcc345c

27 files changed

+6072
-1222
lines changed

api-list.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3288,7 +3288,7 @@
32883288
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
32893289
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
32903290
},
3291-
"documentationLink": "https://developers.google.com/actions/smarthome/create-app#request-sync",
3291+
"documentationLink": "https://developers.home.google.com/cloud-to-cloud/get-started",
32923292
"preferred": true
32933293
},
32943294
{

contentwarehouse/v1/contentwarehouse-api.json

+239-61
Large diffs are not rendered by default.

contentwarehouse/v1/contentwarehouse-gen.go

+365-98
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

documentai/v1/documentai-api.json

+31-62
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,31 @@
328328
},
329329
"processorTypes": {
330330
"methods": {
331+
"get": {
332+
"description": "Gets a processor type detail.",
333+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processorTypes/{processorTypesId}",
334+
"httpMethod": "GET",
335+
"id": "documentai.projects.locations.processorTypes.get",
336+
"parameterOrder": [
337+
"name"
338+
],
339+
"parameters": {
340+
"name": {
341+
"description": "Required. The processor type resource name.",
342+
"location": "path",
343+
"pattern": "^projects/[^/]+/locations/[^/]+/processorTypes/[^/]+$",
344+
"required": true,
345+
"type": "string"
346+
}
347+
},
348+
"path": "v1/{+name}",
349+
"response": {
350+
"$ref": "GoogleCloudDocumentaiV1ProcessorType"
351+
},
352+
"scopes": [
353+
"https://www.googleapis.com/auth/cloud-platform"
354+
]
355+
},
331356
"list": {
332357
"description": "Lists the processor types that exist.",
333358
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/processorTypes",
@@ -894,7 +919,7 @@
894919
}
895920
}
896921
},
897-
"revision": "20221201",
922+
"revision": "20230106",
898923
"rootUrl": "https://documentai.googleapis.com/",
899924
"schemas": {
900925
"GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata": {
@@ -1164,11 +1189,11 @@
11641189
"type": "object"
11651190
},
11661191
"GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId": {
1167-
"description": "Identifies a document uniquely within the scope of a dataset in the GCS-based option.",
1192+
"description": "Identifies a document uniquely within the scope of a dataset in the Cloud Storage option.",
11681193
"id": "GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId",
11691194
"properties": {
11701195
"cwDocId": {
1171-
"description": "Optional. Id of the document (indexed) managed by Content Warehouse.",
1196+
"description": "Id of the document (indexed) managed by Content Warehouse.",
11721197
"type": "string"
11731198
},
11741199
"gcsUri": {
@@ -1477,11 +1502,11 @@
14771502
"id": "GoogleCloudDocumentaiUiv1beta3RevisionReference",
14781503
"properties": {
14791504
"latestProcessorVersion": {
1480-
"description": "Read the revision generated by the processor version, returns error if it does not exist.",
1505+
"description": "Reads the revision generated by the processor version.",
14811506
"type": "string"
14821507
},
14831508
"revisionCase": {
1484-
"description": "Read the revision by the predefined case.",
1509+
"description": "Reads the revision by the predefined case.",
14851510
"enum": [
14861511
"REVISION_CASE_UNSPECIFIED",
14871512
"LATEST_HUMAN_REVIEW",
@@ -1495,7 +1520,7 @@
14951520
"type": "string"
14961521
},
14971522
"revisionId": {
1498-
"description": "Read the revision given by the id, returns error if it does not exist.",
1523+
"description": "Reads the revision given by the id.",
14991524
"type": "string"
15001525
}
15011526
},
@@ -3742,62 +3767,6 @@
37423767
},
37433768
"type": "object"
37443769
},
3745-
"GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata": {
3746-
"description": "The long running operation metadata for AnalyzeHitlData.",
3747-
"id": "GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata",
3748-
"properties": {
3749-
"commonMetadata": {
3750-
"$ref": "GoogleCloudDocumentaiV1alpha1CommonOperationMetadata",
3751-
"description": "The basic metadata of the long running operation."
3752-
}
3753-
},
3754-
"type": "object"
3755-
},
3756-
"GoogleCloudDocumentaiV1alpha1CommonOperationMetadata": {
3757-
"description": "The common metadata for long running operations.",
3758-
"id": "GoogleCloudDocumentaiV1alpha1CommonOperationMetadata",
3759-
"properties": {
3760-
"createTime": {
3761-
"description": "The creation time of the operation.",
3762-
"format": "google-datetime",
3763-
"type": "string"
3764-
},
3765-
"resource": {
3766-
"description": "A related resource to this operation.",
3767-
"type": "string"
3768-
},
3769-
"state": {
3770-
"description": "The state of the operation.",
3771-
"enum": [
3772-
"STATE_UNSPECIFIED",
3773-
"RUNNING",
3774-
"CANCELLING",
3775-
"SUCCEEDED",
3776-
"FAILED",
3777-
"CANCELLED"
3778-
],
3779-
"enumDescriptions": [
3780-
"Unspecified state.",
3781-
"Operation is still running.",
3782-
"Operation is being cancelled.",
3783-
"Operation succeeded.",
3784-
"Operation failed.",
3785-
"Operation is cancelled."
3786-
],
3787-
"type": "string"
3788-
},
3789-
"stateMessage": {
3790-
"description": "A message providing more details about the current state of processing.",
3791-
"type": "string"
3792-
},
3793-
"updateTime": {
3794-
"description": "The last update time of the operation.",
3795-
"format": "google-datetime",
3796-
"type": "string"
3797-
}
3798-
},
3799-
"type": "object"
3800-
},
38013770
"GoogleCloudDocumentaiV1beta1Barcode": {
38023771
"description": "Encodes the detailed information of a barcode.",
38033772
"id": "GoogleCloudDocumentaiV1beta1Barcode",

0 commit comments

Comments
 (0)