Skip to content

Commit f934ec7

Browse files
1 parent 667b916 commit f934ec7

23 files changed

+528
-135
lines changed

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

clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/AutomatedBackupPolicy.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public final class AutomatedBackupPolicy extends com.google.api.client.json.Gene
4949

5050
/**
5151
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed
52-
* encryption key (CMEK). When this field is not specified, the backup will then use default
53-
* encryption scheme to protect the user data.
52+
* encryption key (CMEK). When this field is not specified, the backup will use the cluster's
53+
* encryption config.
5454
* The value may be {@code null}.
5555
*/
5656
@com.google.api.client.util.Key
@@ -134,8 +134,8 @@ public AutomatedBackupPolicy setEnabled(java.lang.Boolean enabled) {
134134

135135
/**
136136
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed
137-
* encryption key (CMEK). When this field is not specified, the backup will then use default
138-
* encryption scheme to protect the user data.
137+
* encryption key (CMEK). When this field is not specified, the backup will use the cluster's
138+
* encryption config.
139139
* @return value or {@code null} for none
140140
*/
141141
public EncryptionConfig getEncryptionConfig() {
@@ -144,8 +144,8 @@ public EncryptionConfig getEncryptionConfig() {
144144

145145
/**
146146
* Optional. The encryption config can be specified to encrypt the backups with a customer-managed
147-
* encryption key (CMEK). When this field is not specified, the backup will then use default
148-
* encryption scheme to protect the user data.
147+
* encryption key (CMEK). When this field is not specified, the backup will use the cluster's
148+
* encryption config.
149149
* @param encryptionConfig encryptionConfig or {@code null} for none
150150
*/
151151
public AutomatedBackupPolicy setEncryptionConfig(EncryptionConfig encryptionConfig) {

clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Instance.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,13 @@ public final class Instance extends com.google.api.client.json.GenericJson {
166166
@com.google.api.client.util.Key
167167
private java.util.List<Node> nodes;
168168

169+
/**
170+
* Configuration for observability.
171+
* The value may be {@code null}.
172+
*/
173+
@com.google.api.client.util.Key
174+
private ObservabilityInstanceConfig observabilityConfig;
175+
169176
/**
170177
* Output only. All outbound public IP addresses configured for the instance.
171178
* The value may be {@code null}.
@@ -568,6 +575,23 @@ public Instance setNodes(java.util.List<Node> nodes) {
568575
return this;
569576
}
570577

578+
/**
579+
* Configuration for observability.
580+
* @return value or {@code null} for none
581+
*/
582+
public ObservabilityInstanceConfig getObservabilityConfig() {
583+
return observabilityConfig;
584+
}
585+
586+
/**
587+
* Configuration for observability.
588+
* @param observabilityConfig observabilityConfig or {@code null} for none
589+
*/
590+
public Instance setObservabilityConfig(ObservabilityInstanceConfig observabilityConfig) {
591+
this.observabilityConfig = observabilityConfig;
592+
return this;
593+
}
594+
571595
/**
572596
* Output only. All outbound public IP addresses configured for the instance.
573597
* @return value or {@code null} for none
Lines changed: 246 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
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.alloydb.v1.model;
18+
19+
/**
20+
* Observability Instance specific configuration.
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 AlloyDB 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 ObservabilityInstanceConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Observability feature status for an instance. This flag is turned "off" by default.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean enabled;
38+
39+
/**
40+
* Query string length. The default value is 10k.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Integer maxQueryStringLength;
45+
46+
/**
47+
* Preserve comments in query string for an instance. This flag is turned "off" by default.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Boolean preserveComments;
52+
53+
/**
54+
* Number of query execution plans captured by Insights per minute for all queries combined. The
55+
* default value is 200. Any integer between 0 to 200 is considered valid.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.Integer queryPlansPerMinute;
60+
61+
/**
62+
* Record application tags for an instance. This flag is turned "off" by default.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.lang.Boolean recordApplicationTags;
67+
68+
/**
69+
* Track actively running queries on the instance. If not set, this flag is "off" by default.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private java.lang.Boolean trackActiveQueries;
74+
75+
/**
76+
* Output only. Track wait event types during query execution for an instance. This flag is turned
77+
* "on" by default but tracking is enabled only after observability enabled flag is also turned
78+
* on. This is read-only flag and only modifiable by internal API.
79+
* The value may be {@code null}.
80+
*/
81+
@com.google.api.client.util.Key
82+
private java.lang.Boolean trackWaitEventTypes;
83+
84+
/**
85+
* Track wait events during query execution for an instance. This flag is turned "on" by default
86+
* but tracking is enabled only after observability enabled flag is also turned on.
87+
* The value may be {@code null}.
88+
*/
89+
@com.google.api.client.util.Key
90+
private java.lang.Boolean trackWaitEvents;
91+
92+
/**
93+
* Observability feature status for an instance. This flag is turned "off" by default.
94+
* @return value or {@code null} for none
95+
*/
96+
public java.lang.Boolean getEnabled() {
97+
return enabled;
98+
}
99+
100+
/**
101+
* Observability feature status for an instance. This flag is turned "off" by default.
102+
* @param enabled enabled or {@code null} for none
103+
*/
104+
public ObservabilityInstanceConfig setEnabled(java.lang.Boolean enabled) {
105+
this.enabled = enabled;
106+
return this;
107+
}
108+
109+
/**
110+
* Query string length. The default value is 10k.
111+
* @return value or {@code null} for none
112+
*/
113+
public java.lang.Integer getMaxQueryStringLength() {
114+
return maxQueryStringLength;
115+
}
116+
117+
/**
118+
* Query string length. The default value is 10k.
119+
* @param maxQueryStringLength maxQueryStringLength or {@code null} for none
120+
*/
121+
public ObservabilityInstanceConfig setMaxQueryStringLength(java.lang.Integer maxQueryStringLength) {
122+
this.maxQueryStringLength = maxQueryStringLength;
123+
return this;
124+
}
125+
126+
/**
127+
* Preserve comments in query string for an instance. This flag is turned "off" by default.
128+
* @return value or {@code null} for none
129+
*/
130+
public java.lang.Boolean getPreserveComments() {
131+
return preserveComments;
132+
}
133+
134+
/**
135+
* Preserve comments in query string for an instance. This flag is turned "off" by default.
136+
* @param preserveComments preserveComments or {@code null} for none
137+
*/
138+
public ObservabilityInstanceConfig setPreserveComments(java.lang.Boolean preserveComments) {
139+
this.preserveComments = preserveComments;
140+
return this;
141+
}
142+
143+
/**
144+
* Number of query execution plans captured by Insights per minute for all queries combined. The
145+
* default value is 200. Any integer between 0 to 200 is considered valid.
146+
* @return value or {@code null} for none
147+
*/
148+
public java.lang.Integer getQueryPlansPerMinute() {
149+
return queryPlansPerMinute;
150+
}
151+
152+
/**
153+
* Number of query execution plans captured by Insights per minute for all queries combined. The
154+
* default value is 200. Any integer between 0 to 200 is considered valid.
155+
* @param queryPlansPerMinute queryPlansPerMinute or {@code null} for none
156+
*/
157+
public ObservabilityInstanceConfig setQueryPlansPerMinute(java.lang.Integer queryPlansPerMinute) {
158+
this.queryPlansPerMinute = queryPlansPerMinute;
159+
return this;
160+
}
161+
162+
/**
163+
* Record application tags for an instance. This flag is turned "off" by default.
164+
* @return value or {@code null} for none
165+
*/
166+
public java.lang.Boolean getRecordApplicationTags() {
167+
return recordApplicationTags;
168+
}
169+
170+
/**
171+
* Record application tags for an instance. This flag is turned "off" by default.
172+
* @param recordApplicationTags recordApplicationTags or {@code null} for none
173+
*/
174+
public ObservabilityInstanceConfig setRecordApplicationTags(java.lang.Boolean recordApplicationTags) {
175+
this.recordApplicationTags = recordApplicationTags;
176+
return this;
177+
}
178+
179+
/**
180+
* Track actively running queries on the instance. If not set, this flag is "off" by default.
181+
* @return value or {@code null} for none
182+
*/
183+
public java.lang.Boolean getTrackActiveQueries() {
184+
return trackActiveQueries;
185+
}
186+
187+
/**
188+
* Track actively running queries on the instance. If not set, this flag is "off" by default.
189+
* @param trackActiveQueries trackActiveQueries or {@code null} for none
190+
*/
191+
public ObservabilityInstanceConfig setTrackActiveQueries(java.lang.Boolean trackActiveQueries) {
192+
this.trackActiveQueries = trackActiveQueries;
193+
return this;
194+
}
195+
196+
/**
197+
* Output only. Track wait event types during query execution for an instance. This flag is turned
198+
* "on" by default but tracking is enabled only after observability enabled flag is also turned
199+
* on. This is read-only flag and only modifiable by internal API.
200+
* @return value or {@code null} for none
201+
*/
202+
public java.lang.Boolean getTrackWaitEventTypes() {
203+
return trackWaitEventTypes;
204+
}
205+
206+
/**
207+
* Output only. Track wait event types during query execution for an instance. This flag is turned
208+
* "on" by default but tracking is enabled only after observability enabled flag is also turned
209+
* on. This is read-only flag and only modifiable by internal API.
210+
* @param trackWaitEventTypes trackWaitEventTypes or {@code null} for none
211+
*/
212+
public ObservabilityInstanceConfig setTrackWaitEventTypes(java.lang.Boolean trackWaitEventTypes) {
213+
this.trackWaitEventTypes = trackWaitEventTypes;
214+
return this;
215+
}
216+
217+
/**
218+
* Track wait events during query execution for an instance. This flag is turned "on" by default
219+
* but tracking is enabled only after observability enabled flag is also turned on.
220+
* @return value or {@code null} for none
221+
*/
222+
public java.lang.Boolean getTrackWaitEvents() {
223+
return trackWaitEvents;
224+
}
225+
226+
/**
227+
* Track wait events during query execution for an instance. This flag is turned "on" by default
228+
* but tracking is enabled only after observability enabled flag is also turned on.
229+
* @param trackWaitEvents trackWaitEvents or {@code null} for none
230+
*/
231+
public ObservabilityInstanceConfig setTrackWaitEvents(java.lang.Boolean trackWaitEvents) {
232+
this.trackWaitEvents = trackWaitEvents;
233+
return this;
234+
}
235+
236+
@Override
237+
public ObservabilityInstanceConfig set(String fieldName, Object value) {
238+
return (ObservabilityInstanceConfig) super.set(fieldName, value);
239+
}
240+
241+
@Override
242+
public ObservabilityInstanceConfig clone() {
243+
return (ObservabilityInstanceConfig) super.clone();
244+
}
245+
246+
}

0 commit comments

Comments
 (0)