Skip to content

Commit c4cd0c6

Browse files
1 parent e03ed05 commit c4cd0c6

File tree

16 files changed

+1734
-58
lines changed

16 files changed

+1734
-58
lines changed

clients/google-api-services-bigqueryreservation/v1/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-bigqueryreservation</artifactId>
25-
<version>v1-rev20250421-2.0.0</version>
25+
<version>v1-rev20250503-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-bigqueryreservation:v1-rev20250421-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20250503-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-bigqueryreservation/v1/2.0.0/com/google/api/services/bigqueryreservation/v1/BigQueryReservation.java

Lines changed: 512 additions & 7 deletions
Large diffs are not rendered by default.

clients/google-api-services-bigqueryreservation/v1/2.0.0/com/google/api/services/bigqueryreservation/v1/model/Assignment.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
public final class Assignment extends com.google.api.client.json.GenericJson {
3333

3434
/**
35-
* The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or
36-
* `organizations/456`.
35+
* Optional. The resource which will use the reservation. E.g. `projects/myproject`,
36+
* `folders/123`, or `organizations/456`.
3737
* The value may be {@code null}.
3838
*/
3939
@com.google.api.client.util.Key
@@ -52,7 +52,7 @@ public final class Assignment extends com.google.api.client.json.GenericJson {
5252
private java.lang.Boolean enableGeminiInBigquery;
5353

5454
/**
55-
* Which type of jobs will use the reservation.
55+
* Optional. Which type of jobs will use the reservation.
5656
* The value may be {@code null}.
5757
*/
5858
@com.google.api.client.util.Key
@@ -76,17 +76,17 @@ public final class Assignment extends com.google.api.client.json.GenericJson {
7676
private java.lang.String state;
7777

7878
/**
79-
* The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or
80-
* `organizations/456`.
79+
* Optional. The resource which will use the reservation. E.g. `projects/myproject`,
80+
* `folders/123`, or `organizations/456`.
8181
* @return value or {@code null} for none
8282
*/
8383
public java.lang.String getAssignee() {
8484
return assignee;
8585
}
8686

8787
/**
88-
* The resource which will use the reservation. E.g. `projects/myproject`, `folders/123`, or
89-
* `organizations/456`.
88+
* Optional. The resource which will use the reservation. E.g. `projects/myproject`,
89+
* `folders/123`, or `organizations/456`.
9090
* @param assignee assignee or {@code null} for none
9191
*/
9292
public Assignment setAssignee(java.lang.String assignee) {
@@ -122,15 +122,15 @@ public Assignment setEnableGeminiInBigquery(java.lang.Boolean enableGeminiInBigq
122122
}
123123

124124
/**
125-
* Which type of jobs will use the reservation.
125+
* Optional. Which type of jobs will use the reservation.
126126
* @return value or {@code null} for none
127127
*/
128128
public java.lang.String getJobType() {
129129
return jobType;
130130
}
131131

132132
/**
133-
* Which type of jobs will use the reservation.
133+
* Optional. Which type of jobs will use the reservation.
134134
* @param jobType jobType or {@code null} for none
135135
*/
136136
public Assignment setJobType(java.lang.String jobType) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
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.bigqueryreservation.v1.model;
18+
19+
/**
20+
* Specifies the audit configuration for a service. The configuration determines which permission
21+
* types are logged, and what identities, if any, are exempted from logging. An AuditConfig must
22+
* have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific
23+
* service, the union of the two AuditConfigs is used for that service: the log_types specified in
24+
* each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.
25+
* Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices",
26+
* "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:[email protected]" ]
27+
* }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service":
28+
* "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type":
29+
* "DATA_WRITE", "exempted_members": [ "user:[email protected]" ] } ] } ] } For sampleservice, this
30+
* policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `[email protected]`
31+
* from DATA_READ logging, and `[email protected]` from DATA_WRITE logging.
32+
*
33+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
34+
* transmitted over HTTP when working with the BigQuery Reservation API. For a detailed explanation
35+
* see:
36+
* <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>
37+
* </p>
38+
*
39+
* @author Google, Inc.
40+
*/
41+
@SuppressWarnings("javadoc")
42+
public final class AuditConfig extends com.google.api.client.json.GenericJson {
43+
44+
/**
45+
* The configuration for logging of each type of permission.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.util.List<AuditLogConfig> auditLogConfigs;
50+
51+
/**
52+
* Specifies a service that will be enabled for audit logging. For example,
53+
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that
54+
* covers all services.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String service;
59+
60+
/**
61+
* The configuration for logging of each type of permission.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.util.List<AuditLogConfig> getAuditLogConfigs() {
65+
return auditLogConfigs;
66+
}
67+
68+
/**
69+
* The configuration for logging of each type of permission.
70+
* @param auditLogConfigs auditLogConfigs or {@code null} for none
71+
*/
72+
public AuditConfig setAuditLogConfigs(java.util.List<AuditLogConfig> auditLogConfigs) {
73+
this.auditLogConfigs = auditLogConfigs;
74+
return this;
75+
}
76+
77+
/**
78+
* Specifies a service that will be enabled for audit logging. For example,
79+
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that
80+
* covers all services.
81+
* @return value or {@code null} for none
82+
*/
83+
public java.lang.String getService() {
84+
return service;
85+
}
86+
87+
/**
88+
* Specifies a service that will be enabled for audit logging. For example,
89+
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that
90+
* covers all services.
91+
* @param service service or {@code null} for none
92+
*/
93+
public AuditConfig setService(java.lang.String service) {
94+
this.service = service;
95+
return this;
96+
}
97+
98+
@Override
99+
public AuditConfig set(String fieldName, Object value) {
100+
return (AuditConfig) super.set(fieldName, value);
101+
}
102+
103+
@Override
104+
public AuditConfig clone() {
105+
return (AuditConfig) super.clone();
106+
}
107+
108+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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.bigqueryreservation.v1.model;
18+
19+
/**
20+
* Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ {
21+
* "log_type": "DATA_READ", "exempted_members": [ "user:[email protected]" ] }, { "log_type":
22+
* "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
23+
* [email protected] from DATA_READ logging.
24+
*
25+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
26+
* transmitted over HTTP when working with the BigQuery Reservation API. For a detailed explanation
27+
* see:
28+
* <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>
29+
* </p>
30+
*
31+
* @author Google, Inc.
32+
*/
33+
@SuppressWarnings("javadoc")
34+
public final class AuditLogConfig extends com.google.api.client.json.GenericJson {
35+
36+
/**
37+
* Specifies the identities that do not cause logging for this type of permission. Follows the
38+
* same format of Binding.members.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.util.List<java.lang.String> exemptedMembers;
43+
44+
/**
45+
* The log type that this config enables.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.lang.String logType;
50+
51+
/**
52+
* Specifies the identities that do not cause logging for this type of permission. Follows the
53+
* same format of Binding.members.
54+
* @return value or {@code null} for none
55+
*/
56+
public java.util.List<java.lang.String> getExemptedMembers() {
57+
return exemptedMembers;
58+
}
59+
60+
/**
61+
* Specifies the identities that do not cause logging for this type of permission. Follows the
62+
* same format of Binding.members.
63+
* @param exemptedMembers exemptedMembers or {@code null} for none
64+
*/
65+
public AuditLogConfig setExemptedMembers(java.util.List<java.lang.String> exemptedMembers) {
66+
this.exemptedMembers = exemptedMembers;
67+
return this;
68+
}
69+
70+
/**
71+
* The log type that this config enables.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getLogType() {
75+
return logType;
76+
}
77+
78+
/**
79+
* The log type that this config enables.
80+
* @param logType logType or {@code null} for none
81+
*/
82+
public AuditLogConfig setLogType(java.lang.String logType) {
83+
this.logType = logType;
84+
return this;
85+
}
86+
87+
@Override
88+
public AuditLogConfig set(String fieldName, Object value) {
89+
return (AuditLogConfig) super.set(fieldName, value);
90+
}
91+
92+
@Override
93+
public AuditLogConfig clone() {
94+
return (AuditLogConfig) super.clone();
95+
}
96+
97+
}

clients/google-api-services-bigqueryreservation/v1/2.0.0/com/google/api/services/bigqueryreservation/v1/model/BiReservation.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@
3131
public final class BiReservation extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* The resource name of the singleton BI reservation. Reservation names have the form
34+
* Identifier. The resource name of the singleton BI reservation. Reservation names have the form
3535
* `projects/{project_id}/locations/{location_id}/biReservation`.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
3939
private java.lang.String name;
4040

4141
/**
42-
* Preferred tables to use BI capacity for.
42+
* Optional. Preferred tables to use BI capacity for.
4343
* The value may be {@code null}.
4444
*/
4545
@com.google.api.client.util.Key
4646
private java.util.List<TableReference> preferredTables;
4747

4848
/**
49-
* Size of a reservation, in bytes.
49+
* Optional. Size of a reservation, in bytes.
5050
* The value may be {@code null}.
5151
*/
5252
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
@@ -60,7 +60,7 @@ public final class BiReservation extends com.google.api.client.json.GenericJson
6060
private String updateTime;
6161

6262
/**
63-
* The resource name of the singleton BI reservation. Reservation names have the form
63+
* Identifier. The resource name of the singleton BI reservation. Reservation names have the form
6464
* `projects/{project_id}/locations/{location_id}/biReservation`.
6565
* @return value or {@code null} for none
6666
*/
@@ -69,7 +69,7 @@ public java.lang.String getName() {
6969
}
7070

7171
/**
72-
* The resource name of the singleton BI reservation. Reservation names have the form
72+
* Identifier. The resource name of the singleton BI reservation. Reservation names have the form
7373
* `projects/{project_id}/locations/{location_id}/biReservation`.
7474
* @param name name or {@code null} for none
7575
*/
@@ -79,15 +79,15 @@ public BiReservation setName(java.lang.String name) {
7979
}
8080

8181
/**
82-
* Preferred tables to use BI capacity for.
82+
* Optional. Preferred tables to use BI capacity for.
8383
* @return value or {@code null} for none
8484
*/
8585
public java.util.List<TableReference> getPreferredTables() {
8686
return preferredTables;
8787
}
8888

8989
/**
90-
* Preferred tables to use BI capacity for.
90+
* Optional. Preferred tables to use BI capacity for.
9191
* @param preferredTables preferredTables or {@code null} for none
9292
*/
9393
public BiReservation setPreferredTables(java.util.List<TableReference> preferredTables) {
@@ -96,15 +96,15 @@ public BiReservation setPreferredTables(java.util.List<TableReference> preferred
9696
}
9797

9898
/**
99-
* Size of a reservation, in bytes.
99+
* Optional. Size of a reservation, in bytes.
100100
* @return value or {@code null} for none
101101
*/
102102
public java.lang.Long getSize() {
103103
return size;
104104
}
105105

106106
/**
107-
* Size of a reservation, in bytes.
107+
* Optional. Size of a reservation, in bytes.
108108
* @param size size or {@code null} for none
109109
*/
110110
public BiReservation setSize(java.lang.Long size) {

0 commit comments

Comments
 (0)