Skip to content

Commit 4e0a191

Browse files
chore: regenerate observability client
1 parent 5ec85f7 commit 4e0a191

File tree

13 files changed

+5376
-20
lines changed

13 files changed

+5376
-20
lines changed

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

clients/google-api-services-observability/v1/2.0.0/com/google/api/services/observability/v1/CloudObservability.java

Lines changed: 4112 additions & 14 deletions
Large diffs are not rendered by default.
Lines changed: 237 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,237 @@
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.observability.v1.model;
18+
19+
/**
20+
* Bucket configuration for storing observability data.
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 Observability 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 Bucket extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Settings for configuring CMEK on a bucket.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private CmekSettings cmekSettings;
38+
39+
/**
40+
* Output only. Create timestamp.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private String createTime;
45+
46+
/**
47+
* Output only. Delete timestamp.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private String deleteTime;
52+
53+
/**
54+
* Optional. Description of the bucket.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String description;
59+
60+
/**
61+
* Optional. User friendly display name.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String displayName;
66+
67+
/**
68+
* Identifier. Name of the bucket. The format is:
69+
* projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private java.lang.String name;
74+
75+
/**
76+
* Output only. Timestamp when the bucket in soft-deleted state is purged.
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private String purgeTime;
81+
82+
/**
83+
* Output only. Update timestamp.
84+
* The value may be {@code null}.
85+
*/
86+
@com.google.api.client.util.Key
87+
private String updateTime;
88+
89+
/**
90+
* Optional. Settings for configuring CMEK on a bucket.
91+
* @return value or {@code null} for none
92+
*/
93+
public CmekSettings getCmekSettings() {
94+
return cmekSettings;
95+
}
96+
97+
/**
98+
* Optional. Settings for configuring CMEK on a bucket.
99+
* @param cmekSettings cmekSettings or {@code null} for none
100+
*/
101+
public Bucket setCmekSettings(CmekSettings cmekSettings) {
102+
this.cmekSettings = cmekSettings;
103+
return this;
104+
}
105+
106+
/**
107+
* Output only. Create timestamp.
108+
* @return value or {@code null} for none
109+
*/
110+
public String getCreateTime() {
111+
return createTime;
112+
}
113+
114+
/**
115+
* Output only. Create timestamp.
116+
* @param createTime createTime or {@code null} for none
117+
*/
118+
public Bucket setCreateTime(String createTime) {
119+
this.createTime = createTime;
120+
return this;
121+
}
122+
123+
/**
124+
* Output only. Delete timestamp.
125+
* @return value or {@code null} for none
126+
*/
127+
public String getDeleteTime() {
128+
return deleteTime;
129+
}
130+
131+
/**
132+
* Output only. Delete timestamp.
133+
* @param deleteTime deleteTime or {@code null} for none
134+
*/
135+
public Bucket setDeleteTime(String deleteTime) {
136+
this.deleteTime = deleteTime;
137+
return this;
138+
}
139+
140+
/**
141+
* Optional. Description of the bucket.
142+
* @return value or {@code null} for none
143+
*/
144+
public java.lang.String getDescription() {
145+
return description;
146+
}
147+
148+
/**
149+
* Optional. Description of the bucket.
150+
* @param description description or {@code null} for none
151+
*/
152+
public Bucket setDescription(java.lang.String description) {
153+
this.description = description;
154+
return this;
155+
}
156+
157+
/**
158+
* Optional. User friendly display name.
159+
* @return value or {@code null} for none
160+
*/
161+
public java.lang.String getDisplayName() {
162+
return displayName;
163+
}
164+
165+
/**
166+
* Optional. User friendly display name.
167+
* @param displayName displayName or {@code null} for none
168+
*/
169+
public Bucket setDisplayName(java.lang.String displayName) {
170+
this.displayName = displayName;
171+
return this;
172+
}
173+
174+
/**
175+
* Identifier. Name of the bucket. The format is:
176+
* projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]
177+
* @return value or {@code null} for none
178+
*/
179+
public java.lang.String getName() {
180+
return name;
181+
}
182+
183+
/**
184+
* Identifier. Name of the bucket. The format is:
185+
* projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]
186+
* @param name name or {@code null} for none
187+
*/
188+
public Bucket setName(java.lang.String name) {
189+
this.name = name;
190+
return this;
191+
}
192+
193+
/**
194+
* Output only. Timestamp when the bucket in soft-deleted state is purged.
195+
* @return value or {@code null} for none
196+
*/
197+
public String getPurgeTime() {
198+
return purgeTime;
199+
}
200+
201+
/**
202+
* Output only. Timestamp when the bucket in soft-deleted state is purged.
203+
* @param purgeTime purgeTime or {@code null} for none
204+
*/
205+
public Bucket setPurgeTime(String purgeTime) {
206+
this.purgeTime = purgeTime;
207+
return this;
208+
}
209+
210+
/**
211+
* Output only. Update timestamp.
212+
* @return value or {@code null} for none
213+
*/
214+
public String getUpdateTime() {
215+
return updateTime;
216+
}
217+
218+
/**
219+
* Output only. Update timestamp.
220+
* @param updateTime updateTime or {@code null} for none
221+
*/
222+
public Bucket setUpdateTime(String updateTime) {
223+
this.updateTime = updateTime;
224+
return this;
225+
}
226+
227+
@Override
228+
public Bucket set(String fieldName, Object value) {
229+
return (Bucket) super.set(fieldName, value);
230+
}
231+
232+
@Override
233+
public Bucket clone() {
234+
return (Bucket) super.clone();
235+
}
236+
237+
}
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
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.observability.v1.model;
18+
19+
/**
20+
* Settings for configuring CMEK for a bucket.
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 Observability 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 CmekSettings extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The resource name for the configured Cloud KMS key. The format is:
34+
* projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY] For example:
35+
* projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String kmsKey;
40+
41+
/**
42+
* Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key. The format
43+
* is: projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVer
44+
* sions/[VERSION] For example: projects/my-project/locations/us-central1/keyRings/my-
45+
* ring/cryptoKeys/my-key/cryptoKeyVersions/1 This read-only field is used to convey the specific
46+
* configured CryptoKeyVersion of the `kms_key` that has been configured. It is populated when the
47+
* CMEK settings are bound to a single key version.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String kmsKeyVersion;
52+
53+
/**
54+
* Output only. The service account used to access the key.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String serviceAccountId;
59+
60+
/**
61+
* Optional. The resource name for the configured Cloud KMS key. The format is:
62+
* projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY] For example:
63+
* projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.String getKmsKey() {
67+
return kmsKey;
68+
}
69+
70+
/**
71+
* Optional. The resource name for the configured Cloud KMS key. The format is:
72+
* projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY] For example:
73+
* projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key
74+
* @param kmsKey kmsKey or {@code null} for none
75+
*/
76+
public CmekSettings setKmsKey(java.lang.String kmsKey) {
77+
this.kmsKey = kmsKey;
78+
return this;
79+
}
80+
81+
/**
82+
* Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key. The format
83+
* is: projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVer
84+
* sions/[VERSION] For example: projects/my-project/locations/us-central1/keyRings/my-
85+
* ring/cryptoKeys/my-key/cryptoKeyVersions/1 This read-only field is used to convey the specific
86+
* configured CryptoKeyVersion of the `kms_key` that has been configured. It is populated when the
87+
* CMEK settings are bound to a single key version.
88+
* @return value or {@code null} for none
89+
*/
90+
public java.lang.String getKmsKeyVersion() {
91+
return kmsKeyVersion;
92+
}
93+
94+
/**
95+
* Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key. The format
96+
* is: projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVer
97+
* sions/[VERSION] For example: projects/my-project/locations/us-central1/keyRings/my-
98+
* ring/cryptoKeys/my-key/cryptoKeyVersions/1 This read-only field is used to convey the specific
99+
* configured CryptoKeyVersion of the `kms_key` that has been configured. It is populated when the
100+
* CMEK settings are bound to a single key version.
101+
* @param kmsKeyVersion kmsKeyVersion or {@code null} for none
102+
*/
103+
public CmekSettings setKmsKeyVersion(java.lang.String kmsKeyVersion) {
104+
this.kmsKeyVersion = kmsKeyVersion;
105+
return this;
106+
}
107+
108+
/**
109+
* Output only. The service account used to access the key.
110+
* @return value or {@code null} for none
111+
*/
112+
public java.lang.String getServiceAccountId() {
113+
return serviceAccountId;
114+
}
115+
116+
/**
117+
* Output only. The service account used to access the key.
118+
* @param serviceAccountId serviceAccountId or {@code null} for none
119+
*/
120+
public CmekSettings setServiceAccountId(java.lang.String serviceAccountId) {
121+
this.serviceAccountId = serviceAccountId;
122+
return this;
123+
}
124+
125+
@Override
126+
public CmekSettings set(String fieldName, Object value) {
127+
return (CmekSettings) super.set(fieldName, value);
128+
}
129+
130+
@Override
131+
public CmekSettings clone() {
132+
return (CmekSettings) super.clone();
133+
}
134+
135+
}

0 commit comments

Comments
 (0)