Skip to content

Commit 97a8b7a

Browse files
1 parent e955844 commit 97a8b7a

File tree

6 files changed

+122
-7
lines changed

6 files changed

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

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

Lines changed: 25 additions & 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-
* Common model for database resource instance metadata.
20+
* Common model for database resource instance metadata. Next ID: 21
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
@@ -150,6 +150,13 @@ public final class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
150150
@com.google.api.client.util.Key
151151
private java.lang.String resourceName;
152152

153+
/**
154+
* Optional. Tags associated with this resources.
155+
* The value may be {@code null}.
156+
*/
157+
@com.google.api.client.util.Key
158+
private StorageDatabasecenterPartnerapiV1mainTags tagsSet;
159+
153160
/**
154161
* The time at which the resource was updated and recorded at partner service.
155162
* The value may be {@code null}.
@@ -454,6 +461,23 @@ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setResource
454461
return this;
455462
}
456463

464+
/**
465+
* Optional. Tags associated with this resources.
466+
* @return value or {@code null} for none
467+
*/
468+
public StorageDatabasecenterPartnerapiV1mainTags getTagsSet() {
469+
return tagsSet;
470+
}
471+
472+
/**
473+
* Optional. Tags associated with this resources.
474+
* @param tagsSet tagsSet or {@code null} for none
475+
*/
476+
public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setTagsSet(StorageDatabasecenterPartnerapiV1mainTags tagsSet) {
477+
this.tagsSet = tagsSet;
478+
return this;
479+
}
480+
457481
/**
458482
* The time at which the resource was updated and recorded at partner service.
459483
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ public final class StorageDatabasecenterPartnerapiV1mainMachineConfiguration ext
4343
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
4444
private java.lang.Long memorySizeInBytes;
4545

46+
/**
47+
* Optional. Number of shards (if applicable).
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Integer shardCount;
52+
4653
/**
4754
* The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.
4855
* @return value or {@code null} for none
@@ -77,6 +84,23 @@ public StorageDatabasecenterPartnerapiV1mainMachineConfiguration setMemorySizeIn
7784
return this;
7885
}
7986

87+
/**
88+
* Optional. Number of shards (if applicable).
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.Integer getShardCount() {
92+
return shardCount;
93+
}
94+
95+
/**
96+
* Optional. Number of shards (if applicable).
97+
* @param shardCount shardCount or {@code null} for none
98+
*/
99+
public StorageDatabasecenterPartnerapiV1mainMachineConfiguration setShardCount(java.lang.Integer shardCount) {
100+
this.shardCount = shardCount;
101+
return this;
102+
}
103+
80104
@Override
81105
public StorageDatabasecenterPartnerapiV1mainMachineConfiguration set(String fieldName, Object value) {
82106
return (StorageDatabasecenterPartnerapiV1mainMachineConfiguration) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* Message type for storing tags. Tags provide a way to create annotations for resources, and in
21+
* some cases conditionally allow or deny policies based on whether a resource has a specific tag.
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 StorageDatabasecenterPartnerapiV1mainTags extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The Tag key/value mappings.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.Map<String, java.lang.String> tags;
39+
40+
/**
41+
* The Tag key/value mappings.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.util.Map<String, java.lang.String> getTags() {
45+
return tags;
46+
}
47+
48+
/**
49+
* The Tag key/value mappings.
50+
* @param tags tags or {@code null} for none
51+
*/
52+
public StorageDatabasecenterPartnerapiV1mainTags setTags(java.util.Map<String, java.lang.String> tags) {
53+
this.tags = tags;
54+
return this;
55+
}
56+
57+
@Override
58+
public StorageDatabasecenterPartnerapiV1mainTags set(String fieldName, Object value) {
59+
return (StorageDatabasecenterPartnerapiV1mainTags) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public StorageDatabasecenterPartnerapiV1mainTags clone() {
64+
return (StorageDatabasecenterPartnerapiV1mainTags) super.clone();
65+
}
66+
67+
}

clients/google-api-services-alloydb/v1alpha/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>v1alpha-rev20240828-2.0.0</version>
12-
<name>AlloyDB API v1alpha-rev20240828-2.0.0</name>
11+
<version>v1alpha-rev20240909-2.0.0</version>
12+
<name>AlloyDB API v1alpha-rev20240909-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)