Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-documentai/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-documentai</artifactId>
<version>v1-rev20260118-2.0.0</version>
<version>v1-rev20260203-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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".
*
Expand All @@ -642,7 +645,10 @@ public class List extends DocumentRequest<com.google.api.services.documentai.v1.
java.util.regex.Pattern.compile("^projects/[^/]+$");

/**
* 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".
*
Expand Down Expand Up @@ -5524,22 +5530,22 @@ public List setPageSize(java.lang.Integer pageSize) {
}

/**
* Optional. We will return the schema groups sorted by creation time. The page token will
* point to the next Schema.
* Optional. Returns the schema groups sorted by creation time. The page token will point
* to the next Schema.
*/
@com.google.api.client.util.Key
private java.lang.String pageToken;

/** Optional. We will return the schema groups sorted by creation time. The page token will point to
the next Schema.
/** Optional. Returns the schema groups sorted by creation time. The page token will point to the next
Schema.
*/
public java.lang.String getPageToken() {
return pageToken;
}

/**
* Optional. We will return the schema groups sorted by creation time. The page token will
* point to the next Schema.
* Optional. Returns the schema groups sorted by creation time. The page token will point
* to the next Schema.
*/
public List setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
Expand Down Expand Up @@ -5688,21 +5694,21 @@ public Patch setName(java.lang.String name) {

/**
* Optional. The update mask to apply to the resource. **Note:** Only the following fields
* can be updated: - display_name. - labels.
* can be updated: - `display_name` - `labels`
*/
@com.google.api.client.util.Key
private String updateMask;

/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be
updated: - display_name. - labels.
updated: - `display_name` - `labels`
*/
public String getUpdateMask() {
return updateMask;
}

/**
* Optional. The update mask to apply to the resource. **Note:** Only the following fields
* can be updated: - display_name. - labels.
* can be updated: - `display_name` - `labels`
*/
public Patch setUpdateMask(String updateMask) {
this.updateMask = updateMask;
Expand Down Expand Up @@ -6459,22 +6465,22 @@ public List setPageSize(java.lang.Integer pageSize) {
}

/**
* Optional. We will return the SchemaVersion sorted by creation time. The page token
* will point to the next SchemaVersion.
* Optional. Returns the SchemaVersion sorted by creation time. The page token will
* point to the next SchemaVersion.
*/
@com.google.api.client.util.Key
private java.lang.String pageToken;

/** Optional. We will return the SchemaVersion sorted by creation time. The page token will point to
the next SchemaVersion.
/** Optional. Returns the SchemaVersion sorted by creation time. The page token will point to the next
SchemaVersion.
*/
public java.lang.String getPageToken() {
return pageToken;
}

/**
* Optional. We will return the SchemaVersion sorted by creation time. The page token
* will point to the next SchemaVersion.
* Optional. Returns the SchemaVersion sorted by creation time. The page token will
* point to the next SchemaVersion.
*/
public List setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
Expand Down Expand Up @@ -6623,21 +6629,21 @@ public Patch setName(java.lang.String name) {

/**
* Optional. The update mask to apply to the resource. **Note:** Only the following
* fields can be updated: - display_name. - labels.
* fields can be updated: - `display_name` - `labels`
*/
@com.google.api.client.util.Key
private String updateMask;

/** Optional. The update mask to apply to the resource. **Note:** Only the following fields can be
updated: - display_name. - labels.
updated: - `display_name` - `labels`
*/
public String getUpdateMask() {
return updateMask;
}

/**
* Optional. The update mask to apply to the resource. **Note:** Only the following
* fields can be updated: - display_name. - labels.
* fields can be updated: - `display_name` - `labels`
*/
public Patch setUpdateMask(String updateMask) {
this.updateMask = updateMask;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public final class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidat
private CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule childAlignmentRule;

/**
* Description of the validation rule. This has no use but for documentation
* Description of the validation rule. This has no use but for documentation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -97,15 +97,15 @@ public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setC
}

/**
* Description of the validation rule. This has no use but for documentation
* Description of the validation rule. This has no use but for documentation.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}

/**
* Description of the validation rule. This has no use but for documentation
* Description of the validation rule. This has no use but for documentation.
* @param description description or {@code null} for none
*/
public CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule setDescription(java.lang.String description) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchema extends com.goog
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
Expand Down Expand Up @@ -84,15 +84,15 @@ public GoogleCloudDocumentaiUiv1beta3DocumentSchema setDescription(java.lang.Str
}

/**
* Display name to show to users.
* Display name to show users.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayName() {
return displayName;
}

/**
* Display name to show to users.
* Display name to show users.
* @param displayName displayName or {@code null} for none
*/
public GoogleCloudDocumentaiUiv1beta3DocumentSchema setDisplayName(java.lang.String displayName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public final class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType extend

/**
* 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}.
Expand All @@ -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}.
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -108,15 +108,15 @@ 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() {
return f1Score;
}

/**
* The calculated f1 score.
* The calculated F1 score.
* @param f1Score f1Score or {@code null} for none
*/
public GoogleCloudDocumentaiUiv1beta3EvaluationMetrics setF1Score(java.lang.Float f1Score) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,29 @@
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() {
return finetuningAllowed;
}

/**
* 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) {
Expand All @@ -62,15 +62,15 @@ 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() {
return minTrainLabeledDocuments;
}

/**
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -69,15 +69,15 @@ 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() {
return displayName;
}

/**
* 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) {
Expand Down
Loading