Skip to content

Commit 0e0445b

Browse files
feat(documentai): update the api
#### documentai:v1 The following keys were added: - schemas.GoogleCloudDocumentaiV1ProcessorVersion.properties.genAiModelInfo (Total Keys: 2) - schemas.GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo (Total Keys: 13) #### documentai:v1beta3 The following keys were added: - schemas.GoogleCloudDocumentaiV1beta3ProcessorVersion.properties.genAiModelInfo (Total Keys: 2) - schemas.GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo (Total Keys: 13)
1 parent 7e0a228 commit 0e0445b

File tree

4 files changed

+184
-2
lines changed

4 files changed

+184
-2
lines changed

docs/dyn/documentai_v1.projects.locations.processors.processorVersions.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,16 @@ <h3>Method Details</h3>
436436
&quot;skipNamingValidation&quot;: True or False, # 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.
437437
},
438438
},
439+
&quot;genAiModelInfo&quot;: { # Information about Generative AI model-based processor versions. # Output only. Information about Generative AI model-based processor versions.
440+
&quot;customGenAiModelInfo&quot;: { # 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. # Information for a custom Generative AI model created by the user.
441+
&quot;baseProcessorVersionId&quot;: &quot;A String&quot;, # The base processor version ID for the custom model.
442+
&quot;customModelType&quot;: &quot;A String&quot;, # The type of custom model created by the user.
443+
},
444+
&quot;foundationGenAiModelInfo&quot;: { # Information for a pretrained Google-managed foundation model. # Information for a pretrained Google-managed foundation model.
445+
&quot;finetuningAllowed&quot;: True or False, # Whether finetuning is allowed for this base processor version.
446+
&quot;minTrainLabeledDocuments&quot;: 42, # The minimum number of labeled documents in the training dataset required for finetuning.
447+
},
448+
},
439449
&quot;googleManaged&quot;: True or False, # Output only. Denotes that this `ProcessorVersion` is managed by Google.
440450
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The KMS key name used for encryption.
441451
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # The KMS key version with which data is encrypted.
@@ -535,6 +545,16 @@ <h3>Method Details</h3>
535545
&quot;skipNamingValidation&quot;: True or False, # 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.
536546
},
537547
},
548+
&quot;genAiModelInfo&quot;: { # Information about Generative AI model-based processor versions. # Output only. Information about Generative AI model-based processor versions.
549+
&quot;customGenAiModelInfo&quot;: { # 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. # Information for a custom Generative AI model created by the user.
550+
&quot;baseProcessorVersionId&quot;: &quot;A String&quot;, # The base processor version ID for the custom model.
551+
&quot;customModelType&quot;: &quot;A String&quot;, # The type of custom model created by the user.
552+
},
553+
&quot;foundationGenAiModelInfo&quot;: { # Information for a pretrained Google-managed foundation model. # Information for a pretrained Google-managed foundation model.
554+
&quot;finetuningAllowed&quot;: True or False, # Whether finetuning is allowed for this base processor version.
555+
&quot;minTrainLabeledDocuments&quot;: 42, # The minimum number of labeled documents in the training dataset required for finetuning.
556+
},
557+
},
538558
&quot;googleManaged&quot;: True or False, # Output only. Denotes that this `ProcessorVersion` is managed by Google.
539559
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The KMS key name used for encryption.
540560
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # The KMS key version with which data is encrypted.
@@ -2691,6 +2711,16 @@ <h3>Method Details</h3>
26912711
&quot;skipNamingValidation&quot;: True or False, # 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.
26922712
},
26932713
},
2714+
&quot;genAiModelInfo&quot;: { # Information about Generative AI model-based processor versions. # Output only. Information about Generative AI model-based processor versions.
2715+
&quot;customGenAiModelInfo&quot;: { # 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. # Information for a custom Generative AI model created by the user.
2716+
&quot;baseProcessorVersionId&quot;: &quot;A String&quot;, # The base processor version ID for the custom model.
2717+
&quot;customModelType&quot;: &quot;A String&quot;, # The type of custom model created by the user.
2718+
},
2719+
&quot;foundationGenAiModelInfo&quot;: { # Information for a pretrained Google-managed foundation model. # Information for a pretrained Google-managed foundation model.
2720+
&quot;finetuningAllowed&quot;: True or False, # Whether finetuning is allowed for this base processor version.
2721+
&quot;minTrainLabeledDocuments&quot;: 42, # The minimum number of labeled documents in the training dataset required for finetuning.
2722+
},
2723+
},
26942724
&quot;googleManaged&quot;: True or False, # Output only. Denotes that this `ProcessorVersion` is managed by Google.
26952725
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The KMS key name used for encryption.
26962726
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # The KMS key version with which data is encrypted.

docs/dyn/documentai_v1beta3.projects.locations.processors.processorVersions.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,16 @@ <h3>Method Details</h3>
474474
&quot;skipNamingValidation&quot;: True or False, # 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.
475475
},
476476
},
477+
&quot;genAiModelInfo&quot;: { # Information about Generative AI model-based processor versions. # Output only. Information about Generative AI model-based processor versions.
478+
&quot;customGenAiModelInfo&quot;: { # 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. # Information for a custom Generative AI model created by the user.
479+
&quot;baseProcessorVersionId&quot;: &quot;A String&quot;, # The base processor version ID for the custom model.
480+
&quot;customModelType&quot;: &quot;A String&quot;, # The type of custom model created by the user.
481+
},
482+
&quot;foundationGenAiModelInfo&quot;: { # Information for a pretrained Google-managed foundation model. # Information for a pretrained Google-managed foundation model.
483+
&quot;finetuningAllowed&quot;: True or False, # Whether finetuning is allowed for this base processor version.
484+
&quot;minTrainLabeledDocuments&quot;: 42, # The minimum number of labeled documents in the training dataset required for finetuning.
485+
},
486+
},
477487
&quot;googleManaged&quot;: True or False, # Output only. Denotes that this `ProcessorVersion` is managed by Google.
478488
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The KMS key name used for encryption.
479489
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # The KMS key version with which data is encrypted.
@@ -631,6 +641,16 @@ <h3>Method Details</h3>
631641
&quot;skipNamingValidation&quot;: True or False, # 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.
632642
},
633643
},
644+
&quot;genAiModelInfo&quot;: { # Information about Generative AI model-based processor versions. # Output only. Information about Generative AI model-based processor versions.
645+
&quot;customGenAiModelInfo&quot;: { # 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. # Information for a custom Generative AI model created by the user.
646+
&quot;baseProcessorVersionId&quot;: &quot;A String&quot;, # The base processor version ID for the custom model.
647+
&quot;customModelType&quot;: &quot;A String&quot;, # The type of custom model created by the user.
648+
},
649+
&quot;foundationGenAiModelInfo&quot;: { # Information for a pretrained Google-managed foundation model. # Information for a pretrained Google-managed foundation model.
650+
&quot;finetuningAllowed&quot;: True or False, # Whether finetuning is allowed for this base processor version.
651+
&quot;minTrainLabeledDocuments&quot;: 42, # The minimum number of labeled documents in the training dataset required for finetuning.
652+
},
653+
},
634654
&quot;googleManaged&quot;: True or False, # Output only. Denotes that this `ProcessorVersion` is managed by Google.
635655
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The KMS key name used for encryption.
636656
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # The KMS key version with which data is encrypted.
@@ -3762,6 +3782,16 @@ <h3>Method Details</h3>
37623782
&quot;skipNamingValidation&quot;: True or False, # 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.
37633783
},
37643784
},
3785+
&quot;genAiModelInfo&quot;: { # Information about Generative AI model-based processor versions. # Output only. Information about Generative AI model-based processor versions.
3786+
&quot;customGenAiModelInfo&quot;: { # 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. # Information for a custom Generative AI model created by the user.
3787+
&quot;baseProcessorVersionId&quot;: &quot;A String&quot;, # The base processor version ID for the custom model.
3788+
&quot;customModelType&quot;: &quot;A String&quot;, # The type of custom model created by the user.
3789+
},
3790+
&quot;foundationGenAiModelInfo&quot;: { # Information for a pretrained Google-managed foundation model. # Information for a pretrained Google-managed foundation model.
3791+
&quot;finetuningAllowed&quot;: True or False, # Whether finetuning is allowed for this base processor version.
3792+
&quot;minTrainLabeledDocuments&quot;: 42, # The minimum number of labeled documents in the training dataset required for finetuning.
3793+
},
3794+
},
37653795
&quot;googleManaged&quot;: True or False, # Output only. Denotes that this `ProcessorVersion` is managed by Google.
37663796
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The KMS key name used for encryption.
37673797
&quot;kmsKeyVersionName&quot;: &quot;A String&quot;, # The KMS key version with which data is encrypted.

googleapiclient/discovery_cache/documents/documentai.v1.json

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@
10421042
}
10431043
}
10441044
},
1045-
"revision": "20240703",
1045+
"revision": "20240716",
10461046
"rootUrl": "https://documentai.googleapis.com/",
10471047
"schemas": {
10481048
"GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": {
@@ -4686,6 +4686,11 @@ true
46864686
"$ref": "GoogleCloudDocumentaiV1DocumentSchema",
46874687
"description": "The schema of the processor version. Describes the output."
46884688
},
4689+
"genAiModelInfo": {
4690+
"$ref": "GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo",
4691+
"description": "Output only. Information about Generative AI model-based processor versions.",
4692+
"readOnly": true
4693+
},
46894694
"googleManaged": {
46904695
"description": "Output only. Denotes that this `ProcessorVersion` is managed by Google.",
46914696
"readOnly": true,
@@ -4793,6 +4798,62 @@ true
47934798
},
47944799
"type": "object"
47954800
},
4801+
"GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo": {
4802+
"description": "Information about Generative AI model-based processor versions.",
4803+
"id": "GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfo",
4804+
"properties": {
4805+
"customGenAiModelInfo": {
4806+
"$ref": "GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo",
4807+
"description": "Information for a custom Generative AI model created by the user."
4808+
},
4809+
"foundationGenAiModelInfo": {
4810+
"$ref": "GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo",
4811+
"description": "Information for a pretrained Google-managed foundation model."
4812+
}
4813+
},
4814+
"type": "object"
4815+
},
4816+
"GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo": {
4817+
"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.",
4818+
"id": "GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoCustomGenAiModelInfo",
4819+
"properties": {
4820+
"baseProcessorVersionId": {
4821+
"description": "The base processor version ID for the custom model.",
4822+
"type": "string"
4823+
},
4824+
"customModelType": {
4825+
"description": "The type of custom model created by the user.",
4826+
"enum": [
4827+
"CUSTOM_MODEL_TYPE_UNSPECIFIED",
4828+
"VERSIONED_FOUNDATION",
4829+
"FINE_TUNED"
4830+
],
4831+
"enumDescriptions": [
4832+
"The model type is unspecified.",
4833+
"The model is a versioned foundation model.",
4834+
"The model is a finetuned foundation model."
4835+
],
4836+
"type": "string"
4837+
}
4838+
},
4839+
"type": "object"
4840+
},
4841+
"GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo": {
4842+
"description": "Information for a pretrained Google-managed foundation model.",
4843+
"id": "GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo",
4844+
"properties": {
4845+
"finetuningAllowed": {
4846+
"description": "Whether finetuning is allowed for this base processor version.",
4847+
"type": "boolean"
4848+
},
4849+
"minTrainLabeledDocuments": {
4850+
"description": "The minimum number of labeled documents in the training dataset required for finetuning.",
4851+
"format": "int32",
4852+
"type": "integer"
4853+
}
4854+
},
4855+
"type": "object"
4856+
},
47964857
"GoogleCloudDocumentaiV1RawDocument": {
47974858
"description": "Payload message of raw document content (bytes).",
47984859
"id": "GoogleCloudDocumentaiV1RawDocument",

googleapiclient/discovery_cache/documents/documentai.v1beta3.json

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@
12841284
}
12851285
}
12861286
},
1287-
"revision": "20240703",
1287+
"revision": "20240716",
12881288
"rootUrl": "https://documentai.googleapis.com/",
12891289
"schemas": {
12901290
"GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": {
@@ -9293,6 +9293,11 @@ true
92939293
"$ref": "GoogleCloudDocumentaiV1beta3DocumentSchema",
92949294
"description": "The schema of the processor version. Describes the output."
92959295
},
9296+
"genAiModelInfo": {
9297+
"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo",
9298+
"description": "Output only. Information about Generative AI model-based processor versions.",
9299+
"readOnly": true
9300+
},
92969301
"googleManaged": {
92979302
"description": "Output only. Denotes that this `ProcessorVersion` is managed by Google.",
92989303
"readOnly": true,
@@ -9400,6 +9405,62 @@ true
94009405
},
94019406
"type": "object"
94029407
},
9408+
"GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo": {
9409+
"description": "Information about Generative AI model-based processor versions.",
9410+
"id": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo",
9411+
"properties": {
9412+
"customGenAiModelInfo": {
9413+
"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo",
9414+
"description": "Information for a custom Generative AI model created by the user."
9415+
},
9416+
"foundationGenAiModelInfo": {
9417+
"$ref": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo",
9418+
"description": "Information for a pretrained Google-managed foundation model."
9419+
}
9420+
},
9421+
"type": "object"
9422+
},
9423+
"GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo": {
9424+
"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.",
9425+
"id": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo",
9426+
"properties": {
9427+
"baseProcessorVersionId": {
9428+
"description": "The base processor version ID for the custom model.",
9429+
"type": "string"
9430+
},
9431+
"customModelType": {
9432+
"description": "The type of custom model created by the user.",
9433+
"enum": [
9434+
"CUSTOM_MODEL_TYPE_UNSPECIFIED",
9435+
"VERSIONED_FOUNDATION",
9436+
"FINE_TUNED"
9437+
],
9438+
"enumDescriptions": [
9439+
"The model type is unspecified.",
9440+
"The model is a versioned foundation model.",
9441+
"The model is a finetuned foundation model."
9442+
],
9443+
"type": "string"
9444+
}
9445+
},
9446+
"type": "object"
9447+
},
9448+
"GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo": {
9449+
"description": "Information for a pretrained Google-managed foundation model.",
9450+
"id": "GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo",
9451+
"properties": {
9452+
"finetuningAllowed": {
9453+
"description": "Whether finetuning is allowed for this base processor version.",
9454+
"type": "boolean"
9455+
},
9456+
"minTrainLabeledDocuments": {
9457+
"description": "The minimum number of labeled documents in the training dataset required for finetuning.",
9458+
"format": "int32",
9459+
"type": "integer"
9460+
}
9461+
},
9462+
"type": "object"
9463+
},
94039464
"GoogleCloudDocumentaiV1beta3PropertyMetadata": {
94049465
"description": "Metadata about a property.",
94059466
"id": "GoogleCloudDocumentaiV1beta3PropertyMetadata",

0 commit comments

Comments
 (0)