Skip to content

Commit 4302805

Browse files
1 parent 624ffda commit 4302805

File tree

8 files changed

+78
-75
lines changed

8 files changed

+78
-75
lines changed

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

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Cluster.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
121121
private java.util.List<PscConfig> pscConfigs;
122122

123123
/**
124-
* Output only. PSC connections for discovery of the cluster topology and accessing the cluster.
124+
* Output only. The list of PSC connections that are auto-created through service connectivity
125+
* automation.
125126
* The value may be {@code null}.
126127
*/
127128
@com.google.api.client.util.Key
@@ -410,15 +411,17 @@ public Cluster setPscConfigs(java.util.List<PscConfig> pscConfigs) {
410411
}
411412

412413
/**
413-
* Output only. PSC connections for discovery of the cluster topology and accessing the cluster.
414+
* Output only. The list of PSC connections that are auto-created through service connectivity
415+
* automation.
414416
* @return value or {@code null} for none
415417
*/
416418
public java.util.List<PscConnection> getPscConnections() {
417419
return pscConnections;
418420
}
419421

420422
/**
421-
* Output only. PSC connections for discovery of the cluster topology and accessing the cluster.
423+
* Output only. The list of PSC connections that are auto-created through service connectivity
424+
* automation.
422425
* @param pscConnections pscConnections or {@code null} for none
423426
*/
424427
public Cluster setPscConnections(java.util.List<PscConnection> pscConnections) {

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterMaintenanceSchedule.java

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ public final class ClusterMaintenanceSchedule extends com.google.api.client.json
3737
@com.google.api.client.util.Key
3838
private String endTime;
3939

40-
/**
41-
* Output only. The deadline that the maintenance schedule start time can not go beyond, including
42-
* reschedule.
43-
* The value may be {@code null}.
44-
*/
45-
@com.google.api.client.util.Key
46-
private String scheduleDeadlineTime;
47-
4840
/**
4941
* Output only. The start time of any upcoming scheduled maintenance for this instance.
5042
* The value may be {@code null}.
@@ -69,25 +61,6 @@ public ClusterMaintenanceSchedule setEndTime(String endTime) {
6961
return this;
7062
}
7163

72-
/**
73-
* Output only. The deadline that the maintenance schedule start time can not go beyond, including
74-
* reschedule.
75-
* @return value or {@code null} for none
76-
*/
77-
public String getScheduleDeadlineTime() {
78-
return scheduleDeadlineTime;
79-
}
80-
81-
/**
82-
* Output only. The deadline that the maintenance schedule start time can not go beyond, including
83-
* reschedule.
84-
* @param scheduleDeadlineTime scheduleDeadlineTime or {@code null} for none
85-
*/
86-
public ClusterMaintenanceSchedule setScheduleDeadlineTime(String scheduleDeadlineTime) {
87-
this.scheduleDeadlineTime = scheduleDeadlineTime;
88-
return this;
89-
}
90-
9164
/**
9265
* Output only. The start time of any upcoming scheduled maintenance for this instance.
9366
* @return value or {@code null} for none

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterWeeklyMaintenanceWindow.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ public final class ClusterWeeklyMaintenanceWindow extends com.google.api.client.
3737
@com.google.api.client.util.Key
3838
private java.lang.String day;
3939

40-
/**
41-
* Duration of the time window.
42-
* The value may be {@code null}.
43-
*/
44-
@com.google.api.client.util.Key
45-
private String duration;
46-
4740
/**
4841
* Start time of the window in UTC.
4942
* The value may be {@code null}.
@@ -68,23 +61,6 @@ public ClusterWeeklyMaintenanceWindow setDay(java.lang.String day) {
6861
return this;
6962
}
7063

71-
/**
72-
* Duration of the time window.
73-
* @return value or {@code null} for none
74-
*/
75-
public String getDuration() {
76-
return duration;
77-
}
78-
79-
/**
80-
* Duration of the time window.
81-
* @param duration duration or {@code null} for none
82-
*/
83-
public ClusterWeeklyMaintenanceWindow setDuration(String duration) {
84-
this.duration = duration;
85-
return this;
86-
}
87-
8864
/**
8965
* Start time of the window in UTC.
9066
* @return value or {@code null} for none

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/MachineConfiguration.java

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

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

88+
/**
89+
* Optional. Number of shards (if applicable).
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.Integer getShardCount() {
93+
return shardCount;
94+
}
95+
96+
/**
97+
* Optional. Number of shards (if applicable).
98+
* @param shardCount shardCount or {@code null} for none
99+
*/
100+
public MachineConfiguration setShardCount(java.lang.Integer shardCount) {
101+
this.shardCount = shardCount;
102+
return this;
103+
}
104+
81105
@Override
82106
public MachineConfiguration set(String fieldName, Object value) {
83107
return (MachineConfiguration) super.set(fieldName, value);

clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/PscConnection.java

Lines changed: 42 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,52 +31,60 @@
3131
public final class PscConnection extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Output only. The IP allocated on the consumer network for the PSC forwarding rule.
34+
* Required. The IP allocated on the consumer network for the PSC forwarding rule.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String address;
3939

4040
/**
41-
* Output only. The URI of the consumer side forwarding rule. Example:
41+
* Required. The URI of the consumer side forwarding rule. Example:
4242
* projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
4343
* The value may be {@code null}.
4444
*/
4545
@com.google.api.client.util.Key
4646
private java.lang.String forwardingRule;
4747

4848
/**
49-
* The consumer network where the IP address resides, in the form of
49+
* Required. The consumer network where the IP address resides, in the form of
5050
* projects/{project_id}/global/networks/{network_id}.
5151
* The value may be {@code null}.
5252
*/
5353
@com.google.api.client.util.Key
5454
private java.lang.String network;
5555

5656
/**
57-
* Output only. The consumer project_id where the forwarding rule is created from.
57+
* Optional. Project ID of the consumer project where the forwarding rule is created in.
5858
* The value may be {@code null}.
5959
*/
6060
@com.google.api.client.util.Key
6161
private java.lang.String projectId;
6262

6363
/**
64-
* Output only. The PSC connection id of the forwarding rule connected to the service attachment.
64+
* Optional. The PSC connection id of the forwarding rule connected to the service attachment.
6565
* The value may be {@code null}.
6666
*/
6767
@com.google.api.client.util.Key
6868
private java.lang.String pscConnectionId;
6969

7070
/**
71-
* Output only. The IP allocated on the consumer network for the PSC forwarding rule.
71+
* Required. The service attachment which is the target of the PSC connection, in the form of
72+
* projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
73+
* The value may be {@code null}.
74+
*/
75+
@com.google.api.client.util.Key
76+
private java.lang.String serviceAttachment;
77+
78+
/**
79+
* Required. The IP allocated on the consumer network for the PSC forwarding rule.
7280
* @return value or {@code null} for none
7381
*/
7482
public java.lang.String getAddress() {
7583
return address;
7684
}
7785

7886
/**
79-
* Output only. The IP allocated on the consumer network for the PSC forwarding rule.
87+
* Required. The IP allocated on the consumer network for the PSC forwarding rule.
8088
* @param address address or {@code null} for none
8189
*/
8290
public PscConnection setAddress(java.lang.String address) {
@@ -85,7 +93,7 @@ public PscConnection setAddress(java.lang.String address) {
8593
}
8694

8795
/**
88-
* Output only. The URI of the consumer side forwarding rule. Example:
96+
* Required. The URI of the consumer side forwarding rule. Example:
8997
* projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
9098
* @return value or {@code null} for none
9199
*/
@@ -94,7 +102,7 @@ public java.lang.String getForwardingRule() {
94102
}
95103

96104
/**
97-
* Output only. The URI of the consumer side forwarding rule. Example:
105+
* Required. The URI of the consumer side forwarding rule. Example:
98106
* projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
99107
* @param forwardingRule forwardingRule or {@code null} for none
100108
*/
@@ -104,7 +112,7 @@ public PscConnection setForwardingRule(java.lang.String forwardingRule) {
104112
}
105113

106114
/**
107-
* The consumer network where the IP address resides, in the form of
115+
* Required. The consumer network where the IP address resides, in the form of
108116
* projects/{project_id}/global/networks/{network_id}.
109117
* @return value or {@code null} for none
110118
*/
@@ -113,7 +121,7 @@ public java.lang.String getNetwork() {
113121
}
114122

115123
/**
116-
* The consumer network where the IP address resides, in the form of
124+
* Required. The consumer network where the IP address resides, in the form of
117125
* projects/{project_id}/global/networks/{network_id}.
118126
* @param network network or {@code null} for none
119127
*/
@@ -123,15 +131,15 @@ public PscConnection setNetwork(java.lang.String network) {
123131
}
124132

125133
/**
126-
* Output only. The consumer project_id where the forwarding rule is created from.
134+
* Optional. Project ID of the consumer project where the forwarding rule is created in.
127135
* @return value or {@code null} for none
128136
*/
129137
public java.lang.String getProjectId() {
130138
return projectId;
131139
}
132140

133141
/**
134-
* Output only. The consumer project_id where the forwarding rule is created from.
142+
* Optional. Project ID of the consumer project where the forwarding rule is created in.
135143
* @param projectId projectId or {@code null} for none
136144
*/
137145
public PscConnection setProjectId(java.lang.String projectId) {
@@ -140,22 +148,41 @@ public PscConnection setProjectId(java.lang.String projectId) {
140148
}
141149

142150
/**
143-
* Output only. The PSC connection id of the forwarding rule connected to the service attachment.
151+
* Optional. The PSC connection id of the forwarding rule connected to the service attachment.
144152
* @return value or {@code null} for none
145153
*/
146154
public java.lang.String getPscConnectionId() {
147155
return pscConnectionId;
148156
}
149157

150158
/**
151-
* Output only. The PSC connection id of the forwarding rule connected to the service attachment.
159+
* Optional. The PSC connection id of the forwarding rule connected to the service attachment.
152160
* @param pscConnectionId pscConnectionId or {@code null} for none
153161
*/
154162
public PscConnection setPscConnectionId(java.lang.String pscConnectionId) {
155163
this.pscConnectionId = pscConnectionId;
156164
return this;
157165
}
158166

167+
/**
168+
* Required. The service attachment which is the target of the PSC connection, in the form of
169+
* projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
170+
* @return value or {@code null} for none
171+
*/
172+
public java.lang.String getServiceAttachment() {
173+
return serviceAttachment;
174+
}
175+
176+
/**
177+
* Required. The service attachment which is the target of the PSC connection, in the form of
178+
* projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
179+
* @param serviceAttachment serviceAttachment or {@code null} for none
180+
*/
181+
public PscConnection setServiceAttachment(java.lang.String serviceAttachment) {
182+
this.serviceAttachment = serviceAttachment;
183+
return this;
184+
}
185+
159186
@Override
160187
public PscConnection set(String fieldName, Object value) {
161188
return (PscConnection) super.set(fieldName, value);

clients/google-api-services-redis/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-redis</artifactId>
11-
<version>v1-rev20240904-2.0.0</version>
12-
<name>Google Cloud Memorystore for Redis API v1-rev20240904-2.0.0</name>
11+
<version>v1-rev20240918-2.0.0</version>
12+
<name>Google Cloud Memorystore for Redis API v1-rev20240918-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)