From aeaed0cd3ef985bbbd3047e374c7fcc53154d3c1 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 5 Sep 2023 21:22:13 -0400 Subject: [PATCH] chore: regenerate datastream client (#17994) Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml --- .../v1/2.0.0/README.md | 4 +- .../services/datastream/v1/Datastream.java | 12 +-- .../datastream/v1/model/MysqlLogPosition.java | 12 +-- .../datastream/v1/model/OracleProfile.java | 24 +++++ .../datastream/v1/model/OracleSslConfig.java | 96 +++++++++++++++++++ .../services/datastream/v1/model/Stream.java | 27 ++++++ .../v1/2.0.0/pom.xml | 4 +- 7 files changed, 163 insertions(+), 16 deletions(-) create mode 100644 clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OracleSslConfig.java diff --git a/clients/google-api-services-datastream/v1/2.0.0/README.md b/clients/google-api-services-datastream/v1/2.0.0/README.md index f1d63d5c875..77a29a09516 100644 --- a/clients/google-api-services-datastream/v1/2.0.0/README.md +++ b/clients/google-api-services-datastream/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-datastream - v1-rev20230802-2.0.0 + v1-rev20230902-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-datastream:v1-rev20230802-2.0.0' + implementation 'com.google.apis:google-api-services-datastream:v1-rev20230902-2.0.0' } ``` diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/Datastream.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/Datastream.java index b6d9ab9e4ed..c6d47c91de1 100644 --- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/Datastream.java +++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/Datastream.java @@ -4932,33 +4932,33 @@ public Patch setName(java.lang.String name) { return this; } - /** The binary log file name. */ + /** Required. The binary log file name. */ @com.google.api.client.util.Key("cdcStrategy.specificStartPosition.mysqlLogPosition.logFile") private java.lang.String cdcStrategySpecificStartPositionMysqlLogPositionLogFile; - /** The binary log file name. + /** Required. The binary log file name. */ public java.lang.String getCdcStrategySpecificStartPositionMysqlLogPositionLogFile() { return cdcStrategySpecificStartPositionMysqlLogPositionLogFile; } - /** The binary log file name. */ + /** Required. The binary log file name. */ public Patch setCdcStrategySpecificStartPositionMysqlLogPositionLogFile(java.lang.String cdcStrategySpecificStartPositionMysqlLogPositionLogFile) { this.cdcStrategySpecificStartPositionMysqlLogPositionLogFile = cdcStrategySpecificStartPositionMysqlLogPositionLogFile; return this; } - /** The position within the binary log file. Default is head of file. */ + /** Optional. The position within the binary log file. Default is head of file. */ @com.google.api.client.util.Key("cdcStrategy.specificStartPosition.mysqlLogPosition.logPosition") private java.lang.Integer cdcStrategySpecificStartPositionMysqlLogPositionLogPosition; - /** The position within the binary log file. Default is head of file. + /** Optional. The position within the binary log file. Default is head of file. */ public java.lang.Integer getCdcStrategySpecificStartPositionMysqlLogPositionLogPosition() { return cdcStrategySpecificStartPositionMysqlLogPositionLogPosition; } - /** The position within the binary log file. Default is head of file. */ + /** Optional. The position within the binary log file. Default is head of file. */ public Patch setCdcStrategySpecificStartPositionMysqlLogPositionLogPosition(java.lang.Integer cdcStrategySpecificStartPositionMysqlLogPositionLogPosition) { this.cdcStrategySpecificStartPositionMysqlLogPositionLogPosition = cdcStrategySpecificStartPositionMysqlLogPositionLogPosition; return this; diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/MysqlLogPosition.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/MysqlLogPosition.java index 1799632656f..8d626ab352d 100644 --- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/MysqlLogPosition.java +++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/MysqlLogPosition.java @@ -30,21 +30,21 @@ public final class MysqlLogPosition extends com.google.api.client.json.GenericJson { /** - * The binary log file name. + * Required. The binary log file name. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String logFile; /** - * The position within the binary log file. Default is head of file. + * Optional. The position within the binary log file. Default is head of file. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer logPosition; /** - * The binary log file name. + * Required. The binary log file name. * @return value or {@code null} for none */ public java.lang.String getLogFile() { @@ -52,7 +52,7 @@ public java.lang.String getLogFile() { } /** - * The binary log file name. + * Required. The binary log file name. * @param logFile logFile or {@code null} for none */ public MysqlLogPosition setLogFile(java.lang.String logFile) { @@ -61,7 +61,7 @@ public MysqlLogPosition setLogFile(java.lang.String logFile) { } /** - * The position within the binary log file. Default is head of file. + * Optional. The position within the binary log file. Default is head of file. * @return value or {@code null} for none */ public java.lang.Integer getLogPosition() { @@ -69,7 +69,7 @@ public java.lang.Integer getLogPosition() { } /** - * The position within the binary log file. Default is head of file. + * Optional. The position within the binary log file. Default is head of file. * @param logPosition logPosition or {@code null} for none */ public MysqlLogPosition setLogPosition(java.lang.Integer logPosition) { diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OracleProfile.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OracleProfile.java index 45017446568..8add4100305 100644 --- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OracleProfile.java +++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OracleProfile.java @@ -50,6 +50,13 @@ public final class OracleProfile extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String hostname; + /** + * Optional. SSL configuration for the Oracle connection. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private OracleSslConfig oracleSslConfig; + /** * Required. Password for the Oracle connection. * The value may be {@code null}. @@ -122,6 +129,23 @@ public OracleProfile setHostname(java.lang.String hostname) { return this; } + /** + * Optional. SSL configuration for the Oracle connection. + * @return value or {@code null} for none + */ + public OracleSslConfig getOracleSslConfig() { + return oracleSslConfig; + } + + /** + * Optional. SSL configuration for the Oracle connection. + * @param oracleSslConfig oracleSslConfig or {@code null} for none + */ + public OracleProfile setOracleSslConfig(OracleSslConfig oracleSslConfig) { + this.oracleSslConfig = oracleSslConfig; + return this; + } + /** * Required. Password for the Oracle connection. * @return value or {@code null} for none diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OracleSslConfig.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OracleSslConfig.java new file mode 100644 index 00000000000..24ce9e151f1 --- /dev/null +++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OracleSslConfig.java @@ -0,0 +1,96 @@ +/* + * 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.datastream.v1.model; + +/** + * Oracle SSL configuration information. + * + *

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 Datastream 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 OracleSslConfig extends com.google.api.client.json.GenericJson { + + /** + * Input only. PEM-encoded certificate of the CA that signed the source database server's + * certificate. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String caCertificate; + + /** + * Output only. Indicates whether the ca_certificate field has been set for this Connection- + * Profile. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean caCertificateSet; + + /** + * Input only. PEM-encoded certificate of the CA that signed the source database server's + * certificate. + * @return value or {@code null} for none + */ + public java.lang.String getCaCertificate() { + return caCertificate; + } + + /** + * Input only. PEM-encoded certificate of the CA that signed the source database server's + * certificate. + * @param caCertificate caCertificate or {@code null} for none + */ + public OracleSslConfig setCaCertificate(java.lang.String caCertificate) { + this.caCertificate = caCertificate; + return this; + } + + /** + * Output only. Indicates whether the ca_certificate field has been set for this Connection- + * Profile. + * @return value or {@code null} for none + */ + public java.lang.Boolean getCaCertificateSet() { + return caCertificateSet; + } + + /** + * Output only. Indicates whether the ca_certificate field has been set for this Connection- + * Profile. + * @param caCertificateSet caCertificateSet or {@code null} for none + */ + public OracleSslConfig setCaCertificateSet(java.lang.Boolean caCertificateSet) { + this.caCertificateSet = caCertificateSet; + return this; + } + + @Override + public OracleSslConfig set(String fieldName, Object value) { + return (OracleSslConfig) super.set(fieldName, value); + } + + @Override + public OracleSslConfig clone() { + return (OracleSslConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Stream.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Stream.java index f3efe0a0c60..8d0d555a5e7 100644 --- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Stream.java +++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Stream.java @@ -94,6 +94,14 @@ public final class Stream extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.Map labels; + /** + * Output only. If the stream was recovered, the time of the last recovery. Note: This field is + * currently experimental. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastRecoveryTime; + /** * Output only. The stream's name. * The value may be {@code null}. @@ -264,6 +272,25 @@ public Stream setLabels(java.util.Map labels) { return this; } + /** + * Output only. If the stream was recovered, the time of the last recovery. Note: This field is + * currently experimental. + * @return value or {@code null} for none + */ + public String getLastRecoveryTime() { + return lastRecoveryTime; + } + + /** + * Output only. If the stream was recovered, the time of the last recovery. Note: This field is + * currently experimental. + * @param lastRecoveryTime lastRecoveryTime or {@code null} for none + */ + public Stream setLastRecoveryTime(String lastRecoveryTime) { + this.lastRecoveryTime = lastRecoveryTime; + return this; + } + /** * Output only. The stream's name. * @return value or {@code null} for none diff --git a/clients/google-api-services-datastream/v1/2.0.0/pom.xml b/clients/google-api-services-datastream/v1/2.0.0/pom.xml index 1a61180e2d0..50681c35bab 100644 --- a/clients/google-api-services-datastream/v1/2.0.0/pom.xml +++ b/clients/google-api-services-datastream/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-datastream - v1-rev20230802-2.0.0 - Datastream API v1-rev20230802-2.0.0 + v1-rev20230902-2.0.0 + Datastream API v1-rev20230902-2.0.0 jar 2011