{@link DisableIdentityConnector#initialize(com.google.api.client.googleap + * is.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.
+ * + * @param name Required. The name of the Cloud VM Cluster in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DisableCloudVmClusterIdentityConnectorRequest} + * @since 1.13 + */ + protected DisableIdentityConnector(java.lang.String name, com.google.api.services.oracledatabase.v1.model.DisableCloudVmClusterIdentityConnectorRequest 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/[^/]+/cloudVmClusters/[^/]+$"); + } + } + + @Override + public DisableIdentityConnector set$Xgafv(java.lang.String $Xgafv) { + return (DisableIdentityConnector) super.set$Xgafv($Xgafv); + } + + @Override + public DisableIdentityConnector setAccessToken(java.lang.String accessToken) { + return (DisableIdentityConnector) super.setAccessToken(accessToken); + } + + @Override + public DisableIdentityConnector setAlt(java.lang.String alt) { + return (DisableIdentityConnector) super.setAlt(alt); + } + + @Override + public DisableIdentityConnector setCallback(java.lang.String callback) { + return (DisableIdentityConnector) super.setCallback(callback); + } + + @Override + public DisableIdentityConnector setFields(java.lang.String fields) { + return (DisableIdentityConnector) super.setFields(fields); + } + + @Override + public DisableIdentityConnector setKey(java.lang.String key) { + return (DisableIdentityConnector) super.setKey(key); + } + + @Override + public DisableIdentityConnector setOauthToken(java.lang.String oauthToken) { + return (DisableIdentityConnector) super.setOauthToken(oauthToken); + } + + @Override + public DisableIdentityConnector setPrettyPrint(java.lang.Boolean prettyPrint) { + return (DisableIdentityConnector) super.setPrettyPrint(prettyPrint); + } + + @Override + public DisableIdentityConnector setQuotaUser(java.lang.String quotaUser) { + return (DisableIdentityConnector) super.setQuotaUser(quotaUser); + } + + @Override + public DisableIdentityConnector setUploadType(java.lang.String uploadType) { + return (DisableIdentityConnector) super.setUploadType(uploadType); + } + + @Override + public DisableIdentityConnector setUploadProtocol(java.lang.String uploadProtocol) { + return (DisableIdentityConnector) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the Cloud VM Cluster in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the Cloud VM Cluster in the following format: + projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the Cloud VM Cluster in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster} + */ + public DisableIdentityConnector 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/[^/]+/cloudVmClusters/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public DisableIdentityConnector set(String parameterName, Object value) { + return (DisableIdentityConnector) super.set(parameterName, value); + } + } + /** + * Enables the Workload Identity Connector for a Cloud VM Cluster. + * + * Create a request for the method "cloudVmClusters.enableIdentityConnector". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link EnableIdentityConnector#execute()} method to invoke the + * remote operation. + * + * @param name Required. The name of the Cloud VM Cluster in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.EnableCloudVmClusterIdentityConnectorRequest} + * @return the request + */ + public EnableIdentityConnector enableIdentityConnector(java.lang.String name, com.google.api.services.oracledatabase.v1.model.EnableCloudVmClusterIdentityConnectorRequest content) throws java.io.IOException { + EnableIdentityConnector result = new EnableIdentityConnector(name, content); + initialize(result); + return result; + } + + public class EnableIdentityConnector extends OracleDatabaseRequest{@link EnableIdentityConnector#initialize(com.google.api.client.googleapi + * s.services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.
+ * + * @param name Required. The name of the Cloud VM Cluster in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.EnableCloudVmClusterIdentityConnectorRequest} + * @since 1.13 + */ + protected EnableIdentityConnector(java.lang.String name, com.google.api.services.oracledatabase.v1.model.EnableCloudVmClusterIdentityConnectorRequest 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/[^/]+/cloudVmClusters/[^/]+$"); + } + } + + @Override + public EnableIdentityConnector set$Xgafv(java.lang.String $Xgafv) { + return (EnableIdentityConnector) super.set$Xgafv($Xgafv); + } + + @Override + public EnableIdentityConnector setAccessToken(java.lang.String accessToken) { + return (EnableIdentityConnector) super.setAccessToken(accessToken); + } + + @Override + public EnableIdentityConnector setAlt(java.lang.String alt) { + return (EnableIdentityConnector) super.setAlt(alt); + } + + @Override + public EnableIdentityConnector setCallback(java.lang.String callback) { + return (EnableIdentityConnector) super.setCallback(callback); + } + + @Override + public EnableIdentityConnector setFields(java.lang.String fields) { + return (EnableIdentityConnector) super.setFields(fields); + } + + @Override + public EnableIdentityConnector setKey(java.lang.String key) { + return (EnableIdentityConnector) super.setKey(key); + } + + @Override + public EnableIdentityConnector setOauthToken(java.lang.String oauthToken) { + return (EnableIdentityConnector) super.setOauthToken(oauthToken); + } + + @Override + public EnableIdentityConnector setPrettyPrint(java.lang.Boolean prettyPrint) { + return (EnableIdentityConnector) super.setPrettyPrint(prettyPrint); + } + + @Override + public EnableIdentityConnector setQuotaUser(java.lang.String quotaUser) { + return (EnableIdentityConnector) super.setQuotaUser(quotaUser); + } + + @Override + public EnableIdentityConnector setUploadType(java.lang.String uploadType) { + return (EnableIdentityConnector) super.setUploadType(uploadType); + } + + @Override + public EnableIdentityConnector setUploadProtocol(java.lang.String uploadProtocol) { + return (EnableIdentityConnector) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the Cloud VM Cluster in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the Cloud VM Cluster in the following format: + projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the Cloud VM Cluster in the following format: + * projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster} + */ + public EnableIdentityConnector 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/[^/]+/cloudVmClusters/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public EnableIdentityConnector set(String parameterName, Object value) { + return (EnableIdentityConnector) super.set(parameterName, value); + } + } /** * Gets details of a single VM Cluster. * @@ -10417,6 +10699,288 @@ public Delete set(String parameterName, Object value) { return (Delete) super.set(parameterName, value); } } + /** + * Disables the Workload Identity Connector for an Exadb VM Cluster. + * + * Create a request for the method "exadbVmClusters.disableIdentityConnector". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link DisableIdentityConnector#execute()} method to invoke the + * remote operation. + * + * @param name Required. The name of the Exadb VM Cluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DisableExadbVmClusterIdentityConnectorRequest} + * @return the request + */ + public DisableIdentityConnector disableIdentityConnector(java.lang.String name, com.google.api.services.oracledatabase.v1.model.DisableExadbVmClusterIdentityConnectorRequest content) throws java.io.IOException { + DisableIdentityConnector result = new DisableIdentityConnector(name, content); + initialize(result); + return result; + } + + public class DisableIdentityConnector extends OracleDatabaseRequest{@link DisableIdentityConnector#initialize(com.google.api.client.googleap + * is.services.AbstractGoogleClientRequest)} must be called to initialize this instance + * immediately after invoking the constructor.
+ * + * @param name Required. The name of the Exadb VM Cluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.DisableExadbVmClusterIdentityConnectorRequest} + * @since 1.13 + */ + protected DisableIdentityConnector(java.lang.String name, com.google.api.services.oracledatabase.v1.model.DisableExadbVmClusterIdentityConnectorRequest 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/[^/]+/exadbVmClusters/[^/]+$"); + } + } + + @Override + public DisableIdentityConnector set$Xgafv(java.lang.String $Xgafv) { + return (DisableIdentityConnector) super.set$Xgafv($Xgafv); + } + + @Override + public DisableIdentityConnector setAccessToken(java.lang.String accessToken) { + return (DisableIdentityConnector) super.setAccessToken(accessToken); + } + + @Override + public DisableIdentityConnector setAlt(java.lang.String alt) { + return (DisableIdentityConnector) super.setAlt(alt); + } + + @Override + public DisableIdentityConnector setCallback(java.lang.String callback) { + return (DisableIdentityConnector) super.setCallback(callback); + } + + @Override + public DisableIdentityConnector setFields(java.lang.String fields) { + return (DisableIdentityConnector) super.setFields(fields); + } + + @Override + public DisableIdentityConnector setKey(java.lang.String key) { + return (DisableIdentityConnector) super.setKey(key); + } + + @Override + public DisableIdentityConnector setOauthToken(java.lang.String oauthToken) { + return (DisableIdentityConnector) super.setOauthToken(oauthToken); + } + + @Override + public DisableIdentityConnector setPrettyPrint(java.lang.Boolean prettyPrint) { + return (DisableIdentityConnector) super.setPrettyPrint(prettyPrint); + } + + @Override + public DisableIdentityConnector setQuotaUser(java.lang.String quotaUser) { + return (DisableIdentityConnector) super.setQuotaUser(quotaUser); + } + + @Override + public DisableIdentityConnector setUploadType(java.lang.String uploadType) { + return (DisableIdentityConnector) super.setUploadType(uploadType); + } + + @Override + public DisableIdentityConnector setUploadProtocol(java.lang.String uploadProtocol) { + return (DisableIdentityConnector) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the Exadb VM Cluster 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 Exadb VM Cluster in the following format: + projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the Exadb VM Cluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster} + */ + public DisableIdentityConnector 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/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public DisableIdentityConnector set(String parameterName, Object value) { + return (DisableIdentityConnector) super.set(parameterName, value); + } + } + /** + * Enables the Workload Identity Connector for an Exadb VM Cluster. + * + * Create a request for the method "exadbVmClusters.enableIdentityConnector". + * + * This request holds the parameters needed by the oracledatabase server. After setting any + * optional parameters, call the {@link EnableIdentityConnector#execute()} method to invoke the + * remote operation. + * + * @param name Required. The name of the Exadb VM Cluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.EnableExadbVmClusterIdentityConnectorRequest} + * @return the request + */ + public EnableIdentityConnector enableIdentityConnector(java.lang.String name, com.google.api.services.oracledatabase.v1.model.EnableExadbVmClusterIdentityConnectorRequest content) throws java.io.IOException { + EnableIdentityConnector result = new EnableIdentityConnector(name, content); + initialize(result); + return result; + } + + public class EnableIdentityConnector extends OracleDatabaseRequest{@link EnableIdentityConnector#initialize(com.google.api.client.googleapi + * s.services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.
+ * + * @param name Required. The name of the Exadb VM Cluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster} + * @param content the {@link com.google.api.services.oracledatabase.v1.model.EnableExadbVmClusterIdentityConnectorRequest} + * @since 1.13 + */ + protected EnableIdentityConnector(java.lang.String name, com.google.api.services.oracledatabase.v1.model.EnableExadbVmClusterIdentityConnectorRequest 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/[^/]+/exadbVmClusters/[^/]+$"); + } + } + + @Override + public EnableIdentityConnector set$Xgafv(java.lang.String $Xgafv) { + return (EnableIdentityConnector) super.set$Xgafv($Xgafv); + } + + @Override + public EnableIdentityConnector setAccessToken(java.lang.String accessToken) { + return (EnableIdentityConnector) super.setAccessToken(accessToken); + } + + @Override + public EnableIdentityConnector setAlt(java.lang.String alt) { + return (EnableIdentityConnector) super.setAlt(alt); + } + + @Override + public EnableIdentityConnector setCallback(java.lang.String callback) { + return (EnableIdentityConnector) super.setCallback(callback); + } + + @Override + public EnableIdentityConnector setFields(java.lang.String fields) { + return (EnableIdentityConnector) super.setFields(fields); + } + + @Override + public EnableIdentityConnector setKey(java.lang.String key) { + return (EnableIdentityConnector) super.setKey(key); + } + + @Override + public EnableIdentityConnector setOauthToken(java.lang.String oauthToken) { + return (EnableIdentityConnector) super.setOauthToken(oauthToken); + } + + @Override + public EnableIdentityConnector setPrettyPrint(java.lang.Boolean prettyPrint) { + return (EnableIdentityConnector) super.setPrettyPrint(prettyPrint); + } + + @Override + public EnableIdentityConnector setQuotaUser(java.lang.String quotaUser) { + return (EnableIdentityConnector) super.setQuotaUser(quotaUser); + } + + @Override + public EnableIdentityConnector setUploadType(java.lang.String uploadType) { + return (EnableIdentityConnector) super.setUploadType(uploadType); + } + + @Override + public EnableIdentityConnector setUploadProtocol(java.lang.String uploadProtocol) { + return (EnableIdentityConnector) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the Exadb VM Cluster 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 Exadb VM Cluster in the following format: + projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the Exadb VM Cluster in the following format: + * projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster} + */ + public EnableIdentityConnector 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/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public EnableIdentityConnector set(String parameterName, Object value) { + return (EnableIdentityConnector) super.set(parameterName, value); + } + } /** * Gets details of a single Exadb (Exascale) VM Cluster. * 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 834c326b90b..18107d860f0 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 @@ -100,6 +100,16 @@ public final class CloudVmCluster extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private IdentityConnector identityConnector; + /** + * Optional. Input only. Immutable. If set to true, disables the automatic provisioning of the + * Workload Identity Connector during creation. If set to false or omitted, the Workload Identity + * Connector will be automatically provisioned by default. Note: Provisioning the Workload + * Identity Connector is a prerequisite for enabling Google Cloud CMEK. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean identityConnectorDisabled; + /** * Optional. Labels or tags associated with the VM Cluster. * The value may be {@code null}. @@ -322,6 +332,29 @@ public CloudVmCluster setIdentityConnector(IdentityConnector identityConnector) return this; } + /** + * Optional. Input only. Immutable. If set to true, disables the automatic provisioning of the + * Workload Identity Connector during creation. If set to false or omitted, the Workload Identity + * Connector will be automatically provisioned by default. Note: Provisioning the Workload + * Identity Connector is a prerequisite for enabling Google Cloud CMEK. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIdentityConnectorDisabled() { + return identityConnectorDisabled; + } + + /** + * Optional. Input only. Immutable. If set to true, disables the automatic provisioning of the + * Workload Identity Connector during creation. If set to false or omitted, the Workload Identity + * Connector will be automatically provisioned by default. Note: Provisioning the Workload + * Identity Connector is a prerequisite for enabling Google Cloud CMEK. + * @param identityConnectorDisabled identityConnectorDisabled or {@code null} for none + */ + public CloudVmCluster setIdentityConnectorDisabled(java.lang.Boolean identityConnectorDisabled) { + this.identityConnectorDisabled = identityConnectorDisabled; + return this; + } + /** * Optional. Labels or tags associated with the VM Cluster. * @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/DisableCloudVmClusterIdentityConnectorRequest.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/DisableCloudVmClusterIdentityConnectorRequest.java new file mode 100644 index 00000000000..01d0221b455 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/DisableCloudVmClusterIdentityConnectorRequest.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; + +/** + * The request for `CloudVmCluster.DisableCloudVmClusterIdentityConnector`. + * + *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 DisableCloudVmClusterIdentityConnectorRequest extends com.google.api.client.json.GenericJson { + + @Override + public DisableCloudVmClusterIdentityConnectorRequest set(String fieldName, Object value) { + return (DisableCloudVmClusterIdentityConnectorRequest) super.set(fieldName, value); + } + + @Override + public DisableCloudVmClusterIdentityConnectorRequest clone() { + return (DisableCloudVmClusterIdentityConnectorRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/DisableExadbVmClusterIdentityConnectorRequest.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/DisableExadbVmClusterIdentityConnectorRequest.java new file mode 100644 index 00000000000..c507f7794c0 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/DisableExadbVmClusterIdentityConnectorRequest.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; + +/** + * The request for `ExadbVmCluster.DisableExadbVmClusterIdentityConnector`. + * + *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 DisableExadbVmClusterIdentityConnectorRequest extends com.google.api.client.json.GenericJson { + + @Override + public DisableExadbVmClusterIdentityConnectorRequest set(String fieldName, Object value) { + return (DisableExadbVmClusterIdentityConnectorRequest) super.set(fieldName, value); + } + + @Override + public DisableExadbVmClusterIdentityConnectorRequest clone() { + return (DisableExadbVmClusterIdentityConnectorRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/EnableCloudVmClusterIdentityConnectorRequest.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/EnableCloudVmClusterIdentityConnectorRequest.java new file mode 100644 index 00000000000..747ab2bb843 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/EnableCloudVmClusterIdentityConnectorRequest.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; + +/** + * The request for `CloudVmCluster.EnableCloudVmClusterIdentityConnector`. + * + *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 EnableCloudVmClusterIdentityConnectorRequest extends com.google.api.client.json.GenericJson { + + @Override + public EnableCloudVmClusterIdentityConnectorRequest set(String fieldName, Object value) { + return (EnableCloudVmClusterIdentityConnectorRequest) super.set(fieldName, value); + } + + @Override + public EnableCloudVmClusterIdentityConnectorRequest clone() { + return (EnableCloudVmClusterIdentityConnectorRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/EnableExadbVmClusterIdentityConnectorRequest.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/EnableExadbVmClusterIdentityConnectorRequest.java new file mode 100644 index 00000000000..0593acd23e3 --- /dev/null +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/EnableExadbVmClusterIdentityConnectorRequest.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; + +/** + * The request for `ExadbVmCluster.EnableExadbVmClusterIdentityConnector`. + * + *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 EnableExadbVmClusterIdentityConnectorRequest extends com.google.api.client.json.GenericJson { + + @Override + public EnableExadbVmClusterIdentityConnectorRequest set(String fieldName, Object value) { + return (EnableExadbVmClusterIdentityConnectorRequest) super.set(fieldName, value); + } + + @Override + public EnableExadbVmClusterIdentityConnectorRequest clone() { + return (EnableExadbVmClusterIdentityConnectorRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExadbVmCluster.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExadbVmCluster.java index 4684f696704..d04e4b7e4f4 100644 --- a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExadbVmCluster.java +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/ExadbVmCluster.java @@ -80,6 +80,16 @@ public final class ExadbVmCluster extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private IdentityConnector identityConnector; + /** + * Optional. Input only. Immutable. If set to true, disables the automatic provisioning of the + * Workload Identity Connector during creation. If set to false or omitted, the Workload Identity + * Connector will be automatically provisioned by default. Note: Provisioning the Workload + * Identity Connector is a prerequisite for enabling Google Cloud CMEK. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean identityConnectorDisabled; + /** * Optional. The labels or tags associated with the ExadbVmCluster. * The value may be {@code null}. @@ -236,6 +246,29 @@ public ExadbVmCluster setIdentityConnector(IdentityConnector identityConnector) return this; } + /** + * Optional. Input only. Immutable. If set to true, disables the automatic provisioning of the + * Workload Identity Connector during creation. If set to false or omitted, the Workload Identity + * Connector will be automatically provisioned by default. Note: Provisioning the Workload + * Identity Connector is a prerequisite for enabling Google Cloud CMEK. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIdentityConnectorDisabled() { + return identityConnectorDisabled; + } + + /** + * Optional. Input only. Immutable. If set to true, disables the automatic provisioning of the + * Workload Identity Connector during creation. If set to false or omitted, the Workload Identity + * Connector will be automatically provisioned by default. Note: Provisioning the Workload + * Identity Connector is a prerequisite for enabling Google Cloud CMEK. + * @param identityConnectorDisabled identityConnectorDisabled or {@code null} for none + */ + public ExadbVmCluster setIdentityConnectorDisabled(java.lang.Boolean identityConnectorDisabled) { + this.identityConnectorDisabled = identityConnectorDisabled; + return this; + } + /** * Optional. The labels or tags associated with the ExadbVmCluster. * @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/IdentityConnector.java b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/IdentityConnector.java index bb7ae191d1d..9616ba281b4 100644 --- a/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/IdentityConnector.java +++ b/clients/google-api-services-oracledatabase/v1/2.0.0/com/google/api/services/oracledatabase/v1/model/IdentityConnector.java @@ -38,6 +38,22 @@ public final class IdentityConnector extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.String connectionState; + /** + * Output only. The unique partner identifier for the Identity Connector, used to establish secure + * cross-cloud access between Google Cloud and OCI. This corresponds directly to the ID of the + * OracleDbGcpIdentityConnector resource in Oracle Cloud Infrastructure (OCI). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String identityConnectorId; + + /** + * Output only. Additional information about the current lifecycle state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String lifecycleStateDetails; + /** * Output only. A google managed service account on which customers can grant roles to access * resources in the customer project. Example: `p176944527254-55-75119d87fd8f@gcp-sa- @@ -47,6 +63,16 @@ public final class IdentityConnector extends com.google.api.client.json.GenericJ @com.google.api.client.util.Key private java.lang.String serviceAgentEmail; + /** + * Output only. The resource name of the Workload Identity Pool configured for identity federation + * with OCI. This exact pool name can be used to configure VPC Service Controls (VPC-SC) egress + * rules. Format: + * `projects/{project}/locations/global/workloadIdentityPools/{workload_identity_pool}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String workloadIdentityPool; + /** * Output only. The connection state of the identity connector. * @return value or {@code null} for none @@ -64,6 +90,44 @@ public IdentityConnector setConnectionState(java.lang.String connectionState) { return this; } + /** + * Output only. The unique partner identifier for the Identity Connector, used to establish secure + * cross-cloud access between Google Cloud and OCI. This corresponds directly to the ID of the + * OracleDbGcpIdentityConnector resource in Oracle Cloud Infrastructure (OCI). + * @return value or {@code null} for none + */ + public java.lang.String getIdentityConnectorId() { + return identityConnectorId; + } + + /** + * Output only. The unique partner identifier for the Identity Connector, used to establish secure + * cross-cloud access between Google Cloud and OCI. This corresponds directly to the ID of the + * OracleDbGcpIdentityConnector resource in Oracle Cloud Infrastructure (OCI). + * @param identityConnectorId identityConnectorId or {@code null} for none + */ + public IdentityConnector setIdentityConnectorId(java.lang.String identityConnectorId) { + this.identityConnectorId = identityConnectorId; + return this; + } + + /** + * Output only. Additional information about the current lifecycle state. + * @return value or {@code null} for none + */ + public java.lang.String getLifecycleStateDetails() { + return lifecycleStateDetails; + } + + /** + * Output only. Additional information about the current lifecycle state. + * @param lifecycleStateDetails lifecycleStateDetails or {@code null} for none + */ + public IdentityConnector setLifecycleStateDetails(java.lang.String lifecycleStateDetails) { + this.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + /** * Output only. A google managed service account on which customers can grant roles to access * resources in the customer project. Example: `p176944527254-55-75119d87fd8f@gcp-sa- @@ -85,6 +149,29 @@ public IdentityConnector setServiceAgentEmail(java.lang.String serviceAgentEmail return this; } + /** + * Output only. The resource name of the Workload Identity Pool configured for identity federation + * with OCI. This exact pool name can be used to configure VPC Service Controls (VPC-SC) egress + * rules. Format: + * `projects/{project}/locations/global/workloadIdentityPools/{workload_identity_pool}` + * @return value or {@code null} for none + */ + public java.lang.String getWorkloadIdentityPool() { + return workloadIdentityPool; + } + + /** + * Output only. The resource name of the Workload Identity Pool configured for identity federation + * with OCI. This exact pool name can be used to configure VPC Service Controls (VPC-SC) egress + * rules. Format: + * `projects/{project}/locations/global/workloadIdentityPools/{workload_identity_pool}` + * @param workloadIdentityPool workloadIdentityPool or {@code null} for none + */ + public IdentityConnector setWorkloadIdentityPool(java.lang.String workloadIdentityPool) { + this.workloadIdentityPool = workloadIdentityPool; + return this; + } + @Override public IdentityConnector set(String fieldName, Object value) { return (IdentityConnector) super.set(fieldName, value); 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 9e75fd5a90b..aca7f14e34a 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 @@