Skip to content

Commit 6cf42e0

Browse files
1 parent ad878d0 commit 6cf42e0

File tree

5 files changed

+232
-6
lines changed

5 files changed

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

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

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,55 @@ public Get setDatasetId(java.lang.String datasetId) {
506506
return this;
507507
}
508508

509+
/**
510+
* Optional. The version of the access policy schema to fetch. Valid values are 0, 1, and 3.
511+
* Requests specifying an invalid value will be rejected. Requests for conditional access
512+
* policy binding in datasets must specify version 3. Dataset with no conditional role
513+
* bindings in access policy may specify any valid value or leave the field unset. This field
514+
* will be maped to [IAM Policy version] (https://cloud.google.com/iam/docs/policies#versions)
515+
* and will be used to fetch policy from IAM. If unset or if 0 or 1 value is used for dataset
516+
* with conditional bindings, access entry with condition will have role string appended by
517+
* 'withcond' string followed by a hash value. For example : { "access": [ { "role":
518+
* "roles/bigquery.dataViewer_with_conditionalbinding_7a34awqsda", "userByEmail":
519+
* "[email protected]", } ] } Please refer https://cloud.google.com/iam/docs/troubleshooting-
520+
* withcond for more details.
521+
*/
522+
@com.google.api.client.util.Key
523+
private java.lang.Integer accessPolicyVersion;
524+
525+
/** Optional. The version of the access policy schema to fetch. Valid values are 0, 1, and 3. Requests
526+
specifying an invalid value will be rejected. Requests for conditional access policy binding in
527+
datasets must specify version 3. Dataset with no conditional role bindings in access policy may
528+
specify any valid value or leave the field unset. This field will be maped to [IAM Policy version]
529+
(https://cloud.google.com/iam/docs/policies#versions) and will be used to fetch policy from IAM. If
530+
unset or if 0 or 1 value is used for dataset with conditional bindings, access entry with condition
531+
will have role string appended by 'withcond' string followed by a hash value. For example : {
532+
"access": [ { "role": "roles/bigquery.dataViewer_with_conditionalbinding_7a34awqsda",
533+
"userByEmail": "[email protected]", } ] } Please refer
534+
https://cloud.google.com/iam/docs/troubleshooting-withcond for more details.
535+
*/
536+
public java.lang.Integer getAccessPolicyVersion() {
537+
return accessPolicyVersion;
538+
}
539+
540+
/**
541+
* Optional. The version of the access policy schema to fetch. Valid values are 0, 1, and 3.
542+
* Requests specifying an invalid value will be rejected. Requests for conditional access
543+
* policy binding in datasets must specify version 3. Dataset with no conditional role
544+
* bindings in access policy may specify any valid value or leave the field unset. This field
545+
* will be maped to [IAM Policy version] (https://cloud.google.com/iam/docs/policies#versions)
546+
* and will be used to fetch policy from IAM. If unset or if 0 or 1 value is used for dataset
547+
* with conditional bindings, access entry with condition will have role string appended by
548+
* 'withcond' string followed by a hash value. For example : { "access": [ { "role":
549+
* "roles/bigquery.dataViewer_with_conditionalbinding_7a34awqsda", "userByEmail":
550+
* "[email protected]", } ] } Please refer https://cloud.google.com/iam/docs/troubleshooting-
551+
* withcond for more details.
552+
*/
553+
public Get setAccessPolicyVersion(java.lang.Integer accessPolicyVersion) {
554+
this.accessPolicyVersion = accessPolicyVersion;
555+
return this;
556+
}
557+
509558
/**
510559
* Optional. Specifies the view that determines which dataset information is returned. By
511560
* default, metadata and ACL information are returned.
@@ -660,6 +709,52 @@ public Insert setProjectId(java.lang.String projectId) {
660709
return this;
661710
}
662711

712+
/**
713+
* Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3.
714+
* Requests specifying an invalid value will be rejected. This version refers to the schema
715+
* version of the access policy and not the version of access policy. This field's value can
716+
* be equal or more than the access policy schema provided in the request. For example, *
717+
* Requests with conditional access policy binding in datasets must specify version 3. * But
718+
* dataset with no conditional role bindings in access policy may specify any valid value or
719+
* leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional
720+
* bindings, request will be rejected. This field will be maped to IAM Policy version
721+
* (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in
722+
* IAM.
723+
*/
724+
@com.google.api.client.util.Key
725+
private java.lang.Integer accessPolicyVersion;
726+
727+
/** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests
728+
specifying an invalid value will be rejected. This version refers to the schema version of the
729+
access policy and not the version of access policy. This field's value can be equal or more than
730+
the access policy schema provided in the request. For example, * Requests with conditional access
731+
policy binding in datasets must specify version 3. * But dataset with no conditional role bindings
732+
in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value
733+
is used for dataset with conditional bindings, request will be rejected. This field will be maped
734+
to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set
735+
policy in IAM.
736+
*/
737+
public java.lang.Integer getAccessPolicyVersion() {
738+
return accessPolicyVersion;
739+
}
740+
741+
/**
742+
* Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3.
743+
* Requests specifying an invalid value will be rejected. This version refers to the schema
744+
* version of the access policy and not the version of access policy. This field's value can
745+
* be equal or more than the access policy schema provided in the request. For example, *
746+
* Requests with conditional access policy binding in datasets must specify version 3. * But
747+
* dataset with no conditional role bindings in access policy may specify any valid value or
748+
* leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional
749+
* bindings, request will be rejected. This field will be maped to IAM Policy version
750+
* (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in
751+
* IAM.
752+
*/
753+
public Insert setAccessPolicyVersion(java.lang.Integer accessPolicyVersion) {
754+
this.accessPolicyVersion = accessPolicyVersion;
755+
return this;
756+
}
757+
663758
@Override
664759
public Insert set(String parameterName, Object value) {
665760
return (Insert) super.set(parameterName, value);
@@ -1054,6 +1149,58 @@ public Patch setDatasetId(java.lang.String datasetId) {
10541149
return this;
10551150
}
10561151

1152+
/**
1153+
* Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3.
1154+
* Requests specifying an invalid value will be rejected. This version refers to the schema
1155+
* version of the access policy and not the version of access policy. This field's value can
1156+
* be equal or more than the access policy schema provided in the request. For example, *
1157+
* Operations updating conditional access policy binding in datasets must specify version 3.
1158+
* Some of the operations are : - Adding a new access policy entry with condition. - Removing
1159+
* an access policy entry with condition. - Updating an access policy entry with condition. *
1160+
* But dataset with no conditional role bindings in access policy may specify any valid value
1161+
* or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional
1162+
* bindings, request will be rejected. This field will be maped to IAM Policy version
1163+
* (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in
1164+
* IAM.
1165+
*/
1166+
@com.google.api.client.util.Key
1167+
private java.lang.Integer accessPolicyVersion;
1168+
1169+
/** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests
1170+
specifying an invalid value will be rejected. This version refers to the schema version of the
1171+
access policy and not the version of access policy. This field's value can be equal or more than
1172+
the access policy schema provided in the request. For example, * Operations updating conditional
1173+
access policy binding in datasets must specify version 3. Some of the operations are : - Adding a
1174+
new access policy entry with condition. - Removing an access policy entry with condition. -
1175+
Updating an access policy entry with condition. * But dataset with no conditional role bindings in
1176+
access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is
1177+
used for dataset with conditional bindings, request will be rejected. This field will be maped to
1178+
IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set
1179+
policy in IAM.
1180+
*/
1181+
public java.lang.Integer getAccessPolicyVersion() {
1182+
return accessPolicyVersion;
1183+
}
1184+
1185+
/**
1186+
* Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3.
1187+
* Requests specifying an invalid value will be rejected. This version refers to the schema
1188+
* version of the access policy and not the version of access policy. This field's value can
1189+
* be equal or more than the access policy schema provided in the request. For example, *
1190+
* Operations updating conditional access policy binding in datasets must specify version 3.
1191+
* Some of the operations are : - Adding a new access policy entry with condition. - Removing
1192+
* an access policy entry with condition. - Updating an access policy entry with condition. *
1193+
* But dataset with no conditional role bindings in access policy may specify any valid value
1194+
* or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional
1195+
* bindings, request will be rejected. This field will be maped to IAM Policy version
1196+
* (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in
1197+
* IAM.
1198+
*/
1199+
public Patch setAccessPolicyVersion(java.lang.Integer accessPolicyVersion) {
1200+
this.accessPolicyVersion = accessPolicyVersion;
1201+
return this;
1202+
}
1203+
10571204
@Override
10581205
public Patch set(String parameterName, Object value) {
10591206
return (Patch) super.set(parameterName, value);
@@ -1388,6 +1535,58 @@ public Update setDatasetId(java.lang.String datasetId) {
13881535
return this;
13891536
}
13901537

1538+
/**
1539+
* Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3.
1540+
* Requests specifying an invalid value will be rejected. This version refers to the schema
1541+
* version of the access policy and not the version of access policy. This field's value can
1542+
* be equal or more than the access policy schema provided in the request. For example, *
1543+
* Operations updating conditional access policy binding in datasets must specify version 3.
1544+
* Some of the operations are : - Adding a new access policy entry with condition. - Removing
1545+
* an access policy entry with condition. - Updating an access policy entry with condition. *
1546+
* But dataset with no conditional role bindings in access policy may specify any valid value
1547+
* or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional
1548+
* bindings, request will be rejected. This field will be maped to IAM Policy version
1549+
* (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in
1550+
* IAM.
1551+
*/
1552+
@com.google.api.client.util.Key
1553+
private java.lang.Integer accessPolicyVersion;
1554+
1555+
/** Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests
1556+
specifying an invalid value will be rejected. This version refers to the schema version of the
1557+
access policy and not the version of access policy. This field's value can be equal or more than
1558+
the access policy schema provided in the request. For example, * Operations updating conditional
1559+
access policy binding in datasets must specify version 3. Some of the operations are : - Adding a
1560+
new access policy entry with condition. - Removing an access policy entry with condition. -
1561+
Updating an access policy entry with condition. * But dataset with no conditional role bindings in
1562+
access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is
1563+
used for dataset with conditional bindings, request will be rejected. This field will be maped to
1564+
IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set
1565+
policy in IAM.
1566+
*/
1567+
public java.lang.Integer getAccessPolicyVersion() {
1568+
return accessPolicyVersion;
1569+
}
1570+
1571+
/**
1572+
* Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3.
1573+
* Requests specifying an invalid value will be rejected. This version refers to the schema
1574+
* version of the access policy and not the version of access policy. This field's value can
1575+
* be equal or more than the access policy schema provided in the request. For example, *
1576+
* Operations updating conditional access policy binding in datasets must specify version 3.
1577+
* Some of the operations are : - Adding a new access policy entry with condition. - Removing
1578+
* an access policy entry with condition. - Updating an access policy entry with condition. *
1579+
* But dataset with no conditional role bindings in access policy may specify any valid value
1580+
* or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional
1581+
* bindings, request will be rejected. This field will be maped to IAM Policy version
1582+
* (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in
1583+
* IAM.
1584+
*/
1585+
public Update setAccessPolicyVersion(java.lang.Integer accessPolicyVersion) {
1586+
this.accessPolicyVersion = accessPolicyVersion;
1587+
return this;
1588+
}
1589+
13911590
@Override
13921591
public Update set(String parameterName, Object value) {
13931592
return (Update) super.set(parameterName, value);

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,14 @@ public Dataset clone() {
953953
*/
954954
public static final class Access extends com.google.api.client.json.GenericJson {
955955

956+
/**
957+
* Optional. condition for the binding. If CEL expression in this field is true, this access
958+
* binding will be considered
959+
* The value may be {@code null}.
960+
*/
961+
@com.google.api.client.util.Key
962+
private Expr condition;
963+
956964
/**
957965
* [Pick one] A grant authorizing all resources of a particular type in a particular dataset
958966
* access to this dataset. Only views are supported for now. The role field is not required when
@@ -1037,6 +1045,25 @@ public static final class Access extends com.google.api.client.json.GenericJson
10371045
@com.google.api.client.util.Key
10381046
private TableReference view;
10391047

1048+
/**
1049+
* Optional. condition for the binding. If CEL expression in this field is true, this access
1050+
* binding will be considered
1051+
* @return value or {@code null} for none
1052+
*/
1053+
public Expr getCondition() {
1054+
return condition;
1055+
}
1056+
1057+
/**
1058+
* Optional. condition for the binding. If CEL expression in this field is true, this access
1059+
* binding will be considered
1060+
* @param condition condition or {@code null} for none
1061+
*/
1062+
public Access setCondition(Expr condition) {
1063+
this.condition = condition;
1064+
return this;
1065+
}
1066+
10401067
/**
10411068
* [Pick one] A grant authorizing all resources of a particular type in a particular dataset
10421069
* access to this dataset. Only views are supported for now. The role field is not required when

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-rev20240919-2.0.0</version>
12-
<name>BigQuery API v2-rev20240919-2.0.0</name>
11+
<version>v2-rev20241013-2.0.0</version>
12+
<name>BigQuery API v2-rev20241013-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-rev20240919-2.0.0</version>
25+
<version>v2-rev20241013-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-rev20240919-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigquery:v2-rev20241013-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)