Skip to content

Commit 320baad

Browse files
1 parent bbced51 commit 320baad

File tree

8 files changed

+542
-6
lines changed

8 files changed

+542
-6
lines changed

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-rev20250918-2.0.0</version>
25+
<version>v1-rev20250925-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-rev20250918-2.0.0'
38+
implementation 'com.google.apis:google-api-services-oracledatabase:v1-rev20250925-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: 237 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2056,6 +2056,209 @@ public List set(String parameterName, Object value) {
20562056
return (List) super.set(parameterName, value);
20572057
}
20582058
}
2059+
/**
2060+
* Updates the parameters of a single Autonomous Database.
2061+
*
2062+
* Create a request for the method "autonomousDatabases.patch".
2063+
*
2064+
* This request holds the parameters needed by the oracledatabase server. After setting any
2065+
* optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
2066+
*
2067+
* @param name Identifier. The name of the Autonomous Database resource in the following format:
2068+
* projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
2069+
* @param content the {@link com.google.api.services.oracledatabase.v1.model.AutonomousDatabase}
2070+
* @return the request
2071+
*/
2072+
public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.AutonomousDatabase content) throws java.io.IOException {
2073+
Patch result = new Patch(name, content);
2074+
initialize(result);
2075+
return result;
2076+
}
2077+
2078+
public class Patch extends OracleDatabaseRequest<com.google.api.services.oracledatabase.v1.model.Operation> {
2079+
2080+
private static final String REST_PATH = "v1/{+name}";
2081+
2082+
private final java.util.regex.Pattern NAME_PATTERN =
2083+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$");
2084+
2085+
/**
2086+
* Updates the parameters of a single Autonomous Database.
2087+
*
2088+
* Create a request for the method "autonomousDatabases.patch".
2089+
*
2090+
* This request holds the parameters needed by the the oracledatabase server. After setting any
2091+
* optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
2092+
* <p> {@link
2093+
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
2094+
* be called to initialize this instance immediately after invoking the constructor. </p>
2095+
*
2096+
* @param name Identifier. The name of the Autonomous Database resource in the following format:
2097+
* projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
2098+
* @param content the {@link com.google.api.services.oracledatabase.v1.model.AutonomousDatabase}
2099+
* @since 1.13
2100+
*/
2101+
protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.AutonomousDatabase content) {
2102+
super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class);
2103+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
2104+
if (!getSuppressPatternChecks()) {
2105+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2106+
"Parameter name must conform to the pattern " +
2107+
"^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$");
2108+
}
2109+
}
2110+
2111+
@Override
2112+
public Patch set$Xgafv(java.lang.String $Xgafv) {
2113+
return (Patch) super.set$Xgafv($Xgafv);
2114+
}
2115+
2116+
@Override
2117+
public Patch setAccessToken(java.lang.String accessToken) {
2118+
return (Patch) super.setAccessToken(accessToken);
2119+
}
2120+
2121+
@Override
2122+
public Patch setAlt(java.lang.String alt) {
2123+
return (Patch) super.setAlt(alt);
2124+
}
2125+
2126+
@Override
2127+
public Patch setCallback(java.lang.String callback) {
2128+
return (Patch) super.setCallback(callback);
2129+
}
2130+
2131+
@Override
2132+
public Patch setFields(java.lang.String fields) {
2133+
return (Patch) super.setFields(fields);
2134+
}
2135+
2136+
@Override
2137+
public Patch setKey(java.lang.String key) {
2138+
return (Patch) super.setKey(key);
2139+
}
2140+
2141+
@Override
2142+
public Patch setOauthToken(java.lang.String oauthToken) {
2143+
return (Patch) super.setOauthToken(oauthToken);
2144+
}
2145+
2146+
@Override
2147+
public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
2148+
return (Patch) super.setPrettyPrint(prettyPrint);
2149+
}
2150+
2151+
@Override
2152+
public Patch setQuotaUser(java.lang.String quotaUser) {
2153+
return (Patch) super.setQuotaUser(quotaUser);
2154+
}
2155+
2156+
@Override
2157+
public Patch setUploadType(java.lang.String uploadType) {
2158+
return (Patch) super.setUploadType(uploadType);
2159+
}
2160+
2161+
@Override
2162+
public Patch setUploadProtocol(java.lang.String uploadProtocol) {
2163+
return (Patch) super.setUploadProtocol(uploadProtocol);
2164+
}
2165+
2166+
/**
2167+
* Identifier. The name of the Autonomous Database resource in the following format:
2168+
* projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
2169+
*/
2170+
@com.google.api.client.util.Key
2171+
private java.lang.String name;
2172+
2173+
/** Identifier. The name of the Autonomous Database resource in the following format:
2174+
projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
2175+
*/
2176+
public java.lang.String getName() {
2177+
return name;
2178+
}
2179+
2180+
/**
2181+
* Identifier. The name of the Autonomous Database resource in the following format:
2182+
* projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
2183+
*/
2184+
public Patch setName(java.lang.String name) {
2185+
if (!getSuppressPatternChecks()) {
2186+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2187+
"Parameter name must conform to the pattern " +
2188+
"^projects/[^/]+/locations/[^/]+/autonomousDatabases/[^/]+$");
2189+
}
2190+
this.name = name;
2191+
return this;
2192+
}
2193+
2194+
/**
2195+
* Optional. An optional ID to identify the request. This value is used to identify
2196+
* duplicate requests. If you make a request with the same request ID and the original
2197+
* request is still in progress or completed, the server ignores the second request. This
2198+
* prevents clients from accidentally creating duplicate commitments. The request ID must
2199+
* be a valid UUID with the exception that zero UUID is not supported
2200+
* (00000000-0000-0000-0000-000000000000).
2201+
*/
2202+
@com.google.api.client.util.Key
2203+
private java.lang.String requestId;
2204+
2205+
/** Optional. An optional ID to identify the request. This value is used to identify duplicate
2206+
requests. If you make a request with the same request ID and the original request is still in
2207+
progress or completed, the server ignores the second request. This prevents clients from
2208+
accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception
2209+
that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2210+
*/
2211+
public java.lang.String getRequestId() {
2212+
return requestId;
2213+
}
2214+
2215+
/**
2216+
* Optional. An optional ID to identify the request. This value is used to identify
2217+
* duplicate requests. If you make a request with the same request ID and the original
2218+
* request is still in progress or completed, the server ignores the second request. This
2219+
* prevents clients from accidentally creating duplicate commitments. The request ID must
2220+
* be a valid UUID with the exception that zero UUID is not supported
2221+
* (00000000-0000-0000-0000-000000000000).
2222+
*/
2223+
public Patch setRequestId(java.lang.String requestId) {
2224+
this.requestId = requestId;
2225+
return this;
2226+
}
2227+
2228+
/**
2229+
* Optional. Field mask is used to specify the fields to be overwritten in the Exadata
2230+
* resource by the update. The fields specified in the update_mask are relative to the
2231+
* resource, not the full request. A field will be overwritten if it is in the mask. If
2232+
* the user does not provide a mask then all fields will be overwritten.
2233+
*/
2234+
@com.google.api.client.util.Key
2235+
private String updateMask;
2236+
2237+
/** Optional. Field mask is used to specify the fields to be overwritten in the Exadata resource by the
2238+
update. The fields specified in the update_mask are relative to the resource, not the full request.
2239+
A field will be overwritten if it is in the mask. If the user does not provide a mask then all
2240+
fields will be overwritten.
2241+
*/
2242+
public String getUpdateMask() {
2243+
return updateMask;
2244+
}
2245+
2246+
/**
2247+
* Optional. Field mask is used to specify the fields to be overwritten in the Exadata
2248+
* resource by the update. The fields specified in the update_mask are relative to the
2249+
* resource, not the full request. A field will be overwritten if it is in the mask. If
2250+
* the user does not provide a mask then all fields will be overwritten.
2251+
*/
2252+
public Patch setUpdateMask(String updateMask) {
2253+
this.updateMask = updateMask;
2254+
return this;
2255+
}
2256+
2257+
@Override
2258+
public Patch set(String parameterName, Object value) {
2259+
return (Patch) super.set(parameterName, value);
2260+
}
2261+
}
20592262
/**
20602263
* Restarts an Autonomous Database.
20612264
*
@@ -11783,6 +11986,40 @@ public List setPageToken(java.lang.String pageToken) {
1178311986
return this;
1178411987
}
1178511988

11989+
/**
11990+
* When set to `true`, operations that are reachable are returned as normal, and those
11991+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
11992+
* This can only be `true` when reading across collections e.g. when `parent` is set to
11993+
* `"projects/example/locations/-"`. This field is not by default supported and will
11994+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
11995+
* service or product specific documentation.
11996+
*/
11997+
@com.google.api.client.util.Key
11998+
private java.lang.Boolean returnPartialSuccess;
11999+
12000+
/** When set to `true`, operations that are reachable are returned as normal, and those that are
12001+
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
12002+
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
12003+
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
12004+
explicitly documented otherwise in service or product specific documentation.
12005+
*/
12006+
public java.lang.Boolean getReturnPartialSuccess() {
12007+
return returnPartialSuccess;
12008+
}
12009+
12010+
/**
12011+
* When set to `true`, operations that are reachable are returned as normal, and those
12012+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
12013+
* This can only be `true` when reading across collections e.g. when `parent` is set to
12014+
* `"projects/example/locations/-"`. This field is not by default supported and will
12015+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
12016+
* service or product specific documentation.
12017+
*/
12018+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
12019+
this.returnPartialSuccess = returnPartialSuccess;
12020+
return this;
12021+
}
12022+
1178612023
@Override
1178712024
public List set(String parameterName, Object value) {
1178812025
return (List) super.set(parameterName, value);

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

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,21 @@ public final class AutonomousDatabaseProperties extends com.google.api.client.js
200200
@com.google.api.client.util.Key
201201
private String disasterRecoveryRoleChangedTime;
202202

203+
/**
204+
* Optional. The encryption key used to encrypt the Autonomous Database. Updating this field will
205+
* add a new entry in the `encryption_key_history_entries` field with the former version.
206+
* The value may be {@code null}.
207+
*/
208+
@com.google.api.client.util.Key
209+
private EncryptionKey encryptionKey;
210+
211+
/**
212+
* Output only. The history of the encryption keys used to encrypt the Autonomous Database.
213+
* The value may be {@code null}.
214+
*/
215+
@com.google.api.client.util.Key
216+
private java.util.List<EncryptionKeyHistoryEntry> encryptionKeyHistoryEntries;
217+
203218
/**
204219
* Output only. This field indicates the number of seconds of data loss during a Data Guard
205220
* failover.
@@ -424,6 +439,14 @@ public final class AutonomousDatabaseProperties extends com.google.api.client.js
424439
@com.google.api.client.util.Key
425440
private java.lang.String secretId;
426441

442+
/**
443+
* Output only. An Oracle-managed Google Cloud service account on which customers can grant roles
444+
* to access resources in the customer project.
445+
* The value may be {@code null}.
446+
*/
447+
@com.google.api.client.util.Key
448+
private java.lang.String serviceAgentEmail;
449+
427450
/**
428451
* Output only. The SQL Web Developer URL for the Autonomous Database.
429452
* The value may be {@code null}.
@@ -876,6 +899,42 @@ public AutonomousDatabaseProperties setDisasterRecoveryRoleChangedTime(String di
876899
return this;
877900
}
878901

902+
/**
903+
* Optional. The encryption key used to encrypt the Autonomous Database. Updating this field will
904+
* add a new entry in the `encryption_key_history_entries` field with the former version.
905+
* @return value or {@code null} for none
906+
*/
907+
public EncryptionKey getEncryptionKey() {
908+
return encryptionKey;
909+
}
910+
911+
/**
912+
* Optional. The encryption key used to encrypt the Autonomous Database. Updating this field will
913+
* add a new entry in the `encryption_key_history_entries` field with the former version.
914+
* @param encryptionKey encryptionKey or {@code null} for none
915+
*/
916+
public AutonomousDatabaseProperties setEncryptionKey(EncryptionKey encryptionKey) {
917+
this.encryptionKey = encryptionKey;
918+
return this;
919+
}
920+
921+
/**
922+
* Output only. The history of the encryption keys used to encrypt the Autonomous Database.
923+
* @return value or {@code null} for none
924+
*/
925+
public java.util.List<EncryptionKeyHistoryEntry> getEncryptionKeyHistoryEntries() {
926+
return encryptionKeyHistoryEntries;
927+
}
928+
929+
/**
930+
* Output only. The history of the encryption keys used to encrypt the Autonomous Database.
931+
* @param encryptionKeyHistoryEntries encryptionKeyHistoryEntries or {@code null} for none
932+
*/
933+
public AutonomousDatabaseProperties setEncryptionKeyHistoryEntries(java.util.List<EncryptionKeyHistoryEntry> encryptionKeyHistoryEntries) {
934+
this.encryptionKeyHistoryEntries = encryptionKeyHistoryEntries;
935+
return this;
936+
}
937+
879938
/**
880939
* Output only. This field indicates the number of seconds of data loss during a Data Guard
881940
* failover.
@@ -1417,6 +1476,25 @@ public AutonomousDatabaseProperties setSecretId(java.lang.String secretId) {
14171476
return this;
14181477
}
14191478

1479+
/**
1480+
* Output only. An Oracle-managed Google Cloud service account on which customers can grant roles
1481+
* to access resources in the customer project.
1482+
* @return value or {@code null} for none
1483+
*/
1484+
public java.lang.String getServiceAgentEmail() {
1485+
return serviceAgentEmail;
1486+
}
1487+
1488+
/**
1489+
* Output only. An Oracle-managed Google Cloud service account on which customers can grant roles
1490+
* to access resources in the customer project.
1491+
* @param serviceAgentEmail serviceAgentEmail or {@code null} for none
1492+
*/
1493+
public AutonomousDatabaseProperties setServiceAgentEmail(java.lang.String serviceAgentEmail) {
1494+
this.serviceAgentEmail = serviceAgentEmail;
1495+
return this;
1496+
}
1497+
14201498
/**
14211499
* Output only. The SQL Web Developer URL for the Autonomous Database.
14221500
* @return value or {@code null} for none

0 commit comments

Comments
 (0)