From 2c9f00babe9fdb819c25a4501cb336fad9ca84c4 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 21 Oct 2026 18:00:35 -0700 Subject: [PATCH] chore: regenerate oracledatabase client --- .../v1/2.0.0/README.md | 4 +- .../oracledatabase/v1/OracleDatabase.java | 10058 ++++++++++------ .../v1/model/CloudVmCluster.java | 30 + .../oracledatabase/v1/model/Column.java | 91 + .../v1/model/DatabaseConnection.java | 364 + .../v1/model/ExecuteSqlMetadata.java | 142 + .../v1/model/ExecuteSqlRequest.java | 94 + .../v1/model/ExecuteSqlResponse.java | 91 + .../ListDatabaseConnectionsResponse.java | 121 + .../v1/model/ListOdbDnsZonesResponse.java | 115 + .../oracledatabase/v1/model/OdbDnsZone.java | 166 + .../oracledatabase/v1/model/OdbNetwork.java | 60 + .../v1/model/PscInterfaceConfig.java | 74 + .../services/oracledatabase/v1/model/Row.java | 67 + .../v1/model/ServiceConnectivityConfig.java | 70 + .../oracledatabase/v1/model/SqlParameter.java | 121 + .../oracledatabase/v1/model/SqlResult.java | 130 + .../model/TestDatabaseConnectionRequest.java | 43 + .../model/TestDatabaseConnectionResponse.java | 91 + .../oracledatabase/v1/model/Value.java | 94 + .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- 22 files changed, 8104 insertions(+), 3930 deletions(-) create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Column.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/DatabaseConnection.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlMetadata.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlRequest.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlResponse.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ListDatabaseConnectionsResponse.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ListOdbDnsZonesResponse.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/OdbDnsZone.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/PscInterfaceConfig.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Row.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ServiceConnectivityConfig.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/SqlParameter.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/SqlResult.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/TestDatabaseConnectionRequest.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/TestDatabaseConnectionResponse.java create mode 100644 clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Value.java diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/README.md b/clients/google-api-services-oracledatabase/v1/2.0.0/README.md index 3040707fb67..24e01cf06c8 100644 --- a/clients/google-api-services-oracledatabase/v1/2.0.0/README.md +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-oracledatabase - v1-rev20261012-2.0.0 + v1-rev20261019-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-oracledatabase:v1-rev20261012-2.0.0' + implementation 'com.google.apis:google-api-services-oracledatabase:v1-rev20261019-2.0.0' } ``` diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/OracleDatabase.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/OracleDatabase.java index d426eff4b50..57a255842bd 100644 --- a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/OracleDatabase.java +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/OracleDatabase.java @@ -6271,643 +6271,693 @@ public List set(String parameterName, Object value) { } /** - * An accessor for creating requests from the Databases collection. + * An accessor for creating requests from the DatabaseConnections collection. * *

The typical use is:

*
        *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.Databases.List request = oracledatabase.databases().list(parameters ...)}
+       *   {@code OracleDatabase.DatabaseConnections.List request = oracledatabase.databaseConnections().list(parameters ...)}
        * 
* * @return the resource collection */ - public Databases databases() { - return new Databases(); + public DatabaseConnections databaseConnections() { + return new DatabaseConnections(); } /** - * The "databases" collection of methods. + * The "databaseConnections" collection of methods. */ - public class Databases { + public class DatabaseConnections { /** - * Gets details of a single Database. + * Creates a new DatabaseConnection in a given project and location. * - * Create a request for the method "databases.get". + * Create a request for the method "databaseConnections.create". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. * - * @param name Required. The name of the Database resource in the following format: - * projects/{project}/locations/{region}/databases/{database} + * @param parent Required. The parent value for the DatabaseConnection in the following format: + * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DatabaseConnection} * @return the request */ - public Get get(java.lang.String name) throws java.io.IOException { - Get result = new Get(name); + public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.DatabaseConnection content) throws java.io.IOException { + Create result = new Create(parent, content); initialize(result); return result; } - public class Get extends OracleDatabaseRequest { + public class Create extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}"; + private static final String REST_PATH = "v1/{+parent}/databaseConnections"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/databases/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Gets details of a single Database. + * Creates a new DatabaseConnection in a given project and location. * - * Create a request for the method "databases.get". + * Create a request for the method "databaseConnections.create". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the Database resource in the following format: - * projects/{project}/locations/{region}/databases/{database} + * @param parent Required. The parent value for the DatabaseConnection in the following format: + * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DatabaseConnection} * @since 1.13 */ - protected Get(java.lang.String name) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Database.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.DatabaseConnection content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/databases/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); } @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); } @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); } @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); } @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); } @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); } @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); } @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); } @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); } @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); } @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); } - @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); + /** + * Required. The parent value for the DatabaseConnection in the following format: + * projects/{project}/locations/{location}. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent value for the DatabaseConnection in the following format: + projects/{project}/locations/{location}. + */ + public java.lang.String getParent() { + return parent; } - @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); + /** + * Required. The parent value for the DatabaseConnection in the following format: + * projects/{project}/locations/{location}. + */ + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; } /** - * Required. The name of the Database resource in the following format: - * projects/{project}/locations/{region}/databases/{database} + * Required. The ID of the DatabaseConnection to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String databaseConnectionId; - /** Required. The name of the Database resource in the following format: - projects/{project}/locations/{region}/databases/{database} + /** Required. The ID of the DatabaseConnection to create. This value is restricted to + (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value + must start with a letter and end with a letter or a number. */ - public java.lang.String getName() { - return name; + public java.lang.String getDatabaseConnectionId() { + return databaseConnectionId; } /** - * Required. The name of the Database resource in the following format: - * projects/{project}/locations/{region}/databases/{database} + * Required. The ID of the DatabaseConnection to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. */ - public Get setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/databases/[^/]+$"); - } - this.name = name; + public Create setDatabaseConnectionId(java.lang.String databaseConnectionId) { + this.databaseConnectionId = databaseConnectionId; + return this; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Create setRequestId(java.lang.String requestId) { + this.requestId = requestId; return this; } @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); } } /** - * Lists all the Databases for the given project, location and DbSystem. + * Deletes a single DatabaseConnection. * - * Create a request for the method "databases.list". + * Create a request for the method "databaseConnections.delete". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. * - * @param parent Required. The parent resource name in the following format: projects/{project}/locations/{region} + * @param name Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. * @return the request */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); initialize(result); return result; } - public class List extends OracleDatabaseRequest { + public class Delete extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/databases"; + private static final String REST_PATH = "v1/{+name}"; - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); /** - * Lists all the Databases for the given project, location and DbSystem. + * Deletes a single DatabaseConnection. * - * Create a request for the method "databases.list". + * Create a request for the method "databaseConnections.delete". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + *

{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent resource name in the following format: projects/{project}/locations/{region} + * @param name Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. * @since 1.13 */ - protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDatabasesResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + protected Delete(java.lang.String name) { + super(OracleDatabase.this, "DELETE", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); } } @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); } @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); } @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); } @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); } @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); } @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); } @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); } @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); } @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); } @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); } @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } - - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } - - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); } /** - * Required. The parent resource name in the following format: - * projects/{project}/locations/{region} + * Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. */ @com.google.api.client.util.Key - private java.lang.String parent; + private java.lang.String name; - /** Required. The parent resource name in the following format: projects/{project}/locations/{region} + /** Required. The name of the resource in the following format: + projects/{project}/locations/{location}/databaseConnections/{database_connection}. */ - public java.lang.String getParent() { - return parent; + public java.lang.String getName() { + return name; } /** - * Required. The parent resource name in the following format: - * projects/{project}/locations/{region} + * Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. */ - public List setParent(java.lang.String parent) { + public Delete setName(java.lang.String name) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); } - this.parent = parent; - return this; - } - - /** - * Optional. An expression for filtering the results of the request. list for container - * databases is supported only with a valid dbSystem (full resource name) filter in this - * format: `dbSystem="projects/{project}/locations/{location}/dbSystems/{dbSystemId}"` - */ - @com.google.api.client.util.Key - private java.lang.String filter; - - /** Optional. An expression for filtering the results of the request. list for container databases is - supported only with a valid dbSystem (full resource name) filter in this format: - `dbSystem="projects/{project}/locations/{location}/dbSystems/{dbSystemId}"` - */ - public java.lang.String getFilter() { - return filter; - } - - /** - * Optional. An expression for filtering the results of the request. list for container - * databases is supported only with a valid dbSystem (full resource name) filter in this - * format: `dbSystem="projects/{project}/locations/{location}/dbSystems/{dbSystemId}"` - */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } - - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 - * Databases will be returned. The maximum value is 1000; values above 1000 will be reset - * to 1000. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 Databases will be - returned. The maximum value is 1000; values above 1000 will be reset to 1000. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 - * Databases will be returned. The maximum value is 1000; values above 1000 will be reset - * to 1000. - */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; + this.name = name; return this; } /** - * Optional. A token identifying the requested page of results to return. All fields - * except the filter should remain the same as in the request that provided this page - * token. + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). */ @com.google.api.client.util.Key - private java.lang.String pageToken; + private java.lang.String requestId; - /** Optional. A token identifying the requested page of results to return. All fields except the filter - should remain the same as in the request that provided this page token. + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ - public java.lang.String getPageToken() { - return pageToken; + public java.lang.String getRequestId() { + return requestId; } /** - * Optional. A token identifying the requested page of results to return. All fields - * except the filter should remain the same as in the request that provided this page - * token. + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; + public Delete setRequestId(java.lang.String requestId) { + this.requestId = requestId; return this; } @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); } } - - } - /** - * An accessor for creating requests from the DbSystemInitialStorageSizes collection. - * - *

The typical use is:

- *
-       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.DbSystemInitialStorageSizes.List request = oracledatabase.dbSystemInitialStorageSizes().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public DbSystemInitialStorageSizes dbSystemInitialStorageSizes() { - return new DbSystemInitialStorageSizes(); - } - - /** - * The "dbSystemInitialStorageSizes" collection of methods. - */ - public class DbSystemInitialStorageSizes { - /** - * Lists all the DbSystemInitialStorageSizes for the given project and location. + * Executes a SQL statement on a DatabaseConnection. * - * Create a request for the method "dbSystemInitialStorageSizes.list". + * Create a request for the method "databaseConnections.executeSql". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * optional parameters, call the {@link ExecuteSql#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for the DbSystemInitialStorageSize resource with the format: - * projects/{project}/locations/{location} + * @param name Required. The name of the DatabaseConnection in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExecuteSqlRequest} * @return the request */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); + public ExecuteSql executeSql(java.lang.String name, com.google.api.services.oracledatabase.v1.model.ExecuteSqlRequest content) throws java.io.IOException { + ExecuteSql result = new ExecuteSql(name, content); initialize(result); return result; } - public class List extends OracleDatabaseRequest { + public class ExecuteSql extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/dbSystemInitialStorageSizes"; + private static final String REST_PATH = "v1/{+name}:executeSql"; - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); /** - * Lists all the DbSystemInitialStorageSizes for the given project and location. + * Executes a SQL statement on a DatabaseConnection. * - * Create a request for the method "dbSystemInitialStorageSizes.list". + * Create a request for the method "databaseConnections.executeSql". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * optional parameters, call the {@link ExecuteSql#execute()} method to invoke the remote + * operation.

{@link + * ExecuteSql#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for the DbSystemInitialStorageSize resource with the format: - * projects/{project}/locations/{location} + * @param name Required. The name of the DatabaseConnection in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExecuteSqlRequest} * @since 1.13 */ - protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDbSystemInitialStorageSizesResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + protected ExecuteSql(java.lang.String name, com.google.api.services.oracledatabase.v1.model.ExecuteSqlRequest content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.ExecuteSqlResponse.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); } } @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); + public ExecuteSql set$Xgafv(java.lang.String $Xgafv) { + return (ExecuteSql) super.set$Xgafv($Xgafv); } @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); + public ExecuteSql setAccessToken(java.lang.String accessToken) { + return (ExecuteSql) super.setAccessToken(accessToken); } @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); + public ExecuteSql setAlt(java.lang.String alt) { + return (ExecuteSql) super.setAlt(alt); } @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); + public ExecuteSql setCallback(java.lang.String callback) { + return (ExecuteSql) super.setCallback(callback); } @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); + public ExecuteSql setFields(java.lang.String fields) { + return (ExecuteSql) super.setFields(fields); } @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); + public ExecuteSql setKey(java.lang.String key) { + return (ExecuteSql) super.setKey(key); } @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); + public ExecuteSql setOauthToken(java.lang.String oauthToken) { + return (ExecuteSql) super.setOauthToken(oauthToken); } @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); + public ExecuteSql setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ExecuteSql) super.setPrettyPrint(prettyPrint); } @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); + public ExecuteSql setQuotaUser(java.lang.String quotaUser) { + return (ExecuteSql) super.setQuotaUser(quotaUser); } @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); + public ExecuteSql setUploadType(java.lang.String uploadType) { + return (ExecuteSql) super.setUploadType(uploadType); } @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); + public ExecuteSql setUploadProtocol(java.lang.String uploadProtocol) { + return (ExecuteSql) super.setUploadProtocol(uploadProtocol); } /** - * Required. The parent value for the DbSystemInitialStorageSize resource with the format: - * projects/{project}/locations/{location} + * Required. The name of the DatabaseConnection in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. */ @com.google.api.client.util.Key - private java.lang.String parent; + private java.lang.String name; - /** Required. The parent value for the DbSystemInitialStorageSize resource with the format: - projects/{project}/locations/{location} + /** Required. The name of the DatabaseConnection in the following format: + projects/{project}/locations/{location}/databaseConnections/{database_connection}. */ - public java.lang.String getParent() { - return parent; + public java.lang.String getName() { + return name; } /** - * Required. The parent value for the DbSystemInitialStorageSize resource with the format: - * projects/{project}/locations/{location} + * Required. The name of the DatabaseConnection in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. */ - public List setParent(java.lang.String parent) { + public ExecuteSql setName(java.lang.String name) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); } - this.parent = parent; + this.name = name; return this; } - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 - * DbSystemInitialStorageSizes will be returned. The maximum value is 1000; values above - * 1000 will be reset to 1000. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 - DbSystemInitialStorageSizes will be returned. The maximum value is 1000; values above 1000 will be - reset to 1000. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 - * DbSystemInitialStorageSizes will be returned. The maximum value is 1000; values above - * 1000 will be reset to 1000. - */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; + @Override + public ExecuteSql set(String parameterName, Object value) { + return (ExecuteSql) super.set(parameterName, value); } - - /** - * Optional. A token identifying the requested page of results to return. All fields - * except the filter should remain the same as in the request that provided this page - * token. + } + /** + * Gets details of a single DatabaseConnection. + * + * Create a request for the method "databaseConnections.get". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the DatabaseConnection in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); + + /** + * Gets details of a single DatabaseConnection. + * + * Create a request for the method "databaseConnections.get". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. The name of the DatabaseConnection in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.DatabaseConnection.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the DatabaseConnection in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. */ @com.google.api.client.util.Key - private java.lang.String pageToken; + private java.lang.String name; - /** Optional. A token identifying the requested page of results to return. All fields except the filter - should remain the same as in the request that provided this page token. + /** Required. The name of the DatabaseConnection in the following format: + projects/{project}/locations/{location}/databaseConnections/{database_connection}. */ - public java.lang.String getPageToken() { - return pageToken; + public java.lang.String getName() { + return name; } /** - * Optional. A token identifying the requested page of results to return. All fields - * except the filter should remain the same as in the request that provided this page - * token. + * Required. The name of the DatabaseConnection in the following format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection}. */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); + } + this.name = name; return this; } @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); } } - - } - /** - * An accessor for creating requests from the DbSystemShapes collection. - * - *

The typical use is:

- *
-       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.DbSystemShapes.List request = oracledatabase.dbSystemShapes().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public DbSystemShapes dbSystemShapes() { - return new DbSystemShapes(); - } - - /** - * The "dbSystemShapes" collection of methods. - */ - public class DbSystemShapes { - /** - * Lists the database system shapes available for the project and location. + * Lists DatabaseConnections in a given project and location. * - * Create a request for the method "dbSystemShapes.list". + * Create a request for the method "databaseConnections.list". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for Database System Shapes in the following format: + * @param parent Required. The parent value for the DatabaseConnection in the following format: * projects/{project}/locations/{location}. * @return the request */ @@ -6917,29 +6967,29 @@ public List list(java.lang.String parent) throws java.io.IOException { return result; } - public class List extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/dbSystemShapes"; + private static final String REST_PATH = "v1/{+parent}/databaseConnections"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Lists the database system shapes available for the project and location. + * Lists DatabaseConnections in a given project and location. * - * Create a request for the method "dbSystemShapes.list". + * Create a request for the method "databaseConnections.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for Database System Shapes in the following format: + * @param parent Required. The parent value for the DatabaseConnection in the following format: * projects/{project}/locations/{location}. * @since 1.13 */ protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDbSystemShapesResponse.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDatabaseConnectionsResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -7014,13 +7064,13 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The parent value for Database System Shapes in the following format: + * Required. The parent value for the DatabaseConnection in the following format: * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent value for Database System Shapes in the following format: + /** Required. The parent value for the DatabaseConnection in the following format: projects/{project}/locations/{location}. */ public java.lang.String getParent() { @@ -7028,7 +7078,7 @@ public java.lang.String getParent() { } /** - * Required. The parent value for Database System Shapes in the following format: + * Required. The parent value for the DatabaseConnection in the following format: * projects/{project}/locations/{location}. */ public List setParent(java.lang.String parent) { @@ -7041,44 +7091,47 @@ public List setParent(java.lang.String parent) { return this; } - /** - * Optional. An expression for filtering the results of the request. The - * `gcp_oracle_zone_id`, `shape_family`, and `database_edition` fields are supported in - * the following format: `gcp_oracle_zone_id="{gcp_oracle_zone_id}" AND - * shape_family="{shape_family}" AND database_edition="{database_edition}"`. - */ + /** Optional. An expression for filtering the results of the request. */ @com.google.api.client.util.Key private java.lang.String filter; - /** Optional. An expression for filtering the results of the request. The `gcp_oracle_zone_id`, - `shape_family`, and `database_edition` fields are supported in the following format: - `gcp_oracle_zone_id="{gcp_oracle_zone_id}" AND shape_family="{shape_family}" AND - database_edition="{database_edition}"`. + /** Optional. An expression for filtering the results of the request. */ public java.lang.String getFilter() { return filter; } - /** - * Optional. An expression for filtering the results of the request. The - * `gcp_oracle_zone_id`, `shape_family`, and `database_edition` fields are supported in - * the following format: `gcp_oracle_zone_id="{gcp_oracle_zone_id}" AND - * shape_family="{shape_family}" AND database_edition="{database_edition}"`. - */ + /** Optional. An expression for filtering the results of the request. */ public List setFilter(java.lang.String filter) { this.filter = filter; return this; } + /** Optional. An expression for ordering the results of the request. */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. An expression for ordering the results of the request. + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** Optional. An expression for ordering the results of the request. */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + /** - * Optional. The maximum number of items to return. If unspecified, at most 50 database - * system shapes will be returned. The maximum value is 1000; values above 1000 will be - * coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 + * DatabaseConnections will be returned. The maximum value is 1000; values above 1000 will + * be coerced to 1000. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. The maximum number of items to return. If unspecified, at most 50 database system shapes + /** Optional. The maximum number of items to return. If unspecified, at most 50 DatabaseConnections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ public java.lang.Integer getPageSize() { @@ -7086,9 +7139,9 @@ public java.lang.Integer getPageSize() { } /** - * Optional. The maximum number of items to return. If unspecified, at most 50 database - * system shapes will be returned. The maximum value is 1000; values above 1000 will be - * coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 + * DatabaseConnections will be returned. The maximum value is 1000; values above 1000 will + * be coerced to 1000. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; @@ -7116,419 +7169,377 @@ public List set(String parameterName, Object value) { return (List) super.set(parameterName, value); } } - - } - /** - * An accessor for creating requests from the DbSystems collection. - * - *

The typical use is:

- *
-       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.DbSystems.List request = oracledatabase.dbSystems().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public DbSystems dbSystems() { - return new DbSystems(); - } - - /** - * The "dbSystems" collection of methods. - */ - public class DbSystems { - /** - * Creates a new DbSystem in a given project and location. + * Updates the parameters of a single DatabaseConnection. * - * Create a request for the method "dbSystems.create". + * Create a request for the method "databaseConnections.patch". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param parent Required. The value for parent of the DbSystem in the following format: - * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.DbSystem} + * @param name Identifier. The resource name of the DatabaseConnection. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DatabaseConnection} * @return the request */ - public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.DbSystem content) throws java.io.IOException { - Create result = new Create(parent, content); + public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.DatabaseConnection content) throws java.io.IOException { + Patch result = new Patch(name, content); initialize(result); return result; } - public class Create extends OracleDatabaseRequest { + public class Patch extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/dbSystems"; + private static final String REST_PATH = "v1/{+name}"; - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); /** - * Creates a new DbSystem in a given project and location. + * Updates the parameters of a single DatabaseConnection. * - * Create a request for the method "dbSystems.create". + * Create a request for the method "databaseConnections.patch". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. *

{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must * be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The value for parent of the DbSystem in the following format: - * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.DbSystem} + * @param name Identifier. The resource name of the DatabaseConnection. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DatabaseConnection} * @since 1.13 */ - protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.DbSystem content) { - super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.DatabaseConnection content) { + super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); } } @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); } @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); } @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); } @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); } @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); } @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); } @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); } @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); } @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); } @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); } @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); } /** - * Required. The value for parent of the DbSystem in the following format: - * projects/{project}/locations/{location}. + * Identifier. The resource name of the DatabaseConnection. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} */ @com.google.api.client.util.Key - private java.lang.String parent; + private java.lang.String name; - /** Required. The value for parent of the DbSystem in the following format: - projects/{project}/locations/{location}. + /** Identifier. The resource name of the DatabaseConnection. Format: + projects/{project}/locations/{location}/databaseConnections/{database_connection} */ - public java.lang.String getParent() { - return parent; + public java.lang.String getName() { + return name; } /** - * Required. The value for parent of the DbSystem in the following format: - * projects/{project}/locations/{location}. + * Identifier. The resource name of the DatabaseConnection. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} */ - public Create setParent(java.lang.String parent) { + public Patch setName(java.lang.String name) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); } - this.parent = parent; + this.name = name; return this; } /** - * Required. The ID of the DbSystem to create. This value is restricted to - * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. - * The value must start with a letter and end with a letter or a number. + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). */ @com.google.api.client.util.Key - private java.lang.String dbSystemId; + private java.lang.String requestId; - /** Required. The ID of the DbSystem to create. This value is restricted to - (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value - must start with a letter and end with a letter or a number. + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ - public java.lang.String getDbSystemId() { - return dbSystemId; + public java.lang.String getRequestId() { + return requestId; } /** - * Required. The ID of the DbSystem to create. This value is restricted to - * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. - * The value must start with a letter and end with a letter or a number. + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). */ - public Create setDbSystemId(java.lang.String dbSystemId) { - this.dbSystemId = dbSystemId; + public Patch setRequestId(java.lang.String requestId) { + this.requestId = requestId; return this; } /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. A mask specifying which fields in the DatabaseConnection should be updated. A + * field specified in the mask is overwritten. If a mask isn't provided then all the + * fields in the DatabaseConnection are overwritten. */ @com.google.api.client.util.Key - private java.lang.String requestId; + private String updateMask; - /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you - must retry your request, the server will know to ignore the request if it has already been - completed. The server will guarantee that for at least 60 minutes since the first request. For - example, consider a situation where you make an initial request and the request times out. If you - make the request again with the same request ID, the server can check if original operation with - the same request ID was received, and if so, will ignore the second request. This prevents clients - from accidentally creating duplicate commitments. The request ID must be a valid UUID with the - exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /** Optional. A mask specifying which fields in the DatabaseConnection should be updated. A field + specified in the mask is overwritten. If a mask isn't provided then all the fields in the + DatabaseConnection are overwritten. */ - public java.lang.String getRequestId() { - return requestId; + public String getUpdateMask() { + return updateMask; } /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. A mask specifying which fields in the DatabaseConnection should be updated. A + * field specified in the mask is overwritten. If a mask isn't provided then all the + * fields in the DatabaseConnection are overwritten. */ - public Create setRequestId(java.lang.String requestId) { - this.requestId = requestId; + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; return this; } @Override - public Create set(String parameterName, Object value) { - return (Create) super.set(parameterName, value); + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); } } /** - * Deletes a single DbSystem. + * Tests connectivity of a DatabaseConnection. * - * Create a request for the method "dbSystems.delete". + * Create a request for the method "databaseConnections.test". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Test#execute()} method to invoke the remote operation. * - * @param name Required. The name of the DbSystem in the following format: - * projects/{project}/locations/{location}/dbSystems/{db_system}. + * @param name Required. The name of the DatabaseConnection to test. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.TestDatabaseConnectionRequest} * @return the request */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); + public Test test(java.lang.String name, com.google.api.services.oracledatabase.v1.model.TestDatabaseConnectionRequest content) throws java.io.IOException { + Test result = new Test(name, content); initialize(result); return result; } - public class Delete extends OracleDatabaseRequest { + public class Test extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}"; + private static final String REST_PATH = "v1/{+name}:test"; private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); /** - * Deletes a single DbSystem. + * Tests connectivity of a DatabaseConnection. * - * Create a request for the method "dbSystems.delete". + * Create a request for the method "databaseConnections.test". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. - *

{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link Test#execute()} method to invoke the remote operation.

+ * {@link Test#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the DbSystem in the following format: - * projects/{project}/locations/{location}/dbSystems/{db_system}. + * @param name Required. The name of the DatabaseConnection to test. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.TestDatabaseConnectionRequest} * @since 1.13 */ - protected Delete(java.lang.String name) { - super(OracleDatabase.this, "DELETE", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Operation.class); + protected Test(java.lang.String name, com.google.api.services.oracledatabase.v1.model.TestDatabaseConnectionRequest content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.TestDatabaseConnectionResponse.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); } } @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); + public Test set$Xgafv(java.lang.String $Xgafv) { + return (Test) super.set$Xgafv($Xgafv); } @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); + public Test setAccessToken(java.lang.String accessToken) { + return (Test) super.setAccessToken(accessToken); } @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); + public Test setAlt(java.lang.String alt) { + return (Test) super.setAlt(alt); } @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); + public Test setCallback(java.lang.String callback) { + return (Test) super.setCallback(callback); } @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); + public Test setFields(java.lang.String fields) { + return (Test) super.setFields(fields); } @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); + public Test setKey(java.lang.String key) { + return (Test) super.setKey(key); } @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); + public Test setOauthToken(java.lang.String oauthToken) { + return (Test) super.setOauthToken(oauthToken); } @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); + public Test setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Test) super.setPrettyPrint(prettyPrint); } @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); + public Test setQuotaUser(java.lang.String quotaUser) { + return (Test) super.setQuotaUser(quotaUser); } @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); + public Test setUploadType(java.lang.String uploadType) { + return (Test) super.setUploadType(uploadType); } @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); + public Test setUploadProtocol(java.lang.String uploadProtocol) { + return (Test) super.setUploadProtocol(uploadProtocol); } /** - * Required. The name of the DbSystem in the following format: - * projects/{project}/locations/{location}/dbSystems/{db_system}. + * Required. The name of the DatabaseConnection to test. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the DbSystem in the following format: - projects/{project}/locations/{location}/dbSystems/{db_system}. + /** Required. The name of the DatabaseConnection to test. Format: + projects/{project}/locations/{location}/databaseConnections/{database_connection} */ public java.lang.String getName() { return name; } /** - * Required. The name of the DbSystem in the following format: - * projects/{project}/locations/{location}/dbSystems/{db_system}. + * Required. The name of the DatabaseConnection to test. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} */ - public Delete setName(java.lang.String name) { + public Test setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/databaseConnections/[^/]+$"); } this.name = name; return this; } - /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). - */ - @com.google.api.client.util.Key - private java.lang.String requestId; - - /** Optional. An optional ID to identify the request. This value is used to identify duplicate - requests. If you make a request with the same request ID and the original request is still in - progress or completed, the server ignores the second request. This prevents clients from - accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception - that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public java.lang.String getRequestId() { - return requestId; + @Override + public Test set(String parameterName, Object value) { + return (Test) super.set(parameterName, value); } + } - /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). - */ - public Delete setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } + } + /** + * An accessor for creating requests from the Databases collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.Databases.List request = oracledatabase.databases().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public Databases databases() { + return new Databases(); + } + + /** + * The "databases" collection of methods. + */ + public class Databases { - @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); - } - } /** - * Gets details of a single DbSystem. + * Gets details of a single Database. * - * Create a request for the method "dbSystems.get". + * Create a request for the method "databases.get". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. * - * @param name Required. The name of the DbSystem in the following format: - * projects/{project}/locations/{location}/dbSystems/{db_system}. + * @param name Required. The name of the Database resource in the following format: + * projects/{project}/locations/{region}/databases/{database} * @return the request */ public Get get(java.lang.String name) throws java.io.IOException { @@ -7537,34 +7548,34 @@ public Get get(java.lang.String name) throws java.io.IOException { return result; } - public class Get extends OracleDatabaseRequest { + public class Get extends OracleDatabaseRequest { private static final String REST_PATH = "v1/{+name}"; private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/databases/[^/]+$"); /** - * Gets details of a single DbSystem. + * Gets details of a single Database. * - * Create a request for the method "dbSystems.get". + * Create a request for the method "databases.get". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the DbSystem in the following format: - * projects/{project}/locations/{location}/dbSystems/{db_system}. + * @param name Required. The name of the Database resource in the following format: + * projects/{project}/locations/{region}/databases/{database} * @since 1.13 */ protected Get(java.lang.String name) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.DbSystem.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Database.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/databases/[^/]+$"); } } @@ -7634,28 +7645,28 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The name of the DbSystem in the following format: - * projects/{project}/locations/{location}/dbSystems/{db_system}. + * Required. The name of the Database resource in the following format: + * projects/{project}/locations/{region}/databases/{database} */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the DbSystem in the following format: - projects/{project}/locations/{location}/dbSystems/{db_system}. + /** Required. The name of the Database resource in the following format: + projects/{project}/locations/{region}/databases/{database} */ public java.lang.String getName() { return name; } /** - * Required. The name of the DbSystem in the following format: - * projects/{project}/locations/{location}/dbSystems/{db_system}. + * Required. The name of the Database resource in the following format: + * projects/{project}/locations/{region}/databases/{database} */ public Get setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/databases/[^/]+$"); } this.name = name; return this; @@ -7667,15 +7678,14 @@ public Get set(String parameterName, Object value) { } } /** - * Lists all the DbSystems for the given project and location. + * Lists all the Databases for the given project, location and DbSystem. * - * Create a request for the method "dbSystems.list". + * Create a request for the method "databases.list". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for DbSystems in the following format: - * projects/{project}/locations/{location}. + * @param parent Required. The parent resource name in the following format: projects/{project}/locations/{region} * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -7684,29 +7694,28 @@ public List list(java.lang.String parent) throws java.io.IOException { return result; } - public class List extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/dbSystems"; + private static final String REST_PATH = "v1/{+parent}/databases"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Lists all the DbSystems for the given project and location. + * Lists all the Databases for the given project, location and DbSystem. * - * Create a request for the method "dbSystems.list". + * Create a request for the method "databases.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for DbSystems in the following format: - * projects/{project}/locations/{location}. + * @param parent Required. The parent resource name in the following format: projects/{project}/locations/{region} * @since 1.13 */ protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDbSystemsResponse.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDatabasesResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -7781,22 +7790,21 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The parent value for DbSystems in the following format: - * projects/{project}/locations/{location}. + * Required. The parent resource name in the following format: + * projects/{project}/locations/{region} */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent value for DbSystems in the following format: - projects/{project}/locations/{location}. + /** Required. The parent resource name in the following format: projects/{project}/locations/{region} */ public java.lang.String getParent() { return parent; } /** - * Required. The parent value for DbSystems in the following format: - * projects/{project}/locations/{location}. + * Required. The parent resource name in the following format: + * projects/{project}/locations/{region} */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -7808,72 +7816,77 @@ public List setParent(java.lang.String parent) { return this; } - /** Optional. An expression for filtering the results of the request. */ + /** + * Optional. An expression for filtering the results of the request. list for container + * databases is supported only with a valid dbSystem (full resource name) filter in this + * format: `dbSystem="projects/{project}/locations/{location}/dbSystems/{dbSystemId}"` + */ @com.google.api.client.util.Key private java.lang.String filter; - /** Optional. An expression for filtering the results of the request. + /** Optional. An expression for filtering the results of the request. list for container databases is + supported only with a valid dbSystem (full resource name) filter in this format: + `dbSystem="projects/{project}/locations/{location}/dbSystems/{dbSystemId}"` */ public java.lang.String getFilter() { return filter; } - /** Optional. An expression for filtering the results of the request. */ + /** + * Optional. An expression for filtering the results of the request. list for container + * databases is supported only with a valid dbSystem (full resource name) filter in this + * format: `dbSystem="projects/{project}/locations/{location}/dbSystems/{dbSystemId}"` + */ public List setFilter(java.lang.String filter) { this.filter = filter; return this; } - /** Optional. An expression for ordering the results of the request. */ - @com.google.api.client.util.Key - private java.lang.String orderBy; - - /** Optional. An expression for ordering the results of the request. - */ - public java.lang.String getOrderBy() { - return orderBy; - } - - /** Optional. An expression for ordering the results of the request. */ - public List setOrderBy(java.lang.String orderBy) { - this.orderBy = orderBy; - return this; - } - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 DbSystems - * will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 + * Databases will be returned. The maximum value is 1000; values above 1000 will be reset + * to 1000. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. The maximum number of items to return. If unspecified, at most 50 DbSystems will be - returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 Databases will be + returned. The maximum value is 1000; values above 1000 will be reset to 1000. */ public java.lang.Integer getPageSize() { return pageSize; } /** - * Optional. The maximum number of items to return. If unspecified, at most 50 DbSystems - * will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 + * Databases will be returned. The maximum value is 1000; values above 1000 will be reset + * to 1000. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; } - /** Optional. A token identifying a page of results the server should return. */ + /** + * Optional. A token identifying the requested page of results to return. All fields + * except the filter should remain the same as in the request that provided this page + * token. + */ @com.google.api.client.util.Key private java.lang.String pageToken; - /** Optional. A token identifying a page of results the server should return. + /** Optional. A token identifying the requested page of results to return. All fields except the filter + should remain the same as in the request that provided this page token. */ public java.lang.String getPageToken() { return pageToken; } - /** Optional. A token identifying a page of results the server should return. */ + /** + * Optional. A token identifying the requested page of results to return. All fields + * except the filter should remain the same as in the request that provided this page + * token. + */ public List setPageToken(java.lang.String pageToken) { this.pageToken = pageToken; return this; @@ -7884,240 +7897,258 @@ public List set(String parameterName, Object value) { return (List) super.set(parameterName, value); } } + + } + /** + * An accessor for creating requests from the DbSystemInitialStorageSizes collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.DbSystemInitialStorageSizes.List request = oracledatabase.dbSystemInitialStorageSizes().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public DbSystemInitialStorageSizes dbSystemInitialStorageSizes() { + return new DbSystemInitialStorageSizes(); + } + + /** + * The "dbSystemInitialStorageSizes" collection of methods. + */ + public class DbSystemInitialStorageSizes { + /** - * Updates the `labels` of a single DbSystem. + * Lists all the DbSystemInitialStorageSizes for the given project and location. * - * Create a request for the method "dbSystems.patch". + * Create a request for the method "dbSystemInitialStorageSizes.list". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param name Identifier. The name of the DbSystem resource in the following format: - * projects/{project}/locations/{region}/dbSystems/{db_system} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.DbSystem} + * @param parent Required. The parent value for the DbSystemInitialStorageSize resource with the format: + * projects/{project}/locations/{location} * @return the request */ - public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.DbSystem content) throws java.io.IOException { - Patch result = new Patch(name, content); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); initialize(result); return result; } - public class Patch extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}"; + private static final String REST_PATH = "v1/{+parent}/dbSystemInitialStorageSizes"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Updates the `labels` of a single DbSystem. + * Lists all the DbSystemInitialStorageSizes for the given project and location. * - * Create a request for the method "dbSystems.patch". + * Create a request for the method "dbSystemInitialStorageSizes.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. - *

{@link - * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Identifier. The name of the DbSystem resource in the following format: - * projects/{project}/locations/{region}/dbSystems/{db_system} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.DbSystem} + * @param parent Required. The parent value for the DbSystemInitialStorageSize resource with the format: + * projects/{project}/locations/{location} * @since 1.13 */ - protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.DbSystem content) { - super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDbSystemInitialStorageSizesResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public Patch set$Xgafv(java.lang.String $Xgafv) { - return (Patch) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Patch setAccessToken(java.lang.String accessToken) { - return (Patch) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Patch setAlt(java.lang.String alt) { - return (Patch) super.setAlt(alt); + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); } @Override - public Patch setCallback(java.lang.String callback) { - return (Patch) super.setCallback(callback); + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); } @Override - public Patch setFields(java.lang.String fields) { - return (Patch) super.setFields(fields); + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); } @Override - public Patch setKey(java.lang.String key) { - return (Patch) super.setKey(key); + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); } @Override - public Patch setOauthToken(java.lang.String oauthToken) { - return (Patch) super.setOauthToken(oauthToken); + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); } @Override - public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Patch) super.setPrettyPrint(prettyPrint); + public List setKey(java.lang.String key) { + return (List) super.setKey(key); } @Override - public Patch setQuotaUser(java.lang.String quotaUser) { - return (Patch) super.setQuotaUser(quotaUser); + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); } @Override - public Patch setUploadType(java.lang.String uploadType) { - return (Patch) super.setUploadType(uploadType); + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); } @Override - public Patch setUploadProtocol(java.lang.String uploadProtocol) { - return (Patch) super.setUploadProtocol(uploadProtocol); + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); } /** - * Identifier. The name of the DbSystem resource in the following format: - * projects/{project}/locations/{region}/dbSystems/{db_system} + * Required. The parent value for the DbSystemInitialStorageSize resource with the format: + * projects/{project}/locations/{location} */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Identifier. The name of the DbSystem resource in the following format: - projects/{project}/locations/{region}/dbSystems/{db_system} + /** Required. The parent value for the DbSystemInitialStorageSize resource with the format: + projects/{project}/locations/{location} */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } /** - * Identifier. The name of the DbSystem resource in the following format: - * projects/{project}/locations/{region}/dbSystems/{db_system} + * Required. The parent value for the DbSystemInitialStorageSize resource with the format: + * projects/{project}/locations/{location} */ - public Patch setName(java.lang.String name) { + public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } - this.name = name; + this.parent = parent; return this; } /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 + * DbSystemInitialStorageSizes will be returned. The maximum value is 1000; values above + * 1000 will be reset to 1000. */ @com.google.api.client.util.Key - private java.lang.String requestId; + private java.lang.Integer pageSize; - /** Optional. An optional ID to identify the request. This value is used to identify duplicate - requests. If you make a request with the same request ID and the original request is still in - progress or completed, the server ignores the second request. This prevents clients from - accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception - that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 + DbSystemInitialStorageSizes will be returned. The maximum value is 1000; values above 1000 will be + reset to 1000. */ - public java.lang.String getRequestId() { - return requestId; + public java.lang.Integer getPageSize() { + return pageSize; } /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 + * DbSystemInitialStorageSizes will be returned. The maximum value is 1000; values above + * 1000 will be reset to 1000. */ - public Patch setRequestId(java.lang.String requestId) { - this.requestId = requestId; + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; return this; } /** - * Optional. A mask specifying which fields in the DbSystem should be updated. A field - * specified in the mask is updated. If a mask isn't provided, the service treats this as - * an implied field mask equivalent to all fields that are populated (have a non-empty - * value). + * Optional. A token identifying the requested page of results to return. All fields + * except the filter should remain the same as in the request that provided this page + * token. */ @com.google.api.client.util.Key - private String updateMask; + private java.lang.String pageToken; - /** Optional. A mask specifying which fields in the DbSystem should be updated. A field specified in - the mask is updated. If a mask isn't provided, the service treats this as an implied field mask - equivalent to all fields that are populated (have a non-empty value). + /** Optional. A token identifying the requested page of results to return. All fields except the filter + should remain the same as in the request that provided this page token. */ - public String getUpdateMask() { - return updateMask; + public java.lang.String getPageToken() { + return pageToken; } /** - * Optional. A mask specifying which fields in the DbSystem should be updated. A field - * specified in the mask is updated. If a mask isn't provided, the service treats this as - * an implied field mask equivalent to all fields that are populated (have a non-empty - * value). + * Optional. A token identifying the requested page of results to return. All fields + * except the filter should remain the same as in the request that provided this page + * token. */ - public Patch setUpdateMask(String updateMask) { - this.updateMask = updateMask; + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; return this; } @Override - public Patch set(String parameterName, Object value) { - return (Patch) super.set(parameterName, value); + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); } } } /** - * An accessor for creating requests from the DbVersions collection. + * An accessor for creating requests from the DbSystemShapes collection. * *

The typical use is:

*
        *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.DbVersions.List request = oracledatabase.dbVersions().list(parameters ...)}
+       *   {@code OracleDatabase.DbSystemShapes.List request = oracledatabase.dbSystemShapes().list(parameters ...)}
        * 
* * @return the resource collection */ - public DbVersions dbVersions() { - return new DbVersions(); + public DbSystemShapes dbSystemShapes() { + return new DbSystemShapes(); } /** - * The "dbVersions" collection of methods. + * The "dbSystemShapes" collection of methods. */ - public class DbVersions { + public class DbSystemShapes { /** - * List DbVersions for the given project and location. + * Lists the database system shapes available for the project and location. * - * Create a request for the method "dbVersions.list". + * Create a request for the method "dbSystemShapes.list". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for the DbVersion resource with the format: - * projects/{project}/locations/{location} + * @param parent Required. The parent value for Database System Shapes in the following format: + * projects/{project}/locations/{location}. * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -8126,29 +8157,29 @@ public List list(java.lang.String parent) throws java.io.IOException { return result; } - public class List extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/dbVersions"; + private static final String REST_PATH = "v1/{+parent}/dbSystemShapes"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * List DbVersions for the given project and location. + * Lists the database system shapes available for the project and location. * - * Create a request for the method "dbVersions.list". + * Create a request for the method "dbSystemShapes.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for the DbVersion resource with the format: - * projects/{project}/locations/{location} + * @param parent Required. The parent value for Database System Shapes in the following format: + * projects/{project}/locations/{location}. * @since 1.13 */ protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDbVersionsResponse.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDbSystemShapesResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -8223,22 +8254,22 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The parent value for the DbVersion resource with the format: - * projects/{project}/locations/{location} + * Required. The parent value for Database System Shapes in the following format: + * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent value for the DbVersion resource with the format: - projects/{project}/locations/{location} + /** Required. The parent value for Database System Shapes in the following format: + projects/{project}/locations/{location}. */ public java.lang.String getParent() { return parent; } /** - * Required. The parent value for the DbVersion resource with the format: - * projects/{project}/locations/{location} + * Required. The parent value for Database System Shapes in the following format: + * projects/{project}/locations/{location}. */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -8251,27 +8282,28 @@ public List setParent(java.lang.String parent) { } /** - * Optional. Filter expression that matches a subset of the DbVersions to show. The - * supported filter for dbSystem creation is `db_system_shape = {db_system_shape} AND - * storage_management = {storage_management}`. If no filter is provided, all DbVersions - * will be returned. + * Optional. An expression for filtering the results of the request. The + * `gcp_oracle_zone_id`, `shape_family`, and `database_edition` fields are supported in + * the following format: `gcp_oracle_zone_id="{gcp_oracle_zone_id}" AND + * shape_family="{shape_family}" AND database_edition="{database_edition}"`. */ @com.google.api.client.util.Key private java.lang.String filter; - /** Optional. Filter expression that matches a subset of the DbVersions to show. The supported filter - for dbSystem creation is `db_system_shape = {db_system_shape} AND storage_management = - {storage_management}`. If no filter is provided, all DbVersions will be returned. + /** Optional. An expression for filtering the results of the request. The `gcp_oracle_zone_id`, + `shape_family`, and `database_edition` fields are supported in the following format: + `gcp_oracle_zone_id="{gcp_oracle_zone_id}" AND shape_family="{shape_family}" AND + database_edition="{database_edition}"`. */ public java.lang.String getFilter() { return filter; } /** - * Optional. Filter expression that matches a subset of the DbVersions to show. The - * supported filter for dbSystem creation is `db_system_shape = {db_system_shape} AND - * storage_management = {storage_management}`. If no filter is provided, all DbVersions - * will be returned. + * Optional. An expression for filtering the results of the request. The + * `gcp_oracle_zone_id`, `shape_family`, and `database_edition` fields are supported in + * the following format: `gcp_oracle_zone_id="{gcp_oracle_zone_id}" AND + * shape_family="{shape_family}" AND database_edition="{database_edition}"`. */ public List setFilter(java.lang.String filter) { this.filter = filter; @@ -8279,50 +8311,41 @@ public List setFilter(java.lang.String filter) { } /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 - * DbVersions will be returned. The maximum value is 1000; values above 1000 will be reset - * to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 database + * system shapes will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 DbVersions will be - returned. The maximum value is 1000; values above 1000 will be reset to 1000. + /** Optional. The maximum number of items to return. If unspecified, at most 50 database system shapes + will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ public java.lang.Integer getPageSize() { return pageSize; } /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 - * DbVersions will be returned. The maximum value is 1000; values above 1000 will be reset - * to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 database + * system shapes will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; } - /** - * Optional. A token identifying the requested page of results to return. All fields - * except the filter should remain the same as in the request that provided this page - * token. - */ + /** Optional. A token identifying a page of results the server should return. */ @com.google.api.client.util.Key private java.lang.String pageToken; - /** Optional. A token identifying the requested page of results to return. All fields except the filter - should remain the same as in the request that provided this page token. + /** Optional. A token identifying a page of results the server should return. */ public java.lang.String getPageToken() { return pageToken; } - /** - * Optional. A token identifying the requested page of results to return. All fields - * except the filter should remain the same as in the request that provided this page - * token. - */ + /** Optional. A token identifying a page of results the server should return. */ public List setPageToken(java.lang.String pageToken) { this.pageToken = pageToken; return this; @@ -8336,247 +8359,39 @@ public List set(String parameterName, Object value) { } /** - * An accessor for creating requests from the Entitlements collection. + * An accessor for creating requests from the DbSystems collection. * *

The typical use is:

*
        *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.Entitlements.List request = oracledatabase.entitlements().list(parameters ...)}
+       *   {@code OracleDatabase.DbSystems.List request = oracledatabase.dbSystems().list(parameters ...)}
        * 
* * @return the resource collection */ - public Entitlements entitlements() { - return new Entitlements(); + public DbSystems dbSystems() { + return new DbSystems(); } /** - * The "entitlements" collection of methods. + * The "dbSystems" collection of methods. */ - public class Entitlements { + public class DbSystems { /** - * Lists the entitlements in a given project. + * Creates a new DbSystem in a given project and location. * - * Create a request for the method "entitlements.list". + * Create a request for the method "dbSystems.create". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for the entitlement in the following format: + * @param parent Required. The value for parent of the DbSystem in the following format: * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DbSystem} * @return the request */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); - initialize(result); - return result; - } - - public class List extends OracleDatabaseRequest { - - private static final String REST_PATH = "v1/{+parent}/entitlements"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); - - /** - * Lists the entitlements in a given project. - * - * Create a request for the method "entitlements.list". - * - * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

- * - * @param parent Required. The parent value for the entitlement in the following format: - * projects/{project}/locations/{location}. - * @since 1.13 - */ - protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListEntitlementsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); - } - - @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); - } - - @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); - } - - @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); - } - - @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); - } - - @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); - } - - @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); - } - - @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); - } - - @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } - - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } - - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The parent value for the entitlement in the following format: - * projects/{project}/locations/{location}. - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The parent value for the entitlement in the following format: - projects/{project}/locations/{location}. - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Required. The parent value for the entitlement in the following format: - * projects/{project}/locations/{location}. - */ - public List setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - this.parent = parent; - return this; - } - - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 - * entitlements will be returned. The maximum value is 1000. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 entitlements will - be returned. The maximum value is 1000. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 - * entitlements will be returned. The maximum value is 1000. - */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } - - /** Optional. A token identifying a page of results the server should return. */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** Optional. A token identifying a page of results the server should return. - */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** Optional. A token identifying a page of results the server should return. */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } - - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); - } - } - - } - /** - * An accessor for creating requests from the ExadbVmClusters collection. - * - *

The typical use is:

- *
-       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.ExadbVmClusters.List request = oracledatabase.exadbVmClusters().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public ExadbVmClusters exadbVmClusters() { - return new ExadbVmClusters(); - } - - /** - * The "exadbVmClusters" collection of methods. - */ - public class ExadbVmClusters { - - /** - * Creates a new Exadb (Exascale) VM Cluster resource. - * - * Create a request for the method "exadbVmClusters.create". - * - * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. - * - * @param parent Required. The value for parent of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExadbVmCluster} - * @return the request - */ - public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.ExadbVmCluster content) throws java.io.IOException { + public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.DbSystem content) throws java.io.IOException { Create result = new Create(parent, content); initialize(result); return result; @@ -8584,15 +8399,15 @@ public Create create(java.lang.String parent, com.google.api.services.oracledata public class Create extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/exadbVmClusters"; + private static final String REST_PATH = "v1/{+parent}/dbSystems"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Creates a new Exadb (Exascale) VM Cluster resource. + * Creates a new DbSystem in a given project and location. * - * Create a request for the method "exadbVmClusters.create". + * Create a request for the method "dbSystems.create". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. @@ -8600,12 +8415,12 @@ public class Create extends OracleDatabaseRequest * - * @param parent Required. The value for parent of the ExadbVmCluster in the following format: + * @param parent Required. The value for parent of the DbSystem in the following format: * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExadbVmCluster} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DbSystem} * @since 1.13 */ - protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.ExadbVmCluster content) { + protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.DbSystem content) { super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { @@ -8671,13 +8486,13 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The value for parent of the ExadbVmCluster in the following format: + * Required. The value for parent of the DbSystem in the following format: * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The value for parent of the ExadbVmCluster in the following format: + /** Required. The value for parent of the DbSystem in the following format: projects/{project}/locations/{location}. */ public java.lang.String getParent() { @@ -8685,7 +8500,7 @@ public java.lang.String getParent() { } /** - * Required. The value for parent of the ExadbVmCluster in the following format: + * Required. The value for parent of the DbSystem in the following format: * projects/{project}/locations/{location}. */ public Create setParent(java.lang.String parent) { @@ -8699,28 +8514,28 @@ public Create setParent(java.lang.String parent) { } /** - * Required. The ID of the ExadbVmCluster to create. This value is restricted to + * Required. The ID of the DbSystem to create. This value is restricted to * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. * The value must start with a letter and end with a letter or a number. */ @com.google.api.client.util.Key - private java.lang.String exadbVmClusterId; + private java.lang.String dbSystemId; - /** Required. The ID of the ExadbVmCluster to create. This value is restricted to + /** Required. The ID of the DbSystem to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. */ - public java.lang.String getExadbVmClusterId() { - return exadbVmClusterId; + public java.lang.String getDbSystemId() { + return dbSystemId; } /** - * Required. The ID of the ExadbVmCluster to create. This value is restricted to + * Required. The ID of the DbSystem to create. This value is restricted to * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. * The value must start with a letter and end with a letter or a number. */ - public Create setExadbVmClusterId(java.lang.String exadbVmClusterId) { - this.exadbVmClusterId = exadbVmClusterId; + public Create setDbSystemId(java.lang.String dbSystemId) { + this.dbSystemId = dbSystemId; return this; } @@ -8773,15 +8588,15 @@ public Create set(String parameterName, Object value) { } } /** - * Deletes a single Exadb (Exascale) VM Cluster. + * Deletes a single DbSystem. * - * Create a request for the method "exadbVmClusters.delete". + * Create a request for the method "dbSystems.delete". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. * - * @param name Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * @param name Required. The name of the DbSystem in the following format: + * projects/{project}/locations/{location}/dbSystems/{db_system}. * @return the request */ public Delete delete(java.lang.String name) throws java.io.IOException { @@ -8795,12 +8610,12 @@ public class Delete extends OracleDatabaseRequest * - * @param name Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * @param name Required. The name of the DbSystem in the following format: + * projects/{project}/locations/{location}/dbSystems/{db_system}. * @since 1.13 */ protected Delete(java.lang.String name) { @@ -8818,7 +8633,7 @@ protected Delete(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); } } @@ -8878,28 +8693,28 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * Required. The name of the DbSystem in the following format: + * projects/{project}/locations/{location}/dbSystems/{db_system}. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the ExadbVmCluster in the following format: - projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + /** Required. The name of the DbSystem in the following format: + projects/{project}/locations/{location}/dbSystems/{db_system}. */ public java.lang.String getName() { return name; } /** - * Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * Required. The name of the DbSystem in the following format: + * projects/{project}/locations/{location}/dbSystems/{db_system}. */ public Delete setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); } this.name = name; return this; @@ -8945,15 +8760,15 @@ public Delete set(String parameterName, Object value) { } } /** - * Gets details of a single Exadb (Exascale) VM Cluster. + * Gets details of a single DbSystem. * - * Create a request for the method "exadbVmClusters.get". + * Create a request for the method "dbSystems.get". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. * - * @param name Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * @param name Required. The name of the DbSystem in the following format: + * projects/{project}/locations/{location}/dbSystems/{db_system}. * @return the request */ public Get get(java.lang.String name) throws java.io.IOException { @@ -8962,34 +8777,34 @@ public Get get(java.lang.String name) throws java.io.IOException { return result; } - public class Get extends OracleDatabaseRequest { + public class Get extends OracleDatabaseRequest { private static final String REST_PATH = "v1/{+name}"; private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); /** - * Gets details of a single Exadb (Exascale) VM Cluster. + * Gets details of a single DbSystem. * - * Create a request for the method "exadbVmClusters.get". + * Create a request for the method "dbSystems.get". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * @param name Required. The name of the DbSystem in the following format: + * projects/{project}/locations/{location}/dbSystems/{db_system}. * @since 1.13 */ protected Get(java.lang.String name) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ExadbVmCluster.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.DbSystem.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); } } @@ -9059,28 +8874,28 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * Required. The name of the DbSystem in the following format: + * projects/{project}/locations/{location}/dbSystems/{db_system}. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the ExadbVmCluster in the following format: - projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + /** Required. The name of the DbSystem in the following format: + projects/{project}/locations/{location}/dbSystems/{db_system}. */ public java.lang.String getName() { return name; } /** - * Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * Required. The name of the DbSystem in the following format: + * projects/{project}/locations/{location}/dbSystems/{db_system}. */ public Get setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); } this.name = name; return this; @@ -9092,14 +8907,14 @@ public Get set(String parameterName, Object value) { } } /** - * Lists all the Exadb (Exascale) VM Clusters for the given project and location. + * Lists all the DbSystems for the given project and location. * - * Create a request for the method "exadbVmClusters.list". + * Create a request for the method "dbSystems.list". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for ExadbVmClusters in the following format: + * @param parent Required. The parent value for DbSystems in the following format: * projects/{project}/locations/{location}. * @return the request */ @@ -9109,29 +8924,29 @@ public List list(java.lang.String parent) throws java.io.IOException { return result; } - public class List extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/exadbVmClusters"; + private static final String REST_PATH = "v1/{+parent}/dbSystems"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Lists all the Exadb (Exascale) VM Clusters for the given project and location. + * Lists all the DbSystems for the given project and location. * - * Create a request for the method "exadbVmClusters.list". + * Create a request for the method "dbSystems.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for ExadbVmClusters in the following format: + * @param parent Required. The parent value for DbSystems in the following format: * projects/{project}/locations/{location}. * @since 1.13 */ protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListExadbVmClustersResponse.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDbSystemsResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -9206,13 +9021,13 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The parent value for ExadbVmClusters in the following format: + * Required. The parent value for DbSystems in the following format: * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent value for ExadbVmClusters in the following format: + /** Required. The parent value for DbSystems in the following format: projects/{project}/locations/{location}. */ public java.lang.String getParent() { @@ -9220,7 +9035,7 @@ public java.lang.String getParent() { } /** - * Required. The parent value for ExadbVmClusters in the following format: + * Required. The parent value for DbSystems in the following format: * projects/{project}/locations/{location}. */ public List setParent(java.lang.String parent) { @@ -9266,14 +9081,13 @@ public List setOrderBy(java.lang.String orderBy) { } /** - * Optional. The maximum number of items to return. If unspecified, at most 50 - * ExadbVmClusters will be returned. The maximum value is 1000; values above 1000 will be - * coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 DbSystems + * will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. The maximum number of items to return. If unspecified, at most 50 ExadbVmClusters will be + /** Optional. The maximum number of items to return. If unspecified, at most 50 DbSystems will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ public java.lang.Integer getPageSize() { @@ -9281,9 +9095,8 @@ public java.lang.Integer getPageSize() { } /** - * Optional. The maximum number of items to return. If unspecified, at most 50 - * ExadbVmClusters will be returned. The maximum value is 1000; values above 1000 will be - * coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 DbSystems + * will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; @@ -9312,20 +9125,19 @@ public List set(String parameterName, Object value) { } } /** - * Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm - * cluster, only pass the node count. + * Updates the `labels` of a single DbSystem. * - * Create a request for the method "exadbVmClusters.patch". + * Create a request for the method "dbSystems.patch". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param name Identifier. The name of the ExadbVmCluster resource in the following format: - * projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExadbVmCluster} + * @param name Identifier. The name of the DbSystem resource in the following format: + * projects/{project}/locations/{region}/dbSystems/{db_system} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DbSystem} * @return the request */ - public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.ExadbVmCluster content) throws java.io.IOException { + public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.DbSystem content) throws java.io.IOException { Patch result = new Patch(name, content); initialize(result); return result; @@ -9336,13 +9148,12 @@ public class Patch extends OracleDatabaseRequest * - * @param name Identifier. The name of the ExadbVmCluster resource in the following format: - * projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExadbVmCluster} + * @param name Identifier. The name of the DbSystem resource in the following format: + * projects/{project}/locations/{region}/dbSystems/{db_system} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DbSystem} * @since 1.13 */ - protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.ExadbVmCluster content) { + protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.DbSystem content) { super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); } } @@ -9421,28 +9232,28 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Identifier. The name of the ExadbVmCluster resource in the following format: - * projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster} + * Identifier. The name of the DbSystem resource in the following format: + * projects/{project}/locations/{region}/dbSystems/{db_system} */ @com.google.api.client.util.Key private java.lang.String name; - /** Identifier. The name of the ExadbVmCluster resource in the following format: - projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster} + /** Identifier. The name of the DbSystem resource in the following format: + projects/{project}/locations/{region}/dbSystems/{db_system} */ public java.lang.String getName() { return name; } /** - * Identifier. The name of the ExadbVmCluster resource in the following format: - * projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster} + * Identifier. The name of the DbSystem resource in the following format: + * projects/{project}/locations/{region}/dbSystems/{db_system} */ public Patch setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/dbSystems/[^/]+$"); } this.name = name; return this; @@ -9483,30 +9294,27 @@ public Patch setRequestId(java.lang.String requestId) { } /** - * Optional. A mask specifying which fields in th VM Cluster should be updated. A field - * specified in the mask is overwritten. If a mask isn't provided then the service treats - * this as an implied field mask equivalent to all fields that are populated (have a non- - * empty value). To clear or unset a field, the field must be explicitly specified in the - * `update_mask`. + * Optional. A mask specifying which fields in the DbSystem should be updated. A field + * specified in the mask is updated. If a mask isn't provided, the service treats this as + * an implied field mask equivalent to all fields that are populated (have a non-empty + * value). */ @com.google.api.client.util.Key private String updateMask; - /** Optional. A mask specifying which fields in th VM Cluster should be updated. A field specified in - the mask is overwritten. If a mask isn't provided then the service treats this as an implied field - mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a - field, the field must be explicitly specified in the `update_mask`. + /** Optional. A mask specifying which fields in the DbSystem should be updated. A field specified in + the mask is updated. If a mask isn't provided, the service treats this as an implied field mask + equivalent to all fields that are populated (have a non-empty value). */ public String getUpdateMask() { return updateMask; } /** - * Optional. A mask specifying which fields in th VM Cluster should be updated. A field - * specified in the mask is overwritten. If a mask isn't provided then the service treats - * this as an implied field mask equivalent to all fields that are populated (have a non- - * empty value). To clear or unset a field, the field must be explicitly specified in the - * `update_mask`. + * Optional. A mask specifying which fields in the DbSystem should be updated. A field + * specified in the mask is updated. If a mask isn't provided, the service treats this as + * an implied field mask equivalent to all fields that are populated (have a non-empty + * value). */ public Patch setUpdateMask(String updateMask) { this.updateMask = updateMask; @@ -9518,393 +9326,497 @@ public Patch set(String parameterName, Object value) { return (Patch) super.set(parameterName, value); } } + + } + /** + * An accessor for creating requests from the DbVersions collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.DbVersions.List request = oracledatabase.dbVersions().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public DbVersions dbVersions() { + return new DbVersions(); + } + + /** + * The "dbVersions" collection of methods. + */ + public class DbVersions { + /** - * Removes virtual machines from an existing exadb vm cluster. + * List DbVersions for the given project and location. * - * Create a request for the method "exadbVmClusters.removeVirtualMachine". + * Create a request for the method "dbVersions.list". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link RemoveVirtualMachine#execute()} method to invoke the remote - * operation. + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param name Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.RemoveVirtualMachineExadbVmClusterRequest} + * @param parent Required. The parent value for the DbVersion resource with the format: + * projects/{project}/locations/{location} * @return the request */ - public RemoveVirtualMachine removeVirtualMachine(java.lang.String name, com.google.api.services.oracledatabase.v1.model.RemoveVirtualMachineExadbVmClusterRequest content) throws java.io.IOException { - RemoveVirtualMachine result = new RemoveVirtualMachine(name, content); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); initialize(result); return result; } - public class RemoveVirtualMachine extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}:removeVirtualMachine"; + private static final String REST_PATH = "v1/{+parent}/dbVersions"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Removes virtual machines from an existing exadb vm cluster. + * List DbVersions for the given project and location. * - * Create a request for the method "exadbVmClusters.removeVirtualMachine". + * Create a request for the method "dbVersions.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link RemoveVirtualMachine#execute()} method to invoke the - * remote operation.

{@link RemoveVirtualMachine#initialize(com.google.api.client.googleapis.s - * ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately - * after invoking the constructor.

+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.RemoveVirtualMachineExadbVmClusterRequest} + * @param parent Required. The parent value for the DbVersion resource with the format: + * projects/{project}/locations/{location} * @since 1.13 */ - protected RemoveVirtualMachine(java.lang.String name, com.google.api.services.oracledatabase.v1.model.RemoveVirtualMachineExadbVmClusterRequest content) { - super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDbVersionsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public RemoveVirtualMachine set$Xgafv(java.lang.String $Xgafv) { - return (RemoveVirtualMachine) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public RemoveVirtualMachine setAccessToken(java.lang.String accessToken) { - return (RemoveVirtualMachine) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public RemoveVirtualMachine setAlt(java.lang.String alt) { - return (RemoveVirtualMachine) super.setAlt(alt); + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); } @Override - public RemoveVirtualMachine setCallback(java.lang.String callback) { - return (RemoveVirtualMachine) super.setCallback(callback); + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); } @Override - public RemoveVirtualMachine setFields(java.lang.String fields) { - return (RemoveVirtualMachine) super.setFields(fields); + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); } @Override - public RemoveVirtualMachine setKey(java.lang.String key) { - return (RemoveVirtualMachine) super.setKey(key); + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); } @Override - public RemoveVirtualMachine setOauthToken(java.lang.String oauthToken) { - return (RemoveVirtualMachine) super.setOauthToken(oauthToken); + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); } @Override - public RemoveVirtualMachine setPrettyPrint(java.lang.Boolean prettyPrint) { - return (RemoveVirtualMachine) super.setPrettyPrint(prettyPrint); + public List setKey(java.lang.String key) { + return (List) super.setKey(key); } @Override - public RemoveVirtualMachine setQuotaUser(java.lang.String quotaUser) { - return (RemoveVirtualMachine) super.setQuotaUser(quotaUser); + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); } @Override - public RemoveVirtualMachine setUploadType(java.lang.String uploadType) { - return (RemoveVirtualMachine) super.setUploadType(uploadType); + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); } @Override - public RemoveVirtualMachine setUploadProtocol(java.lang.String uploadProtocol) { - return (RemoveVirtualMachine) super.setUploadProtocol(uploadProtocol); + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); } /** - * Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * Required. The parent value for the DbVersion resource with the format: + * projects/{project}/locations/{location} */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Required. The name of the ExadbVmCluster in the following format: - projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + /** Required. The parent value for the DbVersion resource with the format: + projects/{project}/locations/{location} */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } /** - * Required. The name of the ExadbVmCluster in the following format: - * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * Required. The parent value for the DbVersion resource with the format: + * projects/{project}/locations/{location} */ - public RemoveVirtualMachine setName(java.lang.String name) { + public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } - this.name = name; + this.parent = parent; + return this; + } + + /** + * Optional. Filter expression that matches a subset of the DbVersions to show. The + * supported filter for dbSystem creation is `db_system_shape = {db_system_shape} AND + * storage_management = {storage_management}`. If no filter is provided, all DbVersions + * will be returned. + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filter expression that matches a subset of the DbVersions to show. The supported filter + for dbSystem creation is `db_system_shape = {db_system_shape} AND storage_management = + {storage_management}`. If no filter is provided, all DbVersions will be returned. + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. Filter expression that matches a subset of the DbVersions to show. The + * supported filter for dbSystem creation is `db_system_shape = {db_system_shape} AND + * storage_management = {storage_management}`. If no filter is provided, all DbVersions + * will be returned. + */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 + * DbVersions will be returned. The maximum value is 1000; values above 1000 will be reset + * to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 DbVersions will be + returned. The maximum value is 1000; values above 1000 will be reset to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 + * DbVersions will be returned. The maximum value is 1000; values above 1000 will be reset + * to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A token identifying the requested page of results to return. All fields + * except the filter should remain the same as in the request that provided this page + * token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying the requested page of results to return. All fields except the filter + should remain the same as in the request that provided this page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A token identifying the requested page of results to return. All fields + * except the filter should remain the same as in the request that provided this page + * token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; return this; } @Override - public RemoveVirtualMachine set(String parameterName, Object value) { - return (RemoveVirtualMachine) super.set(parameterName, value); + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); } } + } + /** + * An accessor for creating requests from the Entitlements collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.Entitlements.List request = oracledatabase.entitlements().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public Entitlements entitlements() { + return new Entitlements(); + } + + /** + * The "entitlements" collection of methods. + */ + public class Entitlements { + /** - * An accessor for creating requests from the DbNodes collection. + * Lists the entitlements in a given project. * - *

The typical use is:

- *
-         *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-         *   {@code OracleDatabase.DbNodes.List request = oracledatabase.dbNodes().list(parameters ...)}
-         * 
+ * Create a request for the method "entitlements.list". * - * @return the resource collection + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent value for the entitlement in the following format: + * projects/{project}/locations/{location}. + * @return the request */ - public DbNodes dbNodes() { - return new DbNodes(); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; } - /** - * The "dbNodes" collection of methods. - */ - public class DbNodes { + public class List extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+parent}/entitlements"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Lists the database nodes of a VM Cluster. + * Lists the entitlements in a given project. * - * Create a request for the method "dbNodes.list". + * Create a request for the method "entitlements.list". * - * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for database node in the following format: - * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . - * @return the request + * @param parent Required. The parent value for the entitlement in the following format: + * projects/{project}/locations/{location}. + * @since 1.13 */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); - initialize(result); - return result; + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListEntitlementsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } } - public class List extends OracleDatabaseRequest { + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } - private static final String REST_PATH = "v1/{+parent}/dbNodes"; + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } - /** - * Lists the database nodes of a VM Cluster. - * - * Create a request for the method "dbNodes.list". - * - * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

- * - * @param parent Required. The parent value for database node in the following format: - * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . - * @since 1.13 - */ - protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDbNodesResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); - } - - @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); - } + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } - @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); - } + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } - @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); - } + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } - @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); - } + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } - @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); - } + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } - @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); - } + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } - @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); - } + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } - @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); - } + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } - /** - * Required. The parent value for database node in the following format: - * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . - */ - @com.google.api.client.util.Key - private java.lang.String parent; + /** + * Required. The parent value for the entitlement in the following format: + * projects/{project}/locations/{location}. + */ + @com.google.api.client.util.Key + private java.lang.String parent; - /** Required. The parent value for database node in the following format: - projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . - */ - public java.lang.String getParent() { - return parent; - } + /** Required. The parent value for the entitlement in the following format: + projects/{project}/locations/{location}. + */ + public java.lang.String getParent() { + return parent; + } - /** - * Required. The parent value for database node in the following format: - * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . - */ - public List setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); - } - this.parent = parent; - return this; + /** + * Required. The parent value for the entitlement in the following format: + * projects/{project}/locations/{location}. + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } + this.parent = parent; + return this; + } - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 db nodes - * will be returned. The maximum value is 1000; values above 1000 will be coerced to - * 1000. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be - returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 + * entitlements will be returned. The maximum value is 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 db nodes - * will be returned. The maximum value is 1000; values above 1000 will be coerced to - * 1000. - */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } + /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 entitlements will + be returned. The maximum value is 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } - /** Optional. A token identifying a page of results the node should return. */ - @com.google.api.client.util.Key - private java.lang.String pageToken; + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 + * entitlements will be returned. The maximum value is 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } - /** Optional. A token identifying a page of results the node should return. - */ - public java.lang.String getPageToken() { - return pageToken; - } + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; - /** Optional. A token identifying a page of results the node should return. */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); - } + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; } + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } } + } /** - * An accessor for creating requests from the ExascaleDbStorageVaults collection. + * An accessor for creating requests from the ExadbVmClusters collection. * *

The typical use is:

*
        *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.ExascaleDbStorageVaults.List request = oracledatabase.exascaleDbStorageVaults().list(parameters ...)}
+       *   {@code OracleDatabase.ExadbVmClusters.List request = oracledatabase.exadbVmClusters().list(parameters ...)}
        * 
* * @return the resource collection */ - public ExascaleDbStorageVaults exascaleDbStorageVaults() { - return new ExascaleDbStorageVaults(); + public ExadbVmClusters exadbVmClusters() { + return new ExadbVmClusters(); } /** - * The "exascaleDbStorageVaults" collection of methods. + * The "exadbVmClusters" collection of methods. */ - public class ExascaleDbStorageVaults { + public class ExadbVmClusters { /** - * Creates a new ExascaleDB Storage Vault resource. + * Creates a new Exadb (Exascale) VM Cluster resource. * - * Create a request for the method "exascaleDbStorageVaults.create". + * Create a request for the method "exadbVmClusters.create". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. * - * @param parent Required. The value for parent of the ExascaleDbStorageVault in the following format: + * @param parent Required. The value for parent of the ExadbVmCluster in the following format: * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExadbVmCluster} * @return the request */ - public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault content) throws java.io.IOException { + public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.ExadbVmCluster content) throws java.io.IOException { Create result = new Create(parent, content); initialize(result); return result; @@ -9912,15 +9824,15 @@ public Create create(java.lang.String parent, com.google.api.services.oracledata public class Create extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/exascaleDbStorageVaults"; + private static final String REST_PATH = "v1/{+parent}/exadbVmClusters"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Creates a new ExascaleDB Storage Vault resource. + * Creates a new Exadb (Exascale) VM Cluster resource. * - * Create a request for the method "exascaleDbStorageVaults.create". + * Create a request for the method "exadbVmClusters.create". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. @@ -9928,12 +9840,12 @@ public class Create extends OracleDatabaseRequest * - * @param parent Required. The value for parent of the ExascaleDbStorageVault in the following format: + * @param parent Required. The value for parent of the ExadbVmCluster in the following format: * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExadbVmCluster} * @since 1.13 */ - protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault content) { + protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.ExadbVmCluster content) { super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { @@ -9999,13 +9911,13 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The value for parent of the ExascaleDbStorageVault in the following format: + * Required. The value for parent of the ExadbVmCluster in the following format: * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The value for parent of the ExascaleDbStorageVault in the following format: + /** Required. The value for parent of the ExadbVmCluster in the following format: projects/{project}/locations/{location}. */ public java.lang.String getParent() { @@ -10013,7 +9925,7 @@ public java.lang.String getParent() { } /** - * Required. The value for parent of the ExascaleDbStorageVault in the following format: + * Required. The value for parent of the ExadbVmCluster in the following format: * projects/{project}/locations/{location}. */ public Create setParent(java.lang.String parent) { @@ -10027,28 +9939,28 @@ public Create setParent(java.lang.String parent) { } /** - * Required. The ID of the ExascaleDbStorageVault to create. This value is restricted to + * Required. The ID of the ExadbVmCluster to create. This value is restricted to * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. * The value must start with a letter and end with a letter or a number. */ @com.google.api.client.util.Key - private java.lang.String exascaleDbStorageVaultId; + private java.lang.String exadbVmClusterId; - /** Required. The ID of the ExascaleDbStorageVault to create. This value is restricted to + /** Required. The ID of the ExadbVmCluster to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. */ - public java.lang.String getExascaleDbStorageVaultId() { - return exascaleDbStorageVaultId; + public java.lang.String getExadbVmClusterId() { + return exadbVmClusterId; } /** - * Required. The ID of the ExascaleDbStorageVault to create. This value is restricted to + * Required. The ID of the ExadbVmCluster to create. This value is restricted to * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. * The value must start with a letter and end with a letter or a number. */ - public Create setExascaleDbStorageVaultId(java.lang.String exascaleDbStorageVaultId) { - this.exascaleDbStorageVaultId = exascaleDbStorageVaultId; + public Create setExadbVmClusterId(java.lang.String exadbVmClusterId) { + this.exadbVmClusterId = exadbVmClusterId; return this; } @@ -10101,16 +10013,15 @@ public Create set(String parameterName, Object value) { } } /** - * Deletes a single ExascaleDB Storage Vault. + * Deletes a single Exadb (Exascale) VM Cluster. * - * Create a request for the method "exascaleDbStorageVaults.delete". + * Create a request for the method "exadbVmClusters.delete". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. * - * @param name Required. The name of the ExascaleDbStorageVault in the following format: - * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault - * }. + * @param name Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. * @return the request */ public Delete delete(java.lang.String name) throws java.io.IOException { @@ -10124,12 +10035,12 @@ public class Delete extends OracleDatabaseRequest * - * @param name Required. The name of the ExascaleDbStorageVault in the following format: - * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault - * }. + * @param name Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. * @since 1.13 */ protected Delete(java.lang.String name) { @@ -10148,7 +10058,7 @@ protected Delete(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); } } @@ -10208,28 +10118,28 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The name of the ExascaleDbStorageVault in the following format: projects/{pro - * ject}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. + * Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the ExascaleDbStorageVault in the following format: - projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. + /** Required. The name of the ExadbVmCluster in the following format: + projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. */ public java.lang.String getName() { return name; } /** - * Required. The name of the ExascaleDbStorageVault in the following format: projects/{pro - * ject}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. + * Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. */ public Delete setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); } this.name = name; return this; @@ -10275,16 +10185,15 @@ public Delete set(String parameterName, Object value) { } } /** - * Gets details of a single ExascaleDB Storage Vault. + * Gets details of a single Exadb (Exascale) VM Cluster. * - * Create a request for the method "exascaleDbStorageVaults.get". + * Create a request for the method "exadbVmClusters.get". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. * - * @param name Required. The name of the ExascaleDbStorageVault in the following format: - * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault - * }. + * @param name Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. * @return the request */ public Get get(java.lang.String name) throws java.io.IOException { @@ -10293,35 +10202,34 @@ public Get get(java.lang.String name) throws java.io.IOException { return result; } - public class Get extends OracleDatabaseRequest { + public class Get extends OracleDatabaseRequest { private static final String REST_PATH = "v1/{+name}"; private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); /** - * Gets details of a single ExascaleDB Storage Vault. + * Gets details of a single Exadb (Exascale) VM Cluster. * - * Create a request for the method "exascaleDbStorageVaults.get". + * Create a request for the method "exadbVmClusters.get". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the ExascaleDbStorageVault in the following format: - * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault - * }. + * @param name Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. * @since 1.13 */ protected Get(java.lang.String name) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ExadbVmCluster.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); } } @@ -10391,28 +10299,28 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The name of the ExascaleDbStorageVault in the following format: projects/{pro - * ject}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. + * Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the ExascaleDbStorageVault in the following format: - projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. + /** Required. The name of the ExadbVmCluster in the following format: + projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. */ public java.lang.String getName() { return name; } /** - * Required. The name of the ExascaleDbStorageVault in the following format: projects/{pro - * ject}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. + * Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. */ public Get setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); } this.name = name; return this; @@ -10424,14 +10332,14 @@ public Get set(String parameterName, Object value) { } } /** - * Lists all the ExascaleDB Storage Vaults for the given project and location. + * Lists all the Exadb (Exascale) VM Clusters for the given project and location. * - * Create a request for the method "exascaleDbStorageVaults.list". + * Create a request for the method "exadbVmClusters.list". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for ExascaleDbStorageVault in the following format: + * @param parent Required. The parent value for ExadbVmClusters in the following format: * projects/{project}/locations/{location}. * @return the request */ @@ -10441,29 +10349,29 @@ public List list(java.lang.String parent) throws java.io.IOException { return result; } - public class List extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/exascaleDbStorageVaults"; + private static final String REST_PATH = "v1/{+parent}/exadbVmClusters"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Lists all the ExascaleDB Storage Vaults for the given project and location. + * Lists all the Exadb (Exascale) VM Clusters for the given project and location. * - * Create a request for the method "exascaleDbStorageVaults.list". + * Create a request for the method "exadbVmClusters.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for ExascaleDbStorageVault in the following format: + * @param parent Required. The parent value for ExadbVmClusters in the following format: * projects/{project}/locations/{location}. * @since 1.13 */ protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListExascaleDbStorageVaultsResponse.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListExadbVmClustersResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -10538,13 +10446,13 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The parent value for ExascaleDbStorageVault in the following format: + * Required. The parent value for ExadbVmClusters in the following format: * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent value for ExascaleDbStorageVault in the following format: + /** Required. The parent value for ExadbVmClusters in the following format: projects/{project}/locations/{location}. */ public java.lang.String getParent() { @@ -10552,7 +10460,7 @@ public java.lang.String getParent() { } /** - * Required. The parent value for ExascaleDbStorageVault in the following format: + * Required. The parent value for ExadbVmClusters in the following format: * projects/{project}/locations/{location}. */ public List setParent(java.lang.String parent) { @@ -10565,47 +10473,33 @@ public List setParent(java.lang.String parent) { return this; } - /** - * Optional. An expression for filtering the results of the request. Filter the list as - * specified in https://google.aip.dev/160. - */ + /** Optional. An expression for filtering the results of the request. */ @com.google.api.client.util.Key private java.lang.String filter; - /** Optional. An expression for filtering the results of the request. Filter the list as specified in - https://google.aip.dev/160. + /** Optional. An expression for filtering the results of the request. */ public java.lang.String getFilter() { return filter; } - /** - * Optional. An expression for filtering the results of the request. Filter the list as - * specified in https://google.aip.dev/160. - */ + /** Optional. An expression for filtering the results of the request. */ public List setFilter(java.lang.String filter) { this.filter = filter; return this; } - /** - * Optional. An expression for ordering the results of the request. Order results as - * specified in https://google.aip.dev/132. - */ + /** Optional. An expression for ordering the results of the request. */ @com.google.api.client.util.Key private java.lang.String orderBy; - /** Optional. An expression for ordering the results of the request. Order results as specified in - https://google.aip.dev/132. + /** Optional. An expression for ordering the results of the request. */ public java.lang.String getOrderBy() { return orderBy; } - /** - * Optional. An expression for ordering the results of the request. Order results as - * specified in https://google.aip.dev/132. - */ + /** Optional. An expression for ordering the results of the request. */ public List setOrderBy(java.lang.String orderBy) { this.orderBy = orderBy; return this; @@ -10613,14 +10507,14 @@ public List setOrderBy(java.lang.String orderBy) { /** * Optional. The maximum number of items to return. If unspecified, at most 50 - * ExascaleDbStorageVaults will be returned. The maximum value is 1000; values above 1000 - * will be coerced to 1000. + * ExadbVmClusters will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. The maximum number of items to return. If unspecified, at most 50 ExascaleDbStorageVaults - will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + /** Optional. The maximum number of items to return. If unspecified, at most 50 ExadbVmClusters will be + returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ public java.lang.Integer getPageSize() { return pageSize; @@ -10628,8 +10522,8 @@ public java.lang.Integer getPageSize() { /** * Optional. The maximum number of items to return. If unspecified, at most 50 - * ExascaleDbStorageVaults will be returned. The maximum value is 1000; values above 1000 - * will be coerced to 1000. + * ExadbVmClusters will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; @@ -10658,20 +10552,20 @@ public List set(String parameterName, Object value) { } } /** - * Updates the `labels` of a single ExascaleDbStorageVault. + * Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to existing exadb vm + * cluster, only pass the node count. * - * Create a request for the method "exascaleDbStorageVaults.patch". + * Create a request for the method "exadbVmClusters.patch". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param name Identifier. The resource name of the ExascaleDbStorageVault. Format: - * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault - * } - * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault} + * @param name Identifier. The name of the ExadbVmCluster resource in the following format: + * projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExadbVmCluster} * @return the request */ - public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault content) throws java.io.IOException { + public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.ExadbVmCluster content) throws java.io.IOException { Patch result = new Patch(name, content); initialize(result); return result; @@ -10682,12 +10576,13 @@ public class Patch extends OracleDatabaseRequest * - * @param name Identifier. The resource name of the ExascaleDbStorageVault. Format: - * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault - * } - * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault} + * @param name Identifier. The name of the ExadbVmCluster resource in the following format: + * projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExadbVmCluster} * @since 1.13 */ - protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault content) { + protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.ExadbVmCluster content) { super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); } } @@ -10767,28 +10661,28 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project} - * /locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault} + * Identifier. The name of the ExadbVmCluster resource in the following format: + * projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster} */ @com.google.api.client.util.Key private java.lang.String name; - /** Identifier. The resource name of the ExascaleDbStorageVault. Format: - projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault} + /** Identifier. The name of the ExadbVmCluster resource in the following format: + projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster} */ public java.lang.String getName() { return name; } /** - * Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project} - * /locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault} + * Identifier. The name of the ExadbVmCluster resource in the following format: + * projects/{project}/locations/{region}/exadbVmClusters/{exadb_vm_cluster} */ public Patch setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); } this.name = name; return this; @@ -10829,30 +10723,30 @@ public Patch setRequestId(java.lang.String requestId) { } /** - * Optional. A mask specifying which fields in the ExascaleDbStorageVault should be - * updated. A field specified in the mask is updated. If a mask isn't provided, the - * service treats this as an implied field mask equivalent to all fields that are - * populated (have a non-empty value). To clear or unset a field, the field must be - * explicitly specified in the `update_mask`. + * Optional. A mask specifying which fields in th VM Cluster should be updated. A field + * specified in the mask is overwritten. If a mask isn't provided then the service treats + * this as an implied field mask equivalent to all fields that are populated (have a non- + * empty value). To clear or unset a field, the field must be explicitly specified in the + * `update_mask`. */ @com.google.api.client.util.Key private String updateMask; - /** Optional. A mask specifying which fields in the ExascaleDbStorageVault should be updated. A field - specified in the mask is updated. If a mask isn't provided, the service treats this as an implied - field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset - a field, the field must be explicitly specified in the `update_mask`. + /** Optional. A mask specifying which fields in th VM Cluster should be updated. A field specified in + the mask is overwritten. If a mask isn't provided then the service treats this as an implied field + mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a + field, the field must be explicitly specified in the `update_mask`. */ public String getUpdateMask() { return updateMask; } /** - * Optional. A mask specifying which fields in the ExascaleDbStorageVault should be - * updated. A field specified in the mask is updated. If a mask isn't provided, the - * service treats this as an implied field mask equivalent to all fields that are - * populated (have a non-empty value). To clear or unset a field, the field must be - * explicitly specified in the `update_mask`. + * Optional. A mask specifying which fields in th VM Cluster should be updated. A field + * specified in the mask is overwritten. If a mask isn't provided then the service treats + * this as an implied field mask equivalent to all fields that are populated (have a non- + * empty value). To clear or unset a field, the field must be explicitly specified in the + * `update_mask`. */ public Patch setUpdateMask(String updateMask) { this.updateMask = updateMask; @@ -10864,275 +10758,178 @@ public Patch set(String parameterName, Object value) { return (Patch) super.set(parameterName, value); } } - - } - /** - * An accessor for creating requests from the GiVersions collection. - * - *

The typical use is:

- *
-       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.GiVersions.List request = oracledatabase.giVersions().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public GiVersions giVersions() { - return new GiVersions(); - } - - /** - * The "giVersions" collection of methods. - */ - public class GiVersions { - /** - * Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location. + * Removes virtual machines from an existing exadb vm cluster. * - * Create a request for the method "giVersions.list". + * Create a request for the method "exadbVmClusters.removeVirtualMachine". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * optional parameters, call the {@link RemoveVirtualMachine#execute()} method to invoke the remote + * operation. * - * @param parent Required. The parent value for Grid Infrastructure Version in the following format: Format: - * projects/{project}/locations/{location}. + * @param name Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.RemoveVirtualMachineExadbVmClusterRequest} * @return the request */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); + public RemoveVirtualMachine removeVirtualMachine(java.lang.String name, com.google.api.services.oracledatabase.v1.model.RemoveVirtualMachineExadbVmClusterRequest content) throws java.io.IOException { + RemoveVirtualMachine result = new RemoveVirtualMachine(name, content); initialize(result); return result; } - public class List extends OracleDatabaseRequest { + public class RemoveVirtualMachine extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/giVersions"; + private static final String REST_PATH = "v1/{+name}:removeVirtualMachine"; - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); /** - * Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and - * location. + * Removes virtual machines from an existing exadb vm cluster. * - * Create a request for the method "giVersions.list". + * Create a request for the method "exadbVmClusters.removeVirtualMachine". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link RemoveVirtualMachine#execute()} method to invoke the + * remote operation.

{@link RemoveVirtualMachine#initialize(com.google.api.client.googleapis.s + * ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

* - * @param parent Required. The parent value for Grid Infrastructure Version in the following format: Format: - * projects/{project}/locations/{location}. + * @param name Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.RemoveVirtualMachineExadbVmClusterRequest} * @since 1.13 */ - protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGiVersionsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + protected RemoveVirtualMachine(java.lang.String name, com.google.api.services.oracledatabase.v1.model.RemoveVirtualMachineExadbVmClusterRequest content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); } } @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); + public RemoveVirtualMachine set$Xgafv(java.lang.String $Xgafv) { + return (RemoveVirtualMachine) super.set$Xgafv($Xgafv); } @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); + public RemoveVirtualMachine setAccessToken(java.lang.String accessToken) { + return (RemoveVirtualMachine) super.setAccessToken(accessToken); } @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); + public RemoveVirtualMachine setAlt(java.lang.String alt) { + return (RemoveVirtualMachine) super.setAlt(alt); } @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); + public RemoveVirtualMachine setCallback(java.lang.String callback) { + return (RemoveVirtualMachine) super.setCallback(callback); } @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); + public RemoveVirtualMachine setFields(java.lang.String fields) { + return (RemoveVirtualMachine) super.setFields(fields); } @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); + public RemoveVirtualMachine setKey(java.lang.String key) { + return (RemoveVirtualMachine) super.setKey(key); } @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); + public RemoveVirtualMachine setOauthToken(java.lang.String oauthToken) { + return (RemoveVirtualMachine) super.setOauthToken(oauthToken); } @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); + public RemoveVirtualMachine setPrettyPrint(java.lang.Boolean prettyPrint) { + return (RemoveVirtualMachine) super.setPrettyPrint(prettyPrint); } @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); + public RemoveVirtualMachine setQuotaUser(java.lang.String quotaUser) { + return (RemoveVirtualMachine) super.setQuotaUser(quotaUser); } @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); + public RemoveVirtualMachine setUploadType(java.lang.String uploadType) { + return (RemoveVirtualMachine) super.setUploadType(uploadType); } @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); + public RemoveVirtualMachine setUploadProtocol(java.lang.String uploadProtocol) { + return (RemoveVirtualMachine) super.setUploadProtocol(uploadProtocol); } /** - * Required. The parent value for Grid Infrastructure Version in the following format: - * Format: projects/{project}/locations/{location}. + * Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. */ @com.google.api.client.util.Key - private java.lang.String parent; + private java.lang.String name; - /** Required. The parent value for Grid Infrastructure Version in the following format: Format: - projects/{project}/locations/{location}. + /** Required. The name of the ExadbVmCluster in the following format: + projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. */ - public java.lang.String getParent() { - return parent; + public java.lang.String getName() { + return name; } /** - * Required. The parent value for Grid Infrastructure Version in the following format: - * Format: projects/{project}/locations/{location}. + * Required. The name of the ExadbVmCluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. */ - public List setParent(java.lang.String parent) { + public RemoveVirtualMachine setName(java.lang.String name) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); } - this.parent = parent; - return this; - } - - /** - * Optional. An expression for filtering the results of the request. Only the `shape` and - * `gcp_oracle_zone_id` fields are supported in the following format: `shape="{shape}" AND - * gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. - */ - @com.google.api.client.util.Key - private java.lang.String filter; - - /** Optional. An expression for filtering the results of the request. Only the `shape` and - `gcp_oracle_zone_id` fields are supported in the following format: `shape="{shape}" AND - gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. - */ - public java.lang.String getFilter() { - return filter; - } - - /** - * Optional. An expression for filtering the results of the request. Only the `shape` and - * `gcp_oracle_zone_id` fields are supported in the following format: `shape="{shape}" AND - * gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. - */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } - - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle - * Grid Infrastructure (GI) versions will be returned. The maximum value is 1000; values - * above 1000 will be reset to 1000. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle Grid - Infrastructure (GI) versions will be returned. The maximum value is 1000; values above 1000 will be - reset to 1000. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle - * Grid Infrastructure (GI) versions will be returned. The maximum value is 1000; values - * above 1000 will be reset to 1000. - */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } - - /** Optional. A token identifying a page of results the server should return. */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** Optional. A token identifying a page of results the server should return. - */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** Optional. A token identifying a page of results the server should return. */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; + this.name = name; return this; } @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); + public RemoveVirtualMachine set(String parameterName, Object value) { + return (RemoveVirtualMachine) super.set(parameterName, value); } } /** - * An accessor for creating requests from the MinorVersions collection. + * An accessor for creating requests from the DbNodes collection. * *

The typical use is:

*
          *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-         *   {@code OracleDatabase.MinorVersions.List request = oracledatabase.minorVersions().list(parameters ...)}
+         *   {@code OracleDatabase.DbNodes.List request = oracledatabase.dbNodes().list(parameters ...)}
          * 
* * @return the resource collection */ - public MinorVersions minorVersions() { - return new MinorVersions(); + public DbNodes dbNodes() { + return new DbNodes(); } /** - * The "minorVersions" collection of methods. + * The "dbNodes" collection of methods. */ - public class MinorVersions { + public class DbNodes { /** - * Lists all the valid minor versions for the given project, location, gi version and shape family. + * Lists the database nodes of a VM Cluster. * - * Create a request for the method "minorVersions.list". + * Create a request for the method "dbNodes.list". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for the MinorVersion resource with the format: - * projects/{project}/locations/{location}/giVersions/{gi_version} + * @param parent Required. The parent value for database node in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -11141,35 +10938,34 @@ public List list(java.lang.String parent) throws java.io.IOException { return result; } - public class List extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/minorVersions"; + private static final String REST_PATH = "v1/{+parent}/dbNodes"; private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/giVersions/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); /** - * Lists all the valid minor versions for the given project, location, gi version and shape - * family. + * Lists the database nodes of a VM Cluster. * - * Create a request for the method "minorVersions.list". + * Create a request for the method "dbNodes.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for the MinorVersion resource with the format: - * projects/{project}/locations/{location}/giVersions/{gi_version} + * @param parent Required. The parent value for database node in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . * @since 1.13 */ protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListMinorVersionsResponse.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListDbNodesResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/giVersions/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); } } @@ -11239,104 +11035,69 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The parent value for the MinorVersion resource with the format: - * projects/{project}/locations/{location}/giVersions/{gi_version} + * Required. The parent value for database node in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent value for the MinorVersion resource with the format: - projects/{project}/locations/{location}/giVersions/{gi_version} + /** Required. The parent value for database node in the following format: + projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . */ public java.lang.String getParent() { return parent; } /** - * Required. The parent value for the MinorVersion resource with the format: - * projects/{project}/locations/{location}/giVersions/{gi_version} + * Required. The parent value for database node in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/giVersions/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exadbVmClusters/[^/]+$"); } this.parent = parent; return this; } /** - * Optional. An expression for filtering the results of the request. Only the - * `shape_family` and `gcp_oracle_zone_id` fields are supported in the following format: - * `shape_family="{shape_family}" AND gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. - */ - @com.google.api.client.util.Key - private java.lang.String filter; - - /** Optional. An expression for filtering the results of the request. Only the `shape_family` and - `gcp_oracle_zone_id` fields are supported in the following format: `shape_family="{shape_family}" - AND gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. - */ - public java.lang.String getFilter() { - return filter; - } - - /** - * Optional. An expression for filtering the results of the request. Only the - * `shape_family` and `gcp_oracle_zone_id` fields are supported in the following format: - * `shape_family="{shape_family}" AND gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. - */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } - - /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 - * System Versions will be returned. The maximum value is 1000; values above 1000 will - * be reset to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 db nodes + * will be returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 System Versions - will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + /** Optional. The maximum number of items to return. If unspecified, at most 50 db nodes will be + returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ public java.lang.Integer getPageSize() { return pageSize; } /** - * Optional. The maximum number of items to return. If unspecified, a maximum of 50 - * System Versions will be returned. The maximum value is 1000; values above 1000 will - * be reset to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 db nodes + * will be returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; } - /** - * Optional. A token identifying the requested page of results to return. All fields - * except the filter should remain the same as in the request that provided this page - * token. - */ + /** Optional. A token identifying a page of results the node should return. */ @com.google.api.client.util.Key private java.lang.String pageToken; - /** Optional. A token identifying the requested page of results to return. All fields except the filter - should remain the same as in the request that provided this page token. + /** Optional. A token identifying a page of results the node should return. */ public java.lang.String getPageToken() { return pageToken; } - /** - * Optional. A token identifying the requested page of results to return. All fields - * except the filter should remain the same as in the request that provided this page - * token. - */ + /** Optional. A token identifying a page of results the node should return. */ public List setPageToken(java.lang.String pageToken) { this.pageToken = pageToken; return this; @@ -11351,39 +11112,39 @@ public List set(String parameterName, Object value) { } } /** - * An accessor for creating requests from the GoldengateConnectionAssignments collection. + * An accessor for creating requests from the ExascaleDbStorageVaults collection. * *

The typical use is:

*
        *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.GoldengateConnectionAssignments.List request = oracledatabase.goldengateConnectionAssignments().list(parameters ...)}
+       *   {@code OracleDatabase.ExascaleDbStorageVaults.List request = oracledatabase.exascaleDbStorageVaults().list(parameters ...)}
        * 
* * @return the resource collection */ - public GoldengateConnectionAssignments goldengateConnectionAssignments() { - return new GoldengateConnectionAssignments(); + public ExascaleDbStorageVaults exascaleDbStorageVaults() { + return new ExascaleDbStorageVaults(); } /** - * The "goldengateConnectionAssignments" collection of methods. + * The "exascaleDbStorageVaults" collection of methods. */ - public class GoldengateConnectionAssignments { + public class ExascaleDbStorageVaults { /** - * Creates a new GoldengateConnectionAssignment in a given project and location. + * Creates a new ExascaleDB Storage Vault resource. * - * Create a request for the method "goldengateConnectionAssignments.create". + * Create a request for the method "exascaleDbStorageVaults.create". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. * - * @param parent Required. The parent resource where this GoldengateConnectionAssignment will be created. Format: - * projects/{project}/locations/{location} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment} + * @param parent Required. The value for parent of the ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault} * @return the request */ - public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment content) throws java.io.IOException { + public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault content) throws java.io.IOException { Create result = new Create(parent, content); initialize(result); return result; @@ -11391,15 +11152,15 @@ public Create create(java.lang.String parent, com.google.api.services.oracledata public class Create extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/goldengateConnectionAssignments"; + private static final String REST_PATH = "v1/{+parent}/exascaleDbStorageVaults"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Creates a new GoldengateConnectionAssignment in a given project and location. + * Creates a new ExascaleDB Storage Vault resource. * - * Create a request for the method "goldengateConnectionAssignments.create". + * Create a request for the method "exascaleDbStorageVaults.create". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. @@ -11407,12 +11168,12 @@ public class Create extends OracleDatabaseRequest * - * @param parent Required. The parent resource where this GoldengateConnectionAssignment will be created. Format: - * projects/{project}/locations/{location} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment} + * @param parent Required. The value for parent of the ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault} * @since 1.13 */ - protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment content) { + protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault content) { super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { @@ -11478,22 +11239,22 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The parent resource where this GoldengateConnectionAssignment will be - * created. Format: projects/{project}/locations/{location} + * Required. The value for parent of the ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent resource where this GoldengateConnectionAssignment will be created. Format: - projects/{project}/locations/{location} + /** Required. The value for parent of the ExascaleDbStorageVault in the following format: + projects/{project}/locations/{location}. */ public java.lang.String getParent() { return parent; } /** - * Required. The parent resource where this GoldengateConnectionAssignment will be - * created. Format: projects/{project}/locations/{location} + * Required. The value for parent of the ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}. */ public Create setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -11505,19 +11266,29 @@ public Create setParent(java.lang.String parent) { return this; } - /** Required. The ID of the GoldengateConnectionAssignment to create. */ + /** + * Required. The ID of the ExascaleDbStorageVault to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. + */ @com.google.api.client.util.Key - private java.lang.String goldengateConnectionAssignmentId; + private java.lang.String exascaleDbStorageVaultId; - /** Required. The ID of the GoldengateConnectionAssignment to create. + /** Required. The ID of the ExascaleDbStorageVault to create. This value is restricted to + (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value + must start with a letter and end with a letter or a number. */ - public java.lang.String getGoldengateConnectionAssignmentId() { - return goldengateConnectionAssignmentId; + public java.lang.String getExascaleDbStorageVaultId() { + return exascaleDbStorageVaultId; } - /** Required. The ID of the GoldengateConnectionAssignment to create. */ - public Create setGoldengateConnectionAssignmentId(java.lang.String goldengateConnectionAssignmentId) { - this.goldengateConnectionAssignmentId = goldengateConnectionAssignmentId; + /** + * Required. The ID of the ExascaleDbStorageVault to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. + */ + public Create setExascaleDbStorageVaultId(java.lang.String exascaleDbStorageVaultId) { + this.exascaleDbStorageVaultId = exascaleDbStorageVaultId; return this; } @@ -11570,15 +11341,16 @@ public Create set(String parameterName, Object value) { } } /** - * Deletes a single GoldengateConnectionAssignment. + * Deletes a single ExascaleDB Storage Vault. * - * Create a request for the method "goldengateConnectionAssignments.delete". + * Create a request for the method "exascaleDbStorageVaults.delete". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. * - * @param name Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{project}/locat - * ions/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} + * @param name Required. The name of the ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault + * }. * @return the request */ public Delete delete(java.lang.String name) throws java.io.IOException { @@ -11592,12 +11364,12 @@ public class Delete extends OracleDatabaseRequest * - * @param name Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{project}/locat - * ions/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} + * @param name Required. The name of the ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault + * }. * @since 1.13 */ protected Delete(java.lang.String name) { @@ -11615,7 +11388,7 @@ protected Delete(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); } } @@ -11675,72 +11448,61 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{p - * roject}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_ass - * ignment} + * Required. The name of the ExascaleDbStorageVault in the following format: projects/{pro + * ject}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{project}/loca - tions/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} + /** Required. The name of the ExascaleDbStorageVault in the following format: + projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. */ public java.lang.String getName() { return name; } /** - * Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{p - * roject}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_ass - * ignment} + * Required. The name of the ExascaleDbStorageVault in the following format: projects/{pro + * ject}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. */ public Delete setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); } this.name = name; return this; } /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * after the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). */ @com.google.api.client.util.Key private java.lang.String requestId; - /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you - must retry your request, the server will know to ignore the request if it has already been - completed. The server will guarantee that for at least 60 minutes after the first request. For - example, consider a situation where you make an initial request and the request times out. If you - make the request again with the same request ID, the server can check if original operation with - the same request ID was received, and if so, will ignore the second request. This prevents clients - from accidentally creating duplicate commitments. The request ID must be a valid UUID with the - exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ public java.lang.String getRequestId() { return requestId; } /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * after the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). */ public Delete setRequestId(java.lang.String requestId) { this.requestId = requestId; @@ -11753,15 +11515,16 @@ public Delete set(String parameterName, Object value) { } } /** - * Gets details of a single GoldengateConnectionAssignment. + * Gets details of a single ExascaleDB Storage Vault. * - * Create a request for the method "goldengateConnectionAssignments.get". + * Create a request for the method "exascaleDbStorageVaults.get". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. * - * @param name Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/{project}/loc - * ations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} + * @param name Required. The name of the ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault + * }. * @return the request */ public Get get(java.lang.String name) throws java.io.IOException { @@ -11770,34 +11533,35 @@ public Get get(java.lang.String name) throws java.io.IOException { return result; } - public class Get extends OracleDatabaseRequest { + public class Get extends OracleDatabaseRequest { private static final String REST_PATH = "v1/{+name}"; private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); /** - * Gets details of a single GoldengateConnectionAssignment. + * Gets details of a single ExascaleDB Storage Vault. * - * Create a request for the method "goldengateConnectionAssignments.get". + * Create a request for the method "exascaleDbStorageVaults.get". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/{project}/loc - * ations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} + * @param name Required. The name of the ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault + * }. * @since 1.13 */ protected Get(java.lang.String name) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); } } @@ -11867,30 +11631,28 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/ - * {project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_a - * ssignment} + * Required. The name of the ExascaleDbStorageVault in the following format: projects/{pro + * ject}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/{project}/lo - cations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} + /** Required. The name of the ExascaleDbStorageVault in the following format: + projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. */ public java.lang.String getName() { return name; } /** - * Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/ - * {project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_a - * ssignment} + * Required. The name of the ExascaleDbStorageVault in the following format: projects/{pro + * ject}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. */ public Get setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); } this.name = name; return this; @@ -11902,15 +11664,15 @@ public Get set(String parameterName, Object value) { } } /** - * Lists GoldengateConnectionAssignments in a given project and location. + * Lists all the ExascaleDB Storage Vaults for the given project and location. * - * Create a request for the method "goldengateConnectionAssignments.list". + * Create a request for the method "exascaleDbStorageVaults.list". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for the GoldengateConnectionAssignments. Format: - * projects/{project}/locations/{location} + * @param parent Required. The parent value for ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}. * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -11919,29 +11681,29 @@ public List list(java.lang.String parent) throws java.io.IOException { return result; } - public class List extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/goldengateConnectionAssignments"; + private static final String REST_PATH = "v1/{+parent}/exascaleDbStorageVaults"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Lists GoldengateConnectionAssignments in a given project and location. + * Lists all the ExascaleDB Storage Vaults for the given project and location. * - * Create a request for the method "goldengateConnectionAssignments.list". + * Create a request for the method "exascaleDbStorageVaults.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for the GoldengateConnectionAssignments. Format: - * projects/{project}/locations/{location} + * @param parent Required. The parent value for ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}. * @since 1.13 */ protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateConnectionAssignmentsResponse.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListExascaleDbStorageVaultsResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -12016,22 +11778,22 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The parent value for the GoldengateConnectionAssignments. Format: - * projects/{project}/locations/{location} + * Required. The parent value for ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent value for the GoldengateConnectionAssignments. Format: - projects/{project}/locations/{location} + /** Required. The parent value for ExascaleDbStorageVault in the following format: + projects/{project}/locations/{location}. */ public java.lang.String getParent() { return parent; } /** - * Required. The parent value for the GoldengateConnectionAssignments. Format: - * projects/{project}/locations/{location} + * Required. The parent value for ExascaleDbStorageVault in the following format: + * projects/{project}/locations/{location}. */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -12044,21 +11806,22 @@ public List setParent(java.lang.String parent) { } /** - * Optional. A filter expression that filters GoldengateConnectionAssignments listed in - * the response. + * Optional. An expression for filtering the results of the request. Filter the list as + * specified in https://google.aip.dev/160. */ @com.google.api.client.util.Key private java.lang.String filter; - /** Optional. A filter expression that filters GoldengateConnectionAssignments listed in the response. + /** Optional. An expression for filtering the results of the request. Filter the list as specified in + https://google.aip.dev/160. */ public java.lang.String getFilter() { return filter; } /** - * Optional. A filter expression that filters GoldengateConnectionAssignments listed in - * the response. + * Optional. An expression for filtering the results of the request. Filter the list as + * specified in https://google.aip.dev/160. */ public List setFilter(java.lang.String filter) { this.filter = filter; @@ -12066,22 +11829,22 @@ public List setFilter(java.lang.String filter) { } /** - * Optional. A comma-separated list of fields to order by, sorted in ascending order. Use - * "DESC" after a field name for descending. + * Optional. An expression for ordering the results of the request. Order results as + * specified in https://google.aip.dev/132. */ @com.google.api.client.util.Key private java.lang.String orderBy; - /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "DESC" after - a field name for descending. + /** Optional. An expression for ordering the results of the request. Order results as specified in + https://google.aip.dev/132. */ public java.lang.String getOrderBy() { return orderBy; } /** - * Optional. A comma-separated list of fields to order by, sorted in ascending order. Use - * "DESC" after a field name for descending. + * Optional. An expression for ordering the results of the request. Order results as + * specified in https://google.aip.dev/132. */ public List setOrderBy(java.lang.String orderBy) { this.orderBy = orderBy; @@ -12089,56 +11852,41 @@ public List setOrderBy(java.lang.String orderBy) { } /** - * Optional. The maximum number of GoldengateConnectionAssignments to return. The service - * may return fewer than this value. If unspecified, at most 50 - * GoldengateConnectionAssignments will be returned. The maximum value is 1000; values - * above 1000 will be coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 + * ExascaleDbStorageVaults will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. The maximum number of GoldengateConnectionAssignments to return. The service may return - fewer than this value. If unspecified, at most 50 GoldengateConnectionAssignments will be returned. - The maximum value is 1000; values above 1000 will be coerced to 1000. + /** Optional. The maximum number of items to return. If unspecified, at most 50 ExascaleDbStorageVaults + will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */ public java.lang.Integer getPageSize() { return pageSize; } /** - * Optional. The maximum number of GoldengateConnectionAssignments to return. The service - * may return fewer than this value. If unspecified, at most 50 - * GoldengateConnectionAssignments will be returned. The maximum value is 1000; values - * above 1000 will be coerced to 1000. + * Optional. The maximum number of items to return. If unspecified, at most 50 + * ExascaleDbStorageVaults will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; } - /** - * Optional. A page token, received from a previous `ListGoldengateConnectionAssignments` - * call. Provide this to retrieve the subsequent page. When paginating, all other - * parameters provided to `ListGoldengateConnectionAssignments` must match the call that - * provided the page token. - */ + /** Optional. A token identifying a page of results the server should return. */ @com.google.api.client.util.Key private java.lang.String pageToken; - /** Optional. A page token, received from a previous `ListGoldengateConnectionAssignments` call. - Provide this to retrieve the subsequent page. When paginating, all other parameters provided to - `ListGoldengateConnectionAssignments` must match the call that provided the page token. + /** Optional. A token identifying a page of results the server should return. */ public java.lang.String getPageToken() { return pageToken; } - /** - * Optional. A page token, received from a previous `ListGoldengateConnectionAssignments` - * call. Provide this to retrieve the subsequent page. When paginating, all other - * parameters provided to `ListGoldengateConnectionAssignments` must match the call that - * provided the page token. - */ + /** Optional. A token identifying a page of results the server should return. */ public List setPageToken(java.lang.String pageToken) { this.pageToken = pageToken; return this; @@ -12150,20 +11898,20 @@ public List set(String parameterName, Object value) { } } /** - * Updates the `labels` of a single GoldengateConnectionAssignment. + * Updates the `labels` of a single ExascaleDbStorageVault. * - * Create a request for the method "goldengateConnectionAssignments.patch". + * Create a request for the method "exascaleDbStorageVaults.patch". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param name Identifier. The name of the GoldengateConnectionAssignment resource in the following format: project - * s/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assi - * gnment} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment} + * @param name Identifier. The resource name of the ExascaleDbStorageVault. Format: + * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault + * } + * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault} * @return the request */ - public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment content) throws java.io.IOException { + public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault content) throws java.io.IOException { Patch result = new Patch(name, content); initialize(result); return result; @@ -12174,12 +11922,12 @@ public class Patch extends OracleDatabaseRequest * - * @param name Identifier. The name of the GoldengateConnectionAssignment resource in the following format: project - * s/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assi - * gnment} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment} + * @param name Identifier. The resource name of the ExascaleDbStorageVault. Format: + * projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault + * } + * @param content the {@link com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault} * @since 1.13 */ - protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment content) { + protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.ExascaleDbStorageVault content) { super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); } } @@ -12259,30 +12007,28 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Identifier. The name of the GoldengateConnectionAssignment resource in the following - * format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldenga - * te_connection_assignment} + * Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project} + * /locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault} */ @com.google.api.client.util.Key private java.lang.String name; - /** Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projec - ts/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment} + /** Identifier. The resource name of the ExascaleDbStorageVault. Format: + projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault} */ public java.lang.String getName() { return name; } /** - * Identifier. The name of the GoldengateConnectionAssignment resource in the following - * format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldenga - * te_connection_assignment} + * Identifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project} + * /locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault} */ public Patch setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/exascaleDbStorageVaults/[^/]+$"); } this.name = name; return this; @@ -12323,8 +12069,8 @@ public Patch setRequestId(java.lang.String requestId) { } /** - * Optional. A mask specifying which fields in the GoldengateConnectionAssignment should - * be updated. A field specified in the mask is updated. If a mask isn't provided, the + * Optional. A mask specifying which fields in the ExascaleDbStorageVault should be + * updated. A field specified in the mask is updated. If a mask isn't provided, the * service treats this as an implied field mask equivalent to all fields that are * populated (have a non-empty value). To clear or unset a field, the field must be * explicitly specified in the `update_mask`. @@ -12332,18 +12078,18 @@ public Patch setRequestId(java.lang.String requestId) { @com.google.api.client.util.Key private String updateMask; - /** Optional. A mask specifying which fields in the GoldengateConnectionAssignment should be updated. A - field specified in the mask is updated. If a mask isn't provided, the service treats this as an - implied field mask equivalent to all fields that are populated (have a non-empty value). To clear - or unset a field, the field must be explicitly specified in the `update_mask`. + /** Optional. A mask specifying which fields in the ExascaleDbStorageVault should be updated. A field + specified in the mask is updated. If a mask isn't provided, the service treats this as an implied + field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset + a field, the field must be explicitly specified in the `update_mask`. */ public String getUpdateMask() { return updateMask; } /** - * Optional. A mask specifying which fields in the GoldengateConnectionAssignment should - * be updated. A field specified in the mask is updated. If a mask isn't provided, the + * Optional. A mask specifying which fields in the ExascaleDbStorageVault should be + * updated. A field specified in the mask is updated. If a mask isn't provided, the * service treats this as an implied field mask equivalent to all fields that are * populated (have a non-empty value). To clear or unset a field, the field must be * explicitly specified in the `update_mask`. @@ -12358,231 +12104,91 @@ public Patch set(String parameterName, Object value) { return (Patch) super.set(parameterName, value); } } + + } + /** + * An accessor for creating requests from the GiVersions collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.GiVersions.List request = oracledatabase.giVersions().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public GiVersions giVersions() { + return new GiVersions(); + } + + /** + * The "giVersions" collection of methods. + */ + public class GiVersions { + /** - * Tests a single GoldengateConnectionAssignment. + * Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location. * - * Create a request for the method "goldengateConnectionAssignments.test". + * Create a request for the method "giVersions.list". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Test#execute()} method to invoke the remote operation. + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param name Required. Name of the connection assignment for which to test connection. projects/{project}/locatio - * ns/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.TestGoldengateConnectionAssignmentRequest} + * @param parent Required. The parent value for Grid Infrastructure Version in the following format: Format: + * projects/{project}/locations/{location}. * @return the request */ - public Test test(java.lang.String name, com.google.api.services.oracledatabase.v1.model.TestGoldengateConnectionAssignmentRequest content) throws java.io.IOException { - Test result = new Test(name, content); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); initialize(result); return result; } - public class Test extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}:test"; + private static final String REST_PATH = "v1/{+parent}/giVersions"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Tests a single GoldengateConnectionAssignment. + * Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and + * location. * - * Create a request for the method "goldengateConnectionAssignments.test". + * Create a request for the method "giVersions.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Test#execute()} method to invoke the remote operation.

- * {@link Test#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. Name of the connection assignment for which to test connection. projects/{project}/locatio - * ns/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.TestGoldengateConnectionAssignmentRequest} + * @param parent Required. The parent value for Grid Infrastructure Version in the following format: Format: + * projects/{project}/locations/{location}. * @since 1.13 */ - protected Test(java.lang.String name, com.google.api.services.oracledatabase.v1.model.TestGoldengateConnectionAssignmentRequest content) { - super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.TestGoldengateConnectionAssignmentResponse.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGiVersionsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public Test set$Xgafv(java.lang.String $Xgafv) { - return (Test) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Test setAccessToken(java.lang.String accessToken) { - return (Test) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Test setAlt(java.lang.String alt) { - return (Test) super.setAlt(alt); - } - - @Override - public Test setCallback(java.lang.String callback) { - return (Test) super.setCallback(callback); - } - - @Override - public Test setFields(java.lang.String fields) { - return (Test) super.setFields(fields); - } - - @Override - public Test setKey(java.lang.String key) { - return (Test) super.setKey(key); - } - - @Override - public Test setOauthToken(java.lang.String oauthToken) { - return (Test) super.setOauthToken(oauthToken); - } - - @Override - public Test setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Test) super.setPrettyPrint(prettyPrint); - } - - @Override - public Test setQuotaUser(java.lang.String quotaUser) { - return (Test) super.setQuotaUser(quotaUser); - } - - @Override - public Test setUploadType(java.lang.String uploadType) { - return (Test) super.setUploadType(uploadType); - } - - @Override - public Test setUploadProtocol(java.lang.String uploadProtocol) { - return (Test) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. Name of the connection assignment for which to test connection. projects/{pro - * ject}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignm - * ent} - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Required. Name of the connection assignment for which to test connection. projects/{project}/locati - ons/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment} - */ - public java.lang.String getName() { - return name; - } - - /** - * Required. Name of the connection assignment for which to test connection. projects/{pro - * ject}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignm - * ent} - */ - public Test setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); - } - this.name = name; - return this; - } - - @Override - public Test set(String parameterName, Object value) { - return (Test) super.set(parameterName, value); - } - } - - } - /** - * An accessor for creating requests from the GoldengateConnectionTypes collection. - * - *

The typical use is:

- *
-       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.GoldengateConnectionTypes.List request = oracledatabase.goldengateConnectionTypes().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public GoldengateConnectionTypes goldengateConnectionTypes() { - return new GoldengateConnectionTypes(); - } - - /** - * The "goldengateConnectionTypes" collection of methods. - */ - public class GoldengateConnectionTypes { - - /** - * Lists GoldengateConnectionTypes in a given project and location. - * - * Create a request for the method "goldengateConnectionTypes.list". - * - * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. - * - * @param parent Required. Parent value for ListGoldengateConnectionTypesRequest Format: - * projects/{project}/locations/{location} - * @return the request - */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); - initialize(result); - return result; - } - - public class List extends OracleDatabaseRequest { - - private static final String REST_PATH = "v1/{+parent}/goldengateConnectionTypes"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); - - /** - * Lists GoldengateConnectionTypes in a given project and location. - * - * Create a request for the method "goldengateConnectionTypes.list". - * - * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

- * - * @param parent Required. Parent value for ListGoldengateConnectionTypesRequest Format: - * projects/{project}/locations/{location} - * @since 1.13 - */ - protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateConnectionTypesResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); } @Override @@ -12636,22 +12242,22 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. Parent value for ListGoldengateConnectionTypesRequest Format: - * projects/{project}/locations/{location} + * Required. The parent value for Grid Infrastructure Version in the following format: + * Format: projects/{project}/locations/{location}. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. Parent value for ListGoldengateConnectionTypesRequest Format: - projects/{project}/locations/{location} + /** Required. The parent value for Grid Infrastructure Version in the following format: Format: + projects/{project}/locations/{location}. */ public java.lang.String getParent() { return parent; } /** - * Required. Parent value for ListGoldengateConnectionTypesRequest Format: - * projects/{project}/locations/{location} + * Required. The parent value for Grid Infrastructure Version in the following format: + * Format: projects/{project}/locations/{location}. */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -12664,22 +12270,25 @@ public List setParent(java.lang.String parent) { } /** - * Optional. An expression for filtering the results of the request. The connection_type - * field must be specified in the format: `connection_type="ORACLE"`. + * Optional. An expression for filtering the results of the request. Only the `shape` and + * `gcp_oracle_zone_id` fields are supported in the following format: `shape="{shape}" AND + * gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. */ @com.google.api.client.util.Key private java.lang.String filter; - /** Optional. An expression for filtering the results of the request. The connection_type field must be - specified in the format: `connection_type="ORACLE"`. + /** Optional. An expression for filtering the results of the request. Only the `shape` and + `gcp_oracle_zone_id` fields are supported in the following format: `shape="{shape}" AND + gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. */ public java.lang.String getFilter() { return filter; } /** - * Optional. An expression for filtering the results of the request. The connection_type - * field must be specified in the format: `connection_type="ORACLE"`. + * Optional. An expression for filtering the results of the request. Only the `shape` and + * `gcp_oracle_zone_id` fields are supported in the following format: `shape="{shape}" AND + * gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. */ public List setFilter(java.lang.String filter) { this.filter = filter; @@ -12687,22 +12296,25 @@ public List setFilter(java.lang.String filter) { } /** - * Optional. Requested page size. Server may return fewer items than requested. If - * unspecified, server will pick an appropriate default. + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle + * Grid Infrastructure (GI) versions will be returned. The maximum value is 1000; values + * above 1000 will be reset to 1000. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server - will pick an appropriate default. + /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle Grid + Infrastructure (GI) versions will be returned. The maximum value is 1000; values above 1000 will be + reset to 1000. */ public java.lang.Integer getPageSize() { return pageSize; } /** - * Optional. Requested page size. Server may return fewer items than requested. If - * unspecified, server will pick an appropriate default. + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 Oracle + * Grid Infrastructure (GI) versions will be returned. The maximum value is 1000; values + * above 1000 will be reset to 1000. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; @@ -12731,600 +12343,849 @@ public List set(String parameterName, Object value) { } } - } - /** - * An accessor for creating requests from the GoldengateConnections collection. - * - *

The typical use is:

- *
-       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.GoldengateConnections.List request = oracledatabase.goldengateConnections().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public GoldengateConnections goldengateConnections() { - return new GoldengateConnections(); - } - - /** - * The "goldengateConnections" collection of methods. - */ - public class GoldengateConnections { - /** - * Creates a new GoldengateConnection in a given project and location. - * - * Create a request for the method "goldengateConnections.create". + * An accessor for creating requests from the MinorVersions collection. * - * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

The typical use is:

+ *
+         *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+         *   {@code OracleDatabase.MinorVersions.List request = oracledatabase.minorVersions().list(parameters ...)}
+         * 
* - * @param parent Required. The value for parent of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnection} - * @return the request + * @return the resource collection */ - public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateConnection content) throws java.io.IOException { - Create result = new Create(parent, content); - initialize(result); - return result; + public MinorVersions minorVersions() { + return new MinorVersions(); } - public class Create extends OracleDatabaseRequest { - - private static final String REST_PATH = "v1/{+parent}/goldengateConnections"; - - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + /** + * The "minorVersions" collection of methods. + */ + public class MinorVersions { /** - * Creates a new GoldengateConnection in a given project and location. + * Lists all the valid minor versions for the given project, location, gi version and shape family. * - * Create a request for the method "goldengateConnections.create". + * Create a request for the method "minorVersions.list". * - * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. - *

{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

+ * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The value for parent of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnection} - * @since 1.13 + * @param parent Required. The parent value for the MinorVersion resource with the format: + * projects/{project}/locations/{location}/giVersions/{gi_version} + * @return the request */ - protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateConnection content) { - super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } - } - - @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; } - @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); - } + public class List extends OracleDatabaseRequest { - @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); - } + private static final String REST_PATH = "v1/{+parent}/minorVersions"; - @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); - } + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/giVersions/[^/]+$"); - @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); - } + /** + * Lists all the valid minor versions for the given project, location, gi version and shape + * family. + * + * Create a request for the method "minorVersions.list". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The parent value for the MinorVersion resource with the format: + * projects/{project}/locations/{location}/giVersions/{gi_version} + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListMinorVersionsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/giVersions/[^/]+$"); + } + } - @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); - } + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } - @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); - } + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } - @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); - } + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } - @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); - } + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } - @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); - } + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } - @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); - } + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } - /** - * Required. The value for parent of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}. - */ - @com.google.api.client.util.Key - private java.lang.String parent; + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } - /** Required. The value for parent of the GoldengateConnection in the following format: - projects/{project}/locations/{location}. - */ - public java.lang.String getParent() { - return parent; - } + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } - /** - * Required. The value for parent of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}. - */ - public Create setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); } - this.parent = parent; - return this; - } - /** - * Required. The ID of the GoldengateConnection to create. This value is restricted to - * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. - * The value must start with a letter and end with a letter or a number. - */ - @com.google.api.client.util.Key - private java.lang.String goldengateConnectionId; + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } - /** Required. The ID of the GoldengateConnection to create. This value is restricted to - (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value - must start with a letter and end with a letter or a number. - */ - public java.lang.String getGoldengateConnectionId() { - return goldengateConnectionId; - } + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } - /** - * Required. The ID of the GoldengateConnection to create. This value is restricted to - * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. - * The value must start with a letter and end with a letter or a number. - */ - public Create setGoldengateConnectionId(java.lang.String goldengateConnectionId) { - this.goldengateConnectionId = goldengateConnectionId; - return this; - } + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - @com.google.api.client.util.Key - private java.lang.String requestId; + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } - /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you - must retry your request, the server will know to ignore the request if it has already been - completed. The server will guarantee that for at least 60 minutes since the first request. For - example, consider a situation where you make an initial request and the request times out. If you - make the request again with the same request ID, the server can check if original operation with - the same request ID was received, and if so, will ignore the second request. This prevents clients - from accidentally creating duplicate commitments. The request ID must be a valid UUID with the - exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public java.lang.String getRequestId() { - return requestId; - } + /** + * Required. The parent value for the MinorVersion resource with the format: + * projects/{project}/locations/{location}/giVersions/{gi_version} + */ + @com.google.api.client.util.Key + private java.lang.String parent; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public Create setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } + /** Required. The parent value for the MinorVersion resource with the format: + projects/{project}/locations/{location}/giVersions/{gi_version} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent value for the MinorVersion resource with the format: + * projects/{project}/locations/{location}/giVersions/{gi_version} + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/giVersions/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. An expression for filtering the results of the request. Only the + * `shape_family` and `gcp_oracle_zone_id` fields are supported in the following format: + * `shape_family="{shape_family}" AND gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. An expression for filtering the results of the request. Only the `shape_family` and + `gcp_oracle_zone_id` fields are supported in the following format: `shape_family="{shape_family}" + AND gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. An expression for filtering the results of the request. Only the + * `shape_family` and `gcp_oracle_zone_id` fields are supported in the following format: + * `shape_family="{shape_family}" AND gcp_oracle_zone_id="{gcp_oracle_zone_id}"`. + */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 + * System Versions will be returned. The maximum value is 1000; values above 1000 will + * be reset to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of items to return. If unspecified, a maximum of 50 System Versions + will be returned. The maximum value is 1000; values above 1000 will be reset to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of items to return. If unspecified, a maximum of 50 + * System Versions will be returned. The maximum value is 1000; values above 1000 will + * be reset to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A token identifying the requested page of results to return. All fields + * except the filter should remain the same as in the request that provided this page + * token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying the requested page of results to return. All fields except the filter + should remain the same as in the request that provided this page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A token identifying the requested page of results to return. All fields + * except the filter should remain the same as in the request that provided this page + * token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } - @Override - public Create set(String parameterName, Object value) { - return (Create) super.set(parameterName, value); - } } + } + /** + * An accessor for creating requests from the GoldengateConnectionAssignments collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.GoldengateConnectionAssignments.List request = oracledatabase.goldengateConnectionAssignments().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public GoldengateConnectionAssignments goldengateConnectionAssignments() { + return new GoldengateConnectionAssignments(); + } + + /** + * The "goldengateConnectionAssignments" collection of methods. + */ + public class GoldengateConnectionAssignments { + /** - * Deletes a single GoldengateConnection. + * Creates a new GoldengateConnectionAssignment in a given project and location. * - * Create a request for the method "goldengateConnections.delete". + * Create a request for the method "goldengateConnectionAssignments.create". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. * - * @param name Required. The name of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + * @param parent Required. The parent resource where this GoldengateConnectionAssignment will be created. Format: + * projects/{project}/locations/{location} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment} * @return the request */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); + public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment content) throws java.io.IOException { + Create result = new Create(parent, content); initialize(result); return result; } - public class Delete extends OracleDatabaseRequest { + public class Create extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}"; + private static final String REST_PATH = "v1/{+parent}/goldengateConnectionAssignments"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Deletes a single GoldengateConnection. + * Creates a new GoldengateConnectionAssignment in a given project and location. * - * Create a request for the method "goldengateConnections.delete". + * Create a request for the method "goldengateConnectionAssignments.create". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. *

{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must * be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + * @param parent Required. The parent resource where this GoldengateConnectionAssignment will be created. Format: + * projects/{project}/locations/{location} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment} * @since 1.13 */ - protected Delete(java.lang.String name) { - super(OracleDatabase.this, "DELETE", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Operation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); } @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); } @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); } @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); } @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); } @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); } @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); } @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); } @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); } @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); } @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); } /** - * Required. The name of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + * Required. The parent resource where this GoldengateConnectionAssignment will be + * created. Format: projects/{project}/locations/{location} */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Required. The name of the GoldengateConnection in the following format: - projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + /** Required. The parent resource where this GoldengateConnectionAssignment will be created. Format: + projects/{project}/locations/{location} */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } /** - * Required. The name of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + * Required. The parent resource where this GoldengateConnectionAssignment will be + * created. Format: projects/{project}/locations/{location} */ - public Delete setName(java.lang.String name) { + public Create setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } - this.name = name; + this.parent = parent; return this; } - /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). - */ + /** Required. The ID of the GoldengateConnectionAssignment to create. */ @com.google.api.client.util.Key - private java.lang.String requestId; + private java.lang.String goldengateConnectionAssignmentId; - /** Optional. An optional ID to identify the request. This value is used to identify duplicate - requests. If you make a request with the same request ID and the original request is still in - progress or completed, the server ignores the second request. This prevents clients from - accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception - that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /** Required. The ID of the GoldengateConnectionAssignment to create. */ - public java.lang.String getRequestId() { - return requestId; + public java.lang.String getGoldengateConnectionAssignmentId() { + return goldengateConnectionAssignmentId; + } + + /** Required. The ID of the GoldengateConnectionAssignment to create. */ + public Create setGoldengateConnectionAssignmentId(java.lang.String goldengateConnectionAssignmentId) { + this.goldengateConnectionAssignmentId = goldengateConnectionAssignmentId; + return this; } /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * since the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ - public Delete setRequestId(java.lang.String requestId) { + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you + must retry your request, the server will know to ignore the request if it has already been + completed. The server will guarantee that for at least 60 minutes since the first request. For + example, consider a situation where you make an initial request and the request times out. If you + make the request again with the same request ID, the server can check if original operation with + the same request ID was received, and if so, will ignore the second request. This prevents clients + from accidentally creating duplicate commitments. The request ID must be a valid UUID with the + exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * since the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public Create setRequestId(java.lang.String requestId) { this.requestId = requestId; return this; } @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); } } /** - * Gets details of a single GoldengateConnection. + * Deletes a single GoldengateConnectionAssignment. * - * Create a request for the method "goldengateConnections.get". + * Create a request for the method "goldengateConnectionAssignments.delete". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. * - * @param name Required. The name of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + * @param name Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{project}/locat + * ions/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} * @return the request */ - public Get get(java.lang.String name) throws java.io.IOException { - Get result = new Get(name); + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); initialize(result); return result; } - public class Get extends OracleDatabaseRequest { + public class Delete extends OracleDatabaseRequest { private static final String REST_PATH = "v1/{+name}"; private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); /** - * Gets details of a single GoldengateConnection. + * Deletes a single GoldengateConnectionAssignment. * - * Create a request for the method "goldengateConnections.get". + * Create a request for the method "goldengateConnectionAssignments.delete". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + *

{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + * @param name Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{project}/locat + * ions/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} * @since 1.13 */ - protected Get(java.lang.String name) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.GoldengateConnection.class); + protected Delete(java.lang.String name) { + super(OracleDatabase.this, "DELETE", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Operation.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); } } @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); } @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); } @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); } @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); } @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); } @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); } @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); } @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); } @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); } @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); } @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); } /** - * Required. The name of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + * Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{p + * roject}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_ass + * ignment} */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the GoldengateConnection in the following format: - projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + /** Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{project}/loca + tions/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} */ public java.lang.String getName() { return name; } /** - * Required. The name of the GoldengateConnection in the following format: - * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + * Required. The name of the GoldengateConnectionAssignment to delete. Format: projects/{p + * roject}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_ass + * ignment} */ - public Get setName(java.lang.String name) { + public Delete setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); } this.name = name; return this; } + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * after the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you + must retry your request, the server will know to ignore the request if it has already been + completed. The server will guarantee that for at least 60 minutes after the first request. For + example, consider a situation where you make an initial request and the request times out. If you + make the request again with the same request ID, the server can check if original operation with + the same request ID was received, and if so, will ignore the second request. This prevents clients + from accidentally creating duplicate commitments. The request ID must be a valid UUID with the + exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * after the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public Delete setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); } } /** - * Lists all the GoldengateConnections for the given project and location. + * Gets details of a single GoldengateConnectionAssignment. * - * Create a request for the method "goldengateConnections.list". + * Create a request for the method "goldengateConnectionAssignments.get". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for GoldengateConnections in the following format: - * projects/{project}/locations/{location}. + * @param name Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/{project}/loc + * ations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} * @return the request */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); initialize(result); return result; } - public class List extends OracleDatabaseRequest { + public class Get extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/goldengateConnections"; + private static final String REST_PATH = "v1/{+name}"; - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); /** - * Lists all the GoldengateConnections for the given project and location. + * Gets details of a single GoldengateConnectionAssignment. * - * Create a request for the method "goldengateConnections.list". + * Create a request for the method "goldengateConnectionAssignments.get". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for GoldengateConnections in the following format: - * projects/{project}/locations/{location}. + * @param name Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/{project}/loc + * ations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} * @since 1.13 */ - protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateConnectionsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + protected Get(java.lang.String name) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/ + * {project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_a + * ssignment} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/{project}/lo + cations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the GoldengateConnectionAssignment to retrieve. Format: projects/ + * {project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_a + * ssignment} + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists GoldengateConnectionAssignments in a given project and location. + * + * Create a request for the method "goldengateConnectionAssignments.list". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent value for the GoldengateConnectionAssignments. Format: + * projects/{project}/locations/{location} + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+parent}/goldengateConnectionAssignments"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Lists GoldengateConnectionAssignments in a given project and location. + * + * Create a request for the method "goldengateConnectionAssignments.list". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The parent value for the GoldengateConnectionAssignments. Format: + * projects/{project}/locations/{location} + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateConnectionAssignmentsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + "^projects/[^/]+/locations/[^/]+$"); } } @@ -13395,22 +13256,22 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The parent value for GoldengateConnections in the following format: - * projects/{project}/locations/{location}. + * Required. The parent value for the GoldengateConnectionAssignments. Format: + * projects/{project}/locations/{location} */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent value for GoldengateConnections in the following format: - projects/{project}/locations/{location}. + /** Required. The parent value for the GoldengateConnectionAssignments. Format: + projects/{project}/locations/{location} */ public java.lang.String getParent() { return parent; } /** - * Required. The parent value for GoldengateConnections in the following format: - * projects/{project}/locations/{location}. + * Required. The parent value for the GoldengateConnectionAssignments. Format: + * projects/{project}/locations/{location} */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -13422,57 +13283,73 @@ public List setParent(java.lang.String parent) { return this; } - /** Optional. An expression for filtering the results of the request. */ + /** + * Optional. A filter expression that filters GoldengateConnectionAssignments listed in + * the response. + */ @com.google.api.client.util.Key private java.lang.String filter; - /** Optional. An expression for filtering the results of the request. + /** Optional. A filter expression that filters GoldengateConnectionAssignments listed in the response. */ public java.lang.String getFilter() { return filter; } - /** Optional. An expression for filtering the results of the request. */ + /** + * Optional. A filter expression that filters GoldengateConnectionAssignments listed in + * the response. + */ public List setFilter(java.lang.String filter) { this.filter = filter; return this; } - /** Optional. An expression for ordering the results of the request. */ + /** + * Optional. A comma-separated list of fields to order by, sorted in ascending order. Use + * "DESC" after a field name for descending. + */ @com.google.api.client.util.Key private java.lang.String orderBy; - /** Optional. An expression for ordering the results of the request. + /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "DESC" after + a field name for descending. */ public java.lang.String getOrderBy() { return orderBy; } - /** Optional. An expression for ordering the results of the request. */ + /** + * Optional. A comma-separated list of fields to order by, sorted in ascending order. Use + * "DESC" after a field name for descending. + */ public List setOrderBy(java.lang.String orderBy) { this.orderBy = orderBy; return this; } /** - * Optional. The maximum number of items to return. If unspecified, at most 50 - * GoldengateConnections will be returned. The maximum value is 1000; values above 1000 - * will be coerced to 1000. + * Optional. The maximum number of GoldengateConnectionAssignments to return. The service + * may return fewer than this value. If unspecified, at most 50 + * GoldengateConnectionAssignments will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. The maximum number of items to return. If unspecified, at most 50 GoldengateConnections - will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + /** Optional. The maximum number of GoldengateConnectionAssignments to return. The service may return + fewer than this value. If unspecified, at most 50 GoldengateConnectionAssignments will be returned. + The maximum value is 1000; values above 1000 will be coerced to 1000. */ public java.lang.Integer getPageSize() { return pageSize; } /** - * Optional. The maximum number of items to return. If unspecified, at most 50 - * GoldengateConnections will be returned. The maximum value is 1000; values above 1000 - * will be coerced to 1000. + * Optional. The maximum number of GoldengateConnectionAssignments to return. The service + * may return fewer than this value. If unspecified, at most 50 + * GoldengateConnectionAssignments will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; @@ -13480,22 +13357,27 @@ public List setPageSize(java.lang.Integer pageSize) { } /** - * Optional. A page token, received from a previous ListGoldengateConnections call. - * Provide this to retrieve the subsequent page. + * Optional. A page token, received from a previous `ListGoldengateConnectionAssignments` + * call. Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListGoldengateConnectionAssignments` must match the call that + * provided the page token. */ @com.google.api.client.util.Key private java.lang.String pageToken; - /** Optional. A page token, received from a previous ListGoldengateConnections call. Provide this to - retrieve the subsequent page. + /** Optional. A page token, received from a previous `ListGoldengateConnectionAssignments` call. + Provide this to retrieve the subsequent page. When paginating, all other parameters provided to + `ListGoldengateConnectionAssignments` must match the call that provided the page token. */ public java.lang.String getPageToken() { return pageToken; } /** - * Optional. A page token, received from a previous ListGoldengateConnections call. - * Provide this to retrieve the subsequent page. + * Optional. A page token, received from a previous `ListGoldengateConnectionAssignments` + * call. Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListGoldengateConnectionAssignments` must match the call that + * provided the page token. */ public List setPageToken(java.lang.String pageToken) { this.pageToken = pageToken; @@ -13508,19 +13390,20 @@ public List set(String parameterName, Object value) { } } /** - * Updates the `labels` of a single GoldengateConnection. + * Updates the `labels` of a single GoldengateConnectionAssignment. * - * Create a request for the method "goldengateConnections.patch". + * Create a request for the method "goldengateConnectionAssignments.patch". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param name Identifier. The name of the GoldengateConnection resource in the following format: - * projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnection} + * @param name Identifier. The name of the GoldengateConnectionAssignment resource in the following format: project + * s/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assi + * gnment} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment} * @return the request */ - public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateConnection content) throws java.io.IOException { + public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment content) throws java.io.IOException { Patch result = new Patch(name, content); initialize(result); return result; @@ -13531,12 +13414,12 @@ public class Patch extends OracleDatabaseRequest * - * @param name Identifier. The name of the GoldengateConnection resource in the following format: - * projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnection} + * @param name Identifier. The name of the GoldengateConnectionAssignment resource in the following format: project + * s/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assi + * gnment} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment} * @since 1.13 */ - protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateConnection content) { + protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateConnectionAssignment content) { super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); } } @@ -13615,28 +13499,30 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Identifier. The name of the GoldengateConnection resource in the following format: - * projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection} + * Identifier. The name of the GoldengateConnectionAssignment resource in the following + * format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldenga + * te_connection_assignment} */ @com.google.api.client.util.Key private java.lang.String name; - /** Identifier. The name of the GoldengateConnection resource in the following format: - projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection} + /** Identifier. The name of the GoldengateConnectionAssignment resource in the following format: projec + ts/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment} */ public java.lang.String getName() { return name; } /** - * Identifier. The name of the GoldengateConnection resource in the following format: - * projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection} + * Identifier. The name of the GoldengateConnectionAssignment resource in the following + * format: projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldenga + * te_connection_assignment} */ public Patch setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); } this.name = name; return this; @@ -13677,30 +13563,30 @@ public Patch setRequestId(java.lang.String requestId) { } /** - * Optional. A mask specifying which fields in the GoldengateConnection should be updated. - * A field specified in the mask is updated. If a mask isn't provided, the service treats - * this as an implied field mask equivalent to all fields that are populated (have a non- - * empty value). To clear or unset a field, the field must be explicitly specified in the - * `update_mask`. + * Optional. A mask specifying which fields in the GoldengateConnectionAssignment should + * be updated. A field specified in the mask is updated. If a mask isn't provided, the + * service treats this as an implied field mask equivalent to all fields that are + * populated (have a non-empty value). To clear or unset a field, the field must be + * explicitly specified in the `update_mask`. */ @com.google.api.client.util.Key private String updateMask; - /** Optional. A mask specifying which fields in the GoldengateConnection should be updated. A field - specified in the mask is updated. If a mask isn't provided, the service treats this as an implied - field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset - a field, the field must be explicitly specified in the `update_mask`. + /** Optional. A mask specifying which fields in the GoldengateConnectionAssignment should be updated. A + field specified in the mask is updated. If a mask isn't provided, the service treats this as an + implied field mask equivalent to all fields that are populated (have a non-empty value). To clear + or unset a field, the field must be explicitly specified in the `update_mask`. */ public String getUpdateMask() { return updateMask; } /** - * Optional. A mask specifying which fields in the GoldengateConnection should be updated. - * A field specified in the mask is updated. If a mask isn't provided, the service treats - * this as an implied field mask equivalent to all fields that are populated (have a non- - * empty value). To clear or unset a field, the field must be explicitly specified in the - * `update_mask`. + * Optional. A mask specifying which fields in the GoldengateConnectionAssignment should + * be updated. A field specified in the mask is updated. If a mask isn't provided, the + * service treats this as an implied field mask equivalent to all fields that are + * populated (have a non-empty value). To clear or unset a field, the field must be + * explicitly specified in the `update_mask`. */ public Patch setUpdateMask(String updateMask) { this.updateMask = updateMask; @@ -13712,37 +13598,178 @@ public Patch set(String parameterName, Object value) { return (Patch) super.set(parameterName, value); } } + /** + * Tests a single GoldengateConnectionAssignment. + * + * Create a request for the method "goldengateConnectionAssignments.test". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Test#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the connection assignment for which to test connection. projects/{project}/locatio + * ns/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.TestGoldengateConnectionAssignmentRequest} + * @return the request + */ + public Test test(java.lang.String name, com.google.api.services.oracledatabase.v1.model.TestGoldengateConnectionAssignmentRequest content) throws java.io.IOException { + Test result = new Test(name, content); + initialize(result); + return result; + } + + public class Test extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+name}:test"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + + /** + * Tests a single GoldengateConnectionAssignment. + * + * Create a request for the method "goldengateConnectionAssignments.test". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Test#execute()} method to invoke the remote operation.

+ * {@link Test#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the connection assignment for which to test connection. projects/{project}/locatio + * ns/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.TestGoldengateConnectionAssignmentRequest} + * @since 1.13 + */ + protected Test(java.lang.String name, com.google.api.services.oracledatabase.v1.model.TestGoldengateConnectionAssignmentRequest content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.TestGoldengateConnectionAssignmentResponse.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + } + } + + @Override + public Test set$Xgafv(java.lang.String $Xgafv) { + return (Test) super.set$Xgafv($Xgafv); + } + + @Override + public Test setAccessToken(java.lang.String accessToken) { + return (Test) super.setAccessToken(accessToken); + } + + @Override + public Test setAlt(java.lang.String alt) { + return (Test) super.setAlt(alt); + } + + @Override + public Test setCallback(java.lang.String callback) { + return (Test) super.setCallback(callback); + } + + @Override + public Test setFields(java.lang.String fields) { + return (Test) super.setFields(fields); + } + + @Override + public Test setKey(java.lang.String key) { + return (Test) super.setKey(key); + } + + @Override + public Test setOauthToken(java.lang.String oauthToken) { + return (Test) super.setOauthToken(oauthToken); + } + + @Override + public Test setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Test) super.setPrettyPrint(prettyPrint); + } + + @Override + public Test setQuotaUser(java.lang.String quotaUser) { + return (Test) super.setQuotaUser(quotaUser); + } + + @Override + public Test setUploadType(java.lang.String uploadType) { + return (Test) super.setUploadType(uploadType); + } + + @Override + public Test setUploadProtocol(java.lang.String uploadProtocol) { + return (Test) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the connection assignment for which to test connection. projects/{pro + * ject}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignm + * ent} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the connection assignment for which to test connection. projects/{project}/locati + ons/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the connection assignment for which to test connection. projects/{pro + * ject}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignm + * ent} + */ + public Test setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateConnectionAssignments/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Test set(String parameterName, Object value) { + return (Test) super.set(parameterName, value); + } + } } /** - * An accessor for creating requests from the GoldengateDeploymentEnvironments collection. + * An accessor for creating requests from the GoldengateConnectionTypes collection. * *

The typical use is:

*
        *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.GoldengateDeploymentEnvironments.List request = oracledatabase.goldengateDeploymentEnvironments().list(parameters ...)}
+       *   {@code OracleDatabase.GoldengateConnectionTypes.List request = oracledatabase.goldengateConnectionTypes().list(parameters ...)}
        * 
* * @return the resource collection */ - public GoldengateDeploymentEnvironments goldengateDeploymentEnvironments() { - return new GoldengateDeploymentEnvironments(); + public GoldengateConnectionTypes goldengateConnectionTypes() { + return new GoldengateConnectionTypes(); } /** - * The "goldengateDeploymentEnvironments" collection of methods. + * The "goldengateConnectionTypes" collection of methods. */ - public class GoldengateDeploymentEnvironments { + public class GoldengateConnectionTypes { /** - * Lists GoldengateDeploymentEnvironments in a given project and location. + * Lists GoldengateConnectionTypes in a given project and location. * - * Create a request for the method "goldengateDeploymentEnvironments.list". + * Create a request for the method "goldengateConnectionTypes.list". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. Format: + * @param parent Required. Parent value for ListGoldengateConnectionTypesRequest Format: * projects/{project}/locations/{location} * @return the request */ @@ -13752,29 +13779,29 @@ public List list(java.lang.String parent) throws java.io.IOException { return result; } - public class List extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/goldengateDeploymentEnvironments"; + private static final String REST_PATH = "v1/{+parent}/goldengateConnectionTypes"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Lists GoldengateDeploymentEnvironments in a given project and location. + * Lists GoldengateConnectionTypes in a given project and location. * - * Create a request for the method "goldengateDeploymentEnvironments.list". + * Create a request for the method "goldengateConnectionTypes.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. Format: + * @param parent Required. Parent value for ListGoldengateConnectionTypesRequest Format: * projects/{project}/locations/{location} * @since 1.13 */ protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateDeploymentEnvironmentsResponse.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateConnectionTypesResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -13849,13 +13876,13 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. - * Format: projects/{project}/locations/{location} + * Required. Parent value for ListGoldengateConnectionTypesRequest Format: + * projects/{project}/locations/{location} */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. Format: + /** Required. Parent value for ListGoldengateConnectionTypesRequest Format: projects/{project}/locations/{location} */ public java.lang.String getParent() { @@ -13863,8 +13890,8 @@ public java.lang.String getParent() { } /** - * Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. - * Format: projects/{project}/locations/{location} + * Required. Parent value for ListGoldengateConnectionTypesRequest Format: + * projects/{project}/locations/{location} */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -13877,36 +13904,57 @@ public List setParent(java.lang.String parent) { } /** - * Optional. The maximum number of items to return. If unspecified, at most 50 deployment - * environments will be returned. The maximum value is 1000; values above 1000 will be - * coerced to 1000. + * Optional. An expression for filtering the results of the request. The connection_type + * field must be specified in the format: `connection_type="ORACLE"`. */ @com.google.api.client.util.Key - private java.lang.Integer pageSize; + private java.lang.String filter; - /** Optional. The maximum number of items to return. If unspecified, at most 50 deployment environments - will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + /** Optional. An expression for filtering the results of the request. The connection_type field must be + specified in the format: `connection_type="ORACLE"`. */ - public java.lang.Integer getPageSize() { - return pageSize; + public java.lang.String getFilter() { + return filter; } /** - * Optional. The maximum number of items to return. If unspecified, at most 50 deployment - * environments will be returned. The maximum value is 1000; values above 1000 will be - * coerced to 1000. + * Optional. An expression for filtering the results of the request. The connection_type + * field must be specified in the format: `connection_type="ORACLE"`. */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; + public List setFilter(java.lang.String filter) { + this.filter = filter; return this; } - /** Optional. A token identifying a page of results the server should return. */ + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ @com.google.api.client.util.Key - private java.lang.String pageToken; + private java.lang.Integer pageSize; - /** Optional. A token identifying a page of results the server should return. - */ + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ public java.lang.String getPageToken() { return pageToken; } @@ -13925,64 +13973,69 @@ public List set(String parameterName, Object value) { } /** - * An accessor for creating requests from the GoldengateDeploymentTypes collection. + * An accessor for creating requests from the GoldengateConnections collection. * *

The typical use is:

*
        *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.GoldengateDeploymentTypes.List request = oracledatabase.goldengateDeploymentTypes().list(parameters ...)}
+       *   {@code OracleDatabase.GoldengateConnections.List request = oracledatabase.goldengateConnections().list(parameters ...)}
        * 
* * @return the resource collection */ - public GoldengateDeploymentTypes goldengateDeploymentTypes() { - return new GoldengateDeploymentTypes(); + public GoldengateConnections goldengateConnections() { + return new GoldengateConnections(); } /** - * The "goldengateDeploymentTypes" collection of methods. + * The "goldengateConnections" collection of methods. */ - public class GoldengateDeploymentTypes { + public class GoldengateConnections { /** - * Lists GoldenGateDeploymentTypes in a given project and location. + * Creates a new GoldengateConnection in a given project and location. * - * Create a request for the method "goldengateDeploymentTypes.list". + * Create a request for the method "goldengateConnections.create". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. * - * @param parent Required. The parent resource. Format: projects/{project}/locations/{location} + * @param parent Required. The value for parent of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnection} * @return the request */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); + public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateConnection content) throws java.io.IOException { + Create result = new Create(parent, content); initialize(result); return result; } - public class List extends OracleDatabaseRequest { + public class Create extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/goldengateDeploymentTypes"; + private static final String REST_PATH = "v1/{+parent}/goldengateConnections"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Lists GoldenGateDeploymentTypes in a given project and location. + * Creates a new GoldengateConnection in a given project and location. * - * Create a request for the method "goldengateDeploymentTypes.list". + * Create a request for the method "goldengateConnections.create". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent resource. Format: projects/{project}/locations/{location} + * @param parent Required. The value for parent of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnection} * @since 1.13 */ - protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateDeploymentTypesResponse.class); + protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateConnection content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -13992,82 +14045,79 @@ protected List(java.lang.String parent) { } @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); } @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); } @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); } @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); } @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); } @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); } @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); } @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); } @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); } @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); } @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); } - /** Required. The parent resource. Format: projects/{project}/locations/{location} */ + /** + * Required. The value for parent of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}. + */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent resource. Format: projects/{project}/locations/{location} + /** Required. The value for parent of the GoldengateConnection in the following format: + projects/{project}/locations/{location}. */ public java.lang.String getParent() { return parent; } - /** Required. The parent resource. Format: projects/{project}/locations/{location} */ - public List setParent(java.lang.String parent) { + /** + * Required. The value for parent of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}. + */ + public Create setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), "Parameter parent must conform to the pattern " + @@ -14078,402 +14128,439 @@ public List setParent(java.lang.String parent) { } /** - * Optional. An expression for filtering the results of the request. Either the - * deployment_type and ogg_version fields must be specified in the format: - * `deployment_type="DATABASE_ORACLE"` or `ogg_version="version"`. Allowed values for - * deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, `DATABASE_MICROSOFT_SQLSERVER`, - * `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, `DATABASE_DB2ZOS`, `DATABASE_DB2I`, `GGSA`, - * `DATA_TRANSFORMS`. + * Required. The ID of the GoldengateConnection to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. */ @com.google.api.client.util.Key - private java.lang.String filter; + private java.lang.String goldengateConnectionId; - /** Optional. An expression for filtering the results of the request. Either the deployment_type and - ogg_version fields must be specified in the format: `deployment_type="DATABASE_ORACLE"` or - `ogg_version="version"`. Allowed values for deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, - `DATABASE_MICROSOFT_SQLSERVER`, `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, `DATABASE_DB2ZOS`, - `DATABASE_DB2I`, `GGSA`, `DATA_TRANSFORMS`. + /** Required. The ID of the GoldengateConnection to create. This value is restricted to + (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value + must start with a letter and end with a letter or a number. */ - public java.lang.String getFilter() { - return filter; + public java.lang.String getGoldengateConnectionId() { + return goldengateConnectionId; } /** - * Optional. An expression for filtering the results of the request. Either the - * deployment_type and ogg_version fields must be specified in the format: - * `deployment_type="DATABASE_ORACLE"` or `ogg_version="version"`. Allowed values for - * deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, `DATABASE_MICROSOFT_SQLSERVER`, - * `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, `DATABASE_DB2ZOS`, `DATABASE_DB2I`, `GGSA`, - * `DATA_TRANSFORMS`. - */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } - - /** Optional. Hint for how to order the results */ - @com.google.api.client.util.Key - private java.lang.String orderBy; - - /** Optional. Hint for how to order the results + * Required. The ID of the GoldengateConnection to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. */ - public java.lang.String getOrderBy() { - return orderBy; - } - - /** Optional. Hint for how to order the results */ - public List setOrderBy(java.lang.String orderBy) { - this.orderBy = orderBy; + public Create setGoldengateConnectionId(java.lang.String goldengateConnectionId) { + this.goldengateConnectionId = goldengateConnectionId; return this; } /** - * Optional. Requested page size. Server may return fewer items than requested. If - * unspecified, server will pick an appropriate default. + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * since the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ @com.google.api.client.util.Key - private java.lang.Integer pageSize; + private java.lang.String requestId; - /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server - will pick an appropriate default. + /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you + must retry your request, the server will know to ignore the request if it has already been + completed. The server will guarantee that for at least 60 minutes since the first request. For + example, consider a situation where you make an initial request and the request times out. If you + make the request again with the same request ID, the server can check if original operation with + the same request ID was received, and if so, will ignore the second request. This prevents clients + from accidentally creating duplicate commitments. The request ID must be a valid UUID with the + exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ - public java.lang.Integer getPageSize() { - return pageSize; + public java.lang.String getRequestId() { + return requestId; } /** - * Optional. Requested page size. Server may return fewer items than requested. If - * unspecified, server will pick an appropriate default. - */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } - - /** Optional. A token identifying a page of results the server should return. */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** Optional. A token identifying a page of results the server should return. + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * since the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** Optional. A token identifying a page of results the server should return. */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; + public Create setRequestId(java.lang.String requestId) { + this.requestId = requestId; return this; } @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); } } - - } - /** - * An accessor for creating requests from the GoldengateDeploymentVersions collection. - * - *

The typical use is:

- *
-       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.GoldengateDeploymentVersions.List request = oracledatabase.goldengateDeploymentVersions().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public GoldengateDeploymentVersions goldengateDeploymentVersions() { - return new GoldengateDeploymentVersions(); - } - - /** - * The "goldengateDeploymentVersions" collection of methods. - */ - public class GoldengateDeploymentVersions { - /** - * Lists GoldengateDeploymentVersions in a given project and location. + * Deletes a single GoldengateConnection. * - * Create a request for the method "goldengateDeploymentVersions.list". + * Create a request for the method "goldengateConnections.delete". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. * - * @param parent Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: - * projects/{project}/locations/{location} + * @param name Required. The name of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. * @return the request */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); initialize(result); return result; } - public class List extends OracleDatabaseRequest { + public class Delete extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/goldengateDeploymentVersions"; + private static final String REST_PATH = "v1/{+name}"; - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); /** - * Lists GoldengateDeploymentVersions in a given project and location. + * Deletes a single GoldengateConnection. * - * Create a request for the method "goldengateDeploymentVersions.list". + * Create a request for the method "goldengateConnections.delete". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + *

{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: - * projects/{project}/locations/{location} + * @param name Required. The name of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. * @since 1.13 */ - protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateDeploymentVersionsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + protected Delete(java.lang.String name) { + super(OracleDatabase.this, "DELETE", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); } } @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); } @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); } @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); } @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); } @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); } @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); } @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); } @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); } @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); } @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); } @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); } /** - * Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: - * projects/{project}/locations/{location} + * Required. The name of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. */ @com.google.api.client.util.Key - private java.lang.String parent; + private java.lang.String name; - /** Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: - projects/{project}/locations/{location} + /** Required. The name of the GoldengateConnection in the following format: + projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. */ - public java.lang.String getParent() { - return parent; + public java.lang.String getName() { + return name; } /** - * Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: - * projects/{project}/locations/{location} + * Required. The name of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. */ - public List setParent(java.lang.String parent) { + public Delete setName(java.lang.String name) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); } - this.parent = parent; + this.name = name; return this; } /** - * Optional. An expression for filtering the results of the request. Either the - * deployment_id and deployment_type fields must be specified in the format: - * `deployment_id="id"` or `deployment_type="DATABASE_ORACLE"`. + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). */ @com.google.api.client.util.Key - private java.lang.String filter; + private java.lang.String requestId; - /** Optional. An expression for filtering the results of the request. Either the deployment_id and - deployment_type fields must be specified in the format: `deployment_id="id"` or - `deployment_type="DATABASE_ORACLE"`. + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ - public java.lang.String getFilter() { - return filter; + public java.lang.String getRequestId() { + return requestId; } /** - * Optional. An expression for filtering the results of the request. Either the - * deployment_id and deployment_type fields must be specified in the format: - * `deployment_id="id"` or `deployment_type="DATABASE_ORACLE"`. + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). */ - public List setFilter(java.lang.String filter) { - this.filter = filter; + public Delete setRequestId(java.lang.String requestId) { + this.requestId = requestId; return this; } - /** - * Optional. Requested page size. Server may return fewer items than requested. If - * unspecified, server will pick an appropriate default. The maximum value is 1000; values - * above 1000 will be coerced to 1000. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server - will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to - 1000. - */ - public java.lang.Integer getPageSize() { - return pageSize; + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); } + } + /** + * Gets details of a single GoldengateConnection. + * + * Create a request for the method "goldengateConnections.get". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); /** - * Optional. Requested page size. Server may return fewer items than requested. If - * unspecified, server will pick an appropriate default. The maximum value is 1000; values - * above 1000 will be coerced to 1000. + * Gets details of a single GoldengateConnection. + * + * Create a request for the method "goldengateConnections.get". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. The name of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + * @since 1.13 */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; + protected Get(java.lang.String name) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.GoldengateConnection.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); + } } - /** Optional. A token identifying a page of results the server should return. */ + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + */ @com.google.api.client.util.Key - private java.lang.String pageToken; + private java.lang.String name; - /** Optional. A token identifying a page of results the server should return. + /** Required. The name of the GoldengateConnection in the following format: + projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. */ - public java.lang.String getPageToken() { - return pageToken; + public java.lang.String getName() { + return name; } - /** Optional. A token identifying a page of results the server should return. */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; + /** + * Required. The name of the GoldengateConnection in the following format: + * projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); + } + this.name = name; return this; } @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); } } - - } - /** - * An accessor for creating requests from the GoldengateDeployments collection. - * - *

The typical use is:

- *
-       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.GoldengateDeployments.List request = oracledatabase.goldengateDeployments().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public GoldengateDeployments goldengateDeployments() { - return new GoldengateDeployments(); - } - - /** - * The "goldengateDeployments" collection of methods. - */ - public class GoldengateDeployments { - /** - * Creates a new GoldengateDeployment in a given project and location. + * Lists all the GoldengateConnections for the given project and location. * - * Create a request for the method "goldengateDeployments.create". + * Create a request for the method "goldengateConnections.list". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The value for parent of the GoldengateDeployment in the following format: + * @param parent Required. The parent value for GoldengateConnections in the following format: * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateDeployment} * @return the request */ - public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateDeployment content) throws java.io.IOException { - Create result = new Create(parent, content); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); initialize(result); return result; } - public class Create extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/goldengateDeployments"; + private static final String REST_PATH = "v1/{+parent}/goldengateConnections"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Creates a new GoldengateDeployment in a given project and location. + * Lists all the GoldengateConnections for the given project and location. * - * Create a request for the method "goldengateDeployments.create". + * Create a request for the method "goldengateConnections.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. - *

{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The value for parent of the GoldengateDeployment in the following format: + * @param parent Required. The parent value for GoldengateConnections in the following format: * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateDeployment} * @since 1.13 */ - protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateDeployment content) { - super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateConnectionsResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -14483,68 +14570,78 @@ protected Create(java.lang.String parent, com.google.api.services.oracledatabase } @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); } @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); } @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); } @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); } @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); } @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); + public List setKey(java.lang.String key) { + return (List) super.setKey(key); } @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); } @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); } @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); } /** - * Required. The value for parent of the GoldengateDeployment in the following format: + * Required. The parent value for GoldengateConnections in the following format: * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The value for parent of the GoldengateDeployment in the following format: + /** Required. The parent value for GoldengateConnections in the following format: projects/{project}/locations/{location}. */ public java.lang.String getParent() { @@ -14552,10 +14649,10 @@ public java.lang.String getParent() { } /** - * Required. The value for parent of the GoldengateDeployment in the following format: + * Required. The parent value for GoldengateConnections in the following format: * projects/{project}/locations/{location}. */ - public Create setParent(java.lang.String parent) { + public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), "Parameter parent must conform to the pattern " + @@ -14565,208 +14662,221 @@ public Create setParent(java.lang.String parent) { return this; } - /** - * Required. The ID of the GoldengateDeployment to create. This value is restricted to - * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. - * The value must start with a letter and end with a letter or a number. - */ + /** Optional. An expression for filtering the results of the request. */ @com.google.api.client.util.Key - private java.lang.String goldengateDeploymentId; + private java.lang.String filter; - /** Required. The ID of the GoldengateDeployment to create. This value is restricted to - (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value - must start with a letter and end with a letter or a number. + /** Optional. An expression for filtering the results of the request. */ - public java.lang.String getGoldengateDeploymentId() { - return goldengateDeploymentId; + public java.lang.String getFilter() { + return filter; } - /** - * Required. The ID of the GoldengateDeployment to create. This value is restricted to - * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. - * The value must start with a letter and end with a letter or a number. - */ - public Create setGoldengateDeploymentId(java.lang.String goldengateDeploymentId) { - this.goldengateDeploymentId = goldengateDeploymentId; + /** Optional. An expression for filtering the results of the request. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; return this; } - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ + /** Optional. An expression for ordering the results of the request. */ @com.google.api.client.util.Key - private java.lang.String requestId; + private java.lang.String orderBy; - /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you - must retry your request, the server will know to ignore the request if it has already been - completed. The server will guarantee that for at least 60 minutes since the first request. For - example, consider a situation where you make an initial request and the request times out. If you - make the request again with the same request ID, the server can check if original operation with - the same request ID was received, and if so, will ignore the second request. This prevents clients - from accidentally creating duplicate commitments. The request ID must be a valid UUID with the - exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /** Optional. An expression for ordering the results of the request. */ - public java.lang.String getRequestId() { - return requestId; + public java.lang.String getOrderBy() { + return orderBy; + } + + /** Optional. An expression for ordering the results of the request. */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; } /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. The maximum number of items to return. If unspecified, at most 50 + * GoldengateConnections will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. */ - public Create setRequestId(java.lang.String requestId) { - this.requestId = requestId; + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of items to return. If unspecified, at most 50 GoldengateConnections + will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * GoldengateConnections will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous ListGoldengateConnections call. + * Provide this to retrieve the subsequent page. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous ListGoldengateConnections call. Provide this to + retrieve the subsequent page. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous ListGoldengateConnections call. + * Provide this to retrieve the subsequent page. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; return this; } @Override - public Create set(String parameterName, Object value) { - return (Create) super.set(parameterName, value); + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); } } /** - * Deletes a single GoldengateDeployment. + * Updates the `labels` of a single GoldengateConnection. * - * Create a request for the method "goldengateDeployments.delete". + * Create a request for the method "goldengateConnections.patch". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param name Required. The name of the GoldengateDeployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * @param name Identifier. The name of the GoldengateConnection resource in the following format: + * projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnection} * @return the request */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); + public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateConnection content) throws java.io.IOException { + Patch result = new Patch(name, content); initialize(result); return result; } - public class Delete extends OracleDatabaseRequest { + public class Patch extends OracleDatabaseRequest { private static final String REST_PATH = "v1/{+name}"; private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); /** - * Deletes a single GoldengateDeployment. + * Updates the `labels` of a single GoldengateConnection. * - * Create a request for the method "goldengateDeployments.delete". + * Create a request for the method "goldengateConnections.patch". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. *

{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must * be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the GoldengateDeployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * @param name Identifier. The name of the GoldengateConnection resource in the following format: + * projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateConnection} * @since 1.13 */ - protected Delete(java.lang.String name) { - super(OracleDatabase.this, "DELETE", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Operation.class); + protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateConnection content) { + super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); } } @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); } @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); } @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); } @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); } @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); } @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); } @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); } @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); } @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); } @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); } @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); } /** - * Required. The name of the GoldengateDeployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * Identifier. The name of the GoldengateConnection resource in the following format: + * projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection} */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the GoldengateDeployment in the following format: - projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + /** Identifier. The name of the GoldengateConnection resource in the following format: + projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection} */ public java.lang.String getName() { return name; } /** - * Required. The name of the GoldengateDeployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * Identifier. The name of the GoldengateConnection resource in the following format: + * projects/{project}/locations/{region}/goldengateConnections/{goldengate_connection} */ - public Delete setName(java.lang.String name) { + public Patch setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/goldengateConnections/[^/]+$"); } this.name = name; return this; @@ -14801,62 +14911,115 @@ public java.lang.String getRequestId() { * be a valid UUID with the exception that zero UUID is not supported * (00000000-0000-0000-0000-000000000000). */ - public Delete setRequestId(java.lang.String requestId) { + public Patch setRequestId(java.lang.String requestId) { this.requestId = requestId; return this; } + /** + * Optional. A mask specifying which fields in the GoldengateConnection should be updated. + * A field specified in the mask is updated. If a mask isn't provided, the service treats + * this as an implied field mask equivalent to all fields that are populated (have a non- + * empty value). To clear or unset a field, the field must be explicitly specified in the + * `update_mask`. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Optional. A mask specifying which fields in the GoldengateConnection should be updated. A field + specified in the mask is updated. If a mask isn't provided, the service treats this as an implied + field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset + a field, the field must be explicitly specified in the `update_mask`. + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. A mask specifying which fields in the GoldengateConnection should be updated. + * A field specified in the mask is updated. If a mask isn't provided, the service treats + * this as an implied field mask equivalent to all fields that are populated (have a non- + * empty value). To clear or unset a field, the field must be explicitly specified in the + * `update_mask`. + */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); } } + + } + /** + * An accessor for creating requests from the GoldengateDeploymentEnvironments collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.GoldengateDeploymentEnvironments.List request = oracledatabase.goldengateDeploymentEnvironments().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public GoldengateDeploymentEnvironments goldengateDeploymentEnvironments() { + return new GoldengateDeploymentEnvironments(); + } + + /** + * The "goldengateDeploymentEnvironments" collection of methods. + */ + public class GoldengateDeploymentEnvironments { + /** - * Gets details of a single GoldengateDeployment. + * Lists GoldengateDeploymentEnvironments in a given project and location. * - * Create a request for the method "goldengateDeployments.get". + * Create a request for the method "goldengateDeploymentEnvironments.list". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param name Required. The name of the GoldengateDeployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * @param parent Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. Format: + * projects/{project}/locations/{location} * @return the request */ - public Get get(java.lang.String name) throws java.io.IOException { - Get result = new Get(name); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); initialize(result); return result; } - public class Get extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}"; + private static final String REST_PATH = "v1/{+parent}/goldengateDeploymentEnvironments"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Gets details of a single GoldengateDeployment. + * Lists GoldengateDeploymentEnvironments in a given project and location. * - * Create a request for the method "goldengateDeployments.get". + * Create a request for the method "goldengateDeploymentEnvironments.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the GoldengateDeployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * @param parent Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. Format: + * projects/{project}/locations/{location} * @since 1.13 */ - protected Get(java.lang.String name) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.GoldengateDeployment.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateDeploymentEnvironmentsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @@ -14871,103 +15034,165 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws } @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); } @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); } @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); } @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); } @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); } @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); + public List setKey(java.lang.String key) { + return (List) super.setKey(key); } @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); } @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); } @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); } @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); } @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); } /** - * Required. The name of the GoldengateDeployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. + * Format: projects/{project}/locations/{location} */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Required. The name of the GoldengateDeployment in the following format: - projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + /** Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. Format: + projects/{project}/locations/{location} */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } /** - * Required. The name of the GoldengateDeployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * Required. The parent, which owns this collection of GoldengateDeploymentEnvironments. + * Format: projects/{project}/locations/{location} */ - public Get setName(java.lang.String name) { + public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } - this.name = name; + this.parent = parent; + return this; + } + + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 deployment + * environments will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of items to return. If unspecified, at most 50 deployment environments + will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 deployment + * environments will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; return this; } @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); } } + + } + /** + * An accessor for creating requests from the GoldengateDeploymentTypes collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.GoldengateDeploymentTypes.List request = oracledatabase.goldengateDeploymentTypes().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public GoldengateDeploymentTypes goldengateDeploymentTypes() { + return new GoldengateDeploymentTypes(); + } + + /** + * The "goldengateDeploymentTypes" collection of methods. + */ + public class GoldengateDeploymentTypes { + /** - * Lists all the GoldengateDeployments for the given project and location. + * Lists GoldenGateDeploymentTypes in a given project and location. * - * Create a request for the method "goldengateDeployments.list". + * Create a request for the method "goldengateDeploymentTypes.list". * * This request holds the parameters needed by the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for GoldengateDeployments in the following format: - * projects/{project}/locations/{location}. + * @param parent Required. The parent resource. Format: projects/{project}/locations/{location} * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -14976,29 +15201,28 @@ public List list(java.lang.String parent) throws java.io.IOException { return result; } - public class List extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/goldengateDeployments"; + private static final String REST_PATH = "v1/{+parent}/goldengateDeploymentTypes"; private final java.util.regex.Pattern PARENT_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Lists all the GoldengateDeployments for the given project and location. + * Lists GoldenGateDeploymentTypes in a given project and location. * - * Create a request for the method "goldengateDeployments.list". + * Create a request for the method "goldengateDeploymentTypes.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for GoldengateDeployments in the following format: - * projects/{project}/locations/{location}. + * @param parent Required. The parent resource. Format: projects/{project}/locations/{location} * @since 1.13 */ protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateDeploymentsResponse.class); + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateDeploymentTypesResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -15072,24 +15296,17 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { return (List) super.setUploadProtocol(uploadProtocol); } - /** - * Required. The parent value for GoldengateDeployments in the following format: - * projects/{project}/locations/{location}. - */ + /** Required. The parent resource. Format: projects/{project}/locations/{location} */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The parent value for GoldengateDeployments in the following format: - projects/{project}/locations/{location}. + /** Required. The parent resource. Format: projects/{project}/locations/{location} */ public java.lang.String getParent() { return parent; } - /** - * Required. The parent value for GoldengateDeployments in the following format: - * projects/{project}/locations/{location}. - */ + /** Required. The parent resource. Format: projects/{project}/locations/{location} */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -15100,81 +15317,90 @@ public List setParent(java.lang.String parent) { return this; } - /** Optional. An expression for filtering the results of the request. */ + /** + * Optional. An expression for filtering the results of the request. Either the + * deployment_type and ogg_version fields must be specified in the format: + * `deployment_type="DATABASE_ORACLE"` or `ogg_version="version"`. Allowed values for + * deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, `DATABASE_MICROSOFT_SQLSERVER`, + * `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, `DATABASE_DB2ZOS`, `DATABASE_DB2I`, `GGSA`, + * `DATA_TRANSFORMS`. + */ @com.google.api.client.util.Key private java.lang.String filter; - /** Optional. An expression for filtering the results of the request. + /** Optional. An expression for filtering the results of the request. Either the deployment_type and + ogg_version fields must be specified in the format: `deployment_type="DATABASE_ORACLE"` or + `ogg_version="version"`. Allowed values for deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, + `DATABASE_MICROSOFT_SQLSERVER`, `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, `DATABASE_DB2ZOS`, + `DATABASE_DB2I`, `GGSA`, `DATA_TRANSFORMS`. */ public java.lang.String getFilter() { return filter; } - /** Optional. An expression for filtering the results of the request. */ + /** + * Optional. An expression for filtering the results of the request. Either the + * deployment_type and ogg_version fields must be specified in the format: + * `deployment_type="DATABASE_ORACLE"` or `ogg_version="version"`. Allowed values for + * deployment_type are: `DATABASE_ORACLE`, `BIGDATA`, `DATABASE_MICROSOFT_SQLSERVER`, + * `DATABASE_MYSQL`, `DATABASE_POSTGRESQL`, `DATABASE_DB2ZOS`, `DATABASE_DB2I`, `GGSA`, + * `DATA_TRANSFORMS`. + */ public List setFilter(java.lang.String filter) { this.filter = filter; return this; } - /** Optional. An expression for ordering the results of the request. */ + /** Optional. Hint for how to order the results */ @com.google.api.client.util.Key private java.lang.String orderBy; - /** Optional. An expression for ordering the results of the request. + /** Optional. Hint for how to order the results */ public java.lang.String getOrderBy() { return orderBy; } - /** Optional. An expression for ordering the results of the request. */ + /** Optional. Hint for how to order the results */ public List setOrderBy(java.lang.String orderBy) { this.orderBy = orderBy; return this; } /** - * Optional. The maximum number of items to return. If unspecified, at most 50 - * GoldengateDeployments will be returned. The maximum value is 1000; values above 1000 - * will be coerced to 1000. + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. The maximum number of items to return. If unspecified, at most 50 GoldengateDeployments - will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. */ public java.lang.Integer getPageSize() { return pageSize; } /** - * Optional. The maximum number of items to return. If unspecified, at most 50 - * GoldengateDeployments will be returned. The maximum value is 1000; values above 1000 - * will be coerced to 1000. + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; } - /** - * Optional. A page token, received from a previous ListGoldengateDeployments call. - * Provide this to retrieve the subsequent page. - */ + /** Optional. A token identifying a page of results the server should return. */ @com.google.api.client.util.Key private java.lang.String pageToken; - /** Optional. A page token, received from a previous ListGoldengateDeployments call. Provide this to - retrieve the subsequent page. + /** Optional. A token identifying a page of results the server should return. */ public java.lang.String getPageToken() { return pageToken; } - /** - * Optional. A page token, received from a previous ListGoldengateDeployments call. - * Provide this to retrieve the subsequent page. - */ + /** Optional. A token identifying a page of results the server should return. */ public List setPageToken(java.lang.String pageToken) { this.pageToken = pageToken; return this; @@ -15185,394 +15411,516 @@ public List set(String parameterName, Object value) { return (List) super.set(parameterName, value); } } - /** - * Updates the `labels` of a single GoldengateDeployment. - * - * Create a request for the method "goldengateDeployments.patch". + + } + /** + * An accessor for creating requests from the GoldengateDeploymentVersions collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.GoldengateDeploymentVersions.List request = oracledatabase.goldengateDeploymentVersions().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public GoldengateDeploymentVersions goldengateDeploymentVersions() { + return new GoldengateDeploymentVersions(); + } + + /** + * The "goldengateDeploymentVersions" collection of methods. + */ + public class GoldengateDeploymentVersions { + + /** + * Lists GoldengateDeploymentVersions in a given project and location. + * + * Create a request for the method "goldengateDeploymentVersions.list". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param name Identifier. The name of the GoldengateDeployment resource in the following format: - * projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateDeployment} + * @param parent Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: + * projects/{project}/locations/{location} * @return the request */ - public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateDeployment content) throws java.io.IOException { - Patch result = new Patch(name, content); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); initialize(result); return result; } - public class Patch extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}"; + private static final String REST_PATH = "v1/{+parent}/goldengateDeploymentVersions"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Updates the `labels` of a single GoldengateDeployment. + * Lists GoldengateDeploymentVersions in a given project and location. * - * Create a request for the method "goldengateDeployments.patch". + * Create a request for the method "goldengateDeploymentVersions.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. - *

{@link - * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Identifier. The name of the GoldengateDeployment resource in the following format: - * projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} - * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateDeployment} + * @param parent Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: + * projects/{project}/locations/{location} * @since 1.13 */ - protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateDeployment content) { - super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateDeploymentVersionsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public Patch set$Xgafv(java.lang.String $Xgafv) { - return (Patch) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Patch setAccessToken(java.lang.String accessToken) { - return (Patch) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Patch setAlt(java.lang.String alt) { - return (Patch) super.setAlt(alt); + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); } @Override - public Patch setCallback(java.lang.String callback) { - return (Patch) super.setCallback(callback); + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); } @Override - public Patch setFields(java.lang.String fields) { - return (Patch) super.setFields(fields); + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); } @Override - public Patch setKey(java.lang.String key) { - return (Patch) super.setKey(key); + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); } @Override - public Patch setOauthToken(java.lang.String oauthToken) { - return (Patch) super.setOauthToken(oauthToken); + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); } @Override - public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Patch) super.setPrettyPrint(prettyPrint); + public List setKey(java.lang.String key) { + return (List) super.setKey(key); } @Override - public Patch setQuotaUser(java.lang.String quotaUser) { - return (Patch) super.setQuotaUser(quotaUser); + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); } @Override - public Patch setUploadType(java.lang.String uploadType) { - return (Patch) super.setUploadType(uploadType); + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); } @Override - public Patch setUploadProtocol(java.lang.String uploadProtocol) { - return (Patch) super.setUploadProtocol(uploadProtocol); + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); } /** - * Identifier. The name of the GoldengateDeployment resource in the following format: - * projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} + * Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: + * projects/{project}/locations/{location} */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Identifier. The name of the GoldengateDeployment resource in the following format: - projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} + /** Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: + projects/{project}/locations/{location} */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } /** - * Identifier. The name of the GoldengateDeployment resource in the following format: - * projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} + * Required. Parent value for ListGoldengateDeploymentVersionsRequest Format: + * projects/{project}/locations/{location} */ - public Patch setName(java.lang.String name) { + public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } - this.name = name; + this.parent = parent; return this; } /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. An expression for filtering the results of the request. Either the + * deployment_id and deployment_type fields must be specified in the format: + * `deployment_id="id"` or `deployment_type="DATABASE_ORACLE"`. */ @com.google.api.client.util.Key - private java.lang.String requestId; + private java.lang.String filter; - /** Optional. An optional ID to identify the request. This value is used to identify duplicate - requests. If you make a request with the same request ID and the original request is still in - progress or completed, the server ignores the second request. This prevents clients from - accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception - that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /** Optional. An expression for filtering the results of the request. Either the deployment_id and + deployment_type fields must be specified in the format: `deployment_id="id"` or + `deployment_type="DATABASE_ORACLE"`. */ - public java.lang.String getRequestId() { - return requestId; + public java.lang.String getFilter() { + return filter; } /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. An expression for filtering the results of the request. Either the + * deployment_id and deployment_type fields must be specified in the format: + * `deployment_id="id"` or `deployment_type="DATABASE_ORACLE"`. */ - public Patch setRequestId(java.lang.String requestId) { - this.requestId = requestId; + public List setFilter(java.lang.String filter) { + this.filter = filter; return this; } /** - * Optional. A mask specifying which fields in the GoldengateDeployment should be updated. - * A field specified in the mask is updated. If a mask isn't provided, the service treats - * this as an implied field mask equivalent to all fields that are populated (have a non- - * empty value). To clear or unset a field, the field must be explicitly specified in the - * `update_mask`. + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. The maximum value is 1000; values + * above 1000 will be coerced to 1000. */ @com.google.api.client.util.Key - private String updateMask; + private java.lang.Integer pageSize; - /** Optional. A mask specifying which fields in the GoldengateDeployment should be updated. A field - specified in the mask is updated. If a mask isn't provided, the service treats this as an implied - field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset - a field, the field must be explicitly specified in the `update_mask`. + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to + 1000. */ - public String getUpdateMask() { - return updateMask; + public java.lang.Integer getPageSize() { + return pageSize; } /** - * Optional. A mask specifying which fields in the GoldengateDeployment should be updated. - * A field specified in the mask is updated. If a mask isn't provided, the service treats - * this as an implied field mask equivalent to all fields that are populated (have a non- - * empty value). To clear or unset a field, the field must be explicitly specified in the - * `update_mask`. + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. The maximum value is 1000; values + * above 1000 will be coerced to 1000. */ - public Patch setUpdateMask(String updateMask) { - this.updateMask = updateMask; + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; return this; } @Override - public Patch set(String parameterName, Object value) { - return (Patch) super.set(parameterName, value); + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); } } - /** - * Starts a single GoldengateDeployment. - * - * Create a request for the method "goldengateDeployments.start". - * - * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Start#execute()} method to invoke the remote operation. - * - * @param name Required. The name of the Goldengate Deployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.StartGoldengateDeploymentRequest} - * @return the request + + } + /** + * An accessor for creating requests from the GoldengateDeployments collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.GoldengateDeployments.List request = oracledatabase.goldengateDeployments().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public GoldengateDeployments goldengateDeployments() { + return new GoldengateDeployments(); + } + + /** + * The "goldengateDeployments" collection of methods. + */ + public class GoldengateDeployments { + + /** + * Creates a new GoldengateDeployment in a given project and location. + * + * Create a request for the method "goldengateDeployments.create". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param parent Required. The value for parent of the GoldengateDeployment in the following format: + * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateDeployment} + * @return the request */ - public Start start(java.lang.String name, com.google.api.services.oracledatabase.v1.model.StartGoldengateDeploymentRequest content) throws java.io.IOException { - Start result = new Start(name, content); + public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateDeployment content) throws java.io.IOException { + Create result = new Create(parent, content); initialize(result); return result; } - public class Start extends OracleDatabaseRequest { + public class Create extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}:start"; + private static final String REST_PATH = "v1/{+parent}/goldengateDeployments"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Starts a single GoldengateDeployment. + * Creates a new GoldengateDeployment in a given project and location. * - * Create a request for the method "goldengateDeployments.start". + * Create a request for the method "goldengateDeployments.create". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Start#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. *

{@link - * Start#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must * be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the Goldengate Deployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.StartGoldengateDeploymentRequest} + * @param parent Required. The value for parent of the GoldengateDeployment in the following format: + * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateDeployment} * @since 1.13 */ - protected Start(java.lang.String name, com.google.api.services.oracledatabase.v1.model.StartGoldengateDeploymentRequest content) { + protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.GoldengateDeployment content) { super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public Start set$Xgafv(java.lang.String $Xgafv) { - return (Start) super.set$Xgafv($Xgafv); + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); } @Override - public Start setAccessToken(java.lang.String accessToken) { - return (Start) super.setAccessToken(accessToken); + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); } @Override - public Start setAlt(java.lang.String alt) { - return (Start) super.setAlt(alt); + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); } @Override - public Start setCallback(java.lang.String callback) { - return (Start) super.setCallback(callback); + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); } @Override - public Start setFields(java.lang.String fields) { - return (Start) super.setFields(fields); + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); } @Override - public Start setKey(java.lang.String key) { - return (Start) super.setKey(key); + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); } @Override - public Start setOauthToken(java.lang.String oauthToken) { - return (Start) super.setOauthToken(oauthToken); + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); } @Override - public Start setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Start) super.setPrettyPrint(prettyPrint); + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); } @Override - public Start setQuotaUser(java.lang.String quotaUser) { - return (Start) super.setQuotaUser(quotaUser); + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); } @Override - public Start setUploadType(java.lang.String uploadType) { - return (Start) super.setUploadType(uploadType); + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); } @Override - public Start setUploadProtocol(java.lang.String uploadProtocol) { - return (Start) super.setUploadProtocol(uploadProtocol); + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); } /** - * Required. The name of the Goldengate Deployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * Required. The value for parent of the GoldengateDeployment in the following format: + * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Required. The name of the Goldengate Deployment in the following format: - projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + /** Required. The value for parent of the GoldengateDeployment in the following format: + projects/{project}/locations/{location}. */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } /** - * Required. The name of the Goldengate Deployment in the following format: - * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * Required. The value for parent of the GoldengateDeployment in the following format: + * projects/{project}/locations/{location}. */ - public Start setName(java.lang.String name) { + public Create setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } - this.name = name; + this.parent = parent; + return this; + } + + /** + * Required. The ID of the GoldengateDeployment to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. + */ + @com.google.api.client.util.Key + private java.lang.String goldengateDeploymentId; + + /** Required. The ID of the GoldengateDeployment to create. This value is restricted to + (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value + must start with a letter and end with a letter or a number. + */ + public java.lang.String getGoldengateDeploymentId() { + return goldengateDeploymentId; + } + + /** + * Required. The ID of the GoldengateDeployment to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. + */ + public Create setGoldengateDeploymentId(java.lang.String goldengateDeploymentId) { + this.goldengateDeploymentId = goldengateDeploymentId; + return this; + } + + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * since the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you + must retry your request, the server will know to ignore the request if it has already been + completed. The server will guarantee that for at least 60 minutes since the first request. For + example, consider a situation where you make an initial request and the request times out. If you + make the request again with the same request ID, the server can check if original operation with + the same request ID was received, and if so, will ignore the second request. This prevents clients + from accidentally creating duplicate commitments. The request ID must be a valid UUID with the + exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * since the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public Create setRequestId(java.lang.String requestId) { + this.requestId = requestId; return this; } @Override - public Start set(String parameterName, Object value) { - return (Start) super.set(parameterName, value); + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); } } /** - * Stops a single GoldengateDeployment. + * Deletes a single GoldengateDeployment. * - * Create a request for the method "goldengateDeployments.stop". + * Create a request for the method "goldengateDeployments.delete". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Stop#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. * - * @param name Required. The name of the Goldengate Deployment in the following format: + * @param name Required. The name of the GoldengateDeployment in the following format: * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.StopGoldengateDeploymentRequest} * @return the request */ - public Stop stop(java.lang.String name, com.google.api.services.oracledatabase.v1.model.StopGoldengateDeploymentRequest content) throws java.io.IOException { - Stop result = new Stop(name, content); + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); initialize(result); return result; } - public class Stop extends OracleDatabaseRequest { + public class Delete extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}:stop"; + private static final String REST_PATH = "v1/{+name}"; private final java.util.regex.Pattern NAME_PATTERN = java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); /** - * Stops a single GoldengateDeployment. + * Deletes a single GoldengateDeployment. * - * Create a request for the method "goldengateDeployments.stop". + * Create a request for the method "goldengateDeployments.delete". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Stop#execute()} method to invoke the remote operation.

- * {@link Stop#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + *

{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the Goldengate Deployment in the following format: + * @param name Required. The name of the GoldengateDeployment in the following format: * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.StopGoldengateDeploymentRequest} * @since 1.13 */ - protected Stop(java.lang.String name, com.google.api.services.oracledatabase.v1.model.StopGoldengateDeploymentRequest content) { - super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + protected Delete(java.lang.String name) { + super(OracleDatabase.this, "DELETE", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Operation.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), @@ -15582,68 +15930,68 @@ protected Stop(java.lang.String name, com.google.api.services.oracledatabase.v1. } @Override - public Stop set$Xgafv(java.lang.String $Xgafv) { - return (Stop) super.set$Xgafv($Xgafv); + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); } @Override - public Stop setAccessToken(java.lang.String accessToken) { - return (Stop) super.setAccessToken(accessToken); + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); } @Override - public Stop setAlt(java.lang.String alt) { - return (Stop) super.setAlt(alt); + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); } @Override - public Stop setCallback(java.lang.String callback) { - return (Stop) super.setCallback(callback); + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); } @Override - public Stop setFields(java.lang.String fields) { - return (Stop) super.setFields(fields); + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); } @Override - public Stop setKey(java.lang.String key) { - return (Stop) super.setKey(key); + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); } @Override - public Stop setOauthToken(java.lang.String oauthToken) { - return (Stop) super.setOauthToken(oauthToken); + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); } @Override - public Stop setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Stop) super.setPrettyPrint(prettyPrint); + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); } @Override - public Stop setQuotaUser(java.lang.String quotaUser) { - return (Stop) super.setQuotaUser(quotaUser); + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); } @Override - public Stop setUploadType(java.lang.String uploadType) { - return (Stop) super.setUploadType(uploadType); + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); } @Override - public Stop setUploadProtocol(java.lang.String uploadProtocol) { - return (Stop) super.setUploadProtocol(uploadProtocol); + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); } /** - * Required. The name of the Goldengate Deployment in the following format: + * Required. The name of the GoldengateDeployment in the following format: * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The name of the Goldengate Deployment in the following format: + /** Required. The name of the GoldengateDeployment in the following format: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. */ public java.lang.String getName() { @@ -15651,10 +15999,10 @@ public java.lang.String getName() { } /** - * Required. The name of the Goldengate Deployment in the following format: + * Required. The name of the GoldengateDeployment in the following format: * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. */ - public Stop setName(java.lang.String name) { + public Delete setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + @@ -15664,773 +16012,2635 @@ public Stop setName(java.lang.String name) { return this; } - @Override - public Stop set(String parameterName, Object value) { - return (Stop) super.set(parameterName, value); - } - } + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; - } - /** - * An accessor for creating requests from the OdbNetworks collection. - * - *

The typical use is:

- *
-       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
-       *   {@code OracleDatabase.OdbNetworks.List request = oracledatabase.odbNetworks().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public OdbNetworks odbNetworks() { - return new OdbNetworks(); - } + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } - /** - * The "odbNetworks" collection of methods. - */ - public class OdbNetworks { + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Delete setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } /** - * Creates a new ODB Network in a given project and location. + * Gets details of a single GoldengateDeployment. * - * Create a request for the method "odbNetworks.create". + * Create a request for the method "goldengateDeployments.get". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for the OdbNetwork in the following format: - * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.OdbNetwork} + * @param name Required. The name of the GoldengateDeployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. * @return the request */ - public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.OdbNetwork content) throws java.io.IOException { - Create result = new Create(parent, content); + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); initialize(result); return result; } - public class Create extends OracleDatabaseRequest { + public class Get extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+parent}/odbNetworks"; + private static final String REST_PATH = "v1/{+name}"; - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); /** - * Creates a new ODB Network in a given project and location. + * Gets details of a single GoldengateDeployment. * - * Create a request for the method "odbNetworks.create". + * Create a request for the method "goldengateDeployments.get". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. - *

{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

* - * @param parent Required. The parent value for the OdbNetwork in the following format: - * projects/{project}/locations/{location}. - * @param content the {@link com.google.api.services.oracledatabase.v1.model.OdbNetwork} + * @param name Required. The name of the GoldengateDeployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. * @since 1.13 */ - protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.OdbNetwork content) { - super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + protected Get(java.lang.String name) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.GoldengateDeployment.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); } } @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); } @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); } @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); } @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); } @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); } @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); } @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); } @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); } @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); } /** - * Required. The parent value for the OdbNetwork in the following format: - * projects/{project}/locations/{location}. + * Required. The name of the GoldengateDeployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. */ @com.google.api.client.util.Key - private java.lang.String parent; + private java.lang.String name; - /** Required. The parent value for the OdbNetwork in the following format: - projects/{project}/locations/{location}. + /** Required. The name of the GoldengateDeployment in the following format: + projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. */ - public java.lang.String getParent() { - return parent; + public java.lang.String getName() { + return name; } /** - * Required. The parent value for the OdbNetwork in the following format: - * projects/{project}/locations/{location}. + * Required. The name of the GoldengateDeployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. */ - public Create setParent(java.lang.String parent) { + public Get setName(java.lang.String name) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); } - this.parent = parent; + this.name = name; return this; } - /** - * Required. The ID of the OdbNetwork to create. This value is restricted to - * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. - * The value must start with a letter and end with a letter or a number. - */ - @com.google.api.client.util.Key - private java.lang.String odbNetworkId; - - /** Required. The ID of the OdbNetwork to create. This value is restricted to - (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value - must start with a letter and end with a letter or a number. - */ - public java.lang.String getOdbNetworkId() { - return odbNetworkId; - } - - /** - * Required. The ID of the OdbNetwork to create. This value is restricted to - * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. - * The value must start with a letter and end with a letter or a number. - */ - public Create setOdbNetworkId(java.lang.String odbNetworkId) { - this.odbNetworkId = odbNetworkId; - return this; - } - - /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). - */ - @com.google.api.client.util.Key - private java.lang.String requestId; - - /** Optional. An optional ID to identify the request. This value is used to identify duplicate - requests. If you make a request with the same request ID and the original request is still in - progress or completed, the server ignores the second request. This prevents clients from - accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception - that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public java.lang.String getRequestId() { - return requestId; - } - - /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). - */ - public Create setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } - - @Override - public Create set(String parameterName, Object value) { - return (Create) super.set(parameterName, value); + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); } } /** - * Deletes a single ODB Network. + * Lists all the GoldengateDeployments for the given project and location. * - * Create a request for the method "odbNetworks.delete". + * Create a request for the method "goldengateDeployments.list". * * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param name Required. The name of the resource in the following format: - * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @param parent Required. The parent value for GoldengateDeployments in the following format: + * projects/{project}/locations/{location}. * @return the request */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); initialize(result); return result; } - public class Delete extends OracleDatabaseRequest { + public class List extends OracleDatabaseRequest { - private static final String REST_PATH = "v1/{+name}"; + private static final String REST_PATH = "v1/{+parent}/goldengateDeployments"; - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Deletes a single ODB Network. + * Lists all the GoldengateDeployments for the given project and location. * - * Create a request for the method "odbNetworks.delete". + * Create a request for the method "goldengateDeployments.list". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. - *

{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the resource in the following format: - * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @param parent Required. The parent value for GoldengateDeployments in the following format: + * projects/{project}/locations/{location}. * @since 1.13 */ - protected Delete(java.lang.String name) { - super(OracleDatabase.this, "DELETE", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Operation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListGoldengateDeploymentsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } } @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); } @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); } @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); } @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); } @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); } @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); + public List setKey(java.lang.String key) { + return (List) super.setKey(key); } @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); } @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); } @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); } /** - * Required. The name of the resource in the following format: - * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * Required. The parent value for GoldengateDeployments in the following format: + * projects/{project}/locations/{location}. */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Required. The name of the resource in the following format: - projects/{project}/locations/{location}/odbNetworks/{odb_network}. + /** Required. The parent value for GoldengateDeployments in the following format: + projects/{project}/locations/{location}. */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } /** - * Required. The name of the resource in the following format: - * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * Required. The parent value for GoldengateDeployments in the following format: + * projects/{project}/locations/{location}. */ - public Delete setName(java.lang.String name) { + public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } - this.name = name; + this.parent = parent; return this; } - /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). - */ + /** Optional. An expression for filtering the results of the request. */ @com.google.api.client.util.Key - private java.lang.String requestId; + private java.lang.String filter; - /** Optional. An optional ID to identify the request. This value is used to identify duplicate - requests. If you make a request with the same request ID and the original request is still in - progress or completed, the server ignores the second request. This prevents clients from - accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception - that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /** Optional. An expression for filtering the results of the request. */ - public java.lang.String getRequestId() { - return requestId; + public java.lang.String getFilter() { + return filter; } - /** - * Optional. An optional ID to identify the request. This value is used to identify - * duplicate requests. If you make a request with the same request ID and the original - * request is still in progress or completed, the server ignores the second request. This - * prevents clients from accidentally creating duplicate commitments. The request ID must - * be a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). - */ - public Delete setRequestId(java.lang.String requestId) { - this.requestId = requestId; + /** Optional. An expression for filtering the results of the request. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; return this; } - @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); - } - } - /** - * Gets details of a single ODB Network. - * - * Create a request for the method "odbNetworks.get". - * - * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. - * - * @param name Required. The name of the OdbNetwork in the following format: - * projects/{project}/locations/{location}/odbNetworks/{odb_network}. - * @return the request - */ - public Get get(java.lang.String name) throws java.io.IOException { - Get result = new Get(name); - initialize(result); - return result; - } - - public class Get extends OracleDatabaseRequest { + /** Optional. An expression for ordering the results of the request. */ + @com.google.api.client.util.Key + private java.lang.String orderBy; - private static final String REST_PATH = "v1/{+name}"; + /** Optional. An expression for ordering the results of the request. + */ + public java.lang.String getOrderBy() { + return orderBy; + } - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + /** Optional. An expression for ordering the results of the request. */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } /** - * Gets details of a single ODB Network. - * - * Create a request for the method "odbNetworks.get". + * Optional. The maximum number of items to return. If unspecified, at most 50 + * GoldengateDeployments will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of items to return. If unspecified, at most 50 GoldengateDeployments + will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * GoldengateDeployments will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous ListGoldengateDeployments call. + * Provide this to retrieve the subsequent page. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous ListGoldengateDeployments call. Provide this to + retrieve the subsequent page. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous ListGoldengateDeployments call. + * Provide this to retrieve the subsequent page. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Updates the `labels` of a single GoldengateDeployment. + * + * Create a request for the method "goldengateDeployments.patch". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name Identifier. The name of the GoldengateDeployment resource in the following format: + * projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateDeployment} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateDeployment content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + + /** + * Updates the `labels` of a single GoldengateDeployment. + * + * Create a request for the method "goldengateDeployments.patch". * * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

+ * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + *

{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

* - * @param name Required. The name of the OdbNetwork in the following format: - * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @param name Identifier. The name of the GoldengateDeployment resource in the following format: + * projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.GoldengateDeployment} * @since 1.13 */ - protected Get(java.lang.String name) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.OdbNetwork.class); + protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.GoldengateDeployment content) { + super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); } } @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); } @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); } @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } + + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } + + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } + + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } + + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } + + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } + + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } + + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } + + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + /** + * Identifier. The name of the GoldengateDeployment resource in the following format: + * projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. The name of the GoldengateDeployment resource in the following format: + projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The name of the GoldengateDeployment resource in the following format: + * projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} + */ + public Patch setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Patch setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Optional. A mask specifying which fields in the GoldengateDeployment should be updated. + * A field specified in the mask is updated. If a mask isn't provided, the service treats + * this as an implied field mask equivalent to all fields that are populated (have a non- + * empty value). To clear or unset a field, the field must be explicitly specified in the + * `update_mask`. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Optional. A mask specifying which fields in the GoldengateDeployment should be updated. A field + specified in the mask is updated. If a mask isn't provided, the service treats this as an implied + field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset + a field, the field must be explicitly specified in the `update_mask`. + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. A mask specifying which fields in the GoldengateDeployment should be updated. + * A field specified in the mask is updated. If a mask isn't provided, the service treats + * this as an implied field mask equivalent to all fields that are populated (have a non- + * empty value). To clear or unset a field, the field must be explicitly specified in the + * `update_mask`. + */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + /** + * Starts a single GoldengateDeployment. + * + * Create a request for the method "goldengateDeployments.start". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Start#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the Goldengate Deployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.StartGoldengateDeploymentRequest} + * @return the request + */ + public Start start(java.lang.String name, com.google.api.services.oracledatabase.v1.model.StartGoldengateDeploymentRequest content) throws java.io.IOException { + Start result = new Start(name, content); + initialize(result); + return result; + } + + public class Start extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+name}:start"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + + /** + * Starts a single GoldengateDeployment. + * + * Create a request for the method "goldengateDeployments.start". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Start#execute()} method to invoke the remote operation. + *

{@link + * Start#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. The name of the Goldengate Deployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.StartGoldengateDeploymentRequest} + * @since 1.13 + */ + protected Start(java.lang.String name, com.google.api.services.oracledatabase.v1.model.StartGoldengateDeploymentRequest content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + } + } + + @Override + public Start set$Xgafv(java.lang.String $Xgafv) { + return (Start) super.set$Xgafv($Xgafv); + } + + @Override + public Start setAccessToken(java.lang.String accessToken) { + return (Start) super.setAccessToken(accessToken); + } + + @Override + public Start setAlt(java.lang.String alt) { + return (Start) super.setAlt(alt); + } + + @Override + public Start setCallback(java.lang.String callback) { + return (Start) super.setCallback(callback); + } + + @Override + public Start setFields(java.lang.String fields) { + return (Start) super.setFields(fields); + } + + @Override + public Start setKey(java.lang.String key) { + return (Start) super.setKey(key); + } + + @Override + public Start setOauthToken(java.lang.String oauthToken) { + return (Start) super.setOauthToken(oauthToken); + } + + @Override + public Start setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Start) super.setPrettyPrint(prettyPrint); + } + + @Override + public Start setQuotaUser(java.lang.String quotaUser) { + return (Start) super.setQuotaUser(quotaUser); + } + + @Override + public Start setUploadType(java.lang.String uploadType) { + return (Start) super.setUploadType(uploadType); + } + + @Override + public Start setUploadProtocol(java.lang.String uploadProtocol) { + return (Start) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the Goldengate Deployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the Goldengate Deployment in the following format: + projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the Goldengate Deployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + */ + public Start setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Start set(String parameterName, Object value) { + return (Start) super.set(parameterName, value); + } + } + /** + * Stops a single GoldengateDeployment. + * + * Create a request for the method "goldengateDeployments.stop". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Stop#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the Goldengate Deployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.StopGoldengateDeploymentRequest} + * @return the request + */ + public Stop stop(java.lang.String name, com.google.api.services.oracledatabase.v1.model.StopGoldengateDeploymentRequest content) throws java.io.IOException { + Stop result = new Stop(name, content); + initialize(result); + return result; + } + + public class Stop extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+name}:stop"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + + /** + * Stops a single GoldengateDeployment. + * + * Create a request for the method "goldengateDeployments.stop". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Stop#execute()} method to invoke the remote operation.

+ * {@link Stop#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. The name of the Goldengate Deployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.StopGoldengateDeploymentRequest} + * @since 1.13 + */ + protected Stop(java.lang.String name, com.google.api.services.oracledatabase.v1.model.StopGoldengateDeploymentRequest content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + } + } + + @Override + public Stop set$Xgafv(java.lang.String $Xgafv) { + return (Stop) super.set$Xgafv($Xgafv); + } + + @Override + public Stop setAccessToken(java.lang.String accessToken) { + return (Stop) super.setAccessToken(accessToken); + } + + @Override + public Stop setAlt(java.lang.String alt) { + return (Stop) super.setAlt(alt); + } + + @Override + public Stop setCallback(java.lang.String callback) { + return (Stop) super.setCallback(callback); + } + + @Override + public Stop setFields(java.lang.String fields) { + return (Stop) super.setFields(fields); + } + + @Override + public Stop setKey(java.lang.String key) { + return (Stop) super.setKey(key); + } + + @Override + public Stop setOauthToken(java.lang.String oauthToken) { + return (Stop) super.setOauthToken(oauthToken); + } + + @Override + public Stop setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Stop) super.setPrettyPrint(prettyPrint); + } + + @Override + public Stop setQuotaUser(java.lang.String quotaUser) { + return (Stop) super.setQuotaUser(quotaUser); + } + + @Override + public Stop setUploadType(java.lang.String uploadType) { + return (Stop) super.setUploadType(uploadType); + } + + @Override + public Stop setUploadProtocol(java.lang.String uploadProtocol) { + return (Stop) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the Goldengate Deployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the Goldengate Deployment in the following format: + projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the Goldengate Deployment in the following format: + * projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. + */ + public Stop setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/goldengateDeployments/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Stop set(String parameterName, Object value) { + return (Stop) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the OdbNetworks collection. + * + *

The typical use is:

+ *
+       *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+       *   {@code OracleDatabase.OdbNetworks.List request = oracledatabase.odbNetworks().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public OdbNetworks odbNetworks() { + return new OdbNetworks(); + } + + /** + * The "odbNetworks" collection of methods. + */ + public class OdbNetworks { + + /** + * Creates a new ODB Network in a given project and location. + * + * Create a request for the method "odbNetworks.create". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent value for the OdbNetwork in the following format: + * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.OdbNetwork} + * @return the request + */ + public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.OdbNetwork content) throws java.io.IOException { + Create result = new Create(parent, content); + initialize(result); + return result; + } + + public class Create extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+parent}/odbNetworks"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Creates a new ODB Network in a given project and location. + * + * Create a request for the method "odbNetworks.create". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The parent value for the OdbNetwork in the following format: + * projects/{project}/locations/{location}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.OdbNetwork} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.OdbNetwork content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The parent value for the OdbNetwork in the following format: + * projects/{project}/locations/{location}. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent value for the OdbNetwork in the following format: + projects/{project}/locations/{location}. + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent value for the OdbNetwork in the following format: + * projects/{project}/locations/{location}. + */ + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Required. The ID of the OdbNetwork to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. + */ + @com.google.api.client.util.Key + private java.lang.String odbNetworkId; + + /** Required. The ID of the OdbNetwork to create. This value is restricted to + (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value + must start with a letter and end with a letter or a number. + */ + public java.lang.String getOdbNetworkId() { + return odbNetworkId; + } + + /** + * Required. The ID of the OdbNetwork to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. + */ + public Create setOdbNetworkId(java.lang.String odbNetworkId) { + this.odbNetworkId = odbNetworkId; + return this; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Create setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a single ODB Network. + * + * Create a request for the method "odbNetworks.delete". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + + /** + * Deletes a single ODB Network. + * + * Create a request for the method "odbNetworks.delete". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + *

{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(OracleDatabase.this, "DELETE", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the resource in the following format: + projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Delete setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets details of a single ODB Network. + * + * Create a request for the method "odbNetworks.get". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the OdbNetwork in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + + /** + * Gets details of a single ODB Network. + * + * Create a request for the method "odbNetworks.get". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. The name of the OdbNetwork in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.OdbNetwork.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the OdbNetwork in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the OdbNetwork in the following format: + projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the OdbNetwork in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists the ODB Networks in a given project and location. + * + * Create a request for the method "odbNetworks.list". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent value for the ODB Network in the following format: + * projects/{project}/locations/{location}. + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+parent}/odbNetworks"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Lists the ODB Networks in a given project and location. + * + * Create a request for the method "odbNetworks.list". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The parent value for the ODB Network in the following format: + * projects/{project}/locations/{location}. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListOdbNetworksResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The parent value for the ODB Network in the following format: + * projects/{project}/locations/{location}. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent value for the ODB Network in the following format: + projects/{project}/locations/{location}. + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent value for the ODB Network in the following format: + * projects/{project}/locations/{location}. + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** Optional. An expression for filtering the results of the request. */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. An expression for filtering the results of the request. + */ + public java.lang.String getFilter() { + return filter; + } + + /** Optional. An expression for filtering the results of the request. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** Optional. An expression for ordering the results of the request. */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. An expression for ordering the results of the request. + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** Optional. An expression for ordering the results of the request. */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 ODB + * Networks will be returned. The maximum value is 1000; values above 1000 will be coerced + * to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of items to return. If unspecified, at most 50 ODB Networks will be + returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 ODB + * Networks will be returned. The maximum value is 1000; values above 1000 will be coerced + * to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Updates the `labels` and `service_connectivity_config` of a single OdbNetwork. + * + * Create a request for the method "odbNetworks.patch". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name Identifier. The name of the OdbNetwork resource in the following format: + * projects/{project}/locations/{region}/odbNetworks/{odb_network} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.OdbNetwork} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.OdbNetwork content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + + /** + * Updates the `labels` and `service_connectivity_config` of a single OdbNetwork. + * + * Create a request for the method "odbNetworks.patch". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + *

{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Identifier. The name of the OdbNetwork resource in the following format: + * projects/{project}/locations/{region}/odbNetworks/{odb_network} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.OdbNetwork} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.oracledatabase.v1.model.OdbNetwork content) { + super(OracleDatabase.this, "PATCH", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + } + } + + @Override + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); + } + + @Override + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); + } + + @Override + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } + + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } + + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } + + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } + + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } + + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } + + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } + + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } + + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + /** + * Identifier. The name of the OdbNetwork resource in the following format: + * projects/{project}/locations/{region}/odbNetworks/{odb_network} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. The name of the OdbNetwork resource in the following format: + projects/{project}/locations/{region}/odbNetworks/{odb_network} + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The name of the OdbNetwork resource in the following format: + * projects/{project}/locations/{region}/odbNetworks/{odb_network} + */ + public Patch setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. This + * prevents clients from accidentally creating duplicate commitments. The request ID must + * be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Patch setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Optional. A mask specifying which fields in the OdbNetwork should be updated. A field + * specified in the mask is updated. If a mask isn't provided, the service treats this as + * an implied field mask equivalent to all fields that are populated (have a non-empty + * value). To clear or unset a field, the field must be explicitly specified in the + * `update_mask`. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Optional. A mask specifying which fields in the OdbNetwork should be updated. A field specified in + the mask is updated. If a mask isn't provided, the service treats this as an implied field mask + equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, + the field must be explicitly specified in the `update_mask`. + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. A mask specifying which fields in the OdbNetwork should be updated. A field + * specified in the mask is updated. If a mask isn't provided, the service treats this as + * an implied field mask equivalent to all fields that are populated (have a non-empty + * value). To clear or unset a field, the field must be explicitly specified in the + * `update_mask`. + */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + + /** + * An accessor for creating requests from the OdbDnsZones collection. + * + *

The typical use is:

+ *
+         *   {@code OracleDatabase oracledatabase = new OracleDatabase(...);}
+         *   {@code OracleDatabase.OdbDnsZones.List request = oracledatabase.odbDnsZones().list(parameters ...)}
+         * 
+ * + * @return the resource collection + */ + public OdbDnsZones odbDnsZones() { + return new OdbDnsZones(); + } + + /** + * The "odbDnsZones" collection of methods. + */ + public class OdbDnsZones { + + /** + * Creates a new ODB DNS Zone in a given ODB Network. + * + * Create a request for the method "odbDnsZones.create". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param parent Required. The parent value for the OdbDnsZone in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.OdbDnsZone} + * @return the request + */ + public Create create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.OdbDnsZone content) throws java.io.IOException { + Create result = new Create(parent, content); + initialize(result); + return result; + } + + public class Create extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+parent}/odbDnsZones"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + + /** + * Creates a new ODB DNS Zone in a given ODB Network. + * + * Create a request for the method "odbDnsZones.create". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The parent value for the OdbDnsZone in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @param content the {@link com.google.api.services.oracledatabase.v1.model.OdbDnsZone} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.oracledatabase.v1.model.OdbDnsZone content) { + super(OracleDatabase.this, "POST", REST_PATH, content, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The parent value for the OdbDnsZone in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent value for the OdbDnsZone in the following format: + projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent value for the OdbDnsZone in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Required. The ID of the OdbDnsZone to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. + */ + @com.google.api.client.util.Key + private java.lang.String odbDnsZoneId; + + /** Required. The ID of the OdbDnsZone to create. This value is restricted to + (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value + must start with a letter and end with a letter or a number. + */ + public java.lang.String getOdbDnsZoneId() { + return odbDnsZoneId; + } + + /** + * Required. The ID of the OdbDnsZone to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. + * The value must start with a letter and end with a letter or a number. + */ + public Create setOdbDnsZoneId(java.lang.String odbDnsZoneId) { + this.odbDnsZoneId = odbDnsZoneId; + return this; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. + * This prevents clients from accidentally creating duplicate commitments. The request + * ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. + * This prevents clients from accidentally creating duplicate commitments. The request + * ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Create setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a single ODB DNS Zone. + * + * Create a request for the method "odbDnsZones.delete". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zon + * e}. + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends OracleDatabaseRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbDnsZones/[^/]+$"); + + /** + * Deletes a single ODB DNS Zone. + * + * Create a request for the method "odbDnsZones.delete". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + *

{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zon + * e}. + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(OracleDatabase.this, "DELETE", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbDnsZones/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the resource in the following format: projects/{project}/locati + * ons/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the resource in the following format: + projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the resource in the following format: projects/{project}/locati + * ons/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}. + */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbDnsZones/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. + * This prevents clients from accidentally creating duplicate commitments. The request + * ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional ID to identify the request. This value is used to identify duplicate + requests. If you make a request with the same request ID and the original request is still in + progress or completed, the server ignores the second request. This prevents clients from + accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional ID to identify the request. This value is used to identify + * duplicate requests. If you make a request with the same request ID and the original + * request is still in progress or completed, the server ignores the second request. + * This prevents clients from accidentally creating duplicate commitments. The request + * ID must be a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + public Delete setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets details of a single ODB DNS Zone. + * + * Create a request for the method "odbDnsZones.get". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the OdbDnsZone in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zon + * e}. + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; } - @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); - } + public class Get extends OracleDatabaseRequest { - @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); - } + private static final String REST_PATH = "v1/{+name}"; - @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); - } + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbDnsZones/[^/]+$"); - @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); - } + /** + * Gets details of a single ODB DNS Zone. + * + * Create a request for the method "odbDnsZones.get". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. The name of the OdbDnsZone in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zon + * e}. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.OdbDnsZone.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbDnsZones/[^/]+$"); + } + } - @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); - } + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } - @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); - } + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } - @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); - } + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } - @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); - } + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } - @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); - } + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } - @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); - } + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } - /** - * Required. The name of the OdbNetwork in the following format: - * projects/{project}/locations/{location}/odbNetworks/{odb_network}. - */ - @com.google.api.client.util.Key - private java.lang.String name; + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } - /** Required. The name of the OdbNetwork in the following format: - projects/{project}/locations/{location}/odbNetworks/{odb_network}. - */ - public java.lang.String getName() { - return name; - } + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } - /** - * Required. The name of the OdbNetwork in the following format: - * projects/{project}/locations/{location}/odbNetworks/{odb_network}. - */ - public Get setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); } - this.name = name; - return this; - } - @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); - } - } - /** - * Lists the ODB Networks in a given project and location. - * - * Create a request for the method "odbNetworks.list". - * - * This request holds the parameters needed by the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. - * - * @param parent Required. The parent value for the ODB Network in the following format: - * projects/{project}/locations/{location}. - * @return the request - */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); - initialize(result); - return result; - } + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } - public class List extends OracleDatabaseRequest { + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } - private static final String REST_PATH = "v1/{+parent}/odbNetworks"; + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } - private final java.util.regex.Pattern PARENT_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the OdbDnsZone in the following format: projects/{project}/loca + * tions/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the OdbDnsZone in the following format: + projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the OdbDnsZone in the following format: projects/{project}/loca + * tions/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}. + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+/odbDnsZones/[^/]+$"); + } + this.name = name; + return this; + } + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } /** - * Lists the ODB Networks in a given project and location. + * Lists all the ODB DNS Zones in a given ODB Network. * - * Create a request for the method "odbNetworks.list". + * Create a request for the method "odbDnsZones.list". * - * This request holds the parameters needed by the the oracledatabase server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.

+ * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The parent value for the ODB Network in the following format: - * projects/{project}/locations/{location}. - * @since 1.13 + * @param parent Required. The parent value for the OdbDnsZone in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @return the request */ - protected List(java.lang.String parent) { - super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListOdbNetworksResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; } - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } + public class List extends OracleDatabaseRequest { - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } + private static final String REST_PATH = "v1/{+parent}/odbDnsZones"; - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); - } + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + + /** + * Lists all the ODB DNS Zones in a given ODB Network. + * + * Create a request for the method "odbDnsZones.list". + * + * This request holds the parameters needed by the the oracledatabase server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The parent value for the OdbDnsZone in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(OracleDatabase.this, "GET", REST_PATH, null, com.google.api.services.oracledatabase.v1.model.ListOdbDnsZonesResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } - @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); - } + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } - @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); - } + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } - @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); - } + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } - @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); - } + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } - @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); - } + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } - @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); - } + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } - @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); - } + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } - @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); - } + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } - /** - * Required. The parent value for the ODB Network in the following format: - * projects/{project}/locations/{location}. - */ - @com.google.api.client.util.Key - private java.lang.String parent; + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } - /** Required. The parent value for the ODB Network in the following format: - projects/{project}/locations/{location}. - */ - public java.lang.String getParent() { - return parent; - } + /** + * Required. The parent value for the OdbDnsZone in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + @com.google.api.client.util.Key + private java.lang.String parent; - /** - * Required. The parent value for the ODB Network in the following format: - * projects/{project}/locations/{location}. - */ - public List setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + /** Required. The parent value for the OdbDnsZone in the following format: + projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + public java.lang.String getParent() { + return parent; } - this.parent = parent; - return this; - } - /** Optional. An expression for filtering the results of the request. */ - @com.google.api.client.util.Key - private java.lang.String filter; + /** + * Required. The parent value for the OdbDnsZone in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/odbNetworks/[^/]+$"); + } + this.parent = parent; + return this; + } - /** Optional. An expression for filtering the results of the request. - */ - public java.lang.String getFilter() { - return filter; - } + /** Optional. An expression for filtering the results of the request. */ + @com.google.api.client.util.Key + private java.lang.String filter; - /** Optional. An expression for filtering the results of the request. */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } + /** Optional. An expression for filtering the results of the request. + */ + public java.lang.String getFilter() { + return filter; + } - /** Optional. An expression for ordering the results of the request. */ - @com.google.api.client.util.Key - private java.lang.String orderBy; + /** Optional. An expression for filtering the results of the request. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } - /** Optional. An expression for ordering the results of the request. - */ - public java.lang.String getOrderBy() { - return orderBy; - } + /** Optional. An expression for ordering the results of the request. */ + @com.google.api.client.util.Key + private java.lang.String orderBy; - /** Optional. An expression for ordering the results of the request. */ - public List setOrderBy(java.lang.String orderBy) { - this.orderBy = orderBy; - return this; - } + /** Optional. An expression for ordering the results of the request. + */ + public java.lang.String getOrderBy() { + return orderBy; + } - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 ODB - * Networks will be returned. The maximum value is 1000; values above 1000 will be coerced - * to 1000. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; + /** Optional. An expression for ordering the results of the request. */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } - /** Optional. The maximum number of items to return. If unspecified, at most 50 ODB Networks will be - returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * OdbDnsZones will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; - /** - * Optional. The maximum number of items to return. If unspecified, at most 50 ODB - * Networks will be returned. The maximum value is 1000; values above 1000 will be coerced - * to 1000. - */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } + /** Optional. The maximum number of items to return. If unspecified, at most 50 OdbDnsZones will be + returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } - /** Optional. A token identifying a page of results the server should return. */ - @com.google.api.client.util.Key - private java.lang.String pageToken; + /** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * OdbDnsZones will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } - /** Optional. A token identifying a page of results the server should return. - */ - public java.lang.String getPageToken() { - return pageToken; - } + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; - /** Optional. A token identifying a page of results the server should return. */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } } - } + } /** * An accessor for creating requests from the OdbSubnets collection. * diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/CloudVmCluster.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/CloudVmCluster.java index 13cc5f78ee1..834c326b90b 100644 --- a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/CloudVmCluster.java +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/CloudVmCluster.java @@ -123,6 +123,15 @@ public final class CloudVmCluster extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String network; + /** + * Optional. Immutable. The name of the OdbDnsZone for using custom domain name for the VM + * Cluster. Format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String odbDnsZone; + /** * Optional. Immutable. The name of the OdbNetwork associated with the VM Cluster. Format: * projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if @@ -368,6 +377,27 @@ public CloudVmCluster setNetwork(java.lang.String network) { return this; } + /** + * Optional. Immutable. The name of the OdbDnsZone for using custom domain name for the VM + * Cluster. Format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone} + * @return value or {@code null} for none + */ + public java.lang.String getOdbDnsZone() { + return odbDnsZone; + } + + /** + * Optional. Immutable. The name of the OdbDnsZone for using custom domain name for the VM + * Cluster. Format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone} + * @param odbDnsZone odbDnsZone or {@code null} for none + */ + public CloudVmCluster setOdbDnsZone(java.lang.String odbDnsZone) { + this.odbDnsZone = odbDnsZone; + return this; + } + /** * Optional. Immutable. The name of the OdbNetwork associated with the VM Cluster. Format: * projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Column.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Column.java new file mode 100644 index 00000000000..6b656aba908 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Column.java @@ -0,0 +1,91 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * Contains the name and datatype of a column in a SQL Result. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Column extends com.google.api.client.json.GenericJson { + + /** + * Required. Name of the column. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Required. Database-specific type name (e.g., "VARCHAR2(255)", "NUMBER", "DATE", "CLOB") + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Required. Name of the column. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the column. + * @param name name or {@code null} for none + */ + public Column setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Required. Database-specific type name (e.g., "VARCHAR2(255)", "NUMBER", "DATE", "CLOB") + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Required. Database-specific type name (e.g., "VARCHAR2(255)", "NUMBER", "DATE", "CLOB") + * @param type type or {@code null} for none + */ + public Column setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public Column set(String fieldName, Object value) { + return (Column) super.set(fieldName, value); + } + + @Override + public Column clone() { + return (Column) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/DatabaseConnection.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/DatabaseConnection.java new file mode 100644 index 00000000000..92183a0bcc4 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/DatabaseConnection.java @@ -0,0 +1,364 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * Represents DatabaseConnection resource. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class DatabaseConnection extends com.google.api.client.json.GenericJson { + + /** + * Required. Immutable. Oracle Easy Connect or TNS connection string. Example: "your-db- + * host.example.com:1521/YOUR_SERVICE_NAME" + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String connectionString; + + /** + * Output only. The create time of the resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Optional. Immutable. User-friendly display name for the connection. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Optional. Optional: Labels as key-value pairs to organize the resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map labels; + + /** + * Output only. Additional information about the current state of the connection. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lifecycleDetails; + + /** + * Identifier. The resource name of the DatabaseConnection. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Optional. Immutable. For Oracle Database@Google cloud resources. Format: + * projects/{project}/locations/{location}/odbNetworks/{odbNetwork} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String odbNetwork; + + /** + * Optional. The resource name of the GCP Secret Manager secret version containing the password + * for the specified username. Format: + * projects/{project}/secrets/{secret_id}/versions/{version_id} The service's Per-Product Per- + * Project Service Account (P4SA) must have the 'secretmanager.secretAccessor' permission on this + * secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String passwordSecretVersion; + + /** + * Output only. The current state of the connection. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. The update time of the resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Optional. Immutable. The default database username to use for connections. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String username; + + /** + * Optional. Optional: The resource name of the GCP Secret Manager secret version containing + * base64 encoded content of the Oracle Wallet ZIP file required for mTLS/TLS connections. Format: + * projects/{project}/secrets/{secret_id}/versions/{version_id} The service's Per-Product Per- + * Project Service Account (P4SA) must have the 'secretmanager.secretAccessor' permission on this + * secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String walletSecretVersion; + + /** + * Required. Immutable. Oracle Easy Connect or TNS connection string. Example: "your-db- + * host.example.com:1521/YOUR_SERVICE_NAME" + * @return value or {@code null} for none + */ + public java.lang.String getConnectionString() { + return connectionString; + } + + /** + * Required. Immutable. Oracle Easy Connect or TNS connection string. Example: "your-db- + * host.example.com:1521/YOUR_SERVICE_NAME" + * @param connectionString connectionString or {@code null} for none + */ + public DatabaseConnection setConnectionString(java.lang.String connectionString) { + this.connectionString = connectionString; + return this; + } + + /** + * Output only. The create time of the resource. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. The create time of the resource. + * @param createTime createTime or {@code null} for none + */ + public DatabaseConnection setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Optional. Immutable. User-friendly display name for the connection. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Optional. Immutable. User-friendly display name for the connection. + * @param displayName displayName or {@code null} for none + */ + public DatabaseConnection setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Optional. Optional: Labels as key-value pairs to organize the resource. + * @return value or {@code null} for none + */ + public java.util.Map getLabels() { + return labels; + } + + /** + * Optional. Optional: Labels as key-value pairs to organize the resource. + * @param labels labels or {@code null} for none + */ + public DatabaseConnection setLabels(java.util.Map labels) { + this.labels = labels; + return this; + } + + /** + * Output only. Additional information about the current state of the connection. + * @return value or {@code null} for none + */ + public java.lang.String getLifecycleDetails() { + return lifecycleDetails; + } + + /** + * Output only. Additional information about the current state of the connection. + * @param lifecycleDetails lifecycleDetails or {@code null} for none + */ + public DatabaseConnection setLifecycleDetails(java.lang.String lifecycleDetails) { + this.lifecycleDetails = lifecycleDetails; + return this; + } + + /** + * Identifier. The resource name of the DatabaseConnection. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The resource name of the DatabaseConnection. Format: + * projects/{project}/locations/{location}/databaseConnections/{database_connection} + * @param name name or {@code null} for none + */ + public DatabaseConnection setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Optional. Immutable. For Oracle Database@Google cloud resources. Format: + * projects/{project}/locations/{location}/odbNetworks/{odbNetwork} + * @return value or {@code null} for none + */ + public java.lang.String getOdbNetwork() { + return odbNetwork; + } + + /** + * Optional. Immutable. For Oracle Database@Google cloud resources. Format: + * projects/{project}/locations/{location}/odbNetworks/{odbNetwork} + * @param odbNetwork odbNetwork or {@code null} for none + */ + public DatabaseConnection setOdbNetwork(java.lang.String odbNetwork) { + this.odbNetwork = odbNetwork; + return this; + } + + /** + * Optional. The resource name of the GCP Secret Manager secret version containing the password + * for the specified username. Format: + * projects/{project}/secrets/{secret_id}/versions/{version_id} The service's Per-Product Per- + * Project Service Account (P4SA) must have the 'secretmanager.secretAccessor' permission on this + * secret. + * @return value or {@code null} for none + */ + public java.lang.String getPasswordSecretVersion() { + return passwordSecretVersion; + } + + /** + * Optional. The resource name of the GCP Secret Manager secret version containing the password + * for the specified username. Format: + * projects/{project}/secrets/{secret_id}/versions/{version_id} The service's Per-Product Per- + * Project Service Account (P4SA) must have the 'secretmanager.secretAccessor' permission on this + * secret. + * @param passwordSecretVersion passwordSecretVersion or {@code null} for none + */ + public DatabaseConnection setPasswordSecretVersion(java.lang.String passwordSecretVersion) { + this.passwordSecretVersion = passwordSecretVersion; + return this; + } + + /** + * Output only. The current state of the connection. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The current state of the connection. + * @param state state or {@code null} for none + */ + public DatabaseConnection setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Output only. The update time of the resource. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. The update time of the resource. + * @param updateTime updateTime or {@code null} for none + */ + public DatabaseConnection setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + /** + * Optional. Immutable. The default database username to use for connections. + * @return value or {@code null} for none + */ + public java.lang.String getUsername() { + return username; + } + + /** + * Optional. Immutable. The default database username to use for connections. + * @param username username or {@code null} for none + */ + public DatabaseConnection setUsername(java.lang.String username) { + this.username = username; + return this; + } + + /** + * Optional. Optional: The resource name of the GCP Secret Manager secret version containing + * base64 encoded content of the Oracle Wallet ZIP file required for mTLS/TLS connections. Format: + * projects/{project}/secrets/{secret_id}/versions/{version_id} The service's Per-Product Per- + * Project Service Account (P4SA) must have the 'secretmanager.secretAccessor' permission on this + * secret. + * @return value or {@code null} for none + */ + public java.lang.String getWalletSecretVersion() { + return walletSecretVersion; + } + + /** + * Optional. Optional: The resource name of the GCP Secret Manager secret version containing + * base64 encoded content of the Oracle Wallet ZIP file required for mTLS/TLS connections. Format: + * projects/{project}/secrets/{secret_id}/versions/{version_id} The service's Per-Product Per- + * Project Service Account (P4SA) must have the 'secretmanager.secretAccessor' permission on this + * secret. + * @param walletSecretVersion walletSecretVersion or {@code null} for none + */ + public DatabaseConnection setWalletSecretVersion(java.lang.String walletSecretVersion) { + this.walletSecretVersion = walletSecretVersion; + return this; + } + + @Override + public DatabaseConnection set(String fieldName, Object value) { + return (DatabaseConnection) super.set(fieldName, value); + } + + @Override + public DatabaseConnection clone() { + return (DatabaseConnection) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlMetadata.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlMetadata.java new file mode 100644 index 00000000000..0227a5cfdcf --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlMetadata.java @@ -0,0 +1,142 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * Any additional metadata information regarding the execution of the SQL + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExecuteSqlMetadata extends com.google.api.client.json.GenericJson { + + /** + * The time duration taken to execute the sql statement. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String executionDuration; + + /** + * Message related to SQL execution. This field can be used to convey size limit related message. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String message; + + /** + * Set to true if SQL returned a result set larger than the acceptable response size limits and + * the result was truncated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean partialResult; + + /** + * Output only. Status of SQL execution. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * The time duration taken to execute the sql statement. + * @return value or {@code null} for none + */ + public String getExecutionDuration() { + return executionDuration; + } + + /** + * The time duration taken to execute the sql statement. + * @param executionDuration executionDuration or {@code null} for none + */ + public ExecuteSqlMetadata setExecutionDuration(String executionDuration) { + this.executionDuration = executionDuration; + return this; + } + + /** + * Message related to SQL execution. This field can be used to convey size limit related message. + * @return value or {@code null} for none + */ + public java.lang.String getMessage() { + return message; + } + + /** + * Message related to SQL execution. This field can be used to convey size limit related message. + * @param message message or {@code null} for none + */ + public ExecuteSqlMetadata setMessage(java.lang.String message) { + this.message = message; + return this; + } + + /** + * Set to true if SQL returned a result set larger than the acceptable response size limits and + * the result was truncated. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPartialResult() { + return partialResult; + } + + /** + * Set to true if SQL returned a result set larger than the acceptable response size limits and + * the result was truncated. + * @param partialResult partialResult or {@code null} for none + */ + public ExecuteSqlMetadata setPartialResult(java.lang.Boolean partialResult) { + this.partialResult = partialResult; + return this; + } + + /** + * Output only. Status of SQL execution. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. Status of SQL execution. + * @param status status or {@code null} for none + */ + public ExecuteSqlMetadata setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public ExecuteSqlMetadata set(String fieldName, Object value) { + return (ExecuteSqlMetadata) super.set(fieldName, value); + } + + @Override + public ExecuteSqlMetadata clone() { + return (ExecuteSqlMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlRequest.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlRequest.java new file mode 100644 index 00000000000..e92fe68a41f --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlRequest.java @@ -0,0 +1,94 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * The request for `DatabaseConnection.ExecuteSql`. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExecuteSqlRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports + * named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List params; + + /** + * Required. The SQL statement to execute. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sqlStatement; + + /** + * Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports + * named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2). + * @return value or {@code null} for none + */ + public java.util.List getParams() { + return params; + } + + /** + * Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports + * named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2). + * @param params params or {@code null} for none + */ + public ExecuteSqlRequest setParams(java.util.List params) { + this.params = params; + return this; + } + + /** + * Required. The SQL statement to execute. + * @return value or {@code null} for none + */ + public java.lang.String getSqlStatement() { + return sqlStatement; + } + + /** + * Required. The SQL statement to execute. + * @param sqlStatement sqlStatement or {@code null} for none + */ + public ExecuteSqlRequest setSqlStatement(java.lang.String sqlStatement) { + this.sqlStatement = sqlStatement; + return this; + } + + @Override + public ExecuteSqlRequest set(String fieldName, Object value) { + return (ExecuteSqlRequest) super.set(fieldName, value); + } + + @Override + public ExecuteSqlRequest clone() { + return (ExecuteSqlRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlResponse.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlResponse.java new file mode 100644 index 00000000000..4cb9d448ae3 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExecuteSqlResponse.java @@ -0,0 +1,91 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * Execute a SQL statement response. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ExecuteSqlResponse extends com.google.api.client.json.GenericJson { + + /** + * Any additional metadata information regarding the execution of the sql statement. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ExecuteSqlMetadata metadata; + + /** + * SqlResult represents the results for the execution of sql statements. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List sqlResults; + + /** + * Any additional metadata information regarding the execution of the sql statement. + * @return value or {@code null} for none + */ + public ExecuteSqlMetadata getMetadata() { + return metadata; + } + + /** + * Any additional metadata information regarding the execution of the sql statement. + * @param metadata metadata or {@code null} for none + */ + public ExecuteSqlResponse setMetadata(ExecuteSqlMetadata metadata) { + this.metadata = metadata; + return this; + } + + /** + * SqlResult represents the results for the execution of sql statements. + * @return value or {@code null} for none + */ + public java.util.List getSqlResults() { + return sqlResults; + } + + /** + * SqlResult represents the results for the execution of sql statements. + * @param sqlResults sqlResults or {@code null} for none + */ + public ExecuteSqlResponse setSqlResults(java.util.List sqlResults) { + this.sqlResults = sqlResults; + return this; + } + + @Override + public ExecuteSqlResponse set(String fieldName, Object value) { + return (ExecuteSqlResponse) super.set(fieldName, value); + } + + @Override + public ExecuteSqlResponse clone() { + return (ExecuteSqlResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ListDatabaseConnectionsResponse.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ListDatabaseConnectionsResponse.java new file mode 100644 index 00000000000..88bd45bcbcc --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ListDatabaseConnectionsResponse.java @@ -0,0 +1,121 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * The response for `DatabaseConnection.List`. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ListDatabaseConnectionsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of DatabaseConnections. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List databaseConnections; + + static { + // hack to force ProGuard to consider DatabaseConnection used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(DatabaseConnection.class); + } + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unreachable; + + /** + * The list of DatabaseConnections. + * @return value or {@code null} for none + */ + public java.util.List getDatabaseConnections() { + return databaseConnections; + } + + /** + * The list of DatabaseConnections. + * @param databaseConnections databaseConnections or {@code null} for none + */ + public ListDatabaseConnectionsResponse setDatabaseConnections(java.util.List databaseConnections) { + this.databaseConnections = databaseConnections; + return this; + } + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListDatabaseConnectionsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + * @return value or {@code null} for none + */ + public java.util.List getUnreachable() { + return unreachable; + } + + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + * @param unreachable unreachable or {@code null} for none + */ + public ListDatabaseConnectionsResponse setUnreachable(java.util.List unreachable) { + this.unreachable = unreachable; + return this; + } + + @Override + public ListDatabaseConnectionsResponse set(String fieldName, Object value) { + return (ListDatabaseConnectionsResponse) super.set(fieldName, value); + } + + @Override + public ListDatabaseConnectionsResponse clone() { + return (ListDatabaseConnectionsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ListOdbDnsZonesResponse.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ListOdbDnsZonesResponse.java new file mode 100644 index 00000000000..e90d87876f5 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ListOdbDnsZonesResponse.java @@ -0,0 +1,115 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * The response for `OdbDnsZone.List`. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ListOdbDnsZonesResponse extends com.google.api.client.json.GenericJson { + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of OdbDnsZones. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List odbDnsZones; + + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List unreachable; + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListOdbDnsZonesResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The list of OdbDnsZones. + * @return value or {@code null} for none + */ + public java.util.List getOdbDnsZones() { + return odbDnsZones; + } + + /** + * The list of OdbDnsZones. + * @param odbDnsZones odbDnsZones or {@code null} for none + */ + public ListOdbDnsZonesResponse setOdbDnsZones(java.util.List odbDnsZones) { + this.odbDnsZones = odbDnsZones; + return this; + } + + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + * @return value or {@code null} for none + */ + public java.util.List getUnreachable() { + return unreachable; + } + + /** + * Unreachable locations when listing resources across all locations using wildcard location '-'. + * @param unreachable unreachable or {@code null} for none + */ + public ListOdbDnsZonesResponse setUnreachable(java.util.List unreachable) { + this.unreachable = unreachable; + return this; + } + + @Override + public ListOdbDnsZonesResponse set(String fieldName, Object value) { + return (ListOdbDnsZonesResponse) super.set(fieldName, value); + } + + @Override + public ListOdbDnsZonesResponse clone() { + return (ListOdbDnsZonesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/OdbDnsZone.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/OdbDnsZone.java new file mode 100644 index 00000000000..1c168f22d48 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/OdbDnsZone.java @@ -0,0 +1,166 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * Represents OdbDnsZone resource. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class OdbDnsZone extends com.google.api.client.json.GenericJson { + + /** + * Output only. The date and time that the OdbDnsZone was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Required. The DNS suffix for the zone. Ex: abc.example.com. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * Optional. Labels or tags associated with the resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map labels; + + /** + * Identifier. The name of the OdbDnsZone resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. State of the OdbDnsZone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. The date and time that the OdbDnsZone was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. The date and time that the OdbDnsZone was created. + * @param createTime createTime or {@code null} for none + */ + public OdbDnsZone setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Required. The DNS suffix for the zone. Ex: abc.example.com. + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * Required. The DNS suffix for the zone. Ex: abc.example.com. + * @param domain domain or {@code null} for none + */ + public OdbDnsZone setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * Optional. Labels or tags associated with the resource. + * @return value or {@code null} for none + */ + public java.util.Map getLabels() { + return labels; + } + + /** + * Optional. Labels or tags associated with the resource. + * @param labels labels or {@code null} for none + */ + public OdbDnsZone setLabels(java.util.Map labels) { + this.labels = labels; + return this; + } + + /** + * Identifier. The name of the OdbDnsZone resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The name of the OdbDnsZone resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone} + * @param name name or {@code null} for none + */ + public OdbDnsZone setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. State of the OdbDnsZone. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. State of the OdbDnsZone. + * @param state state or {@code null} for none + */ + public OdbDnsZone setState(java.lang.String state) { + this.state = state; + return this; + } + + @Override + public OdbDnsZone set(String fieldName, Object value) { + return (OdbDnsZone) super.set(fieldName, value); + } + + @Override + public OdbDnsZone clone() { + return (OdbDnsZone) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/OdbNetwork.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/OdbNetwork.java index 87b5dbd7bb0..d726ca11080 100644 --- a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/OdbNetwork.java +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/OdbNetwork.java @@ -75,6 +75,24 @@ public final class OdbNetwork extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String network; + /** + * Output only. Indicates whether the OdbNetwork is currently reconciling changes. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean reconciling; + + /** + * Optional. Configuration to enable the service (Oracledatabase@Google Cloud) to establish + * connectivity to the database. This should be specified if you intend to associate this + * OdbNetwork with a DatabaseConnection resource to `ExecuteSQL` on the database, or to create a + * ServiceIntegration with the Database. Please don't specify it otherwise to avoid complicating + * the network setup. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ServiceConnectivityConfig serviceConnectivityConfig; + /** * Output only. State of the ODB Network. * The value may be {@code null}. @@ -190,6 +208,48 @@ public OdbNetwork setNetwork(java.lang.String network) { return this; } + /** + * Output only. Indicates whether the OdbNetwork is currently reconciling changes. + * @return value or {@code null} for none + */ + public java.lang.Boolean getReconciling() { + return reconciling; + } + + /** + * Output only. Indicates whether the OdbNetwork is currently reconciling changes. + * @param reconciling reconciling or {@code null} for none + */ + public OdbNetwork setReconciling(java.lang.Boolean reconciling) { + this.reconciling = reconciling; + return this; + } + + /** + * Optional. Configuration to enable the service (Oracledatabase@Google Cloud) to establish + * connectivity to the database. This should be specified if you intend to associate this + * OdbNetwork with a DatabaseConnection resource to `ExecuteSQL` on the database, or to create a + * ServiceIntegration with the Database. Please don't specify it otherwise to avoid complicating + * the network setup. + * @return value or {@code null} for none + */ + public ServiceConnectivityConfig getServiceConnectivityConfig() { + return serviceConnectivityConfig; + } + + /** + * Optional. Configuration to enable the service (Oracledatabase@Google Cloud) to establish + * connectivity to the database. This should be specified if you intend to associate this + * OdbNetwork with a DatabaseConnection resource to `ExecuteSQL` on the database, or to create a + * ServiceIntegration with the Database. Please don't specify it otherwise to avoid complicating + * the network setup. + * @param serviceConnectivityConfig serviceConnectivityConfig or {@code null} for none + */ + public OdbNetwork setServiceConnectivityConfig(ServiceConnectivityConfig serviceConnectivityConfig) { + this.serviceConnectivityConfig = serviceConnectivityConfig; + return this; + } + /** * Output only. State of the ODB Network. * @return value or {@code null} for none diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/PscInterfaceConfig.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/PscInterfaceConfig.java new file mode 100644 index 00000000000..20b7ba92df0 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/PscInterfaceConfig.java @@ -0,0 +1,74 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * Configuration for a Private Service Connect (PSC) interface used by Oracledatabase@Google Cloud + * to establish private connectivity to the database. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class PscInterfaceConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. The resource name of the Network Attachment that Oracledatabase@Google Cloud will use + * to establish private connectivity to the database via a Private Service Connect Interface + * (PSC-I). Format: projects/{project}/regions/{region}/networkAttachments/{network_attachment} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String networkAttachment; + + /** + * Optional. The resource name of the Network Attachment that Oracledatabase@Google Cloud will use + * to establish private connectivity to the database via a Private Service Connect Interface + * (PSC-I). Format: projects/{project}/regions/{region}/networkAttachments/{network_attachment} + * @return value or {@code null} for none + */ + public java.lang.String getNetworkAttachment() { + return networkAttachment; + } + + /** + * Optional. The resource name of the Network Attachment that Oracledatabase@Google Cloud will use + * to establish private connectivity to the database via a Private Service Connect Interface + * (PSC-I). Format: projects/{project}/regions/{region}/networkAttachments/{network_attachment} + * @param networkAttachment networkAttachment or {@code null} for none + */ + public PscInterfaceConfig setNetworkAttachment(java.lang.String networkAttachment) { + this.networkAttachment = networkAttachment; + return this; + } + + @Override + public PscInterfaceConfig set(String fieldName, Object value) { + return (PscInterfaceConfig) super.set(fieldName, value); + } + + @Override + public PscInterfaceConfig clone() { + return (PscInterfaceConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Row.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Row.java new file mode 100644 index 00000000000..428e41332fa --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Row.java @@ -0,0 +1,67 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * A single row from a sql result. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Row extends com.google.api.client.json.GenericJson { + + /** + * List of values in a row of sql result. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List values; + + /** + * List of values in a row of sql result. + * @return value or {@code null} for none + */ + public java.util.List getValues() { + return values; + } + + /** + * List of values in a row of sql result. + * @param values values or {@code null} for none + */ + public Row setValues(java.util.List values) { + this.values = values; + return this; + } + + @Override + public Row set(String fieldName, Object value) { + return (Row) super.set(fieldName, value); + } + + @Override + public Row clone() { + return (Row) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ServiceConnectivityConfig.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ServiceConnectivityConfig.java new file mode 100644 index 00000000000..e9a1b54d07f --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ServiceConnectivityConfig.java @@ -0,0 +1,70 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * Configuration to enable the service (Oracledatabase@Google Cloud) to establish connectivity to + * the database. This should be specified if you intend to associate this OdbNetwork with a + * DatabaseConnection resource to `ExecuteSQL` on the database, or to create a ServiceIntegration + * with the Database. Please don't specify it otherwise to avoid complicating the network setup. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ServiceConnectivityConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Configuration for Private Service Connect (PSC) interface. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private PscInterfaceConfig pscInterfaceConfig; + + /** + * Optional. Configuration for Private Service Connect (PSC) interface. + * @return value or {@code null} for none + */ + public PscInterfaceConfig getPscInterfaceConfig() { + return pscInterfaceConfig; + } + + /** + * Optional. Configuration for Private Service Connect (PSC) interface. + * @param pscInterfaceConfig pscInterfaceConfig or {@code null} for none + */ + public ServiceConnectivityConfig setPscInterfaceConfig(PscInterfaceConfig pscInterfaceConfig) { + this.pscInterfaceConfig = pscInterfaceConfig; + return this; + } + + @Override + public ServiceConnectivityConfig set(String fieldName, Object value) { + return (ServiceConnectivityConfig) super.set(fieldName, value); + } + + @Override + public ServiceConnectivityConfig clone() { + return (ServiceConnectivityConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/SqlParameter.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/SqlParameter.java new file mode 100644 index 00000000000..990b688aea1 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/SqlParameter.java @@ -0,0 +1,121 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * Represents a bind variable (parameter) for SQL execution. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SqlParameter extends com.google.api.client.json.GenericJson { + + /** + * Optional. The name of the SQL bind parameter (excluding the leading colon, e.g. "id"). If + * omitted, parameters bind positionally based on their order in the list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Optional. Optional: Datatype hint for the parameter (e.g., "VARCHAR2", "NUMBER", "DATE", + * "TIMESTAMP"). If omitted, the Oracle driver will infer the type from the value string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String typeName; + + /** + * Required. Use protobuf.Value so clients can pass ints, bools, and strings natively. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Object value; + + /** + * Optional. The name of the SQL bind parameter (excluding the leading colon, e.g. "id"). If + * omitted, parameters bind positionally based on their order in the list. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Optional. The name of the SQL bind parameter (excluding the leading colon, e.g. "id"). If + * omitted, parameters bind positionally based on their order in the list. + * @param name name or {@code null} for none + */ + public SqlParameter setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Optional. Optional: Datatype hint for the parameter (e.g., "VARCHAR2", "NUMBER", "DATE", + * "TIMESTAMP"). If omitted, the Oracle driver will infer the type from the value string. + * @return value or {@code null} for none + */ + public java.lang.String getTypeName() { + return typeName; + } + + /** + * Optional. Optional: Datatype hint for the parameter (e.g., "VARCHAR2", "NUMBER", "DATE", + * "TIMESTAMP"). If omitted, the Oracle driver will infer the type from the value string. + * @param typeName typeName or {@code null} for none + */ + public SqlParameter setTypeName(java.lang.String typeName) { + this.typeName = typeName; + return this; + } + + /** + * Required. Use protobuf.Value so clients can pass ints, bools, and strings natively. + * @return value or {@code null} for none + */ + public java.lang.Object getValue() { + return value; + } + + /** + * Required. Use protobuf.Value so clients can pass ints, bools, and strings natively. + * @param value value or {@code null} for none + */ + public SqlParameter setValue(java.lang.Object value) { + this.value = value; + return this; + } + + @Override + public SqlParameter set(String fieldName, Object value) { + return (SqlParameter) super.set(fieldName, value); + } + + @Override + public SqlParameter clone() { + return (SqlParameter) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/SqlResult.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/SqlResult.java new file mode 100644 index 00000000000..d86b7967221 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/SqlResult.java @@ -0,0 +1,130 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * SqlResult represents the result for the execution of a sql statement. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SqlResult extends com.google.api.client.json.GenericJson { + + /** + * Optional. The number of rows affected by DML statements (e.g., INSERT, UPDATE, DELETE, MERGE). + * Unset or 0 for SELECT / DDL statements. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long affectedRowCount; + + /** + * List of columns included in the result, including data type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List columns; + + static { + // hack to force ProGuard to consider Column used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(Column.class); + } + + /** + * Rows returned by the SQL statement. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List rows; + + static { + // hack to force ProGuard to consider Row used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(Row.class); + } + + /** + * Optional. The number of rows affected by DML statements (e.g., INSERT, UPDATE, DELETE, MERGE). + * Unset or 0 for SELECT / DDL statements. + * @return value or {@code null} for none + */ + public java.lang.Long getAffectedRowCount() { + return affectedRowCount; + } + + /** + * Optional. The number of rows affected by DML statements (e.g., INSERT, UPDATE, DELETE, MERGE). + * Unset or 0 for SELECT / DDL statements. + * @param affectedRowCount affectedRowCount or {@code null} for none + */ + public SqlResult setAffectedRowCount(java.lang.Long affectedRowCount) { + this.affectedRowCount = affectedRowCount; + return this; + } + + /** + * List of columns included in the result, including data type. + * @return value or {@code null} for none + */ + public java.util.List getColumns() { + return columns; + } + + /** + * List of columns included in the result, including data type. + * @param columns columns or {@code null} for none + */ + public SqlResult setColumns(java.util.List columns) { + this.columns = columns; + return this; + } + + /** + * Rows returned by the SQL statement. + * @return value or {@code null} for none + */ + public java.util.List getRows() { + return rows; + } + + /** + * Rows returned by the SQL statement. + * @param rows rows or {@code null} for none + */ + public SqlResult setRows(java.util.List rows) { + this.rows = rows; + return this; + } + + @Override + public SqlResult set(String fieldName, Object value) { + return (SqlResult) super.set(fieldName, value); + } + + @Override + public SqlResult clone() { + return (SqlResult) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/TestDatabaseConnectionRequest.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/TestDatabaseConnectionRequest.java new file mode 100644 index 00000000000..b1a56b1b466 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/TestDatabaseConnectionRequest.java @@ -0,0 +1,43 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * Request message for `DatabaseConnection.TestDatabaseConnection`. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class TestDatabaseConnectionRequest extends com.google.api.client.json.GenericJson { + + @Override + public TestDatabaseConnectionRequest set(String fieldName, Object value) { + return (TestDatabaseConnectionRequest) super.set(fieldName, value); + } + + @Override + public TestDatabaseConnectionRequest clone() { + return (TestDatabaseConnectionRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/TestDatabaseConnectionResponse.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/TestDatabaseConnectionResponse.java new file mode 100644 index 00000000000..be53f41bc84 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/TestDatabaseConnectionResponse.java @@ -0,0 +1,91 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * Response message for `DatabaseConnection.TestDatabaseConnection`. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class TestDatabaseConnectionResponse extends com.google.api.client.json.GenericJson { + + /** + * Error message if the test connection failed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String errorMessage; + + /** + * Whether the test connection was successful. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean success; + + /** + * Error message if the test connection failed. + * @return value or {@code null} for none + */ + public java.lang.String getErrorMessage() { + return errorMessage; + } + + /** + * Error message if the test connection failed. + * @param errorMessage errorMessage or {@code null} for none + */ + public TestDatabaseConnectionResponse setErrorMessage(java.lang.String errorMessage) { + this.errorMessage = errorMessage; + return this; + } + + /** + * Whether the test connection was successful. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSuccess() { + return success; + } + + /** + * Whether the test connection was successful. + * @param success success or {@code null} for none + */ + public TestDatabaseConnectionResponse setSuccess(java.lang.Boolean success) { + this.success = success; + return this; + } + + @Override + public TestDatabaseConnectionResponse set(String fieldName, Object value) { + return (TestDatabaseConnectionResponse) super.set(fieldName, value); + } + + @Override + public TestDatabaseConnectionResponse clone() { + return (TestDatabaseConnectionResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Value.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Value.java new file mode 100644 index 00000000000..a58b687b882 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/Value.java @@ -0,0 +1,94 @@ +/* + * 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.oracledatabase.v1.model; + +/** + * A single value in a row from a sql result. + * + *

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 Oracle Database@Google Cloud API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Value extends com.google.api.client.json.GenericJson { + + /** + * Set to true if the cell value is NULL. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean nullValue; + + /** + * The cell value represented in string format. Timestamps should be converted using RFC3339Nano + * format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Set to true if the cell value is NULL. + * @return value or {@code null} for none + */ + public java.lang.Boolean getNullValue() { + return nullValue; + } + + /** + * Set to true if the cell value is NULL. + * @param nullValue nullValue or {@code null} for none + */ + public Value setNullValue(java.lang.Boolean nullValue) { + this.nullValue = nullValue; + return this; + } + + /** + * The cell value represented in string format. Timestamps should be converted using RFC3339Nano + * format. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * The cell value represented in string format. Timestamps should be converted using RFC3339Nano + * format. + * @param value value or {@code null} for none + */ + public Value setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public Value set(String fieldName, Object value) { + return (Value) super.set(fieldName, value); + } + + @Override + public Value clone() { + return (Value) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/pom.xml b/clients/google-api-services-oracledatabase/v1/2.0.0/pom.xml index 9fed71d8f9d..07e8c7fc0cd 100644 --- a/clients/google-api-services-oracledatabase/v1/2.0.0/pom.xml +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-oracledatabase - v1-rev20261012-2.0.0 - Oracle Database@Google Cloud API v1-rev20261012-2.0.0 + v1-rev20261019-2.0.0 + Oracle Database@Google Cloud API v1-rev20261019-2.0.0 jar 2011 diff --git a/clients/google-api-services-oracledatabase/v1/README.md b/clients/google-api-services-oracledatabase/v1/README.md index 3040707fb67..24e01cf06c8 100644 --- a/clients/google-api-services-oracledatabase/v1/README.md +++ b/clients/google-api-services-oracledatabase/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-oracledatabase - v1-rev20261012-2.0.0 + v1-rev20261019-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-oracledatabase:v1-rev20261012-2.0.0' + implementation 'com.google.apis:google-api-services-oracledatabase:v1-rev20261019-2.0.0' } ```