Skip to content

Commit 6640021

Browse files
1 parent 740db59 commit 6640021

9 files changed

Lines changed: 801 additions & 6 deletions

File tree

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

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

Lines changed: 291 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,6 +1851,157 @@ public Get set(String parameterName, Object value) {
18511851
return (Get) super.set(parameterName, value);
18521852
}
18531853
}
1854+
/**
1855+
* Gets the refreshable clones for a given Autonomous Database.
1856+
*
1857+
* Create a request for the method "autonomousDatabases.getRefreshableClones".
1858+
*
1859+
* This request holds the parameters needed by the oracledatabase server. After setting any
1860+
* optional parameters, call the {@link GetRefreshableClones#execute()} method to invoke the remote
1861+
* operation.
1862+
*
1863+
* @param name Required. The Autonomous Database resource whose refreshable clones are to be listed. Format:
1864+
* projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}
1865+
* @return the request
1866+
*/
1867+
public GetRefreshableClones getRefreshableClones(java.lang.String name) throws java.io.IOException {
1868+
GetRefreshableClones result = new GetRefreshableClones(name);
1869+
initialize(result);
1870+
return result;
1871+
}
1872+
1873+
public class GetRefreshableClones extends OracleDatabaseRequest<com.google.api.services.oracledatabase.v1.model.AutonomousDatabaseRefreshableClones> {
1874+
1875+
private static final String REST_PATH = "v1/{+name}:getRefreshableClones";
1876+
1877+
private final java.util.regex.Pattern NAME_PATTERN =
1878+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$");
1879+
1880+
/**
1881+
* Gets the refreshable clones for a given Autonomous Database.
1882+
*
1883+
* Create a request for the method "autonomousDatabases.getRefreshableClones".
1884+
*
1885+
* This request holds the parameters needed by the the oracledatabase server. After setting any
1886+
* optional parameters, call the {@link GetRefreshableClones#execute()} method to invoke the
1887+
* remote operation. <p> {@link GetRefreshableClones#initialize(com.google.api.client.googleapis.s
1888+
* ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
1889+
* after invoking the constructor. </p>
1890+
*
1891+
* @param name Required. The Autonomous Database resource whose refreshable clones are to be listed. Format:
1892+
* projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}
1893+
* @since 1.13
1894+
*/
1895+
protected GetRefreshableClones(java.lang.String name) {
1896+
super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.AutonomousDatabaseRefreshableClones.class);
1897+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
1898+
if (!getSuppressPatternChecks()) {
1899+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1900+
"Parameter name must conform to the pattern " +
1901+
"^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$");
1902+
}
1903+
}
1904+
1905+
@Override
1906+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
1907+
return super.executeUsingHead();
1908+
}
1909+
1910+
@Override
1911+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
1912+
return super.buildHttpRequestUsingHead();
1913+
}
1914+
1915+
@Override
1916+
public GetRefreshableClones set$Xgafv(java.lang.String $Xgafv) {
1917+
return (GetRefreshableClones) super.set$Xgafv($Xgafv);
1918+
}
1919+
1920+
@Override
1921+
public GetRefreshableClones setAccessToken(java.lang.String accessToken) {
1922+
return (GetRefreshableClones) super.setAccessToken(accessToken);
1923+
}
1924+
1925+
@Override
1926+
public GetRefreshableClones setAlt(java.lang.String alt) {
1927+
return (GetRefreshableClones) super.setAlt(alt);
1928+
}
1929+
1930+
@Override
1931+
public GetRefreshableClones setCallback(java.lang.String callback) {
1932+
return (GetRefreshableClones) super.setCallback(callback);
1933+
}
1934+
1935+
@Override
1936+
public GetRefreshableClones setFields(java.lang.String fields) {
1937+
return (GetRefreshableClones) super.setFields(fields);
1938+
}
1939+
1940+
@Override
1941+
public GetRefreshableClones setKey(java.lang.String key) {
1942+
return (GetRefreshableClones) super.setKey(key);
1943+
}
1944+
1945+
@Override
1946+
public GetRefreshableClones setOauthToken(java.lang.String oauthToken) {
1947+
return (GetRefreshableClones) super.setOauthToken(oauthToken);
1948+
}
1949+
1950+
@Override
1951+
public GetRefreshableClones setPrettyPrint(java.lang.Boolean prettyPrint) {
1952+
return (GetRefreshableClones) super.setPrettyPrint(prettyPrint);
1953+
}
1954+
1955+
@Override
1956+
public GetRefreshableClones setQuotaUser(java.lang.String quotaUser) {
1957+
return (GetRefreshableClones) super.setQuotaUser(quotaUser);
1958+
}
1959+
1960+
@Override
1961+
public GetRefreshableClones setUploadType(java.lang.String uploadType) {
1962+
return (GetRefreshableClones) super.setUploadType(uploadType);
1963+
}
1964+
1965+
@Override
1966+
public GetRefreshableClones setUploadProtocol(java.lang.String uploadProtocol) {
1967+
return (GetRefreshableClones) super.setUploadProtocol(uploadProtocol);
1968+
}
1969+
1970+
/**
1971+
* Required. The Autonomous Database resource whose refreshable clones are to be listed.
1972+
* Format:
1973+
* projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}
1974+
*/
1975+
@com.google.api.client.util.Key
1976+
private java.lang.String name;
1977+
1978+
/** Required. The Autonomous Database resource whose refreshable clones are to be listed. Format:
1979+
projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}
1980+
*/
1981+
public java.lang.String getName() {
1982+
return name;
1983+
}
1984+
1985+
/**
1986+
* Required. The Autonomous Database resource whose refreshable clones are to be listed.
1987+
* Format:
1988+
* projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}
1989+
*/
1990+
public GetRefreshableClones setName(java.lang.String name) {
1991+
if (!getSuppressPatternChecks()) {
1992+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
1993+
"Parameter name must conform to the pattern " +
1994+
"^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$");
1995+
}
1996+
this.name = name;
1997+
return this;
1998+
}
1999+
2000+
@Override
2001+
public GetRefreshableClones set(String parameterName, Object value) {
2002+
return (GetRefreshableClones) super.set(parameterName, value);
2003+
}
2004+
}
18542005
/**
18552006
* Lists the Autonomous Databases in a given project and location.
18562007
*
@@ -2274,6 +2425,146 @@ public Patch set(String parameterName, Object value) {
22742425
return (Patch) super.set(parameterName, value);
22752426
}
22762427
}
2428+
/**
2429+
* Refreshes the refreshable clone of an Autonomous Database.
2430+
*
2431+
* Create a request for the method "autonomousDatabases.refresh".
2432+
*
2433+
* This request holds the parameters needed by the oracledatabase server. After setting any
2434+
* optional parameters, call the {@link Refresh#execute()} method to invoke the remote operation.
2435+
*
2436+
* @param name Required. The name of the AutonomousDatabase resource. Format:
2437+
* projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}
2438+
* @param content the {@link com.google.api.services.oracledatabase.v1.model.RefreshAutonomousDatabaseRequest}
2439+
* @return the request
2440+
*/
2441+
public Refresh refresh(java.lang.String name, com.google.api.services.oracledatabase.v1.model.RefreshAutonomousDatabaseRequest content) throws java.io.IOException {
2442+
Refresh result = new Refresh(name, content);
2443+
initialize(result);
2444+
return result;
2445+
}
2446+
2447+
public class Refresh extends OracleDatabaseRequest<com.google.api.services.oracledatabase.v1.model.Operation> {
2448+
2449+
private static final String REST_PATH = "v1/{+name}:refresh";
2450+
2451+
private final java.util.regex.Pattern NAME_PATTERN =
2452+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$");
2453+
2454+
/**
2455+
* Refreshes the refreshable clone of an Autonomous Database.
2456+
*
2457+
* Create a request for the method "autonomousDatabases.refresh".
2458+
*
2459+
* This request holds the parameters needed by the the oracledatabase server. After setting any
2460+
* optional parameters, call the {@link Refresh#execute()} method to invoke the remote operation.
2461+
* <p> {@link
2462+
* Refresh#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
2463+
* be called to initialize this instance immediately after invoking the constructor. </p>
2464+
*
2465+
* @param name Required. The name of the AutonomousDatabase resource. Format:
2466+
* projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}
2467+
* @param content the {@link com.google.api.services.oracledatabase.v1.model.RefreshAutonomousDatabaseRequest}
2468+
* @since 1.13
2469+
*/
2470+
protected Refresh(java.lang.String name, com.google.api.services.oracledatabase.v1.model.RefreshAutonomousDatabaseRequest content) {
2471+
super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class);
2472+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
2473+
if (!getSuppressPatternChecks()) {
2474+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2475+
"Parameter name must conform to the pattern " +
2476+
"^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$");
2477+
}
2478+
}
2479+
2480+
@Override
2481+
public Refresh set$Xgafv(java.lang.String $Xgafv) {
2482+
return (Refresh) super.set$Xgafv($Xgafv);
2483+
}
2484+
2485+
@Override
2486+
public Refresh setAccessToken(java.lang.String accessToken) {
2487+
return (Refresh) super.setAccessToken(accessToken);
2488+
}
2489+
2490+
@Override
2491+
public Refresh setAlt(java.lang.String alt) {
2492+
return (Refresh) super.setAlt(alt);
2493+
}
2494+
2495+
@Override
2496+
public Refresh setCallback(java.lang.String callback) {
2497+
return (Refresh) super.setCallback(callback);
2498+
}
2499+
2500+
@Override
2501+
public Refresh setFields(java.lang.String fields) {
2502+
return (Refresh) super.setFields(fields);
2503+
}
2504+
2505+
@Override
2506+
public Refresh setKey(java.lang.String key) {
2507+
return (Refresh) super.setKey(key);
2508+
}
2509+
2510+
@Override
2511+
public Refresh setOauthToken(java.lang.String oauthToken) {
2512+
return (Refresh) super.setOauthToken(oauthToken);
2513+
}
2514+
2515+
@Override
2516+
public Refresh setPrettyPrint(java.lang.Boolean prettyPrint) {
2517+
return (Refresh) super.setPrettyPrint(prettyPrint);
2518+
}
2519+
2520+
@Override
2521+
public Refresh setQuotaUser(java.lang.String quotaUser) {
2522+
return (Refresh) super.setQuotaUser(quotaUser);
2523+
}
2524+
2525+
@Override
2526+
public Refresh setUploadType(java.lang.String uploadType) {
2527+
return (Refresh) super.setUploadType(uploadType);
2528+
}
2529+
2530+
@Override
2531+
public Refresh setUploadProtocol(java.lang.String uploadProtocol) {
2532+
return (Refresh) super.setUploadProtocol(uploadProtocol);
2533+
}
2534+
2535+
/**
2536+
* Required. The name of the AutonomousDatabase resource. Format:
2537+
* projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}
2538+
*/
2539+
@com.google.api.client.util.Key
2540+
private java.lang.String name;
2541+
2542+
/** Required. The name of the AutonomousDatabase resource. Format:
2543+
projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}
2544+
*/
2545+
public java.lang.String getName() {
2546+
return name;
2547+
}
2548+
2549+
/**
2550+
* Required. The name of the AutonomousDatabase resource. Format:
2551+
* projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}
2552+
*/
2553+
public Refresh setName(java.lang.String name) {
2554+
if (!getSuppressPatternChecks()) {
2555+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2556+
"Parameter name must conform to the pattern " +
2557+
"^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$");
2558+
}
2559+
this.name = name;
2560+
return this;
2561+
}
2562+
2563+
@Override
2564+
public Refresh set(String parameterName, Object value) {
2565+
return (Refresh) super.set(parameterName, value);
2566+
}
2567+
}
22772568
/**
22782569
* Restarts an Autonomous Database.
22792570
*

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,14 @@ public final class AutonomousDatabaseProperties extends com.google.api.client.js
423423
@com.google.api.client.util.Key
424424
private java.lang.String privateEndpointLabel;
425425

426+
/**
427+
* Optional. Indicates if the Autonomous Database is a refreshable clone. This field is used in
428+
* update flow to connect / disconnect a refreshable clone from its source database.
429+
* The value may be {@code null}.
430+
*/
431+
@com.google.api.client.util.Key
432+
private java.lang.Boolean refreshableClone;
433+
426434
/**
427435
* Output only. The refresh mode of the cloned Autonomous Database.
428436
* The value may be {@code null}.
@@ -1454,6 +1462,25 @@ public AutonomousDatabaseProperties setPrivateEndpointLabel(java.lang.String pri
14541462
return this;
14551463
}
14561464

1465+
/**
1466+
* Optional. Indicates if the Autonomous Database is a refreshable clone. This field is used in
1467+
* update flow to connect / disconnect a refreshable clone from its source database.
1468+
* @return value or {@code null} for none
1469+
*/
1470+
public java.lang.Boolean getRefreshableClone() {
1471+
return refreshableClone;
1472+
}
1473+
1474+
/**
1475+
* Optional. Indicates if the Autonomous Database is a refreshable clone. This field is used in
1476+
* update flow to connect / disconnect a refreshable clone from its source database.
1477+
* @param refreshableClone refreshableClone or {@code null} for none
1478+
*/
1479+
public AutonomousDatabaseProperties setRefreshableClone(java.lang.Boolean refreshableClone) {
1480+
this.refreshableClone = refreshableClone;
1481+
return this;
1482+
}
1483+
14571484
/**
14581485
* Output only. The refresh mode of the cloned Autonomous Database.
14591486
* @return value or {@code null} for none

0 commit comments

Comments
 (0)