@@ -506,6 +506,55 @@ public Get setDatasetId(java.lang.String datasetId) {
506
506
return this ;
507
507
}
508
508
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
+
509
558
/**
510
559
* Optional. Specifies the view that determines which dataset information is returned. By
511
560
* default, metadata and ACL information are returned.
@@ -660,6 +709,52 @@ public Insert setProjectId(java.lang.String projectId) {
660
709
return this ;
661
710
}
662
711
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
+
663
758
@ Override
664
759
public Insert set (String parameterName , Object value ) {
665
760
return (Insert ) super .set (parameterName , value );
@@ -1054,6 +1149,58 @@ public Patch setDatasetId(java.lang.String datasetId) {
1054
1149
return this ;
1055
1150
}
1056
1151
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
+
1057
1204
@ Override
1058
1205
public Patch set (String parameterName , Object value ) {
1059
1206
return (Patch ) super .set (parameterName , value );
@@ -1388,6 +1535,58 @@ public Update setDatasetId(java.lang.String datasetId) {
1388
1535
return this ;
1389
1536
}
1390
1537
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
+
1391
1590
@ Override
1392
1591
public Update set (String parameterName , Object value ) {
1393
1592
return (Update ) super .set (parameterName , value );
0 commit comments