Skip to content

Commit a46748c

Browse files
1 parent e06b359 commit a46748c

File tree

5 files changed

+168
-6
lines changed

5 files changed

+168
-6
lines changed

clients/google-api-services-sqladmin/v1beta4/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-sqladmin</artifactId>
25-
<version>v1beta4-rev20250516-2.0.0</version>
25+
<version>v1beta4-rev20250526-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-sqladmin:v1beta4-rev20250516-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20250526-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-sqladmin/v1beta4/2.0.0/com/google/api/services/sqladmin/model/DatabaseInstance.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,13 @@ public final class DatabaseInstance extends com.google.api.client.json.GenericJs
247247
@com.google.api.client.util.Key
248248
private SqlOutOfDiskReport outOfDiskReport;
249249

250+
/**
251+
* Input only. PITR related fields added for Instance Independent PITR.
252+
* The value may be {@code null}.
253+
*/
254+
@com.google.api.client.util.Key
255+
private PITRFields pitrFields;
256+
250257
/**
251258
* Output only. DEPRECATED: please use write_endpoint instead.
252259
* The value may be {@code null}.
@@ -953,6 +960,23 @@ public DatabaseInstance setOutOfDiskReport(SqlOutOfDiskReport outOfDiskReport) {
953960
return this;
954961
}
955962

963+
/**
964+
* Input only. PITR related fields added for Instance Independent PITR.
965+
* @return value or {@code null} for none
966+
*/
967+
public PITRFields getPitrFields() {
968+
return pitrFields;
969+
}
970+
971+
/**
972+
* Input only. PITR related fields added for Instance Independent PITR.
973+
* @param pitrFields pitrFields or {@code null} for none
974+
*/
975+
public DatabaseInstance setPitrFields(PITRFields pitrFields) {
976+
this.pitrFields = pitrFields;
977+
return this;
978+
}
979+
956980
/**
957981
* Output only. DEPRECATED: please use write_endpoint instead.
958982
* @return value or {@code null} for none
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
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.sqladmin.model;
18+
19+
/**
20+
* PITR related fields include enablement settings, archiving settings, and the bucket name.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class PITRFields extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The enablement setting for PITR for MySQL.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean enableBinLog;
38+
39+
/**
40+
* The enablement setting for PITR for PostgreSQL.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Boolean replicationLogArchivingEnabled;
45+
46+
/**
47+
* The enablement setting for PITR for SQL Server.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Boolean sqlserverPitrEnabled;
52+
53+
/**
54+
* The number of transaction log days to retain for PITR
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.Integer transactionLogRetentionDays;
59+
60+
/**
61+
* The enablement setting for PITR for MySQL.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.Boolean getEnableBinLog() {
65+
return enableBinLog;
66+
}
67+
68+
/**
69+
* The enablement setting for PITR for MySQL.
70+
* @param enableBinLog enableBinLog or {@code null} for none
71+
*/
72+
public PITRFields setEnableBinLog(java.lang.Boolean enableBinLog) {
73+
this.enableBinLog = enableBinLog;
74+
return this;
75+
}
76+
77+
/**
78+
* The enablement setting for PITR for PostgreSQL.
79+
* @return value or {@code null} for none
80+
*/
81+
public java.lang.Boolean getReplicationLogArchivingEnabled() {
82+
return replicationLogArchivingEnabled;
83+
}
84+
85+
/**
86+
* The enablement setting for PITR for PostgreSQL.
87+
* @param replicationLogArchivingEnabled replicationLogArchivingEnabled or {@code null} for none
88+
*/
89+
public PITRFields setReplicationLogArchivingEnabled(java.lang.Boolean replicationLogArchivingEnabled) {
90+
this.replicationLogArchivingEnabled = replicationLogArchivingEnabled;
91+
return this;
92+
}
93+
94+
/**
95+
* The enablement setting for PITR for SQL Server.
96+
* @return value or {@code null} for none
97+
*/
98+
public java.lang.Boolean getSqlserverPitrEnabled() {
99+
return sqlserverPitrEnabled;
100+
}
101+
102+
/**
103+
* The enablement setting for PITR for SQL Server.
104+
* @param sqlserverPitrEnabled sqlserverPitrEnabled or {@code null} for none
105+
*/
106+
public PITRFields setSqlserverPitrEnabled(java.lang.Boolean sqlserverPitrEnabled) {
107+
this.sqlserverPitrEnabled = sqlserverPitrEnabled;
108+
return this;
109+
}
110+
111+
/**
112+
* The number of transaction log days to retain for PITR
113+
* @return value or {@code null} for none
114+
*/
115+
public java.lang.Integer getTransactionLogRetentionDays() {
116+
return transactionLogRetentionDays;
117+
}
118+
119+
/**
120+
* The number of transaction log days to retain for PITR
121+
* @param transactionLogRetentionDays transactionLogRetentionDays or {@code null} for none
122+
*/
123+
public PITRFields setTransactionLogRetentionDays(java.lang.Integer transactionLogRetentionDays) {
124+
this.transactionLogRetentionDays = transactionLogRetentionDays;
125+
return this;
126+
}
127+
128+
@Override
129+
public PITRFields set(String fieldName, Object value) {
130+
return (PITRFields) super.set(fieldName, value);
131+
}
132+
133+
@Override
134+
public PITRFields clone() {
135+
return (PITRFields) super.clone();
136+
}
137+
138+
}

clients/google-api-services-sqladmin/v1beta4/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-sqladmin</artifactId>
11-
<version>v1beta4-rev20250516-2.0.0</version>
12-
<name>Cloud SQL Admin API v1beta4-rev20250516-2.0.0</name>
11+
<version>v1beta4-rev20250526-2.0.0</version>
12+
<name>Cloud SQL Admin API v1beta4-rev20250526-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-sqladmin/v1beta4/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-sqladmin</artifactId>
25-
<version>v1beta4-rev20250516-2.0.0</version>
25+
<version>v1beta4-rev20250526-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-sqladmin:v1beta4-rev20250516-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sqladmin:v1beta4-rev20250526-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)