Skip to content

Commit

Permalink
chore: regenerate datamigration client (#18075)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Sep 13, 2023
1 parent f6c55e5 commit 16c0a62
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 4 deletions.
4 changes: 2 additions & 2 deletions clients/google-api-services-datamigration/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-datamigration</artifactId>
<version>v1-rev20230802-2.0.0</version>
<version>v1-rev20230911-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-datamigration:v1-rev20230802-2.0.0'
implementation 'com.google.apis:google-api-services-datamigration:v1-rev20230911-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ public final class CloudSqlSettings extends com.google.api.client.json.GenericJs
@com.google.api.client.util.Key
private java.lang.String collation;

/**
* Optional. Configuration for data cache.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private DataCacheConfig dataCacheConfig;

/**
* The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
* The value may be {@code null}.
Expand Down Expand Up @@ -282,6 +289,23 @@ public CloudSqlSettings setCollation(java.lang.String collation) {
return this;
}

/**
* Optional. Configuration for data cache.
* @return value or {@code null} for none
*/
public DataCacheConfig getDataCacheConfig() {
return dataCacheConfig;
}

/**
* Optional. Configuration for data cache.
* @param dataCacheConfig dataCacheConfig or {@code null} for none
*/
public CloudSqlSettings setDataCacheConfig(DataCacheConfig dataCacheConfig) {
this.dataCacheConfig = dataCacheConfig;
return this;
}

/**
* The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -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.datamigration.v1.model;

/**
* Data cache configurations.
*
* <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 Database Migration 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 DataCacheConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. Whether data cache is enabled for the instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean dataCacheEnabled;

/**
* Optional. Whether data cache is enabled for the instance.
* @return value or {@code null} for none
*/
public java.lang.Boolean getDataCacheEnabled() {
return dataCacheEnabled;
}

/**
* Optional. Whether data cache is enabled for the instance.
* @param dataCacheEnabled dataCacheEnabled or {@code null} for none
*/
public DataCacheConfig setDataCacheEnabled(java.lang.Boolean dataCacheEnabled) {
this.dataCacheEnabled = dataCacheEnabled;
return this;
}

@Override
public DataCacheConfig set(String fieldName, Object value) {
return (DataCacheConfig) super.set(fieldName, value);
}

@Override
public DataCacheConfig clone() {
return (DataCacheConfig) super.clone();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-datamigration/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-datamigration</artifactId>
<version>v1-rev20230802-2.0.0</version>
<name>Database Migration API v1-rev20230802-2.0.0</name>
<version>v1-rev20230911-2.0.0</version>
<name>Database Migration API v1-rev20230911-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down

0 comments on commit 16c0a62

Please sign in to comment.