Skip to content

Commit 3e9f022

Browse files
1 parent ec0dd4b commit 3e9f022

File tree

4 files changed

+42
-6
lines changed

4 files changed

+42
-6
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-rev20250410-2.0.0</version>
25+
<version>v1-rev20250417-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-rev20250410-2.0.0'
38+
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20250417-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@
3030
@SuppressWarnings("javadoc")
3131
public final class Instance extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. Specifies whether an instance needs to spin up. Once the instance is active, the
35+
* activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation
36+
* policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an
37+
* instance can/cannot be activated (for example, a read pool instance should be stopped before
38+
* stopping primary etc.). Please refer to the API documentation for more details.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.String activationPolicy;
43+
3344
/**
3445
* Annotations to allow client tools to store small amount of arbitrary data. This is distinct
3546
* from labels. https://google.aip.dev/128
@@ -255,6 +266,31 @@ public final class Instance extends com.google.api.client.json.GenericJson {
255266
@com.google.api.client.util.Key
256267
private Node writableNode;
257268

269+
/**
270+
* Optional. Specifies whether an instance needs to spin up. Once the instance is active, the
271+
* activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation
272+
* policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an
273+
* instance can/cannot be activated (for example, a read pool instance should be stopped before
274+
* stopping primary etc.). Please refer to the API documentation for more details.
275+
* @return value or {@code null} for none
276+
*/
277+
public java.lang.String getActivationPolicy() {
278+
return activationPolicy;
279+
}
280+
281+
/**
282+
* Optional. Specifies whether an instance needs to spin up. Once the instance is active, the
283+
* activation policy can be updated to the `NEVER` to stop the instance. Likewise, the activation
284+
* policy can be updated to `ALWAYS` to start the instance. There are restrictions around when an
285+
* instance can/cannot be activated (for example, a read pool instance should be stopped before
286+
* stopping primary etc.). Please refer to the API documentation for more details.
287+
* @param activationPolicy activationPolicy or {@code null} for none
288+
*/
289+
public Instance setActivationPolicy(java.lang.String activationPolicy) {
290+
this.activationPolicy = activationPolicy;
291+
return this;
292+
}
293+
258294
/**
259295
* Annotations to allow client tools to store small amount of arbitrary data. This is distinct
260296
* from labels. https://google.aip.dev/128

clients/google-api-services-alloydb/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-alloydb</artifactId>
11-
<version>v1-rev20250410-2.0.0</version>
12-
<name>AlloyDB API v1-rev20250410-2.0.0</name>
11+
<version>v1-rev20250417-2.0.0</version>
12+
<name>AlloyDB API v1-rev20250417-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)