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 BigQuery Connection 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 ConnectorConfigurationTls extends com.google.api.client.json.GenericJson { + + /** + * Optional. The mode of TLS configuration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mode; + + /** + * Optional. Private PKI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ConnectorConfigurationTlsPrivatePki privatePki; + + /** + * Optional. Web PKI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ConnectorConfigurationTlsWebPki webPki; + + /** + * Optional. The mode of TLS configuration. + * @return value or {@code null} for none + */ + public java.lang.String getMode() { + return mode; + } + + /** + * Optional. The mode of TLS configuration. + * @param mode mode or {@code null} for none + */ + public ConnectorConfigurationTls setMode(java.lang.String mode) { + this.mode = mode; + return this; + } + + /** + * Optional. Private PKI. + * @return value or {@code null} for none + */ + public ConnectorConfigurationTlsPrivatePki getPrivatePki() { + return privatePki; + } + + /** + * Optional. Private PKI. + * @param privatePki privatePki or {@code null} for none + */ + public ConnectorConfigurationTls setPrivatePki(ConnectorConfigurationTlsPrivatePki privatePki) { + this.privatePki = privatePki; + return this; + } + + /** + * Optional. Web PKI. + * @return value or {@code null} for none + */ + public ConnectorConfigurationTlsWebPki getWebPki() { + return webPki; + } + + /** + * Optional. Web PKI. + * @param webPki webPki or {@code null} for none + */ + public ConnectorConfigurationTls setWebPki(ConnectorConfigurationTlsWebPki webPki) { + this.webPki = webPki; + return this; + } + + @Override + public ConnectorConfigurationTls set(String fieldName, Object value) { + return (ConnectorConfigurationTls) super.set(fieldName, value); + } + + @Override + public ConnectorConfigurationTls clone() { + return (ConnectorConfigurationTls) super.clone(); + } + +} diff --git a/clients/google-api-services-bigqueryconnection/v1/2.0.0/com/google/api/services/bigqueryconnection/v1/model/ConnectorConfigurationTlsPrivatePki.java b/clients/google-api-services-bigqueryconnection/v1/2.0.0/com/google/api/services/bigqueryconnection/v1/model/ConnectorConfigurationTlsPrivatePki.java new file mode 100644 index 00000000000..00f6344ba16 --- /dev/null +++ b/clients/google-api-services-bigqueryconnection/v1/2.0.0/com/google/api/services/bigqueryconnection/v1/model/ConnectorConfigurationTlsPrivatePki.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.bigqueryconnection.v1.model; + +/** + * Private PKI. + * + *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 BigQuery Connection 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 ConnectorConfigurationTlsPrivatePki extends com.google.api.client.json.GenericJson { + + /** + * Optional. a PEM-encoded list of certificates to trust + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trustedCertificatesPem; + + /** + * Optional. a PEM-encoded list of certificates to trust + * @return value or {@code null} for none + */ + public java.lang.String getTrustedCertificatesPem() { + return trustedCertificatesPem; + } + + /** + * Optional. a PEM-encoded list of certificates to trust + * @param trustedCertificatesPem trustedCertificatesPem or {@code null} for none + */ + public ConnectorConfigurationTlsPrivatePki setTrustedCertificatesPem(java.lang.String trustedCertificatesPem) { + this.trustedCertificatesPem = trustedCertificatesPem; + return this; + } + + @Override + public ConnectorConfigurationTlsPrivatePki set(String fieldName, Object value) { + return (ConnectorConfigurationTlsPrivatePki) super.set(fieldName, value); + } + + @Override + public ConnectorConfigurationTlsPrivatePki clone() { + return (ConnectorConfigurationTlsPrivatePki) super.clone(); + } + +} diff --git a/clients/google-api-services-bigqueryconnection/v1/2.0.0/com/google/api/services/bigqueryconnection/v1/model/ConnectorConfigurationTlsWebPki.java b/clients/google-api-services-bigqueryconnection/v1/2.0.0/com/google/api/services/bigqueryconnection/v1/model/ConnectorConfigurationTlsWebPki.java new file mode 100644 index 00000000000..25beab94f54 --- /dev/null +++ b/clients/google-api-services-bigqueryconnection/v1/2.0.0/com/google/api/services/bigqueryconnection/v1/model/ConnectorConfigurationTlsWebPki.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.bigqueryconnection.v1.model; + +/** + * Web PKI. + * + *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 BigQuery Connection 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 ConnectorConfigurationTlsWebPki extends com.google.api.client.json.GenericJson { + + @Override + public ConnectorConfigurationTlsWebPki set(String fieldName, Object value) { + return (ConnectorConfigurationTlsWebPki) super.set(fieldName, value); + } + + @Override + public ConnectorConfigurationTlsWebPki clone() { + return (ConnectorConfigurationTlsWebPki) super.clone(); + } + +} diff --git a/clients/google-api-services-bigqueryconnection/v1/2.0.0/pom.xml b/clients/google-api-services-bigqueryconnection/v1/2.0.0/pom.xml index 2708c9d1383..9de64d03356 100644 --- a/clients/google-api-services-bigqueryconnection/v1/2.0.0/pom.xml +++ b/clients/google-api-services-bigqueryconnection/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@