Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1-rev20261006-2.9.2</version>
<version>v1-rev20261026-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20261006-2.9.2'
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20261026-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.alloydb.v1.model;

/**
* Connections count policy for the autoscaler.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ConnectionsCount extends com.google.api.client.json.GenericJson {

/**
* Optional. The target number of connections for the autoscaler to scale the instance to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long targetCount;

/**
* Optional. The target number of connections for the autoscaler to scale the instance to.
* @return value or {@code null} for none
*/
public java.lang.Long getTargetCount() {
return targetCount;
}

/**
* Optional. The target number of connections for the autoscaler to scale the instance to.
* @param targetCount targetCount or {@code null} for none
*/
public ConnectionsCount setTargetCount(java.lang.Long targetCount) {
this.targetCount = targetCount;
return this;
}

@Override
public ConnectionsCount set(String fieldName, Object value) {
return (ConnectionsCount) super.set(fieldName, value);
}

@Override
public ConnectionsCount clone() {
return (ConnectionsCount) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
@SuppressWarnings("javadoc")
public final class Policy extends com.google.api.client.json.GenericJson {

/**
* Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use
* connection count for scaling.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ConnectionsCount connectionsCount;

/**
* The period of time in seconds after a new node is created before the autoscaler will
* incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation
Expand Down Expand Up @@ -59,6 +67,25 @@ public final class Policy extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long maxNodeCount;

/**
* Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use
* connection count for scaling.
* @return value or {@code null} for none
*/
public ConnectionsCount getConnectionsCount() {
return connectionsCount;
}

/**
* Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use
* connection count for scaling.
* @param connectionsCount connectionsCount or {@code null} for none
*/
public Policy setConnectionsCount(ConnectionsCount connectionsCount) {
this.connectionsCount = connectionsCount;
return this;
}

/**
* The period of time in seconds after a new node is created before the autoscaler will
* incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1-rev20261006-2.9.2</version>
<name>AlloyDB API v1-rev20261006-2.9.2</name>
<version>v1-rev20261026-2.9.2</version>
<name>AlloyDB API v1-rev20261026-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1-rev20261006-2.9.2</version>
<version>v1-rev20261026-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20261006-2.9.2'
implementation 'com.google.apis:google-api-services-alloydb:v1-rev20261026-2.9.2'
}
```

Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1alpha/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1alpha-rev20261018-2.9.2</version>
<version>v1alpha-rev20261026-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20261018-2.9.2'
implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20261026-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.alloydb.v1alpha.model;

/**
* Connections count policy for the autoscaler.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ConnectionsCount extends com.google.api.client.json.GenericJson {

/**
* Optional. The target number of connections for the autoscaler to scale the instance to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long targetCount;

/**
* Optional. The target number of connections for the autoscaler to scale the instance to.
* @return value or {@code null} for none
*/
public java.lang.Long getTargetCount() {
return targetCount;
}

/**
* Optional. The target number of connections for the autoscaler to scale the instance to.
* @param targetCount targetCount or {@code null} for none
*/
public ConnectionsCount setTargetCount(java.lang.Long targetCount) {
this.targetCount = targetCount;
return this;
}

@Override
public ConnectionsCount set(String fieldName, Object value) {
return (ConnectionsCount) super.set(fieldName, value);
}

@Override
public ConnectionsCount clone() {
return (ConnectionsCount) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
@SuppressWarnings("javadoc")
public final class Policy extends com.google.api.client.json.GenericJson {

/**
* Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use
* connection count for scaling.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ConnectionsCount connectionsCount;

/**
* The period of time in seconds after a new node is created before the autoscaler will
* incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation
Expand Down Expand Up @@ -59,6 +67,25 @@ public final class Policy extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long maxNodeCount;

/**
* Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use
* connection count for scaling.
* @return value or {@code null} for none
*/
public ConnectionsCount getConnectionsCount() {
return connectionsCount;
}

/**
* Optional. Connections count policy for the autoscaler. If not set, the autoscaler will not use
* connection count for scaling.
* @param connectionsCount connectionsCount or {@code null} for none
*/
public Policy setConnectionsCount(ConnectionsCount connectionsCount) {
this.connectionsCount = connectionsCount;
return this;
}

/**
* The period of time in seconds after a new node is created before the autoscaler will
* incorporate its resource usage (e.g. CPU utilization) into the autoscaling recommendation
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1alpha/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1alpha-rev20261018-2.9.2</version>
<name>AlloyDB API v1alpha-rev20261018-2.9.2</name>
<version>v1alpha-rev20261026-2.9.2</version>
<name>AlloyDB API v1alpha-rev20261026-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1alpha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1alpha-rev20261018-2.9.2</version>
<version>v1alpha-rev20261026-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20261018-2.9.2'
implementation 'com.google.apis:google-api-services-alloydb:v1alpha-rev20261026-2.9.2'
}
```

Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-alloydb/v1beta/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-alloydb</artifactId>
<version>v1beta-rev20261018-2.9.2</version>
<version>v1beta-rev20261026-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-alloydb:v1beta-rev20261018-2.9.2'
implementation 'com.google.apis:google-api-services-alloydb:v1beta-rev20261026-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.alloydb.v1beta.model;

/**
* Connections count policy for the autoscaler.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class ConnectionsCount extends com.google.api.client.json.GenericJson {

/**
* Optional. The target number of connections for the autoscaler to scale the instance to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long targetCount;

/**
* Optional. The target number of connections for the autoscaler to scale the instance to.
* @return value or {@code null} for none
*/
public java.lang.Long getTargetCount() {
return targetCount;
}

/**
* Optional. The target number of connections for the autoscaler to scale the instance to.
* @param targetCount targetCount or {@code null} for none
*/
public ConnectionsCount setTargetCount(java.lang.Long targetCount) {
this.targetCount = targetCount;
return this;
}

@Override
public ConnectionsCount set(String fieldName, Object value) {
return (ConnectionsCount) super.set(fieldName, value);
}

@Override
public ConnectionsCount clone() {
return (ConnectionsCount) super.clone();
}

}
Loading
Loading