Skip to content

Commit 6a9da43

Browse files
1 parent bb76424 commit 6a9da43

File tree

12 files changed

+174
-93
lines changed

12 files changed

+174
-93
lines changed

clients/google-api-services-documentai/v1/1.31.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-documentai</artifactId>
25-
<version>v1-rev20220713-1.32.1</version>
25+
<version>v1-rev20220720-1.32.1</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-documentai:v1-rev20220713-1.32.1'
38+
implementation 'com.google.apis:google-api-services-documentai:v1-rev20220720-1.32.1'
3939
}
4040
```
4141

clients/google-api-services-documentai/v1/1.31.0/com/google/api/services/documentai/v1/model/GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public final class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata extends
4444
@com.google.api.client.util.Key
4545
private java.util.List<GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus> individualImportStatuses;
4646

47+
/**
48+
* Total number of the documents that are qualified for importing.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.Integer totalDocumentCount;
53+
4754
/**
4855
* The basic metadata of the long running operation.
4956
* @return value or {@code null} for none
@@ -78,6 +85,23 @@ public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata setIndividualImport
7885
return this;
7986
}
8087

88+
/**
89+
* Total number of the documents that are qualified for importing.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.Integer getTotalDocumentCount() {
93+
return totalDocumentCount;
94+
}
95+
96+
/**
97+
* Total number of the documents that are qualified for importing.
98+
* @param totalDocumentCount totalDocumentCount or {@code null} for none
99+
*/
100+
public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata setTotalDocumentCount(java.lang.Integer totalDocumentCount) {
101+
this.totalDocumentCount = totalDocumentCount;
102+
return this;
103+
}
104+
81105
@Override
82106
public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata set(String fieldName, Object value) {
83107
return (GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata) super.set(fieldName, value);

clients/google-api-services-documentai/v1/1.31.0/com/google/api/services/documentai/v1/model/GoogleTypeDateTime.java

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
* calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset:
2323
* a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset
2424
* is set: a civil time on a calendar day in local time. The date is relative to the Proleptic
25-
* Gregorian Calendar. If year is 0, the DateTime is considered not to have a specific year. month
26-
* and day must have valid, non-zero values. This type may also be used to represent a physical time
27-
* if all the date and time fields are set and either case of the `time_offset` oneof is set.
25+
* Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a
26+
* specific year, month, or day respectively. This type may also be used to represent a physical
27+
* time if all the date and time fields are set and either case of the `time_offset` oneof is set.
2828
* Consider using `Timestamp` message for physical time instead. If your use case also would like to
2929
* store the user's timezone, that can be done in another field. This type is more flexible than
3030
* some applications may want. Make sure to document and validate your application's limitations.
@@ -41,44 +41,45 @@
4141
public final class GoogleTypeDateTime extends com.google.api.client.json.GenericJson {
4242

4343
/**
44-
* Required. Day of month. Must be from 1 to 31 and valid for the year and month.
44+
* Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
45+
* specifying a datetime without a day.
4546
* The value may be {@code null}.
4647
*/
4748
@com.google.api.client.util.Key
4849
private java.lang.Integer day;
4950

5051
/**
51-
* Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow
52-
* the value "24:00:00" for scenarios like business closing time.
52+
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An
53+
* API may choose to allow the value "24:00:00" for scenarios like business closing time.
5354
* The value may be {@code null}.
5455
*/
5556
@com.google.api.client.util.Key
5657
private java.lang.Integer hours;
5758

5859
/**
59-
* Required. Minutes of hour of day. Must be from 0 to 59.
60+
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
6061
* The value may be {@code null}.
6162
*/
6263
@com.google.api.client.util.Key
6364
private java.lang.Integer minutes;
6465

6566
/**
66-
* Required. Month of year. Must be from 1 to 12.
67+
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
6768
* The value may be {@code null}.
6869
*/
6970
@com.google.api.client.util.Key
7071
private java.lang.Integer month;
7172

7273
/**
73-
* Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
74+
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
7475
* The value may be {@code null}.
7576
*/
7677
@com.google.api.client.util.Key
7778
private java.lang.Integer nanos;
7879

7980
/**
80-
* Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the
81-
* value 60 if it allows leap-seconds.
81+
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API
82+
* may allow the value 60 if it allows leap-seconds.
8283
* The value may be {@code null}.
8384
*/
8485
@com.google.api.client.util.Key
@@ -107,15 +108,17 @@ public final class GoogleTypeDateTime extends com.google.api.client.json.Generic
107108
private java.lang.Integer year;
108109

109110
/**
110-
* Required. Day of month. Must be from 1 to 31 and valid for the year and month.
111+
* Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
112+
* specifying a datetime without a day.
111113
* @return value or {@code null} for none
112114
*/
113115
public java.lang.Integer getDay() {
114116
return day;
115117
}
116118

117119
/**
118-
* Required. Day of month. Must be from 1 to 31 and valid for the year and month.
120+
* Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
121+
* specifying a datetime without a day.
119122
* @param day day or {@code null} for none
120123
*/
121124
public GoogleTypeDateTime setDay(java.lang.Integer day) {
@@ -124,17 +127,17 @@ public GoogleTypeDateTime setDay(java.lang.Integer day) {
124127
}
125128

126129
/**
127-
* Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow
128-
* the value "24:00:00" for scenarios like business closing time.
130+
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An
131+
* API may choose to allow the value "24:00:00" for scenarios like business closing time.
129132
* @return value or {@code null} for none
130133
*/
131134
public java.lang.Integer getHours() {
132135
return hours;
133136
}
134137

135138
/**
136-
* Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow
137-
* the value "24:00:00" for scenarios like business closing time.
139+
* Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An
140+
* API may choose to allow the value "24:00:00" for scenarios like business closing time.
138141
* @param hours hours or {@code null} for none
139142
*/
140143
public GoogleTypeDateTime setHours(java.lang.Integer hours) {
@@ -143,15 +146,15 @@ public GoogleTypeDateTime setHours(java.lang.Integer hours) {
143146
}
144147

145148
/**
146-
* Required. Minutes of hour of day. Must be from 0 to 59.
149+
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
147150
* @return value or {@code null} for none
148151
*/
149152
public java.lang.Integer getMinutes() {
150153
return minutes;
151154
}
152155

153156
/**
154-
* Required. Minutes of hour of day. Must be from 0 to 59.
157+
* Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
155158
* @param minutes minutes or {@code null} for none
156159
*/
157160
public GoogleTypeDateTime setMinutes(java.lang.Integer minutes) {
@@ -160,15 +163,15 @@ public GoogleTypeDateTime setMinutes(java.lang.Integer minutes) {
160163
}
161164

162165
/**
163-
* Required. Month of year. Must be from 1 to 12.
166+
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
164167
* @return value or {@code null} for none
165168
*/
166169
public java.lang.Integer getMonth() {
167170
return month;
168171
}
169172

170173
/**
171-
* Required. Month of year. Must be from 1 to 12.
174+
* Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month.
172175
* @param month month or {@code null} for none
173176
*/
174177
public GoogleTypeDateTime setMonth(java.lang.Integer month) {
@@ -177,15 +180,15 @@ public GoogleTypeDateTime setMonth(java.lang.Integer month) {
177180
}
178181

179182
/**
180-
* Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
183+
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
181184
* @return value or {@code null} for none
182185
*/
183186
public java.lang.Integer getNanos() {
184187
return nanos;
185188
}
186189

187190
/**
188-
* Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
191+
* Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0.
189192
* @param nanos nanos or {@code null} for none
190193
*/
191194
public GoogleTypeDateTime setNanos(java.lang.Integer nanos) {
@@ -194,17 +197,17 @@ public GoogleTypeDateTime setNanos(java.lang.Integer nanos) {
194197
}
195198

196199
/**
197-
* Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the
198-
* value 60 if it allows leap-seconds.
200+
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API
201+
* may allow the value 60 if it allows leap-seconds.
199202
* @return value or {@code null} for none
200203
*/
201204
public java.lang.Integer getSeconds() {
202205
return seconds;
203206
}
204207

205208
/**
206-
* Required. Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the
207-
* value 60 if it allows leap-seconds.
209+
* Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API
210+
* may allow the value 60 if it allows leap-seconds.
208211
* @param seconds seconds or {@code null} for none
209212
*/
210213
public GoogleTypeDateTime setSeconds(java.lang.Integer seconds) {

clients/google-api-services-documentai/v1/1.31.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-documentai</artifactId>
11-
<version>v1-rev20220713-1.32.1</version>
12-
<name>Cloud Document AI API v1-rev20220713-1.32.1</name>
11+
<version>v1-rev20220720-1.32.1</version>
12+
<name>Cloud Document AI API v1-rev20220720-1.32.1</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-documentai/v1beta2/1.31.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-documentai</artifactId>
25-
<version>v1beta2-rev20220713-1.32.1</version>
25+
<version>v1beta2-rev20220720-1.32.1</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-documentai:v1beta2-rev20220713-1.32.1'
38+
implementation 'com.google.apis:google-api-services-documentai:v1beta2-rev20220720-1.32.1'
3939
}
4040
```
4141

clients/google-api-services-documentai/v1beta2/1.31.0/com/google/api/services/documentai/v1beta2/model/GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public final class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata extends
4444
@com.google.api.client.util.Key
4545
private java.util.List<GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus> individualImportStatuses;
4646

47+
/**
48+
* Total number of the documents that are qualified for importing.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.Integer totalDocumentCount;
53+
4754
/**
4855
* The basic metadata of the long running operation.
4956
* @return value or {@code null} for none
@@ -78,6 +85,23 @@ public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata setIndividualImport
7885
return this;
7986
}
8087

88+
/**
89+
* Total number of the documents that are qualified for importing.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.Integer getTotalDocumentCount() {
93+
return totalDocumentCount;
94+
}
95+
96+
/**
97+
* Total number of the documents that are qualified for importing.
98+
* @param totalDocumentCount totalDocumentCount or {@code null} for none
99+
*/
100+
public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata setTotalDocumentCount(java.lang.Integer totalDocumentCount) {
101+
this.totalDocumentCount = totalDocumentCount;
102+
return this;
103+
}
104+
81105
@Override
82106
public GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata set(String fieldName, Object value) {
83107
return (GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata) super.set(fieldName, value);

0 commit comments

Comments
 (0)