Skip to content

Commit fc7dcd3

Browse files
1 parent c0ec9aa commit fc7dcd3

File tree

18 files changed

+492
-32
lines changed

18 files changed

+492
-32
lines changed

clients/google-api-services-metastore/v1alpha/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-metastore</artifactId>
25-
<version>v1alpha-rev20240325-2.0.0</version>
25+
<version>v1alpha-rev20240411-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-metastore:v1alpha-rev20240325-2.0.0'
38+
implementation 'com.google.apis:google-api-services-metastore:v1alpha-rev20240411-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-metastore/v1alpha/2.0.0/com/google/api/services/metastore/v1alpha/DataprocMetastore.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4703,7 +4703,7 @@ public Patch set(String parameterName, Object value) {
47034703
}
47044704
}
47054705
/**
4706-
* Query DPMS metadata.
4706+
* Query Dataproc Metastore metadata.
47074707
*
47084708
* Create a request for the method "services.queryMetadata".
47094709
*
@@ -4729,7 +4729,7 @@ public class QueryMetadata extends DataprocMetastoreRequest<com.google.api.servi
47294729
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/services/[^/]+$");
47304730

47314731
/**
4732-
* Query DPMS metadata.
4732+
* Query Dataproc Metastore metadata.
47334733
*
47344734
* Create a request for the method "services.queryMetadata".
47354735
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.metastore.v1alpha.model;
18+
19+
/**
20+
* Represents the autoscaling configuration of a metastore service.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Dataproc Metastore API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class AutoscalingConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Whether or not autoscaling is enabled for this service.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean autoscalingEnabled;
39+
40+
/**
41+
* Output only. The scaling factor of a service with autoscaling enabled.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Float autoscalingFactor;
46+
47+
/**
48+
* Optional. The LimitConfig of the service.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private LimitConfig limitConfig;
53+
54+
/**
55+
* Optional. Whether or not autoscaling is enabled for this service.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.Boolean getAutoscalingEnabled() {
59+
return autoscalingEnabled;
60+
}
61+
62+
/**
63+
* Optional. Whether or not autoscaling is enabled for this service.
64+
* @param autoscalingEnabled autoscalingEnabled or {@code null} for none
65+
*/
66+
public AutoscalingConfig setAutoscalingEnabled(java.lang.Boolean autoscalingEnabled) {
67+
this.autoscalingEnabled = autoscalingEnabled;
68+
return this;
69+
}
70+
71+
/**
72+
* Output only. The scaling factor of a service with autoscaling enabled.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.Float getAutoscalingFactor() {
76+
return autoscalingFactor;
77+
}
78+
79+
/**
80+
* Output only. The scaling factor of a service with autoscaling enabled.
81+
* @param autoscalingFactor autoscalingFactor or {@code null} for none
82+
*/
83+
public AutoscalingConfig setAutoscalingFactor(java.lang.Float autoscalingFactor) {
84+
this.autoscalingFactor = autoscalingFactor;
85+
return this;
86+
}
87+
88+
/**
89+
* Optional. The LimitConfig of the service.
90+
* @return value or {@code null} for none
91+
*/
92+
public LimitConfig getLimitConfig() {
93+
return limitConfig;
94+
}
95+
96+
/**
97+
* Optional. The LimitConfig of the service.
98+
* @param limitConfig limitConfig or {@code null} for none
99+
*/
100+
public AutoscalingConfig setLimitConfig(LimitConfig limitConfig) {
101+
this.limitConfig = limitConfig;
102+
return this;
103+
}
104+
105+
@Override
106+
public AutoscalingConfig set(String fieldName, Object value) {
107+
return (AutoscalingConfig) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public AutoscalingConfig clone() {
112+
return (AutoscalingConfig) super.clone();
113+
}
114+
115+
}

clients/google-api-services-metastore/v1alpha/2.0.0/com/google/api/services/metastore/v1alpha/model/CloudSQLMigrationConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
package com.google.api.services.metastore.v1alpha.model;
1818

1919
/**
20-
* Configuration information for migrating from self-managed hive metastore on GCP using Cloud SQL
21-
* as the backend database to DPMS.
20+
* Configuration information for migrating from self-managed hive metastore on Google Cloud using
21+
* Cloud SQL as the backend database to Dataproc Metastore.
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2424
* transmitted over HTTP when working with the Dataproc Metastore API. For a detailed explanation
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.metastore.v1alpha.model;
18+
19+
/**
20+
* Represents the autoscaling limit configuration of a metastore service.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Dataproc Metastore API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class LimitConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The highest scaling factor that the service should be autoscaled to.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Float maxScalingFactor;
39+
40+
/**
41+
* Optional. The lowest scaling factor that the service should be autoscaled to.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Float minScalingFactor;
46+
47+
/**
48+
* Optional. The highest scaling factor that the service should be autoscaled to.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.Float getMaxScalingFactor() {
52+
return maxScalingFactor;
53+
}
54+
55+
/**
56+
* Optional. The highest scaling factor that the service should be autoscaled to.
57+
* @param maxScalingFactor maxScalingFactor or {@code null} for none
58+
*/
59+
public LimitConfig setMaxScalingFactor(java.lang.Float maxScalingFactor) {
60+
this.maxScalingFactor = maxScalingFactor;
61+
return this;
62+
}
63+
64+
/**
65+
* Optional. The lowest scaling factor that the service should be autoscaled to.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.Float getMinScalingFactor() {
69+
return minScalingFactor;
70+
}
71+
72+
/**
73+
* Optional. The lowest scaling factor that the service should be autoscaled to.
74+
* @param minScalingFactor minScalingFactor or {@code null} for none
75+
*/
76+
public LimitConfig setMinScalingFactor(java.lang.Float minScalingFactor) {
77+
this.minScalingFactor = minScalingFactor;
78+
return this;
79+
}
80+
81+
@Override
82+
public LimitConfig set(String fieldName, Object value) {
83+
return (LimitConfig) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public LimitConfig clone() {
88+
return (LimitConfig) super.clone();
89+
}
90+
91+
}

clients/google-api-services-metastore/v1alpha/2.0.0/com/google/api/services/metastore/v1alpha/model/MigrationExecution.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
public final class MigrationExecution extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Configuration information specific to migrating from self-managed hive metastore on GCP using
35-
* Cloud SQL as the backend database to DPMS.
34+
* Configuration information specific to migrating from self-managed hive metastore on Google
35+
* Cloud using Cloud SQL as the backend database to Dataproc Metastore.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
@@ -83,17 +83,17 @@ public final class MigrationExecution extends com.google.api.client.json.Generic
8383
private java.lang.String stateMessage;
8484

8585
/**
86-
* Configuration information specific to migrating from self-managed hive metastore on GCP using
87-
* Cloud SQL as the backend database to DPMS.
86+
* Configuration information specific to migrating from self-managed hive metastore on Google
87+
* Cloud using Cloud SQL as the backend database to Dataproc Metastore.
8888
* @return value or {@code null} for none
8989
*/
9090
public CloudSQLMigrationConfig getCloudSqlMigrationConfig() {
9191
return cloudSqlMigrationConfig;
9292
}
9393

9494
/**
95-
* Configuration information specific to migrating from self-managed hive metastore on GCP using
96-
* Cloud SQL as the backend database to DPMS.
95+
* Configuration information specific to migrating from self-managed hive metastore on Google
96+
* Cloud using Cloud SQL as the backend database to Dataproc Metastore.
9797
* @param cloudSqlMigrationConfig cloudSqlMigrationConfig or {@code null} for none
9898
*/
9999
public MigrationExecution setCloudSqlMigrationConfig(CloudSQLMigrationConfig cloudSqlMigrationConfig) {

clients/google-api-services-metastore/v1alpha/2.0.0/com/google/api/services/metastore/v1alpha/model/ScalingConfig.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class ScalingConfig extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. The autoscaling configuration.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private AutoscalingConfig autoscalingConfig;
39+
3340
/**
3441
* An enum of readable instance sizes, with each instance size mapping to a float value (e.g.
3542
* InstanceSize.EXTRA_SMALL = scaling_factor(0.1))
@@ -46,6 +53,23 @@ public final class ScalingConfig extends com.google.api.client.json.GenericJson
4653
@com.google.api.client.util.Key
4754
private java.lang.Float scalingFactor;
4855

56+
/**
57+
* Optional. The autoscaling configuration.
58+
* @return value or {@code null} for none
59+
*/
60+
public AutoscalingConfig getAutoscalingConfig() {
61+
return autoscalingConfig;
62+
}
63+
64+
/**
65+
* Optional. The autoscaling configuration.
66+
* @param autoscalingConfig autoscalingConfig or {@code null} for none
67+
*/
68+
public ScalingConfig setAutoscalingConfig(AutoscalingConfig autoscalingConfig) {
69+
this.autoscalingConfig = autoscalingConfig;
70+
return this;
71+
}
72+
4973
/**
5074
* An enum of readable instance sizes, with each instance size mapping to a float value (e.g.
5175
* InstanceSize.EXTRA_SMALL = scaling_factor(0.1))

clients/google-api-services-metastore/v1alpha/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-metastore</artifactId>
11-
<version>v1alpha-rev20240325-2.0.0</version>
12-
<name>Dataproc Metastore API v1alpha-rev20240325-2.0.0</name>
11+
<version>v1alpha-rev20240411-2.0.0</version>
12+
<name>Dataproc Metastore API v1alpha-rev20240411-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-metastore/v1alpha/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-metastore</artifactId>
25-
<version>v1alpha-rev20240325-2.0.0</version>
25+
<version>v1alpha-rev20240411-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-metastore:v1alpha-rev20240325-2.0.0'
38+
implementation 'com.google.apis:google-api-services-metastore:v1alpha-rev20240411-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-metastore/v1beta/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-metastore</artifactId>
25-
<version>v1beta-rev20240325-2.0.0</version>
25+
<version>v1beta-rev20240411-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-metastore:v1beta-rev20240325-2.0.0'
38+
implementation 'com.google.apis:google-api-services-metastore:v1beta-rev20240411-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-metastore/v1beta/2.0.0/com/google/api/services/metastore/v1beta/DataprocMetastore.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4703,7 +4703,7 @@ public Patch set(String parameterName, Object value) {
47034703
}
47044704
}
47054705
/**
4706-
* Query DPMS metadata.
4706+
* Query Dataproc Metastore metadata.
47074707
*
47084708
* Create a request for the method "services.queryMetadata".
47094709
*
@@ -4729,7 +4729,7 @@ public class QueryMetadata extends DataprocMetastoreRequest<com.google.api.servi
47294729
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/services/[^/]+$");
47304730

47314731
/**
4732-
* Query DPMS metadata.
4732+
* Query Dataproc Metastore metadata.
47334733
*
47344734
* Create a request for the method "services.queryMetadata".
47354735
*

0 commit comments

Comments
 (0)