Skip to content

Commit ed25798

Browse files
1 parent c17a0a3 commit ed25798

File tree

5 files changed

+159
-6
lines changed

5 files changed

+159
-6
lines changed

clients/google-api-services-bigquery/v2/2.0.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-bigquery</artifactId>
25-
<version>v2-rev20240714-2.0.0</version>
25+
<version>v2-rev20240727-2.0.0</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-bigquery:v2-rev20240714-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigquery:v2-rev20240727-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.bigquery.model;
18+
19+
/**
20+
* Metadata for value generation for an identity column.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class IdentityColumnInfo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Dictates when system generated values are used to populate the field.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String generatedMode;
38+
39+
/**
40+
* Optional. The minimum difference between two successive generated values. Should be INTEGER
41+
* compatible. Can be negative or positive but not 0. The default value is 1 if the field is not
42+
* specified.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String increment;
47+
48+
/**
49+
* Optional. The first generated value. Should be INTEGER compatible. The default value is 1 if
50+
* the field is not specified.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String start;
55+
56+
/**
57+
* Optional. Dictates when system generated values are used to populate the field.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getGeneratedMode() {
61+
return generatedMode;
62+
}
63+
64+
/**
65+
* Optional. Dictates when system generated values are used to populate the field.
66+
* @param generatedMode generatedMode or {@code null} for none
67+
*/
68+
public IdentityColumnInfo setGeneratedMode(java.lang.String generatedMode) {
69+
this.generatedMode = generatedMode;
70+
return this;
71+
}
72+
73+
/**
74+
* Optional. The minimum difference between two successive generated values. Should be INTEGER
75+
* compatible. Can be negative or positive but not 0. The default value is 1 if the field is not
76+
* specified.
77+
* @return value or {@code null} for none
78+
*/
79+
public java.lang.String getIncrement() {
80+
return increment;
81+
}
82+
83+
/**
84+
* Optional. The minimum difference between two successive generated values. Should be INTEGER
85+
* compatible. Can be negative or positive but not 0. The default value is 1 if the field is not
86+
* specified.
87+
* @param increment increment or {@code null} for none
88+
*/
89+
public IdentityColumnInfo setIncrement(java.lang.String increment) {
90+
this.increment = increment;
91+
return this;
92+
}
93+
94+
/**
95+
* Optional. The first generated value. Should be INTEGER compatible. The default value is 1 if
96+
* the field is not specified.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.String getStart() {
100+
return start;
101+
}
102+
103+
/**
104+
* Optional. The first generated value. Should be INTEGER compatible. The default value is 1 if
105+
* the field is not specified.
106+
* @param start start or {@code null} for none
107+
*/
108+
public IdentityColumnInfo setStart(java.lang.String start) {
109+
this.start = start;
110+
return this;
111+
}
112+
113+
@Override
114+
public IdentityColumnInfo set(String fieldName, Object value) {
115+
return (IdentityColumnInfo) super.set(fieldName, value);
116+
}
117+
118+
@Override
119+
public IdentityColumnInfo clone() {
120+
return (IdentityColumnInfo) super.clone();
121+
}
122+
123+
}

clients/google-api-services-bigquery/v2/2.0.0/com/google/api/services/bigquery/model/TableFieldSchema.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ public final class TableFieldSchema extends com.google.api.client.json.GenericJs
7575
@com.google.api.client.util.Key
7676
private java.lang.String foreignTypeDefinition;
7777

78+
/**
79+
* Optional. Definition of how values are generated for the field. Setting this option means that
80+
* the field is an identity column. Only valid for top-level schema INTEGER fields (not nested
81+
* fields).
82+
* The value may be {@code null}.
83+
*/
84+
@com.google.api.client.util.Key
85+
private IdentityColumnInfo identityColumnInfo;
86+
7887
/**
7988
* Optional. Maximum length of values of this field for STRINGS or BYTES. If max_length is not
8089
* specified, no maximum length constraint is imposed on this field. If type = "STRING", then
@@ -272,6 +281,27 @@ public TableFieldSchema setForeignTypeDefinition(java.lang.String foreignTypeDef
272281
return this;
273282
}
274283

284+
/**
285+
* Optional. Definition of how values are generated for the field. Setting this option means that
286+
* the field is an identity column. Only valid for top-level schema INTEGER fields (not nested
287+
* fields).
288+
* @return value or {@code null} for none
289+
*/
290+
public IdentityColumnInfo getIdentityColumnInfo() {
291+
return identityColumnInfo;
292+
}
293+
294+
/**
295+
* Optional. Definition of how values are generated for the field. Setting this option means that
296+
* the field is an identity column. Only valid for top-level schema INTEGER fields (not nested
297+
* fields).
298+
* @param identityColumnInfo identityColumnInfo or {@code null} for none
299+
*/
300+
public TableFieldSchema setIdentityColumnInfo(IdentityColumnInfo identityColumnInfo) {
301+
this.identityColumnInfo = identityColumnInfo;
302+
return this;
303+
}
304+
275305
/**
276306
* Optional. Maximum length of values of this field for STRINGS or BYTES. If max_length is not
277307
* specified, no maximum length constraint is imposed on this field. If type = "STRING", then

clients/google-api-services-bigquery/v2/2.0.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-bigquery</artifactId>
11-
<version>v2-rev20240714-2.0.0</version>
12-
<name>BigQuery API v2-rev20240714-2.0.0</name>
11+
<version>v2-rev20240727-2.0.0</version>
12+
<name>BigQuery API v2-rev20240727-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-bigquery/v2/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-bigquery</artifactId>
25-
<version>v2-rev20240714-2.0.0</version>
25+
<version>v2-rev20240727-2.0.0</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-bigquery:v2-rev20240714-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigquery:v2-rev20240727-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)