Skip to content

Commit

Permalink
chore: regenerate datastream client (#17994)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Sep 6, 2023
1 parent e128617 commit aeaed0c
Show file tree
Hide file tree
Showing 7 changed files with 163 additions and 16 deletions.
4 changes: 2 additions & 2 deletions clients/google-api-services-datastream/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-datastream</artifactId>
<version>v1-rev20230802-2.0.0</version>
<version>v1-rev20230902-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,29 @@
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() {
return logFile;
}

/**
* 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) {
Expand All @@ -61,15 +61,15 @@ 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() {
return logPosition;
}

/**
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, java.lang.String> 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}.
Expand Down Expand Up @@ -264,6 +272,25 @@ public Stream setLabels(java.util.Map<String, java.lang.String> 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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-datastream/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-datastream</artifactId>
<version>v1-rev20230802-2.0.0</version>
<name>Datastream API v1-rev20230802-2.0.0</name>
<version>v1-rev20230902-2.0.0</version>
<name>Datastream API v1-rev20230902-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down

0 comments on commit aeaed0c

Please sign in to comment.