Skip to content

Commit 21f9806

Browse files
1 parent 4554c41 commit 21f9806

File tree

7 files changed

+102
-12
lines changed

7 files changed

+102
-12
lines changed

clients/google-api-services-dataproc/v1/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-dataproc</artifactId>
25-
<version>v1-rev20240617-2.0.0</version>
25+
<version>v1-rev20240821-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-dataproc:v1-rev20240617-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataproc:v1-rev20240821-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-dataproc/v1/2.0.0/com/google/api/services/dataproc/model/Session.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ public final class Session extends com.google.api.client.json.GenericJson {
100100
@com.google.api.client.util.Key
101101
private java.lang.String sessionTemplate;
102102

103+
/**
104+
* Optional. Spark connect session config.
105+
* The value may be {@code null}.
106+
*/
107+
@com.google.api.client.util.Key
108+
private SparkConnectConfig sparkConnectSession;
109+
103110
/**
104111
* Output only. A state of the session.
105112
* The value may be {@code null}.
@@ -312,6 +319,23 @@ public Session setSessionTemplate(java.lang.String sessionTemplate) {
312319
return this;
313320
}
314321

322+
/**
323+
* Optional. Spark connect session config.
324+
* @return value or {@code null} for none
325+
*/
326+
public SparkConnectConfig getSparkConnectSession() {
327+
return sparkConnectSession;
328+
}
329+
330+
/**
331+
* Optional. Spark connect session config.
332+
* @param sparkConnectSession sparkConnectSession or {@code null} for none
333+
*/
334+
public Session setSparkConnectSession(SparkConnectConfig sparkConnectSession) {
335+
this.sparkConnectSession = sparkConnectSession;
336+
return this;
337+
}
338+
315339
/**
316340
* Output only. A state of the session.
317341
* @return value or {@code null} for none

clients/google-api-services-dataproc/v1/2.0.0/com/google/api/services/dataproc/model/SessionTemplate.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ public final class SessionTemplate extends com.google.api.client.json.GenericJso
8989
@com.google.api.client.util.Key
9090
private RuntimeConfig runtimeConfig;
9191

92+
/**
93+
* Optional. Spark connect session config.
94+
* The value may be {@code null}.
95+
*/
96+
@com.google.api.client.util.Key
97+
private SparkConnectConfig sparkConnectSession;
98+
9299
/**
93100
* Output only. The time the template was last updated.
94101
* The value may be {@code null}.
@@ -248,6 +255,23 @@ public SessionTemplate setRuntimeConfig(RuntimeConfig runtimeConfig) {
248255
return this;
249256
}
250257

258+
/**
259+
* Optional. Spark connect session config.
260+
* @return value or {@code null} for none
261+
*/
262+
public SparkConnectConfig getSparkConnectSession() {
263+
return sparkConnectSession;
264+
}
265+
266+
/**
267+
* Optional. Spark connect session config.
268+
* @param sparkConnectSession sparkConnectSession or {@code null} for none
269+
*/
270+
public SessionTemplate setSparkConnectSession(SparkConnectConfig sparkConnectSession) {
271+
this.sparkConnectSession = sparkConnectSession;
272+
return this;
273+
}
274+
251275
/**
252276
* Output only. The time the template was last updated.
253277
* @return value or {@code null} for none

clients/google-api-services-dataproc/v1/2.0.0/com/google/api/services/dataproc/model/SoftwareConfig.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public final class SoftwareConfig extends com.google.api.client.json.GenericJson
3232
/**
3333
* Optional. The version of software inside the cluster. It must be one of the supported Dataproc
3434
* Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-
35-
* versions#supported_dataproc_versions), such as "1.2" (including a subminor version, such as
36-
* "1.2.29"), or the "preview" version
35+
* versions#supported-dataproc-image-versions), such as "1.2" (including a subminor version, such
36+
* as "1.2.29"), or the "preview" version
3737
* (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).
3838
* If unspecified, it defaults to the latest Debian version.
3939
* The value may be {@code null}.
@@ -63,8 +63,8 @@ public final class SoftwareConfig extends com.google.api.client.json.GenericJson
6363
/**
6464
* Optional. The version of software inside the cluster. It must be one of the supported Dataproc
6565
* Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-
66-
* versions#supported_dataproc_versions), such as "1.2" (including a subminor version, such as
67-
* "1.2.29"), or the "preview" version
66+
* versions#supported-dataproc-image-versions), such as "1.2" (including a subminor version, such
67+
* as "1.2.29"), or the "preview" version
6868
* (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).
6969
* If unspecified, it defaults to the latest Debian version.
7070
* @return value or {@code null} for none
@@ -76,8 +76,8 @@ public java.lang.String getImageVersion() {
7676
/**
7777
* Optional. The version of software inside the cluster. It must be one of the supported Dataproc
7878
* Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-
79-
* versions#supported_dataproc_versions), such as "1.2" (including a subminor version, such as
80-
* "1.2.29"), or the "preview" version
79+
* versions#supported-dataproc-image-versions), such as "1.2" (including a subminor version, such
80+
* as "1.2.29"), or the "preview" version
8181
* (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions).
8282
* If unspecified, it defaults to the latest Debian version.
8383
* @param imageVersion imageVersion or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.dataproc.model;
18+
19+
/**
20+
* Spark connect configuration for an interactive session.
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 Cloud Dataproc API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class SparkConnectConfig extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public SparkConnectConfig set(String fieldName, Object value) {
34+
return (SparkConnectConfig) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public SparkConnectConfig clone() {
39+
return (SparkConnectConfig) super.clone();
40+
}
41+
42+
}

clients/google-api-services-dataproc/v1/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-dataproc</artifactId>
11-
<version>v1-rev20240617-2.0.0</version>
12-
<name>Cloud Dataproc API v1-rev20240617-2.0.0</name>
11+
<version>v1-rev20240821-2.0.0</version>
12+
<name>Cloud Dataproc API v1-rev20240821-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-dataproc/v1/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-dataproc</artifactId>
25-
<version>v1-rev20240617-2.0.0</version>
25+
<version>v1-rev20240821-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-dataproc:v1-rev20240617-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataproc:v1-rev20240821-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)