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-redis/v1beta1/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-redis</artifactId>
<version>v1beta1-rev20250909-2.0.0</version>
<version>v1beta1-rev20250930-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-redis:v1beta1-rev20250909-2.0.0'
implementation 'com.google.apis:google-api-services-redis:v1beta1-rev20250930-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,15 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private ClusterMaintenanceSchedule maintenanceSchedule;

/**
* Optional. This field can be used to trigger self service update to indicate the desired
* maintenance version. The input to this field can be determined by the
* available_maintenance_versions field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String maintenanceVersion;

/**
* Optional. Backups generated and managed by memorystore service.
* The value may be {@code null}.
Expand Down Expand Up @@ -591,6 +600,27 @@ public Cluster setMaintenanceSchedule(ClusterMaintenanceSchedule maintenanceSche
return this;
}

/**
* Optional. This field can be used to trigger self service update to indicate the desired
* maintenance version. The input to this field can be determined by the
* available_maintenance_versions field.
* @return value or {@code null} for none
*/
public java.lang.String getMaintenanceVersion() {
return maintenanceVersion;
}

/**
* Optional. This field can be used to trigger self service update to indicate the desired
* maintenance version. The input to this field can be determined by the
* available_maintenance_versions field.
* @param maintenanceVersion maintenanceVersion or {@code null} for none
*/
public Cluster setMaintenanceVersion(java.lang.String maintenanceVersion) {
this.maintenanceVersion = maintenanceVersion;
return this;
}

/**
* Optional. Backups generated and managed by memorystore service.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.google.api.services.redis.v1beta1.model;

/**
* Common model for database resource instance metadata. Next ID: 27
* Common model for database resource instance metadata. Next ID: 29
*
* <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 Google Cloud Memorystore for Redis API. For a
Expand Down Expand Up @@ -138,6 +138,13 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
@com.google.api.client.util.Key
private MachineConfiguration machineConfiguration;

/**
* Optional. Maintenance info for the resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ResourceMaintenanceInfo maintenanceInfo;

/**
* Identifier for this resource's immediate parent/primary resource if the current resource is a
* replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the
Expand Down Expand Up @@ -478,6 +485,23 @@ public DatabaseResourceMetadata setMachineConfiguration(MachineConfiguration mac
return this;
}

/**
* Optional. Maintenance info for the resource.
* @return value or {@code null} for none
*/
public ResourceMaintenanceInfo getMaintenanceInfo() {
return maintenanceInfo;
}

/**
* Optional. Maintenance info for the resource.
* @param maintenanceInfo maintenanceInfo or {@code null} for none
*/
public DatabaseResourceMetadata setMaintenanceInfo(ResourceMaintenanceInfo maintenanceInfo) {
this.maintenanceInfo = maintenanceInfo;
return this;
}

/**
* Identifier for this resource's immediate parent/primary resource if the current resource is a
* replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
/*
* 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.redis.v1beta1.model;

/**
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone
* are either specified elsewhere or are insignificant. The date is relative to the Gregorian
* Calendar. This can represent one of the following: * A full date, with non-zero year, month, and
* day values. * A month and day, with a zero year (for example, an anniversary). * A year on its
* own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit
* card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime *
* google.protobuf.Timestamp
*
* <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 Google Cloud Memorystore for Redis 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 Date extends com.google.api.client.json.GenericJson {

/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year
* by itself or a year and month where the day isn't significant.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer day;

/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer month;

/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer year;

/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year
* by itself or a year and month where the day isn't significant.
* @return value or {@code null} for none
*/
public java.lang.Integer getDay() {
return day;
}

/**
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year
* by itself or a year and month where the day isn't significant.
* @param day day or {@code null} for none
*/
public Date setDay(java.lang.Integer day) {
this.day = day;
return this;
}

/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
* @return value or {@code null} for none
*/
public java.lang.Integer getMonth() {
return month;
}

/**
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
* @param month month or {@code null} for none
*/
public Date setMonth(java.lang.Integer month) {
this.month = month;
return this;
}

/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
* @return value or {@code null} for none
*/
public java.lang.Integer getYear() {
return year;
}

/**
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
* @param year year or {@code null} for none
*/
public Date setYear(java.lang.Integer year) {
this.year = year;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
/*
* 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.redis.v1beta1.model;

/**
* Deny maintenance period for the database resource. It specifies the time range during which the
* maintenance cannot start. This is configured by the customer.
*
* <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 Google Cloud Memorystore for Redis 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 ResourceMaintenanceDenySchedule extends com.google.api.client.json.GenericJson {

/**
* Optional. Deny period end date.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Date endDate;

/**
* Optional. The start date of the deny maintenance period.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Date startDate;

/**
* Optional. Time in UTC when the deny period starts on start_date and ends on end_date.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private TimeOfDay time;

/**
* Optional. Deny period end date.
* @return value or {@code null} for none
*/
public Date getEndDate() {
return endDate;
}

/**
* Optional. Deny period end date.
* @param endDate endDate or {@code null} for none
*/
public ResourceMaintenanceDenySchedule setEndDate(Date endDate) {
this.endDate = endDate;
return this;
}

/**
* Optional. The start date of the deny maintenance period.
* @return value or {@code null} for none
*/
public Date getStartDate() {
return startDate;
}

/**
* Optional. The start date of the deny maintenance period.
* @param startDate startDate or {@code null} for none
*/
public ResourceMaintenanceDenySchedule setStartDate(Date startDate) {
this.startDate = startDate;
return this;
}

/**
* Optional. Time in UTC when the deny period starts on start_date and ends on end_date.
* @return value or {@code null} for none
*/
public TimeOfDay getTime() {
return time;
}

/**
* Optional. Time in UTC when the deny period starts on start_date and ends on end_date.
* @param time time or {@code null} for none
*/
public ResourceMaintenanceDenySchedule setTime(TimeOfDay time) {
this.time = time;
return this;
}

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

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

}
Loading