From ef12a169bf0e8c7a2830b996e29f91e923d35de4 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 7 Feb 2026 17:12:20 -0800 Subject: [PATCH] chore: regenerate documentai client --- .../v1/2.0.0/README.md | 4 +- .../api/services/documentai/v1/Document.java | 46 +++--- ...alidationValidatorInputValidationRule.java | 6 +- ...loudDocumentaiUiv1beta3DocumentSchema.java | 6 +- ...ntaiUiv1beta3DocumentSchemaEntityType.java | 18 +-- ...mentaiUiv1beta3DocumentSchemaMetadata.java | 6 +- ...dDocumentaiUiv1beta3EvaluationMetrics.java | 6 +- ...enAiModelInfoFoundationGenAiModelInfo.java | 12 +- .../GoogleCloudDocumentaiUiv1beta3Schema.java | 6 +- .../GoogleCloudDocumentaiV1Document.java | 6 +- ...GoogleCloudDocumentaiV1DocumentEntity.java | 24 +-- .../GoogleCloudDocumentaiV1DocumentPage.java | 6 +- ...loudDocumentaiV1DocumentPageFormField.java | 9 +- ...leCloudDocumentaiV1DocumentPageLayout.java | 6 +- ...DocumentaiV1DocumentPageVisualElement.java | 2 +- ...cumentaiV1DocumentRevisionHumanReview.java | 6 +- ...GoogleCloudDocumentaiV1DocumentSchema.java | 6 +- ...dDocumentaiV1DocumentSchemaEntityType.java | 18 +-- ...oudDocumentaiV1DocumentSchemaMetadata.java | 6 +- .../GoogleCloudDocumentaiV1Evaluation.java | 24 +++ ...umentaiV1EvaluationEvaluationRevision.java | 139 ++++++++++++++++++ ...gleCloudDocumentaiV1EvaluationMetrics.java | 6 +- .../GoogleCloudDocumentaiV1NextSchema.java | 6 +- ...enAiModelInfoFoundationGenAiModelInfo.java | 12 +- .../GoogleCloudDocumentaiV1SchemaVersion.java | 6 +- .../GoogleCloudDocumentaiV1beta3Dataset.java | 27 ---- ...aiV1beta3DatasetSpannerIndexingConfig.java | 43 ------ ...eCloudDocumentaiV1beta3DocumentSchema.java | 6 +- ...mentaiV1beta3DocumentSchemaEntityType.java | 18 +-- ...cumentaiV1beta3DocumentSchemaMetadata.java | 6 +- ...oudDocumentaiV1beta3EvaluationMetrics.java | 6 +- ...enAiModelInfoFoundationGenAiModelInfo.java | 12 +- .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1beta3/2.0.0/README.md | 4 +- .../services/documentai/v1beta3/Document.java | 46 +++--- ...alidationValidatorInputValidationRule.java | 6 +- ...loudDocumentaiUiv1beta3DocumentSchema.java | 6 +- ...ntaiUiv1beta3DocumentSchemaEntityType.java | 18 +-- ...mentaiUiv1beta3DocumentSchemaMetadata.java | 6 +- ...dDocumentaiUiv1beta3EvaluationMetrics.java | 6 +- ...enAiModelInfoFoundationGenAiModelInfo.java | 12 +- .../GoogleCloudDocumentaiUiv1beta3Schema.java | 6 +- .../GoogleCloudDocumentaiV1beta3Dataset.java | 27 ---- ...aiV1beta3DatasetSpannerIndexingConfig.java | 43 ------ .../GoogleCloudDocumentaiV1beta3Document.java | 18 +-- ...oudDocumentaiV1beta3DocumentBlobAsset.java | 15 +- ...ocumentChunkedDocumentChunkChunkField.java | 4 +- ...eCloudDocumentaiV1beta3DocumentEntity.java | 24 +-- ...gleCloudDocumentaiV1beta3DocumentPage.java | 6 +- ...ocumentaiV1beta3DocumentPageFormField.java | 9 +- ...udDocumentaiV1beta3DocumentPageLayout.java | 6 +- ...entaiV1beta3DocumentPageVisualElement.java | 2 +- ...taiV1beta3DocumentRevisionHumanReview.java | 6 +- ...eCloudDocumentaiV1beta3DocumentSchema.java | 6 +- ...mentaiV1beta3DocumentSchemaEntityType.java | 18 +-- ...cumentaiV1beta3DocumentSchemaMetadata.java | 6 +- ...oogleCloudDocumentaiV1beta3Evaluation.java | 24 +++ ...aiV1beta3EvaluationEvaluationRevision.java | 139 ++++++++++++++++++ ...oudDocumentaiV1beta3EvaluationMetrics.java | 6 +- ...oogleCloudDocumentaiV1beta3NextSchema.java | 6 +- ...cessOptionsLayoutConfigChunkingConfig.java | 24 +-- ...enAiModelInfoFoundationGenAiModelInfo.java | 12 +- ...leCloudDocumentaiV1beta3SchemaVersion.java | 6 +- .../v1beta3/2.0.0/pom.xml | 4 +- .../v1beta3/README.md | 4 +- 66 files changed, 624 insertions(+), 419 deletions(-) create mode 100644 clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1EvaluationEvaluationRevision.java delete mode 100644 clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig.java delete mode 100644 clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig.java create mode 100644 clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision.java diff --git a/clients/google-api-services-documentai/v1/2.0.0/README.md b/clients/google-api-services-documentai/v1/2.0.0/README.md index 8afce52826d..a74b5a19c08 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/README.md +++ b/clients/google-api-services-documentai/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-documentai - v1-rev20260118-2.0.0 + v1-rev20260203-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-documentai:v1-rev20260118-2.0.0' + implementation 'com.google.apis:google-api-services-documentai:v1-rev20260203-2.0.0' } ``` diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/Document.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/Document.java index e20eb0e7250..9856357067f 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/Document.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/Document.java @@ -618,7 +618,10 @@ public Get set(String parameterName, Object value) { } } /** - * Lists information about the supported locations for this service. + * Lists information about the supported locations for this service. This method can be called in + * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project- + * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include + * public locations as well as private or other locations specifically visible to the project. * * Create a request for the method "locations.list". * @@ -642,7 +645,10 @@ public class List extends DocumentRequest10 or could change frequently use the + * 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. * The value may be {@code null}. @@ -75,8 +75,8 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType extend * 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 + * `[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. * The value may be {@code null}. @@ -163,7 +163,7 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType setEntityTypeMetad /** * 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 + * 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. * @return value or {@code null} for none @@ -174,7 +174,7 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues getEnumV /** * 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 + * 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. * @param enumValues enumValues or {@code null} for none @@ -188,8 +188,8 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType setEnumValues(Goog * 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 + * `[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. * @return value or {@code null} for none @@ -202,8 +202,8 @@ public java.lang.String getName() { * 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 + * `[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. * @param name name or {@code null} for none diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata.java index 205471edb21..812408dd194 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata.java @@ -53,7 +53,7 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata extends private java.lang.Boolean prefixedNamingOnProperties; /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * The value may be {@code null}. @@ -115,7 +115,7 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata setPrefixedNamingOnP } /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * @return value or {@code null} for none @@ -125,7 +125,7 @@ public java.lang.Boolean getSkipNamingValidation() { } /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * @param skipNamingValidation skipNamingValidation or {@code null} for none diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3EvaluationMetrics.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3EvaluationMetrics.java index 0a1ff99f378..ce17821284f 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3EvaluationMetrics.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3EvaluationMetrics.java @@ -31,7 +31,7 @@ public final class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics extends com.google.api.client.json.GenericJson { /** - * The calculated f1 score. + * The calculated F1 score. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -108,7 +108,7 @@ public final class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics extends com.g private java.lang.Integer truePositivesCount; /** - * The calculated f1 score. + * The calculated F1 score. * @return value or {@code null} for none */ public java.lang.Float getF1Score() { @@ -116,7 +116,7 @@ public java.lang.Float getF1Score() { } /** - * The calculated f1 score. + * The calculated F1 score. * @param f1Score f1Score or {@code null} for none */ public GoogleCloudDocumentaiUiv1beta3EvaluationMetrics setF1Score(java.lang.Float f1Score) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java index c72f63a4b6b..684e9514091 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java @@ -31,21 +31,21 @@ public final class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo extends com.google.api.client.json.GenericJson { /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean finetuningAllowed; /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer minTrainLabeledDocuments; /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * @return value or {@code null} for none */ public java.lang.Boolean getFinetuningAllowed() { @@ -53,7 +53,7 @@ public java.lang.Boolean getFinetuningAllowed() { } /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * @param finetuningAllowed finetuningAllowed or {@code null} for none */ public GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setFinetuningAllowed(java.lang.Boolean finetuningAllowed) { @@ -62,7 +62,7 @@ public GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGen } /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * @return value or {@code null} for none */ public java.lang.Integer getMinTrainLabeledDocuments() { @@ -70,7 +70,7 @@ public java.lang.Integer getMinTrainLabeledDocuments() { } /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * @param minTrainLabeledDocuments minTrainLabeledDocuments or {@code null} for none */ public GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setMinTrainLabeledDocuments(java.lang.Integer minTrainLabeledDocuments) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3Schema.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3Schema.java index 80ae2167190..1e8536639dc 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3Schema.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3Schema.java @@ -38,7 +38,7 @@ public final class GoogleCloudDocumentaiUiv1beta3Schema extends com.google.api.c private java.lang.String description; /** - * Display name to show to users. + * Display name to show users. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -69,7 +69,7 @@ public GoogleCloudDocumentaiUiv1beta3Schema setDescription(java.lang.String desc } /** - * Display name to show to users. + * Display name to show users. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { @@ -77,7 +77,7 @@ public java.lang.String getDisplayName() { } /** - * Display name to show to users. + * Display name to show users. * @param displayName displayName or {@code null} for none */ public GoogleCloudDocumentaiUiv1beta3Schema setDisplayName(java.lang.String displayName) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1Document.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1Document.java index 0c26236be80..411126c19a6 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1Document.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1Document.java @@ -70,7 +70,7 @@ public final class GoogleCloudDocumentaiV1Document extends com.google.api.client private java.util.List entities; /** - * The entity revision id that `document.entities` field is based on. If this field is set and + * The entity revision ID that `document.entities` field is based on. If this field is set and * `entities_revisions` is not empty, the entities in `document.entities` field are the entities * in the entity revision with this id and `document.entity_validation_output` field is the * `entity_validation_output` field in this entity revision. @@ -292,7 +292,7 @@ public GoogleCloudDocumentaiV1Document setEntities(java.util.List transforms; /** - * A list of detected non-text visual elements e.g. checkbox, signature etc. on the page. + * A list of detected non-text visual elements, for example, checkbox, signature etc. on the page. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -437,7 +437,7 @@ public GoogleCloudDocumentaiV1DocumentPage setTransforms(java.util.List getVisualElements() { @@ -445,7 +445,7 @@ public java.util.List getVisua } /** - * A list of detected non-text visual elements e.g. checkbox, signature etc. on the page. + * A list of detected non-text visual elements, for example, checkbox, signature etc. on the page. * @param visualElements visualElements or {@code null} for none */ public GoogleCloudDocumentaiV1DocumentPage setVisualElements(java.util.List visualElements) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageFormField.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageFormField.java index dffa03561fd..8b242cf38c1 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageFormField.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageFormField.java @@ -47,7 +47,8 @@ public final class GoogleCloudDocumentaiV1DocumentPageFormField extends com.goog private java.lang.String correctedValueText; /** - * Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. + * Layout for the FormField name. For example, `Address`, `Email`, `Grand total`, `Phone number`, + * etc. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -140,7 +141,8 @@ public GoogleCloudDocumentaiV1DocumentPageFormField setCorrectedValueText(java.l } /** - * Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. + * Layout for the FormField name. For example, `Address`, `Email`, `Grand total`, `Phone number`, + * etc. * @return value or {@code null} for none */ public GoogleCloudDocumentaiV1DocumentPageLayout getFieldName() { @@ -148,7 +150,8 @@ public GoogleCloudDocumentaiV1DocumentPageLayout getFieldName() { } /** - * Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. + * Layout for the FormField name. For example, `Address`, `Email`, `Grand total`, `Phone number`, + * etc. * @param fieldName fieldName or {@code null} for none */ public GoogleCloudDocumentaiV1DocumentPageFormField setFieldName(GoogleCloudDocumentaiV1DocumentPageLayout fieldName) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageLayout.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageLayout.java index 4e62b50a406..e55f6d27bfa 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageLayout.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageLayout.java @@ -38,7 +38,7 @@ public final class GoogleCloudDocumentaiV1DocumentPageLayout extends com.google. private GoogleCloudDocumentaiV1BoundingPoly boundingPoly; /** - * Confidence of the current Layout within context of the object this layout is for. e.g. + * Confidence of the current Layout within context of the object this layout is for. For example, * confidence can be for a single token, a table, a visual element, etc. depending on context. * Range `[0, 1]`. * The value may be {@code null}. @@ -78,7 +78,7 @@ public GoogleCloudDocumentaiV1DocumentPageLayout setBoundingPoly(GoogleCloudDocu } /** - * Confidence of the current Layout within context of the object this layout is for. e.g. + * Confidence of the current Layout within context of the object this layout is for. For example, * confidence can be for a single token, a table, a visual element, etc. depending on context. * Range `[0, 1]`. * @return value or {@code null} for none @@ -88,7 +88,7 @@ public java.lang.Float getConfidence() { } /** - * Confidence of the current Layout within context of the object this layout is for. e.g. + * Confidence of the current Layout within context of the object this layout is for. For example, * confidence can be for a single token, a table, a visual element, etc. depending on context. * Range `[0, 1]`. * @param confidence confidence or {@code null} for none diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageVisualElement.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageVisualElement.java index 890b89eb881..817c6266150 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageVisualElement.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentPageVisualElement.java @@ -17,7 +17,7 @@ package com.google.api.services.documentai.v1.model; /** - * Detected non-text visual elements e.g. checkbox, signature etc. on the page. + * Detected non-text visual elements, for example, checkbox, signature etc. on the page. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Document AI API. For a detailed explanation diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentRevisionHumanReview.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentRevisionHumanReview.java index a46b86d7ca6..53ae0755cf9 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentRevisionHumanReview.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentRevisionHumanReview.java @@ -31,7 +31,7 @@ public final class GoogleCloudDocumentaiV1DocumentRevisionHumanReview extends com.google.api.client.json.GenericJson { /** - * Human review state. e.g. `requested`, `succeeded`, `rejected`. + * Human review state. For example, `requested`, `succeeded`, `rejected`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -46,7 +46,7 @@ public final class GoogleCloudDocumentaiV1DocumentRevisionHumanReview extends co private java.lang.String stateMessage; /** - * Human review state. e.g. `requested`, `succeeded`, `rejected`. + * Human review state. For example, `requested`, `succeeded`, `rejected`. * @return value or {@code null} for none */ public java.lang.String getState() { @@ -54,7 +54,7 @@ public java.lang.String getState() { } /** - * Human review state. e.g. `requested`, `succeeded`, `rejected`. + * Human review state. For example, `requested`, `succeeded`, `rejected`. * @param state state or {@code null} for none */ public GoogleCloudDocumentaiV1DocumentRevisionHumanReview setState(java.lang.String state) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchema.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchema.java index 8ebbeeb396a..e6c843a58fc 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchema.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchema.java @@ -38,7 +38,7 @@ public final class GoogleCloudDocumentaiV1DocumentSchema extends com.google.api. private java.lang.String description; /** - * Display name to show to users. + * Display name to show users. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -84,7 +84,7 @@ public GoogleCloudDocumentaiV1DocumentSchema setDescription(java.lang.String des } /** - * Display name to show to users. + * Display name to show users. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { @@ -92,7 +92,7 @@ public java.lang.String getDisplayName() { } /** - * Display name to show to users. + * Display name to show users. * @param displayName displayName or {@code null} for none */ public GoogleCloudDocumentaiV1DocumentSchema setDisplayName(java.lang.String displayName) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchemaEntityType.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchemaEntityType.java index 7b10164d872..89006dd66b9 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchemaEntityType.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchemaEntityType.java @@ -48,7 +48,7 @@ public final class GoogleCloudDocumentaiV1DocumentSchemaEntityType extends com.g /** * 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 + * 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. * The value may be {@code null}. @@ -60,8 +60,8 @@ public final class GoogleCloudDocumentaiV1DocumentSchemaEntityType extends com.g * 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 + * `[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. * The value may be {@code null}. @@ -112,7 +112,7 @@ public GoogleCloudDocumentaiV1DocumentSchemaEntityType setDisplayName(java.lang. /** * 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 + * 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. * @return value or {@code null} for none @@ -123,7 +123,7 @@ public GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues getEnumValues() /** * 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 + * 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. * @param enumValues enumValues or {@code null} for none @@ -137,8 +137,8 @@ public GoogleCloudDocumentaiV1DocumentSchemaEntityType setEnumValues(GoogleCloud * 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 + * `[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. * @return value or {@code null} for none @@ -151,8 +151,8 @@ public java.lang.String getName() { * 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 + * `[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. * @param name name or {@code null} for none diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchemaMetadata.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchemaMetadata.java index 10fb934c2b0..1e332910ca2 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchemaMetadata.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1DocumentSchemaMetadata.java @@ -53,7 +53,7 @@ public final class GoogleCloudDocumentaiV1DocumentSchemaMetadata extends com.goo private java.lang.Boolean prefixedNamingOnProperties; /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * The value may be {@code null}. @@ -115,7 +115,7 @@ public GoogleCloudDocumentaiV1DocumentSchemaMetadata setPrefixedNamingOnProperti } /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * @return value or {@code null} for none @@ -125,7 +125,7 @@ public java.lang.Boolean getSkipNamingValidation() { } /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * @param skipNamingValidation skipNamingValidation or {@code null} for none diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1Evaluation.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1Evaluation.java index a1981c48e53..55387392c69 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1Evaluation.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1Evaluation.java @@ -80,6 +80,13 @@ public final class GoogleCloudDocumentaiV1Evaluation extends com.google.api.clie @com.google.api.client.util.Key private java.lang.String name; + /** + * Contains all revisions of the evaluation, excluding the latest one. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List revisions; + /** * Metrics for all the entities in aggregate. * @return value or {@code null} for none @@ -201,6 +208,23 @@ public GoogleCloudDocumentaiV1Evaluation setName(java.lang.String name) { return this; } + /** + * Contains all revisions of the evaluation, excluding the latest one. + * @return value or {@code null} for none + */ + public java.util.List getRevisions() { + return revisions; + } + + /** + * Contains all revisions of the evaluation, excluding the latest one. + * @param revisions revisions or {@code null} for none + */ + public GoogleCloudDocumentaiV1Evaluation setRevisions(java.util.List revisions) { + this.revisions = revisions; + return this; + } + @Override public GoogleCloudDocumentaiV1Evaluation set(String fieldName, Object value) { return (GoogleCloudDocumentaiV1Evaluation) super.set(fieldName, value); diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1EvaluationEvaluationRevision.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1EvaluationEvaluationRevision.java new file mode 100644 index 00000000000..6c2f29dbb0d --- /dev/null +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1EvaluationEvaluationRevision.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.documentai.v1.model; + +/** + * A revision of the evaluation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Cloud Document AI API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDocumentaiV1EvaluationEvaluationRevision extends com.google.api.client.json.GenericJson { + + /** + * Output only. Metrics for all the entities in aggregate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics allEntitiesMetrics; + + /** + * Output only. Counters for the documents used in the evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDocumentaiV1EvaluationCounters documentCounters; + + /** + * Output only. Metrics across confidence levels, for different entities. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map entityMetrics; + + /** + * Output only. The revision ID of the evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String revisionId; + + /** + * Output only. Metrics for all the entities in aggregate. + * @return value or {@code null} for none + */ + public GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics getAllEntitiesMetrics() { + return allEntitiesMetrics; + } + + /** + * Output only. Metrics for all the entities in aggregate. + * @param allEntitiesMetrics allEntitiesMetrics or {@code null} for none + */ + public GoogleCloudDocumentaiV1EvaluationEvaluationRevision setAllEntitiesMetrics(GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics allEntitiesMetrics) { + this.allEntitiesMetrics = allEntitiesMetrics; + return this; + } + + /** + * Output only. Counters for the documents used in the evaluation. + * @return value or {@code null} for none + */ + public GoogleCloudDocumentaiV1EvaluationCounters getDocumentCounters() { + return documentCounters; + } + + /** + * Output only. Counters for the documents used in the evaluation. + * @param documentCounters documentCounters or {@code null} for none + */ + public GoogleCloudDocumentaiV1EvaluationEvaluationRevision setDocumentCounters(GoogleCloudDocumentaiV1EvaluationCounters documentCounters) { + this.documentCounters = documentCounters; + return this; + } + + /** + * Output only. Metrics across confidence levels, for different entities. + * @return value or {@code null} for none + */ + public java.util.Map getEntityMetrics() { + return entityMetrics; + } + + /** + * Output only. Metrics across confidence levels, for different entities. + * @param entityMetrics entityMetrics or {@code null} for none + */ + public GoogleCloudDocumentaiV1EvaluationEvaluationRevision setEntityMetrics(java.util.Map entityMetrics) { + this.entityMetrics = entityMetrics; + return this; + } + + /** + * Output only. The revision ID of the evaluation. + * @return value or {@code null} for none + */ + public java.lang.String getRevisionId() { + return revisionId; + } + + /** + * Output only. The revision ID of the evaluation. + * @param revisionId revisionId or {@code null} for none + */ + public GoogleCloudDocumentaiV1EvaluationEvaluationRevision setRevisionId(java.lang.String revisionId) { + this.revisionId = revisionId; + return this; + } + + @Override + public GoogleCloudDocumentaiV1EvaluationEvaluationRevision set(String fieldName, Object value) { + return (GoogleCloudDocumentaiV1EvaluationEvaluationRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudDocumentaiV1EvaluationEvaluationRevision clone() { + return (GoogleCloudDocumentaiV1EvaluationEvaluationRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1EvaluationMetrics.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1EvaluationMetrics.java index bf24b821635..ce80ca49178 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1EvaluationMetrics.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1EvaluationMetrics.java @@ -31,7 +31,7 @@ public final class GoogleCloudDocumentaiV1EvaluationMetrics extends com.google.api.client.json.GenericJson { /** - * The calculated f1 score. + * The calculated F1 score. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -108,7 +108,7 @@ public final class GoogleCloudDocumentaiV1EvaluationMetrics extends com.google.a private java.lang.Integer truePositivesCount; /** - * The calculated f1 score. + * The calculated F1 score. * @return value or {@code null} for none */ public java.lang.Float getF1Score() { @@ -116,7 +116,7 @@ public java.lang.Float getF1Score() { } /** - * The calculated f1 score. + * The calculated F1 score. * @param f1Score f1Score or {@code null} for none */ public GoogleCloudDocumentaiV1EvaluationMetrics setF1Score(java.lang.Float f1Score) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1NextSchema.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1NextSchema.java index 851a08c4b03..5da9b943776 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1NextSchema.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1NextSchema.java @@ -45,7 +45,7 @@ public final class GoogleCloudDocumentaiV1NextSchema extends com.google.api.clie private java.lang.String displayName; /** - * Optional. The GCP labels for the Schema. + * Optional. The {{gcp_name_short}} labels for the Schema. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -101,7 +101,7 @@ public GoogleCloudDocumentaiV1NextSchema setDisplayName(java.lang.String display } /** - * Optional. The GCP labels for the Schema. + * Optional. The {{gcp_name_short}} labels for the Schema. * @return value or {@code null} for none */ public java.util.Map getLabels() { @@ -109,7 +109,7 @@ public java.util.Map getLabels() { } /** - * Optional. The GCP labels for the Schema. + * Optional. The {{gcp_name_short}} labels for the Schema. * @param labels labels or {@code null} for none */ public GoogleCloudDocumentaiV1NextSchema setLabels(java.util.Map labels) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java index 4bad753d443..94fdb9a6210 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java @@ -31,21 +31,21 @@ public final class GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo extends com.google.api.client.json.GenericJson { /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean finetuningAllowed; /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer minTrainLabeledDocuments; /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * @return value or {@code null} for none */ public java.lang.Boolean getFinetuningAllowed() { @@ -53,7 +53,7 @@ public java.lang.Boolean getFinetuningAllowed() { } /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * @param finetuningAllowed finetuningAllowed or {@code null} for none */ public GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setFinetuningAllowed(java.lang.Boolean finetuningAllowed) { @@ -62,7 +62,7 @@ public GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModel } /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * @return value or {@code null} for none */ public java.lang.Integer getMinTrainLabeledDocuments() { @@ -70,7 +70,7 @@ public java.lang.Integer getMinTrainLabeledDocuments() { } /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * @param minTrainLabeledDocuments minTrainLabeledDocuments or {@code null} for none */ public GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setMinTrainLabeledDocuments(java.lang.Integer minTrainLabeledDocuments) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1SchemaVersion.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1SchemaVersion.java index ed4a8060685..1652fdf9b4a 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1SchemaVersion.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1SchemaVersion.java @@ -45,7 +45,7 @@ public final class GoogleCloudDocumentaiV1SchemaVersion extends com.google.api.c private java.lang.String displayName; /** - * Optional. The GCP labels for the SchemaVersion. + * Optional. The {{gcp_name_short}} labels for the SchemaVersion. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -101,7 +101,7 @@ public GoogleCloudDocumentaiV1SchemaVersion setDisplayName(java.lang.String disp } /** - * Optional. The GCP labels for the SchemaVersion. + * Optional. The {{gcp_name_short}} labels for the SchemaVersion. * @return value or {@code null} for none */ public java.util.Map getLabels() { @@ -109,7 +109,7 @@ public java.util.Map getLabels() { } /** - * Optional. The GCP labels for the SchemaVersion. + * Optional. The {{gcp_name_short}} labels for the SchemaVersion. * @param labels labels or {@code null} for none */ public GoogleCloudDocumentaiV1SchemaVersion setLabels(java.util.Map labels) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3Dataset.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3Dataset.java index d0fcd4f2055..0b8167ec90d 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3Dataset.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3Dataset.java @@ -67,14 +67,6 @@ public final class GoogleCloudDocumentaiV1beta3Dataset extends com.google.api.cl @com.google.api.client.util.Key private java.lang.Boolean satisfiesPzs; - /** - * Optional. A lightweight indexing source with low latency and high reliability, but lacking - * advanced features like CMEK and content-based search. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig spannerIndexingConfig; - /** * Required. State of the dataset. Ignored when updating dataset. * The value may be {@code null}. @@ -179,25 +171,6 @@ public GoogleCloudDocumentaiV1beta3Dataset setSatisfiesPzs(java.lang.Boolean sat return this; } - /** - * Optional. A lightweight indexing source with low latency and high reliability, but lacking - * advanced features like CMEK and content-based search. - * @return value or {@code null} for none - */ - public GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig getSpannerIndexingConfig() { - return spannerIndexingConfig; - } - - /** - * Optional. A lightweight indexing source with low latency and high reliability, but lacking - * advanced features like CMEK and content-based search. - * @param spannerIndexingConfig spannerIndexingConfig or {@code null} for none - */ - public GoogleCloudDocumentaiV1beta3Dataset setSpannerIndexingConfig(GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig spannerIndexingConfig) { - this.spannerIndexingConfig = spannerIndexingConfig; - return this; - } - /** * Required. State of the dataset. Ignored when updating dataset. * @return value or {@code null} for none diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig.java deleted file mode 100644 index 6546959a6fb..00000000000 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.documentai.v1.model; - -/** - * Configuration specific to spanner-based indexing. - * - *

This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Cloud Document AI API. For a detailed explanation - * see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *

- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig extends com.google.api.client.json.GenericJson { - - @Override - public GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig set(String fieldName, Object value) { - return (GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig) super.set(fieldName, value); - } - - @Override - public GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig clone() { - return (GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig) super.clone(); - } - -} diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchema.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchema.java index 65124b14198..5b7b1790256 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchema.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchema.java @@ -38,7 +38,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentSchema extends com.google private java.lang.String description; /** - * Display name to show to users. + * Display name to show users. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -84,7 +84,7 @@ public GoogleCloudDocumentaiV1beta3DocumentSchema setDescription(java.lang.Strin } /** - * Display name to show to users. + * Display name to show users. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { @@ -92,7 +92,7 @@ public java.lang.String getDisplayName() { } /** - * Display name to show to users. + * Display name to show users. * @param displayName displayName or {@code null} for none */ public GoogleCloudDocumentaiV1beta3DocumentSchema setDisplayName(java.lang.String displayName) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.java index 92ef2352c5f..a8774976795 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.java @@ -63,7 +63,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType extends /** * 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 + * 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. * The value may be {@code null}. @@ -75,8 +75,8 @@ public final class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType extends * 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 + * `[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. * The value may be {@code null}. @@ -163,7 +163,7 @@ public GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType setEntityTypeMetadat /** * 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 + * 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. * @return value or {@code null} for none @@ -174,7 +174,7 @@ public GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues getEnumVal /** * 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 + * 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. * @param enumValues enumValues or {@code null} for none @@ -188,8 +188,8 @@ public GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType setEnumValues(Google * 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 + * `[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. * @return value or {@code null} for none @@ -202,8 +202,8 @@ public java.lang.String getName() { * 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 + * `[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. * @param name name or {@code null} for none diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata.java index 375dbb844ab..4e34d08618c 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata.java @@ -53,7 +53,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata extends co private java.lang.Boolean prefixedNamingOnProperties; /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * The value may be {@code null}. @@ -115,7 +115,7 @@ public GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata setPrefixedNamingOnPro } /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * @return value or {@code null} for none @@ -125,7 +125,7 @@ public java.lang.Boolean getSkipNamingValidation() { } /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * @param skipNamingValidation skipNamingValidation or {@code null} for none diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3EvaluationMetrics.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3EvaluationMetrics.java index ecc6ec26615..318a0679256 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3EvaluationMetrics.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3EvaluationMetrics.java @@ -31,7 +31,7 @@ public final class GoogleCloudDocumentaiV1beta3EvaluationMetrics extends com.google.api.client.json.GenericJson { /** - * The calculated f1 score. + * The calculated F1 score. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -108,7 +108,7 @@ public final class GoogleCloudDocumentaiV1beta3EvaluationMetrics extends com.goo private java.lang.Integer truePositivesCount; /** - * The calculated f1 score. + * The calculated F1 score. * @return value or {@code null} for none */ public java.lang.Float getF1Score() { @@ -116,7 +116,7 @@ public java.lang.Float getF1Score() { } /** - * The calculated f1 score. + * The calculated F1 score. * @param f1Score f1Score or {@code null} for none */ public GoogleCloudDocumentaiV1beta3EvaluationMetrics setF1Score(java.lang.Float f1Score) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java index 8ee9567bbc2..71ab37dab4f 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java +++ b/clients/google-api-services-documentai/v1/2.0.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java @@ -31,21 +31,21 @@ public final class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo extends com.google.api.client.json.GenericJson { /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean finetuningAllowed; /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer minTrainLabeledDocuments; /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * @return value or {@code null} for none */ public java.lang.Boolean getFinetuningAllowed() { @@ -53,7 +53,7 @@ public java.lang.Boolean getFinetuningAllowed() { } /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * @param finetuningAllowed finetuningAllowed or {@code null} for none */ public GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setFinetuningAllowed(java.lang.Boolean finetuningAllowed) { @@ -62,7 +62,7 @@ public GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAi } /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * @return value or {@code null} for none */ public java.lang.Integer getMinTrainLabeledDocuments() { @@ -70,7 +70,7 @@ public java.lang.Integer getMinTrainLabeledDocuments() { } /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * @param minTrainLabeledDocuments minTrainLabeledDocuments or {@code null} for none */ public GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setMinTrainLabeledDocuments(java.lang.Integer minTrainLabeledDocuments) { diff --git a/clients/google-api-services-documentai/v1/2.0.0/pom.xml b/clients/google-api-services-documentai/v1/2.0.0/pom.xml index 79a37016b48..ce853ec083a 100644 --- a/clients/google-api-services-documentai/v1/2.0.0/pom.xml +++ b/clients/google-api-services-documentai/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-documentai - v1-rev20260118-2.0.0 - Cloud Document AI API v1-rev20260118-2.0.0 + v1-rev20260203-2.0.0 + Cloud Document AI API v1-rev20260203-2.0.0 jar 2011 diff --git a/clients/google-api-services-documentai/v1/README.md b/clients/google-api-services-documentai/v1/README.md index 8afce52826d..a74b5a19c08 100644 --- a/clients/google-api-services-documentai/v1/README.md +++ b/clients/google-api-services-documentai/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-documentai - v1-rev20260118-2.0.0 + v1-rev20260203-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-documentai:v1-rev20260118-2.0.0' + implementation 'com.google.apis:google-api-services-documentai:v1-rev20260203-2.0.0' } ``` diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/README.md b/clients/google-api-services-documentai/v1beta3/2.0.0/README.md index a7c3c6fb4e0..25b78913c0f 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/README.md +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-documentai - v1beta3-rev20260118-2.0.0 + v1beta3-rev20260203-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-documentai:v1beta3-rev20260118-2.0.0' + implementation 'com.google.apis:google-api-services-documentai:v1beta3-rev20260203-2.0.0' } ``` diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/Document.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/Document.java index fd19e240984..fca331db19b 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/Document.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/Document.java @@ -462,7 +462,10 @@ public Get set(String parameterName, Object value) { } } /** - * Lists information about the supported locations for this service. + * Lists information about the supported locations for this service. This method can be called in + * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project- + * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include + * public locations as well as private or other locations specifically visible to the project. * * Create a request for the method "locations.list". * @@ -486,7 +489,10 @@ public class List extends DocumentRequest10 or could change frequently use the + * 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. * The value may be {@code null}. @@ -75,8 +75,8 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType extend * 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 + * `[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. * The value may be {@code null}. @@ -163,7 +163,7 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType setEntityTypeMetad /** * 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 + * 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. * @return value or {@code null} for none @@ -174,7 +174,7 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues getEnumV /** * 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 + * 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. * @param enumValues enumValues or {@code null} for none @@ -188,8 +188,8 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType setEnumValues(Goog * 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 + * `[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. * @return value or {@code null} for none @@ -202,8 +202,8 @@ public java.lang.String getName() { * 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 + * `[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. * @param name name or {@code null} for none diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata.java index 060d6957adc..3595f0d8bed 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata.java @@ -53,7 +53,7 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata extends private java.lang.Boolean prefixedNamingOnProperties; /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * The value may be {@code null}. @@ -115,7 +115,7 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata setPrefixedNamingOnP } /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * @return value or {@code null} for none @@ -125,7 +125,7 @@ public java.lang.Boolean getSkipNamingValidation() { } /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * @param skipNamingValidation skipNamingValidation or {@code null} for none diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3EvaluationMetrics.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3EvaluationMetrics.java index 5c4a7202c06..17e9af8aabd 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3EvaluationMetrics.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3EvaluationMetrics.java @@ -31,7 +31,7 @@ public final class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics extends com.google.api.client.json.GenericJson { /** - * The calculated f1 score. + * The calculated F1 score. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -108,7 +108,7 @@ public final class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics extends com.g private java.lang.Integer truePositivesCount; /** - * The calculated f1 score. + * The calculated F1 score. * @return value or {@code null} for none */ public java.lang.Float getF1Score() { @@ -116,7 +116,7 @@ public java.lang.Float getF1Score() { } /** - * The calculated f1 score. + * The calculated F1 score. * @param f1Score f1Score or {@code null} for none */ public GoogleCloudDocumentaiUiv1beta3EvaluationMetrics setF1Score(java.lang.Float f1Score) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java index 1ac377bd16a..be52c6ae7d1 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java @@ -31,21 +31,21 @@ public final class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo extends com.google.api.client.json.GenericJson { /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean finetuningAllowed; /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer minTrainLabeledDocuments; /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * @return value or {@code null} for none */ public java.lang.Boolean getFinetuningAllowed() { @@ -53,7 +53,7 @@ public java.lang.Boolean getFinetuningAllowed() { } /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * @param finetuningAllowed finetuningAllowed or {@code null} for none */ public GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setFinetuningAllowed(java.lang.Boolean finetuningAllowed) { @@ -62,7 +62,7 @@ public GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGen } /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * @return value or {@code null} for none */ public java.lang.Integer getMinTrainLabeledDocuments() { @@ -70,7 +70,7 @@ public java.lang.Integer getMinTrainLabeledDocuments() { } /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * @param minTrainLabeledDocuments minTrainLabeledDocuments or {@code null} for none */ public GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setMinTrainLabeledDocuments(java.lang.Integer minTrainLabeledDocuments) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3Schema.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3Schema.java index 707e7871f02..e4ebfc579d6 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3Schema.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiUiv1beta3Schema.java @@ -38,7 +38,7 @@ public final class GoogleCloudDocumentaiUiv1beta3Schema extends com.google.api.c private java.lang.String description; /** - * Display name to show to users. + * Display name to show users. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -69,7 +69,7 @@ public GoogleCloudDocumentaiUiv1beta3Schema setDescription(java.lang.String desc } /** - * Display name to show to users. + * Display name to show users. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { @@ -77,7 +77,7 @@ public java.lang.String getDisplayName() { } /** - * Display name to show to users. + * Display name to show users. * @param displayName displayName or {@code null} for none */ public GoogleCloudDocumentaiUiv1beta3Schema setDisplayName(java.lang.String displayName) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Dataset.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Dataset.java index 663a3b02f70..fd48e51d0f6 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Dataset.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Dataset.java @@ -67,14 +67,6 @@ public final class GoogleCloudDocumentaiV1beta3Dataset extends com.google.api.cl @com.google.api.client.util.Key private java.lang.Boolean satisfiesPzs; - /** - * Optional. A lightweight indexing source with low latency and high reliability, but lacking - * advanced features like CMEK and content-based search. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig spannerIndexingConfig; - /** * Required. State of the dataset. Ignored when updating dataset. * The value may be {@code null}. @@ -179,25 +171,6 @@ public GoogleCloudDocumentaiV1beta3Dataset setSatisfiesPzs(java.lang.Boolean sat return this; } - /** - * Optional. A lightweight indexing source with low latency and high reliability, but lacking - * advanced features like CMEK and content-based search. - * @return value or {@code null} for none - */ - public GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig getSpannerIndexingConfig() { - return spannerIndexingConfig; - } - - /** - * Optional. A lightweight indexing source with low latency and high reliability, but lacking - * advanced features like CMEK and content-based search. - * @param spannerIndexingConfig spannerIndexingConfig or {@code null} for none - */ - public GoogleCloudDocumentaiV1beta3Dataset setSpannerIndexingConfig(GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig spannerIndexingConfig) { - this.spannerIndexingConfig = spannerIndexingConfig; - return this; - } - /** * Required. State of the dataset. Ignored when updating dataset. * @return value or {@code null} for none diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig.java deleted file mode 100644 index 60a10818f1d..00000000000 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.documentai.v1beta3.model; - -/** - * Configuration specific to spanner-based indexing. - * - *

This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Cloud Document AI API. For a detailed explanation - * see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *

- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig extends com.google.api.client.json.GenericJson { - - @Override - public GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig set(String fieldName, Object value) { - return (GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig) super.set(fieldName, value); - } - - @Override - public GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig clone() { - return (GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig) super.clone(); - } - -} diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Document.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Document.java index 136ed6fd271..0e6458ba970 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Document.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Document.java @@ -34,8 +34,8 @@ public final class GoogleCloudDocumentaiV1beta3Document extends com.google.api.c /** * Optional. The blob assets in this document. This is used to store the content of the inline - * blobs in this document, e.g. image bytes, such that it can be referenced by other fields in the - * document via asset id. + * blobs in this document, for example, image bytes, such that it can be referenced by other + * fields in the document via asset id. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -79,7 +79,7 @@ public final class GoogleCloudDocumentaiV1beta3Document extends com.google.api.c private java.util.List entities; /** - * The entity revision id that `document.entities` field is based on. If this field is set and + * The entity revision ID that `document.entities` field is based on. If this field is set and * `entities_revisions` is not empty, the entities in `document.entities` field are the entities * in the entity revision with this id and `document.entity_validation_output` field is the * `entity_validation_output` field in this entity revision. @@ -183,8 +183,8 @@ public final class GoogleCloudDocumentaiV1beta3Document extends com.google.api.c /** * Optional. The blob assets in this document. This is used to store the content of the inline - * blobs in this document, e.g. image bytes, such that it can be referenced by other fields in the - * document via asset id. + * blobs in this document, for example, image bytes, such that it can be referenced by other + * fields in the document via asset id. * @return value or {@code null} for none */ public java.util.List getBlobAssets() { @@ -193,8 +193,8 @@ public java.util.List getBlobAsse /** * Optional. The blob assets in this document. This is used to store the content of the inline - * blobs in this document, e.g. image bytes, such that it can be referenced by other fields in the - * document via asset id. + * blobs in this document, for example, image bytes, such that it can be referenced by other + * fields in the document via asset id. * @param blobAssets blobAssets or {@code null} for none */ public GoogleCloudDocumentaiV1beta3Document setBlobAssets(java.util.List blobAssets) { @@ -322,7 +322,7 @@ public GoogleCloudDocumentaiV1beta3Document setEntities(java.util.List This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Document AI API. For a detailed explanation @@ -39,7 +40,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentBlobAsset extends com.goo private java.lang.String assetId; /** - * Optional. The content of the blob asset, e.g. image bytes. + * Optional. The content of the blob asset, for example, image bytes. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -71,7 +72,7 @@ public GoogleCloudDocumentaiV1beta3DocumentBlobAsset setAssetId(java.lang.String } /** - * Optional. The content of the blob asset, e.g. image bytes. + * Optional. The content of the blob asset, for example, image bytes. * @see #decodeContent() * @return value or {@code null} for none */ @@ -80,7 +81,7 @@ public java.lang.String getContent() { } /** - * Optional. The content of the blob asset, e.g. image bytes. + * Optional. The content of the blob asset, for example, image bytes. * @see #getContent() * @return Base64 decoded value or {@code null} for none * @@ -91,7 +92,7 @@ public byte[] decodeContent() { } /** - * Optional. The content of the blob asset, e.g. image bytes. + * Optional. The content of the blob asset, for example, image bytes. * @see #encodeContent() * @param content content or {@code null} for none */ @@ -101,7 +102,7 @@ public GoogleCloudDocumentaiV1beta3DocumentBlobAsset setContent(java.lang.String } /** - * Optional. The content of the blob asset, e.g. image bytes. + * Optional. The content of the blob asset, for example, image bytes. * @see #setContent() * *

diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField.java index 64f3212578a..0b2368cedef 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkField.java @@ -17,8 +17,8 @@ package com.google.api.services.documentai.v1beta3.model; /** - * The chunk field in the chunk. A chunk field could be one of the various types (e.g. image, table) - * supported. + * The chunk field in the chunk. A chunk field could be one of the various types (for example, + * image, table) supported. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Document AI API. For a detailed explanation diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentEntity.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentEntity.java index b2dc5d062c3..e0fceb4e617 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentEntity.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentEntity.java @@ -53,7 +53,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentEntity extends com.google private java.lang.String mentionId; /** - * Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. + * Optional. Text value of the entity, for example, `1600 Amphitheatre Pkwy`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -68,8 +68,8 @@ public final class GoogleCloudDocumentaiV1beta3DocumentEntity extends com.google /** * Optional. Normalized entity value. Absent if the extracted value could not be converted or the - * type (e.g. address) is not supported for certain parsers. This field is also only populated for - * certain supported document types. + * type (for example, address) is not supported for certain parsers. This field is also only + * populated for certain supported document types. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -113,7 +113,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentEntity extends com.google private GoogleCloudDocumentaiV1beta3DocumentTextAnchor textAnchor; /** - * Required. Entity type from a schema e.g. `Address`. + * Required. Entity type from a schema, for example, `Address`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -171,7 +171,7 @@ public GoogleCloudDocumentaiV1beta3DocumentEntity setMentionId(java.lang.String } /** - * Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. + * Optional. Text value of the entity, for example, `1600 Amphitheatre Pkwy`. * @return value or {@code null} for none */ public java.lang.String getMentionText() { @@ -179,7 +179,7 @@ public java.lang.String getMentionText() { } /** - * Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. + * Optional. Text value of the entity, for example, `1600 Amphitheatre Pkwy`. * @param mentionText mentionText or {@code null} for none */ public GoogleCloudDocumentaiV1beta3DocumentEntity setMentionText(java.lang.String mentionText) { @@ -206,8 +206,8 @@ public GoogleCloudDocumentaiV1beta3DocumentEntity setMethod(java.lang.String met /** * Optional. Normalized entity value. Absent if the extracted value could not be converted or the - * type (e.g. address) is not supported for certain parsers. This field is also only populated for - * certain supported document types. + * type (for example, address) is not supported for certain parsers. This field is also only + * populated for certain supported document types. * @return value or {@code null} for none */ public GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue getNormalizedValue() { @@ -216,8 +216,8 @@ public GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue getNormalizedVa /** * Optional. Normalized entity value. Absent if the extracted value could not be converted or the - * type (e.g. address) is not supported for certain parsers. This field is also only populated for - * certain supported document types. + * type (for example, address) is not supported for certain parsers. This field is also only + * populated for certain supported document types. * @param normalizedValue normalizedValue or {@code null} for none */ public GoogleCloudDocumentaiV1beta3DocumentEntity setNormalizedValue(GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue normalizedValue) { @@ -315,7 +315,7 @@ public GoogleCloudDocumentaiV1beta3DocumentEntity setTextAnchor(GoogleCloudDocum } /** - * Required. Entity type from a schema e.g. `Address`. + * Required. Entity type from a schema, for example, `Address`. * @return value or {@code null} for none */ public java.lang.String getType() { @@ -323,7 +323,7 @@ public java.lang.String getType() { } /** - * Required. Entity type from a schema e.g. `Address`. + * Required. Entity type from a schema, for example, `Address`. * @param type type or {@code null} for none */ public GoogleCloudDocumentaiV1beta3DocumentEntity setType(java.lang.String type) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPage.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPage.java index 96043733bf4..edae40853fe 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPage.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPage.java @@ -148,7 +148,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentPage extends com.google.a private java.util.List transforms; /** - * A list of detected non-text visual elements e.g. checkbox, signature etc. on the page. + * A list of detected non-text visual elements, for example, checkbox, signature etc. on the page. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -437,7 +437,7 @@ public GoogleCloudDocumentaiV1beta3DocumentPage setTransforms(java.util.List getVisualElements() { @@ -445,7 +445,7 @@ public java.util.List get } /** - * A list of detected non-text visual elements e.g. checkbox, signature etc. on the page. + * A list of detected non-text visual elements, for example, checkbox, signature etc. on the page. * @param visualElements visualElements or {@code null} for none */ public GoogleCloudDocumentaiV1beta3DocumentPage setVisualElements(java.util.List visualElements) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageFormField.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageFormField.java index b547a8393a2..29062154c1c 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageFormField.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageFormField.java @@ -47,7 +47,8 @@ public final class GoogleCloudDocumentaiV1beta3DocumentPageFormField extends com private java.lang.String correctedValueText; /** - * Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. + * Layout for the FormField name. For example, `Address`, `Email`, `Grand total`, `Phone number`, + * etc. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -140,7 +141,8 @@ public GoogleCloudDocumentaiV1beta3DocumentPageFormField setCorrectedValueText(j } /** - * Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. + * Layout for the FormField name. For example, `Address`, `Email`, `Grand total`, `Phone number`, + * etc. * @return value or {@code null} for none */ public GoogleCloudDocumentaiV1beta3DocumentPageLayout getFieldName() { @@ -148,7 +150,8 @@ public GoogleCloudDocumentaiV1beta3DocumentPageLayout getFieldName() { } /** - * Layout for the FormField name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. + * Layout for the FormField name. For example, `Address`, `Email`, `Grand total`, `Phone number`, + * etc. * @param fieldName fieldName or {@code null} for none */ public GoogleCloudDocumentaiV1beta3DocumentPageFormField setFieldName(GoogleCloudDocumentaiV1beta3DocumentPageLayout fieldName) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageLayout.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageLayout.java index 89a2893a19c..4698be20210 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageLayout.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageLayout.java @@ -38,7 +38,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentPageLayout extends com.go private GoogleCloudDocumentaiV1beta3BoundingPoly boundingPoly; /** - * Confidence of the current Layout within context of the object this layout is for. e.g. + * Confidence of the current Layout within context of the object this layout is for. For example, * confidence can be for a single token, a table, a visual element, etc. depending on context. * Range `[0, 1]`. * The value may be {@code null}. @@ -78,7 +78,7 @@ public GoogleCloudDocumentaiV1beta3DocumentPageLayout setBoundingPoly(GoogleClou } /** - * Confidence of the current Layout within context of the object this layout is for. e.g. + * Confidence of the current Layout within context of the object this layout is for. For example, * confidence can be for a single token, a table, a visual element, etc. depending on context. * Range `[0, 1]`. * @return value or {@code null} for none @@ -88,7 +88,7 @@ public java.lang.Float getConfidence() { } /** - * Confidence of the current Layout within context of the object this layout is for. e.g. + * Confidence of the current Layout within context of the object this layout is for. For example, * confidence can be for a single token, a table, a visual element, etc. depending on context. * Range `[0, 1]`. * @param confidence confidence or {@code null} for none diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageVisualElement.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageVisualElement.java index e24b4eb0b37..65a09881b7c 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageVisualElement.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentPageVisualElement.java @@ -17,7 +17,7 @@ package com.google.api.services.documentai.v1beta3.model; /** - * Detected non-text visual elements e.g. checkbox, signature etc. on the page. + * Detected non-text visual elements, for example, checkbox, signature etc. on the page. * *

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Cloud Document AI API. For a detailed explanation diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview.java index 344766f3f4f..53288b19f6f 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview.java @@ -31,7 +31,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview extends com.google.api.client.json.GenericJson { /** - * Human review state. e.g. `requested`, `succeeded`, `rejected`. + * Human review state. For example, `requested`, `succeeded`, `rejected`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -46,7 +46,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview exten private java.lang.String stateMessage; /** - * Human review state. e.g. `requested`, `succeeded`, `rejected`. + * Human review state. For example, `requested`, `succeeded`, `rejected`. * @return value or {@code null} for none */ public java.lang.String getState() { @@ -54,7 +54,7 @@ public java.lang.String getState() { } /** - * Human review state. e.g. `requested`, `succeeded`, `rejected`. + * Human review state. For example, `requested`, `succeeded`, `rejected`. * @param state state or {@code null} for none */ public GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview setState(java.lang.String state) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchema.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchema.java index 453a1ee5983..83d3394bb19 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchema.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchema.java @@ -38,7 +38,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentSchema extends com.google private java.lang.String description; /** - * Display name to show to users. + * Display name to show users. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -84,7 +84,7 @@ public GoogleCloudDocumentaiV1beta3DocumentSchema setDescription(java.lang.Strin } /** - * Display name to show to users. + * Display name to show users. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { @@ -92,7 +92,7 @@ public java.lang.String getDisplayName() { } /** - * Display name to show to users. + * Display name to show users. * @param displayName displayName or {@code null} for none */ public GoogleCloudDocumentaiV1beta3DocumentSchema setDisplayName(java.lang.String displayName) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.java index 864e1841bf0..f4457617155 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.java @@ -63,7 +63,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType extends /** * 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 + * 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. * The value may be {@code null}. @@ -75,8 +75,8 @@ public final class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType extends * 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 + * `[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. * The value may be {@code null}. @@ -163,7 +163,7 @@ public GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType setEntityTypeMetadat /** * 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 + * 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. * @return value or {@code null} for none @@ -174,7 +174,7 @@ public GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues getEnumVal /** * 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 + * 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. * @param enumValues enumValues or {@code null} for none @@ -188,8 +188,8 @@ public GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType setEnumValues(Google * 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 + * `[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. * @return value or {@code null} for none @@ -202,8 +202,8 @@ public java.lang.String getName() { * 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 + * `[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. * @param name name or {@code null} for none diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata.java index 38c549c6a45..3ee4ff0c1f3 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata.java @@ -53,7 +53,7 @@ public final class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata extends co private java.lang.Boolean prefixedNamingOnProperties; /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * The value may be {@code null}. @@ -115,7 +115,7 @@ public GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata setPrefixedNamingOnPro } /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * @return value or {@code null} for none @@ -125,7 +125,7 @@ public java.lang.Boolean getSkipNamingValidation() { } /** - * If set, we will skip the naming format validation in the schema. So the string values in + * If set, this 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. * @param skipNamingValidation skipNamingValidation or {@code null} for none diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Evaluation.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Evaluation.java index 6caf5fd1b1c..5f5c51eb37f 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Evaluation.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3Evaluation.java @@ -80,6 +80,13 @@ public final class GoogleCloudDocumentaiV1beta3Evaluation extends com.google.api @com.google.api.client.util.Key private java.lang.String name; + /** + * Contains all revisions of the evaluation, excluding the latest one. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List revisions; + /** * Metrics for all the entities in aggregate. * @return value or {@code null} for none @@ -201,6 +208,23 @@ public GoogleCloudDocumentaiV1beta3Evaluation setName(java.lang.String name) { return this; } + /** + * Contains all revisions of the evaluation, excluding the latest one. + * @return value or {@code null} for none + */ + public java.util.List getRevisions() { + return revisions; + } + + /** + * Contains all revisions of the evaluation, excluding the latest one. + * @param revisions revisions or {@code null} for none + */ + public GoogleCloudDocumentaiV1beta3Evaluation setRevisions(java.util.List revisions) { + this.revisions = revisions; + return this; + } + @Override public GoogleCloudDocumentaiV1beta3Evaluation set(String fieldName, Object value) { return (GoogleCloudDocumentaiV1beta3Evaluation) super.set(fieldName, value); diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision.java new file mode 100644 index 00000000000..d75a3063d65 --- /dev/null +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.documentai.v1beta3.model; + +/** + * A revision of the evaluation. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Cloud Document AI API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision extends com.google.api.client.json.GenericJson { + + /** + * Output only. Metrics for all the entities in aggregate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics allEntitiesMetrics; + + /** + * Output only. Counters for the documents used in the evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDocumentaiV1beta3EvaluationCounters documentCounters; + + /** + * Output only. Metrics across confidence levels, for different entities. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map entityMetrics; + + /** + * Output only. The revision ID of the evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String revisionId; + + /** + * Output only. Metrics for all the entities in aggregate. + * @return value or {@code null} for none + */ + public GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics getAllEntitiesMetrics() { + return allEntitiesMetrics; + } + + /** + * Output only. Metrics for all the entities in aggregate. + * @param allEntitiesMetrics allEntitiesMetrics or {@code null} for none + */ + public GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision setAllEntitiesMetrics(GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics allEntitiesMetrics) { + this.allEntitiesMetrics = allEntitiesMetrics; + return this; + } + + /** + * Output only. Counters for the documents used in the evaluation. + * @return value or {@code null} for none + */ + public GoogleCloudDocumentaiV1beta3EvaluationCounters getDocumentCounters() { + return documentCounters; + } + + /** + * Output only. Counters for the documents used in the evaluation. + * @param documentCounters documentCounters or {@code null} for none + */ + public GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision setDocumentCounters(GoogleCloudDocumentaiV1beta3EvaluationCounters documentCounters) { + this.documentCounters = documentCounters; + return this; + } + + /** + * Output only. Metrics across confidence levels, for different entities. + * @return value or {@code null} for none + */ + public java.util.Map getEntityMetrics() { + return entityMetrics; + } + + /** + * Output only. Metrics across confidence levels, for different entities. + * @param entityMetrics entityMetrics or {@code null} for none + */ + public GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision setEntityMetrics(java.util.Map entityMetrics) { + this.entityMetrics = entityMetrics; + return this; + } + + /** + * Output only. The revision ID of the evaluation. + * @return value or {@code null} for none + */ + public java.lang.String getRevisionId() { + return revisionId; + } + + /** + * Output only. The revision ID of the evaluation. + * @param revisionId revisionId or {@code null} for none + */ + public GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision setRevisionId(java.lang.String revisionId) { + this.revisionId = revisionId; + return this; + } + + @Override + public GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision set(String fieldName, Object value) { + return (GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision clone() { + return (GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3EvaluationMetrics.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3EvaluationMetrics.java index 864b529e267..c23ecd82691 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3EvaluationMetrics.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3EvaluationMetrics.java @@ -31,7 +31,7 @@ public final class GoogleCloudDocumentaiV1beta3EvaluationMetrics extends com.google.api.client.json.GenericJson { /** - * The calculated f1 score. + * The calculated F1 score. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -108,7 +108,7 @@ public final class GoogleCloudDocumentaiV1beta3EvaluationMetrics extends com.goo private java.lang.Integer truePositivesCount; /** - * The calculated f1 score. + * The calculated F1 score. * @return value or {@code null} for none */ public java.lang.Float getF1Score() { @@ -116,7 +116,7 @@ public java.lang.Float getF1Score() { } /** - * The calculated f1 score. + * The calculated F1 score. * @param f1Score f1Score or {@code null} for none */ public GoogleCloudDocumentaiV1beta3EvaluationMetrics setF1Score(java.lang.Float f1Score) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3NextSchema.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3NextSchema.java index bc2edbf2d9f..c2945f56b2e 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3NextSchema.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3NextSchema.java @@ -45,7 +45,7 @@ public final class GoogleCloudDocumentaiV1beta3NextSchema extends com.google.api private java.lang.String displayName; /** - * Optional. The GCP labels for the Schema. + * Optional. The {{gcp_name_short}} labels for the Schema. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -101,7 +101,7 @@ public GoogleCloudDocumentaiV1beta3NextSchema setDisplayName(java.lang.String di } /** - * Optional. The GCP labels for the Schema. + * Optional. The {{gcp_name_short}} labels for the Schema. * @return value or {@code null} for none */ public java.util.Map getLabels() { @@ -109,7 +109,7 @@ public java.util.Map getLabels() { } /** - * Optional. The GCP labels for the Schema. + * Optional. The {{gcp_name_short}} labels for the Schema. * @param labels labels or {@code null} for none */ public GoogleCloudDocumentaiV1beta3NextSchema setLabels(java.util.Map labels) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig.java index 9f44d138ca1..6e28f44f261 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig.java @@ -32,8 +32,8 @@ public final class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkin /** * Optional. The percentile of cosine dissimilarity that must be exceeded between a group of - * tokens and the next. The smaller this number is, the more chunks will be generated. THIS FIELD - * IS NOT YET USED. + * tokens and the next. The smaller this number is, the more chunks will be generated. **Note:** + * This field is not yet used. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -54,8 +54,8 @@ public final class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkin private java.lang.Boolean includeAncestorHeadings; /** - * Optional. The number of tokens to group together when evaluating semantic similarity. THIS - * FIELD IS NOT YET USED. + * Optional. The number of tokens to group together when evaluating semantic similarity. **Note:** + * This field is not yet used. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -63,8 +63,8 @@ public final class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkin /** * Optional. The percentile of cosine dissimilarity that must be exceeded between a group of - * tokens and the next. The smaller this number is, the more chunks will be generated. THIS FIELD - * IS NOT YET USED. + * tokens and the next. The smaller this number is, the more chunks will be generated. **Note:** + * This field is not yet used. * @return value or {@code null} for none */ public java.lang.Integer getBreakpointPercentileThreshold() { @@ -73,8 +73,8 @@ public java.lang.Integer getBreakpointPercentileThreshold() { /** * Optional. The percentile of cosine dissimilarity that must be exceeded between a group of - * tokens and the next. The smaller this number is, the more chunks will be generated. THIS FIELD - * IS NOT YET USED. + * tokens and the next. The smaller this number is, the more chunks will be generated. **Note:** + * This field is not yet used. * @param breakpointPercentileThreshold breakpointPercentileThreshold or {@code null} for none */ public GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig setBreakpointPercentileThreshold(java.lang.Integer breakpointPercentileThreshold) { @@ -117,8 +117,8 @@ public GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig setI } /** - * Optional. The number of tokens to group together when evaluating semantic similarity. THIS - * FIELD IS NOT YET USED. + * Optional. The number of tokens to group together when evaluating semantic similarity. **Note:** + * This field is not yet used. * @return value or {@code null} for none */ public java.lang.Boolean getSemanticChunkingGroupSize() { @@ -126,8 +126,8 @@ public java.lang.Boolean getSemanticChunkingGroupSize() { } /** - * Optional. The number of tokens to group together when evaluating semantic similarity. THIS - * FIELD IS NOT YET USED. + * Optional. The number of tokens to group together when evaluating semantic similarity. **Note:** + * This field is not yet used. * @param semanticChunkingGroupSize semanticChunkingGroupSize or {@code null} for none */ public GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig setSemanticChunkingGroupSize(java.lang.Boolean semanticChunkingGroupSize) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java index 7c43d6d7f09..580d1e9ee03 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.java @@ -31,21 +31,21 @@ public final class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo extends com.google.api.client.json.GenericJson { /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean finetuningAllowed; /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer minTrainLabeledDocuments; /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * @return value or {@code null} for none */ public java.lang.Boolean getFinetuningAllowed() { @@ -53,7 +53,7 @@ public java.lang.Boolean getFinetuningAllowed() { } /** - * Whether finetuning is allowed for this base processor version. + * Whether fine tuning is allowed for this base processor version. * @param finetuningAllowed finetuningAllowed or {@code null} for none */ public GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setFinetuningAllowed(java.lang.Boolean finetuningAllowed) { @@ -62,7 +62,7 @@ public GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAi } /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * @return value or {@code null} for none */ public java.lang.Integer getMinTrainLabeledDocuments() { @@ -70,7 +70,7 @@ public java.lang.Integer getMinTrainLabeledDocuments() { } /** - * The minimum number of labeled documents in the training dataset required for finetuning. + * The minimum number of labeled documents in the training dataset required for fine tuning. * @param minTrainLabeledDocuments minTrainLabeledDocuments or {@code null} for none */ public GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo setMinTrainLabeledDocuments(java.lang.Integer minTrainLabeledDocuments) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3SchemaVersion.java b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3SchemaVersion.java index d28a84b5bb9..748c61aa22e 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3SchemaVersion.java +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3SchemaVersion.java @@ -45,7 +45,7 @@ public final class GoogleCloudDocumentaiV1beta3SchemaVersion extends com.google. private java.lang.String displayName; /** - * Optional. The GCP labels for the SchemaVersion. + * Optional. The {{gcp_name_short}} labels for the SchemaVersion. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -101,7 +101,7 @@ public GoogleCloudDocumentaiV1beta3SchemaVersion setDisplayName(java.lang.String } /** - * Optional. The GCP labels for the SchemaVersion. + * Optional. The {{gcp_name_short}} labels for the SchemaVersion. * @return value or {@code null} for none */ public java.util.Map getLabels() { @@ -109,7 +109,7 @@ public java.util.Map getLabels() { } /** - * Optional. The GCP labels for the SchemaVersion. + * Optional. The {{gcp_name_short}} labels for the SchemaVersion. * @param labels labels or {@code null} for none */ public GoogleCloudDocumentaiV1beta3SchemaVersion setLabels(java.util.Map labels) { diff --git a/clients/google-api-services-documentai/v1beta3/2.0.0/pom.xml b/clients/google-api-services-documentai/v1beta3/2.0.0/pom.xml index 6cbc0e669a6..9aebf14741a 100644 --- a/clients/google-api-services-documentai/v1beta3/2.0.0/pom.xml +++ b/clients/google-api-services-documentai/v1beta3/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-documentai - v1beta3-rev20260118-2.0.0 - Cloud Document AI API v1beta3-rev20260118-2.0.0 + v1beta3-rev20260203-2.0.0 + Cloud Document AI API v1beta3-rev20260203-2.0.0 jar 2011 diff --git a/clients/google-api-services-documentai/v1beta3/README.md b/clients/google-api-services-documentai/v1beta3/README.md index a7c3c6fb4e0..25b78913c0f 100644 --- a/clients/google-api-services-documentai/v1beta3/README.md +++ b/clients/google-api-services-documentai/v1beta3/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-documentai - v1beta3-rev20260118-2.0.0 + v1beta3-rev20260203-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-documentai:v1beta3-rev20260118-2.0.0' + implementation 'com.google.apis:google-api-services-documentai:v1beta3-rev20260203-2.0.0' } ```