Skip to content

Commit 7af1eb8

Browse files
1 parent 677e5a5 commit 7af1eb8

16 files changed

+910
-17
lines changed

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

clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/CloudAlloyDBAdmin.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7776,6 +7776,28 @@ public List setPageToken(java.lang.String pageToken) {
77767776
return this;
77777777
}
77787778

7779+
/**
7780+
* Optional. The scope for which supported flags are requested. If not specified, default
7781+
* is DATABASE.
7782+
*/
7783+
@com.google.api.client.util.Key
7784+
private java.lang.String scope;
7785+
7786+
/** Optional. The scope for which supported flags are requested. If not specified, default is DATABASE.
7787+
*/
7788+
public java.lang.String getScope() {
7789+
return scope;
7790+
}
7791+
7792+
/**
7793+
* Optional. The scope for which supported flags are requested. If not specified, default
7794+
* is DATABASE.
7795+
*/
7796+
public List setScope(java.lang.String scope) {
7797+
this.scope = scope;
7798+
return this;
7799+
}
7800+
77797801
@Override
77807802
public List set(String parameterName, Object value) {
77817803
return (List) super.set(parameterName, value);

clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/ContinuousBackupConfig.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public final class ContinuousBackupConfig extends com.google.api.client.json.Gen
3838

3939
/**
4040
* The encryption config can be specified to encrypt the backups with a customer-managed
41-
* encryption key (CMEK). When this field is not specified, the backup will then use default
42-
* encryption scheme to protect the user data.
41+
* encryption key (CMEK). When this field is not specified, the backup will use the cluster's
42+
* encryption config.
4343
* The value may be {@code null}.
4444
*/
4545
@com.google.api.client.util.Key
@@ -73,8 +73,8 @@ public ContinuousBackupConfig setEnabled(java.lang.Boolean enabled) {
7373

7474
/**
7575
* The encryption config can be specified to encrypt the backups with a customer-managed
76-
* encryption key (CMEK). When this field is not specified, the backup will then use default
77-
* encryption scheme to protect the user data.
76+
* encryption key (CMEK). When this field is not specified, the backup will use the cluster's
77+
* encryption config.
7878
* @return value or {@code null} for none
7979
*/
8080
public EncryptionConfig getEncryptionConfig() {
@@ -83,8 +83,8 @@ public EncryptionConfig getEncryptionConfig() {
8383

8484
/**
8585
* The encryption config can be specified to encrypt the backups with a customer-managed
86-
* encryption key (CMEK). When this field is not specified, the backup will then use default
87-
* encryption scheme to protect the user data.
86+
* encryption key (CMEK). When this field is not specified, the backup will use the cluster's
87+
* encryption config.
8888
* @param encryptionConfig encryptionConfig or {@code null} for none
8989
*/
9090
public ContinuousBackupConfig setEncryptionConfig(EncryptionConfig encryptionConfig) {

clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/Node.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.alloydb.v1alpha.model;
1818

1919
/**
20-
* Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can
20+
* Details of a single node in the instance. Nodes in an AlloyDB instance are ephemeral, they can
2121
* change during update, failover, autohealing and resize operations.
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is

clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/OperationMetadata.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
7373
@com.google.api.client.util.Key
7474
private java.lang.String target;
7575

76+
/**
77+
* Output only. UpgradeClusterStatus related metadata.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private UpgradeClusterStatus upgradeClusterStatus;
82+
7683
/**
7784
* Output only. Name of the verb executed by the operation.
7885
* The value may be {@code null}.
@@ -186,6 +193,23 @@ public OperationMetadata setTarget(java.lang.String target) {
186193
return this;
187194
}
188195

196+
/**
197+
* Output only. UpgradeClusterStatus related metadata.
198+
* @return value or {@code null} for none
199+
*/
200+
public UpgradeClusterStatus getUpgradeClusterStatus() {
201+
return upgradeClusterStatus;
202+
}
203+
204+
/**
205+
* Output only. UpgradeClusterStatus related metadata.
206+
* @param upgradeClusterStatus upgradeClusterStatus or {@code null} for none
207+
*/
208+
public OperationMetadata setUpgradeClusterStatus(UpgradeClusterStatus upgradeClusterStatus) {
209+
this.upgradeClusterStatus = upgradeClusterStatus;
210+
return this;
211+
}
212+
189213
/**
190214
* Output only. Name of the verb executed by the operation.
191215
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
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.v1alpha.model;
18+
19+
/**
20+
* Configuration for setting up PSC service automation. Consumer projects in the configs will be
21+
* allowlisted automatically for the instance.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class PscAutoConnectionConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The consumer network for the PSC service automation, example: "projects/vpc-host-
35+
* project/global/networks/default". The consumer network might be hosted a different project than
36+
* the consumer project.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.String consumerNetwork;
41+
42+
/**
43+
* Output only. The status of the service connection policy.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String consumerNetworkStatus;
48+
49+
/**
50+
* The consumer project to which the PSC service automation endpoint will be created.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String consumerProject;
55+
56+
/**
57+
* Output only. The IP address of the PSC service automation endpoint.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.lang.String ipAddress;
62+
63+
/**
64+
* Output only. The status of the PSC service automation connection.
65+
* The value may be {@code null}.
66+
*/
67+
@com.google.api.client.util.Key
68+
private java.lang.String status;
69+
70+
/**
71+
* The consumer network for the PSC service automation, example: "projects/vpc-host-
72+
* project/global/networks/default". The consumer network might be hosted a different project than
73+
* the consumer project.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getConsumerNetwork() {
77+
return consumerNetwork;
78+
}
79+
80+
/**
81+
* The consumer network for the PSC service automation, example: "projects/vpc-host-
82+
* project/global/networks/default". The consumer network might be hosted a different project than
83+
* the consumer project.
84+
* @param consumerNetwork consumerNetwork or {@code null} for none
85+
*/
86+
public PscAutoConnectionConfig setConsumerNetwork(java.lang.String consumerNetwork) {
87+
this.consumerNetwork = consumerNetwork;
88+
return this;
89+
}
90+
91+
/**
92+
* Output only. The status of the service connection policy.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.lang.String getConsumerNetworkStatus() {
96+
return consumerNetworkStatus;
97+
}
98+
99+
/**
100+
* Output only. The status of the service connection policy.
101+
* @param consumerNetworkStatus consumerNetworkStatus or {@code null} for none
102+
*/
103+
public PscAutoConnectionConfig setConsumerNetworkStatus(java.lang.String consumerNetworkStatus) {
104+
this.consumerNetworkStatus = consumerNetworkStatus;
105+
return this;
106+
}
107+
108+
/**
109+
* The consumer project to which the PSC service automation endpoint will be created.
110+
* @return value or {@code null} for none
111+
*/
112+
public java.lang.String getConsumerProject() {
113+
return consumerProject;
114+
}
115+
116+
/**
117+
* The consumer project to which the PSC service automation endpoint will be created.
118+
* @param consumerProject consumerProject or {@code null} for none
119+
*/
120+
public PscAutoConnectionConfig setConsumerProject(java.lang.String consumerProject) {
121+
this.consumerProject = consumerProject;
122+
return this;
123+
}
124+
125+
/**
126+
* Output only. The IP address of the PSC service automation endpoint.
127+
* @return value or {@code null} for none
128+
*/
129+
public java.lang.String getIpAddress() {
130+
return ipAddress;
131+
}
132+
133+
/**
134+
* Output only. The IP address of the PSC service automation endpoint.
135+
* @param ipAddress ipAddress or {@code null} for none
136+
*/
137+
public PscAutoConnectionConfig setIpAddress(java.lang.String ipAddress) {
138+
this.ipAddress = ipAddress;
139+
return this;
140+
}
141+
142+
/**
143+
* Output only. The status of the PSC service automation connection.
144+
* @return value or {@code null} for none
145+
*/
146+
public java.lang.String getStatus() {
147+
return status;
148+
}
149+
150+
/**
151+
* Output only. The status of the PSC service automation connection.
152+
* @param status status or {@code null} for none
153+
*/
154+
public PscAutoConnectionConfig setStatus(java.lang.String status) {
155+
this.status = status;
156+
return this;
157+
}
158+
159+
@Override
160+
public PscAutoConnectionConfig set(String fieldName, Object value) {
161+
return (PscAutoConnectionConfig) super.set(fieldName, value);
162+
}
163+
164+
@Override
165+
public PscAutoConnectionConfig clone() {
166+
return (PscAutoConnectionConfig) super.clone();
167+
}
168+
169+
}

clients/google-api-services-alloydb/v1alpha/2.0.0/com/google/api/services/alloydb/v1alpha/model/PscInstanceConfig.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ public final class PscInstanceConfig extends com.google.api.client.json.GenericJ
3737
@com.google.api.client.util.Key
3838
private java.util.List<java.lang.String> allowedConsumerProjects;
3939

40+
/**
41+
* Optional. Configurations for setting up PSC service automation.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<PscAutoConnectionConfig> pscAutoConnections;
46+
47+
static {
48+
// hack to force ProGuard to consider PscAutoConnectionConfig used, since otherwise it would be stripped out
49+
// see https://github.com/google/google-api-java-client/issues/543
50+
com.google.api.client.util.Data.nullOf(PscAutoConnectionConfig.class);
51+
}
52+
4053
/**
4154
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-
4255
* psc.goog
@@ -82,6 +95,23 @@ public PscInstanceConfig setAllowedConsumerProjects(java.util.List<java.lang.Str
8295
return this;
8396
}
8497

98+
/**
99+
* Optional. Configurations for setting up PSC service automation.
100+
* @return value or {@code null} for none
101+
*/
102+
public java.util.List<PscAutoConnectionConfig> getPscAutoConnections() {
103+
return pscAutoConnections;
104+
}
105+
106+
/**
107+
* Optional. Configurations for setting up PSC service automation.
108+
* @param pscAutoConnections pscAutoConnections or {@code null} for none
109+
*/
110+
public PscInstanceConfig setPscAutoConnections(java.util.List<PscAutoConnectionConfig> pscAutoConnections) {
111+
this.pscAutoConnections = pscAutoConnections;
112+
return this;
113+
}
114+
85115
/**
86116
* Output only. The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-
87117
* psc.goog

0 commit comments

Comments
 (0)