Skip to content

Commit 4cdd08c

Browse files
1 parent 9ef6738 commit 4cdd08c

6 files changed

Lines changed: 150 additions & 6 deletions

File tree

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

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* Information about the cohort that the workload belongs to.
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 CohortInfo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. Final cohort that was used to tune the workload.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String cohort;
38+
39+
/**
40+
* Output only. Source of the cohort.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String cohortSource;
45+
46+
/**
47+
* Output only. Final cohort that was used to tune the workload.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getCohort() {
51+
return cohort;
52+
}
53+
54+
/**
55+
* Output only. Final cohort that was used to tune the workload.
56+
* @param cohort cohort or {@code null} for none
57+
*/
58+
public CohortInfo setCohort(java.lang.String cohort) {
59+
this.cohort = cohort;
60+
return this;
61+
}
62+
63+
/**
64+
* Output only. Source of the cohort.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getCohortSource() {
68+
return cohortSource;
69+
}
70+
71+
/**
72+
* Output only. Source of the cohort.
73+
* @param cohortSource cohortSource or {@code null} for none
74+
*/
75+
public CohortInfo setCohortSource(java.lang.String cohortSource) {
76+
this.cohortSource = cohortSource;
77+
return this;
78+
}
79+
80+
@Override
81+
public CohortInfo set(String fieldName, Object value) {
82+
return (CohortInfo) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public CohortInfo clone() {
87+
return (CohortInfo) super.clone();
88+
}
89+
90+
}

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

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

32+
/**
33+
* Output only. A map of instance short name to machine type. The key is the short name of the
34+
* Compute Engine instance, and the value is the full machine-type name (e.g., 'n1-standard-16').
35+
* See Machine types for more information on valid machine type strings.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.Map<String, java.lang.String> instanceMachineTypes;
40+
3241
/**
3342
* Optional. List of instance selection options that the group will use when creating new VMs.
3443
* The value may be {@code null}.
@@ -50,6 +59,27 @@ public final class InstanceFlexibilityPolicy extends com.google.api.client.json.
5059
@com.google.api.client.util.Key
5160
private ProvisioningModelMix provisioningModelMix;
5261

62+
/**
63+
* Output only. A map of instance short name to machine type. The key is the short name of the
64+
* Compute Engine instance, and the value is the full machine-type name (e.g., 'n1-standard-16').
65+
* See Machine types for more information on valid machine type strings.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.util.Map<String, java.lang.String> getInstanceMachineTypes() {
69+
return instanceMachineTypes;
70+
}
71+
72+
/**
73+
* Output only. A map of instance short name to machine type. The key is the short name of the
74+
* Compute Engine instance, and the value is the full machine-type name (e.g., 'n1-standard-16').
75+
* See Machine types for more information on valid machine type strings.
76+
* @param instanceMachineTypes instanceMachineTypes or {@code null} for none
77+
*/
78+
public InstanceFlexibilityPolicy setInstanceMachineTypes(java.util.Map<String, java.lang.String> instanceMachineTypes) {
79+
this.instanceMachineTypes = instanceMachineTypes;
80+
return this;
81+
}
82+
5383
/**
5484
* Optional. List of instance selection options that the group will use when creating new VMs.
5585
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ public final class RuntimeInfo extends com.google.api.client.json.GenericJson {
4141
@com.google.api.client.util.Key
4242
private UsageMetrics approximateUsage;
4343

44+
/**
45+
* Output only. Information about the cohort that the workload belongs to.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private CohortInfo cohortInfo;
50+
4451
/**
4552
* Output only. Snapshot of current workload resource usage.
4653
* The value may be {@code null}.
@@ -103,6 +110,23 @@ public RuntimeInfo setApproximateUsage(UsageMetrics approximateUsage) {
103110
return this;
104111
}
105112

113+
/**
114+
* Output only. Information about the cohort that the workload belongs to.
115+
* @return value or {@code null} for none
116+
*/
117+
public CohortInfo getCohortInfo() {
118+
return cohortInfo;
119+
}
120+
121+
/**
122+
* Output only. Information about the cohort that the workload belongs to.
123+
* @param cohortInfo cohortInfo or {@code null} for none
124+
*/
125+
public RuntimeInfo setCohortInfo(CohortInfo cohortInfo) {
126+
this.cohortInfo = cohortInfo;
127+
return this;
128+
}
129+
106130
/**
107131
* Output only. Snapshot of current workload resource usage.
108132
* @return value or {@code null} for none

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-rev20260219-2.0.0</version>
12-
<name>Cloud Dataproc API v1-rev20260219-2.0.0</name>
11+
<version>v1-rev20260319-2.0.0</version>
12+
<name>Cloud Dataproc API v1-rev20260319-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-rev20260219-2.0.0</version>
25+
<version>v1-rev20260319-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-rev20260219-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataproc:v1-rev20260319-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)