Skip to content

Commit b139b45

Browse files
chore: regenerate oracledatabase client
1 parent 6727f8e commit b139b45

11 files changed

+1040
-6
lines changed

clients/google-api-services-oracledatabase/v1/2.0.0/README.md

+2-2
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-oracledatabase</artifactId>
25-
<version>v1-rev20250223-2.0.0</version>
25+
<version>v1-rev20250409-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-oracledatabase:v1-rev20250223-2.0.0'
38+
implementation 'com.google.apis:google-api-services-oracledatabase:v1-rev20250409-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/OracleDatabase.java

+582
Large diffs are not rendered by default.

clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/AutonomousDatabase.java

+81
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ public final class AutonomousDatabase extends com.google.api.client.json.Generic
6060
@com.google.api.client.util.Key
6161
private java.lang.String database;
6262

63+
/**
64+
* Output only. List of supported GCP region to clone the Autonomous Database for disaster
65+
* recovery. Format: `project/{project}/locations/{location}`.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.util.List<java.lang.String> disasterRecoverySupportedLocations;
70+
6371
/**
6472
* Optional. The display name for the Autonomous Database. The name does not have to be unique
6573
* within your project.
@@ -98,13 +106,29 @@ public final class AutonomousDatabase extends com.google.api.client.json.Generic
98106
@com.google.api.client.util.Key
99107
private java.lang.String network;
100108

109+
/**
110+
* Output only. The peer Autonomous Database names of the given Autonomous Database.
111+
* The value may be {@code null}.
112+
*/
113+
@com.google.api.client.util.Key
114+
private java.util.List<java.lang.String> peerAutonomousDatabases;
115+
101116
/**
102117
* Optional. The properties of the Autonomous Database.
103118
* The value may be {@code null}.
104119
*/
105120
@com.google.api.client.util.Key
106121
private AutonomousDatabaseProperties properties;
107122

123+
/**
124+
* Optional. The source Autonomous Database configuration for the standby Autonomous Database. The
125+
* source Autonomous Database is configured while creating the Peer Autonomous Database and can't
126+
* be updated after creation.
127+
* The value may be {@code null}.
128+
*/
129+
@com.google.api.client.util.Key
130+
private SourceConfig sourceConfig;
131+
108132
/**
109133
* Optional. The password for the default ADMIN user.
110134
* @return value or {@code null} for none
@@ -175,6 +199,25 @@ public AutonomousDatabase setDatabase(java.lang.String database) {
175199
return this;
176200
}
177201

202+
/**
203+
* Output only. List of supported GCP region to clone the Autonomous Database for disaster
204+
* recovery. Format: `project/{project}/locations/{location}`.
205+
* @return value or {@code null} for none
206+
*/
207+
public java.util.List<java.lang.String> getDisasterRecoverySupportedLocations() {
208+
return disasterRecoverySupportedLocations;
209+
}
210+
211+
/**
212+
* Output only. List of supported GCP region to clone the Autonomous Database for disaster
213+
* recovery. Format: `project/{project}/locations/{location}`.
214+
* @param disasterRecoverySupportedLocations disasterRecoverySupportedLocations or {@code null} for none
215+
*/
216+
public AutonomousDatabase setDisasterRecoverySupportedLocations(java.util.List<java.lang.String> disasterRecoverySupportedLocations) {
217+
this.disasterRecoverySupportedLocations = disasterRecoverySupportedLocations;
218+
return this;
219+
}
220+
178221
/**
179222
* Optional. The display name for the Autonomous Database. The name does not have to be unique
180223
* within your project.
@@ -266,6 +309,23 @@ public AutonomousDatabase setNetwork(java.lang.String network) {
266309
return this;
267310
}
268311

312+
/**
313+
* Output only. The peer Autonomous Database names of the given Autonomous Database.
314+
* @return value or {@code null} for none
315+
*/
316+
public java.util.List<java.lang.String> getPeerAutonomousDatabases() {
317+
return peerAutonomousDatabases;
318+
}
319+
320+
/**
321+
* Output only. The peer Autonomous Database names of the given Autonomous Database.
322+
* @param peerAutonomousDatabases peerAutonomousDatabases or {@code null} for none
323+
*/
324+
public AutonomousDatabase setPeerAutonomousDatabases(java.util.List<java.lang.String> peerAutonomousDatabases) {
325+
this.peerAutonomousDatabases = peerAutonomousDatabases;
326+
return this;
327+
}
328+
269329
/**
270330
* Optional. The properties of the Autonomous Database.
271331
* @return value or {@code null} for none
@@ -283,6 +343,27 @@ public AutonomousDatabase setProperties(AutonomousDatabaseProperties properties)
283343
return this;
284344
}
285345

346+
/**
347+
* Optional. The source Autonomous Database configuration for the standby Autonomous Database. The
348+
* source Autonomous Database is configured while creating the Peer Autonomous Database and can't
349+
* be updated after creation.
350+
* @return value or {@code null} for none
351+
*/
352+
public SourceConfig getSourceConfig() {
353+
return sourceConfig;
354+
}
355+
356+
/**
357+
* Optional. The source Autonomous Database configuration for the standby Autonomous Database. The
358+
* source Autonomous Database is configured while creating the Peer Autonomous Database and can't
359+
* be updated after creation.
360+
* @param sourceConfig sourceConfig or {@code null} for none
361+
*/
362+
public AutonomousDatabase setSourceConfig(SourceConfig sourceConfig) {
363+
this.sourceConfig = sourceConfig;
364+
return this;
365+
}
366+
286367
@Override
287368
public AutonomousDatabase set(String fieldName, Object value) {
288369
return (AutonomousDatabase) super.set(fieldName, value);

clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/AutonomousDatabaseProperties.java

+78
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ public final class AutonomousDatabaseProperties extends com.google.api.client.js
4545
@com.google.api.client.util.Key
4646
private java.lang.Double allocatedStorageSizeTb;
4747

48+
/**
49+
* Optional. The list of allowlisted IP addresses for the Autonomous Database.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.util.List<java.lang.String> allowlistedIps;
54+
4855
/**
4956
* Output only. The details for the Oracle APEX Application Development.
5057
* The value may be {@code null}.
@@ -128,6 +135,14 @@ public final class AutonomousDatabaseProperties extends com.google.api.client.js
128135
@com.google.api.client.util.Key
129136
private java.util.List<CustomerContact> customerContacts;
130137

138+
/**
139+
* Output only. The date and time the Autonomous Data Guard role was changed for the standby
140+
* Autonomous Database.
141+
* The value may be {@code null}.
142+
*/
143+
@com.google.api.client.util.Key
144+
private String dataGuardRoleChangedTime;
145+
131146
/**
132147
* Output only. The current state of the Data Safe registration for the Autonomous Database.
133148
* The value may be {@code null}.
@@ -177,6 +192,14 @@ public final class AutonomousDatabaseProperties extends com.google.api.client.js
177192
@com.google.api.client.util.Key
178193
private java.lang.String dbWorkload;
179194

195+
/**
196+
* Output only. The date and time the Disaster Recovery role was changed for the standby
197+
* Autonomous Database.
198+
* The value may be {@code null}.
199+
*/
200+
@com.google.api.client.util.Key
201+
private String disasterRecoveryRoleChangedTime;
202+
180203
/**
181204
* Output only. This field indicates the number of seconds of data loss during a Data Guard
182205
* failover.
@@ -480,6 +503,23 @@ public AutonomousDatabaseProperties setAllocatedStorageSizeTb(java.lang.Double a
480503
return this;
481504
}
482505

506+
/**
507+
* Optional. The list of allowlisted IP addresses for the Autonomous Database.
508+
* @return value or {@code null} for none
509+
*/
510+
public java.util.List<java.lang.String> getAllowlistedIps() {
511+
return allowlistedIps;
512+
}
513+
514+
/**
515+
* Optional. The list of allowlisted IP addresses for the Autonomous Database.
516+
* @param allowlistedIps allowlistedIps or {@code null} for none
517+
*/
518+
public AutonomousDatabaseProperties setAllowlistedIps(java.util.List<java.lang.String> allowlistedIps) {
519+
this.allowlistedIps = allowlistedIps;
520+
return this;
521+
}
522+
483523
/**
484524
* Output only. The details for the Oracle APEX Application Development.
485525
* @return value or {@code null} for none
@@ -679,6 +719,25 @@ public AutonomousDatabaseProperties setCustomerContacts(java.util.List<CustomerC
679719
return this;
680720
}
681721

722+
/**
723+
* Output only. The date and time the Autonomous Data Guard role was changed for the standby
724+
* Autonomous Database.
725+
* @return value or {@code null} for none
726+
*/
727+
public String getDataGuardRoleChangedTime() {
728+
return dataGuardRoleChangedTime;
729+
}
730+
731+
/**
732+
* Output only. The date and time the Autonomous Data Guard role was changed for the standby
733+
* Autonomous Database.
734+
* @param dataGuardRoleChangedTime dataGuardRoleChangedTime or {@code null} for none
735+
*/
736+
public AutonomousDatabaseProperties setDataGuardRoleChangedTime(String dataGuardRoleChangedTime) {
737+
this.dataGuardRoleChangedTime = dataGuardRoleChangedTime;
738+
return this;
739+
}
740+
682741
/**
683742
* Output only. The current state of the Data Safe registration for the Autonomous Database.
684743
* @return value or {@code null} for none
@@ -798,6 +857,25 @@ public AutonomousDatabaseProperties setDbWorkload(java.lang.String dbWorkload) {
798857
return this;
799858
}
800859

860+
/**
861+
* Output only. The date and time the Disaster Recovery role was changed for the standby
862+
* Autonomous Database.
863+
* @return value or {@code null} for none
864+
*/
865+
public String getDisasterRecoveryRoleChangedTime() {
866+
return disasterRecoveryRoleChangedTime;
867+
}
868+
869+
/**
870+
* Output only. The date and time the Disaster Recovery role was changed for the standby
871+
* Autonomous Database.
872+
* @param disasterRecoveryRoleChangedTime disasterRecoveryRoleChangedTime or {@code null} for none
873+
*/
874+
public AutonomousDatabaseProperties setDisasterRecoveryRoleChangedTime(String disasterRecoveryRoleChangedTime) {
875+
this.disasterRecoveryRoleChangedTime = disasterRecoveryRoleChangedTime;
876+
return this;
877+
}
878+
801879
/**
802880
* Output only. This field indicates the number of seconds of data loss during a Data Guard
803881
* failover.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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.oracledatabase.v1.model;
18+
19+
/**
20+
* The request for `AutonomousDatabase.Restart`.
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 Oracle Database@Google Cloud API. For a detailed
24+
* 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 RestartAutonomousDatabaseRequest extends com.google.api.client.json.GenericJson {
32+
33+
@Override
34+
public RestartAutonomousDatabaseRequest set(String fieldName, Object value) {
35+
return (RestartAutonomousDatabaseRequest) super.set(fieldName, value);
36+
}
37+
38+
@Override
39+
public RestartAutonomousDatabaseRequest clone() {
40+
return (RestartAutonomousDatabaseRequest) super.clone();
41+
}
42+
43+
}

0 commit comments

Comments
 (0)