Skip to content

Commit 9551629

Browse files
1 parent 3814a7e commit 9551629

File tree

10 files changed

+1757
-6
lines changed

10 files changed

+1757
-6
lines changed

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

clients/google-api-services-biglake/v1/2.0.0/com/google/api/services/biglake/v1/BigLakeService.java

Lines changed: 726 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
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.biglake.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 BigLake API. For a detailed explanation see:
35+
* <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>
36+
* </p>
37+
*
38+
* @author Google, Inc.
39+
*/
40+
@SuppressWarnings("javadoc")
41+
public final class AuditConfig extends com.google.api.client.json.GenericJson {
42+
43+
/**
44+
* The configuration for logging of each type of permission.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.util.List<AuditLogConfig> auditLogConfigs;
49+
50+
/**
51+
* Specifies a service that will be enabled for audit logging. For example,
52+
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that
53+
* covers all services.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.lang.String service;
58+
59+
/**
60+
* The configuration for logging of each type of permission.
61+
* @return value or {@code null} for none
62+
*/
63+
public java.util.List<AuditLogConfig> getAuditLogConfigs() {
64+
return auditLogConfigs;
65+
}
66+
67+
/**
68+
* The configuration for logging of each type of permission.
69+
* @param auditLogConfigs auditLogConfigs or {@code null} for none
70+
*/
71+
public AuditConfig setAuditLogConfigs(java.util.List<AuditLogConfig> auditLogConfigs) {
72+
this.auditLogConfigs = auditLogConfigs;
73+
return this;
74+
}
75+
76+
/**
77+
* Specifies a service that will be enabled for audit logging. For example,
78+
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that
79+
* covers all services.
80+
* @return value or {@code null} for none
81+
*/
82+
public java.lang.String getService() {
83+
return service;
84+
}
85+
86+
/**
87+
* Specifies a service that will be enabled for audit logging. For example,
88+
* `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that
89+
* covers all services.
90+
* @param service service or {@code null} for none
91+
*/
92+
public AuditConfig setService(java.lang.String service) {
93+
this.service = service;
94+
return this;
95+
}
96+
97+
@Override
98+
public AuditConfig set(String fieldName, Object value) {
99+
return (AuditConfig) super.set(fieldName, value);
100+
}
101+
102+
@Override
103+
public AuditConfig clone() {
104+
return (AuditConfig) super.clone();
105+
}
106+
107+
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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.biglake.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 BigLake API. For a detailed explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class AuditLogConfig extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Specifies the identities that do not cause logging for this type of permission. Follows the
37+
* same format of Binding.members.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.util.List<java.lang.String> exemptedMembers;
42+
43+
/**
44+
* The log type that this config enables.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String logType;
49+
50+
/**
51+
* Specifies the identities that do not cause logging for this type of permission. Follows the
52+
* same format of Binding.members.
53+
* @return value or {@code null} for none
54+
*/
55+
public java.util.List<java.lang.String> getExemptedMembers() {
56+
return exemptedMembers;
57+
}
58+
59+
/**
60+
* Specifies the identities that do not cause logging for this type of permission. Follows the
61+
* same format of Binding.members.
62+
* @param exemptedMembers exemptedMembers or {@code null} for none
63+
*/
64+
public AuditLogConfig setExemptedMembers(java.util.List<java.lang.String> exemptedMembers) {
65+
this.exemptedMembers = exemptedMembers;
66+
return this;
67+
}
68+
69+
/**
70+
* The log type that this config enables.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getLogType() {
74+
return logType;
75+
}
76+
77+
/**
78+
* The log type that this config enables.
79+
* @param logType logType or {@code null} for none
80+
*/
81+
public AuditLogConfig setLogType(java.lang.String logType) {
82+
this.logType = logType;
83+
return this;
84+
}
85+
86+
@Override
87+
public AuditLogConfig set(String fieldName, Object value) {
88+
return (AuditLogConfig) super.set(fieldName, value);
89+
}
90+
91+
@Override
92+
public AuditLogConfig clone() {
93+
return (AuditLogConfig) super.clone();
94+
}
95+
96+
}

0 commit comments

Comments
 (0)