Skip to content

Commit 81ef8de

Browse files
1 parent 218ab7b commit 81ef8de

49 files changed

Lines changed: 6217 additions & 48 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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

clients/google-api-services-gkehub/v1/2.0.0/com/google/api/services/gkehub/v1/GKEHub.java

Lines changed: 2122 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
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.gkehub.v1.model;
18+
19+
/**
20+
* Configuration for automatic upgrades.
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 GKE Hub 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 AutoUpgradeConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the
34+
* policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.Map<String, java.lang.String> enforcedRollouts;
39+
40+
/**
41+
* Optional. Specifies the scope of automation for the creation of rollouts. Represents the types
42+
* of rollouts (version upgrades) the sequence should initiate automatically. If this field is
43+
* `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list
44+
* is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts
45+
* enforcing our security policies (e.g. such as end-of-support and outdated control plane patch
46+
* enforcements). These policy enforcements cannot be disabled.
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private RolloutCreationScope rolloutCreationScope;
51+
52+
/**
53+
* Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the
54+
* policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.util.Map<String, java.lang.String> getEnforcedRollouts() {
58+
return enforcedRollouts;
59+
}
60+
61+
/**
62+
* Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the
63+
* policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description.
64+
* @param enforcedRollouts enforcedRollouts or {@code null} for none
65+
*/
66+
public AutoUpgradeConfig setEnforcedRollouts(java.util.Map<String, java.lang.String> enforcedRollouts) {
67+
this.enforcedRollouts = enforcedRollouts;
68+
return this;
69+
}
70+
71+
/**
72+
* Optional. Specifies the scope of automation for the creation of rollouts. Represents the types
73+
* of rollouts (version upgrades) the sequence should initiate automatically. If this field is
74+
* `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list
75+
* is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts
76+
* enforcing our security policies (e.g. such as end-of-support and outdated control plane patch
77+
* enforcements). These policy enforcements cannot be disabled.
78+
* @return value or {@code null} for none
79+
*/
80+
public RolloutCreationScope getRolloutCreationScope() {
81+
return rolloutCreationScope;
82+
}
83+
84+
/**
85+
* Optional. Specifies the scope of automation for the creation of rollouts. Represents the types
86+
* of rollouts (version upgrades) the sequence should initiate automatically. If this field is
87+
* `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list
88+
* is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts
89+
* enforcing our security policies (e.g. such as end-of-support and outdated control plane patch
90+
* enforcements). These policy enforcements cannot be disabled.
91+
* @param rolloutCreationScope rolloutCreationScope or {@code null} for none
92+
*/
93+
public AutoUpgradeConfig setRolloutCreationScope(RolloutCreationScope rolloutCreationScope) {
94+
this.rolloutCreationScope = rolloutCreationScope;
95+
return this;
96+
}
97+
98+
@Override
99+
public AutoUpgradeConfig set(String fieldName, Object value) {
100+
return (AutoUpgradeConfig) super.set(fieldName, value);
101+
}
102+
103+
@Override
104+
public AutoUpgradeConfig clone() {
105+
return (AutoUpgradeConfig) super.clone();
106+
}
107+
108+
}
Lines changed: 42 additions & 0 deletions
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.gkehub.v1.model;
18+
19+
/**
20+
* Request message for cancelling a rollout.
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 GKE Hub 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 CancelRolloutRequest extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public CancelRolloutRequest set(String fieldName, Object value) {
34+
return (CancelRolloutRequest) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public CancelRolloutRequest clone() {
39+
return (CancelRolloutRequest) super.clone();
40+
}
41+
42+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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.gkehub.v1.model;
18+
19+
/**
20+
* Selector for clusters.
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 GKE Hub 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 ClusterSelector extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. A valid CEL (Common Expression Language) expression which evaluates
34+
* `resource.labels`.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String labelSelector;
39+
40+
/**
41+
* Required. A valid CEL (Common Expression Language) expression which evaluates
42+
* `resource.labels`.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getLabelSelector() {
46+
return labelSelector;
47+
}
48+
49+
/**
50+
* Required. A valid CEL (Common Expression Language) expression which evaluates
51+
* `resource.labels`.
52+
* @param labelSelector labelSelector or {@code null} for none
53+
*/
54+
public ClusterSelector setLabelSelector(java.lang.String labelSelector) {
55+
this.labelSelector = labelSelector;
56+
return this;
57+
}
58+
59+
@Override
60+
public ClusterSelector set(String fieldName, Object value) {
61+
return (ClusterSelector) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public ClusterSelector clone() {
66+
return (ClusterSelector) super.clone();
67+
}
68+
69+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.gkehub.v1.model;
18+
19+
/**
20+
* Request message for force-completing a rollout stage.
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 GKE Hub 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 ForceCompleteRolloutStageRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The stage number to force-complete.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer stageNumber;
38+
39+
/**
40+
* Required. The stage number to force-complete.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.Integer getStageNumber() {
44+
return stageNumber;
45+
}
46+
47+
/**
48+
* Required. The stage number to force-complete.
49+
* @param stageNumber stageNumber or {@code null} for none
50+
*/
51+
public ForceCompleteRolloutStageRequest setStageNumber(java.lang.Integer stageNumber) {
52+
this.stageNumber = stageNumber;
53+
return this;
54+
}
55+
56+
@Override
57+
public ForceCompleteRolloutStageRequest set(String fieldName, Object value) {
58+
return (ForceCompleteRolloutStageRequest) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public ForceCompleteRolloutStageRequest clone() {
63+
return (ForceCompleteRolloutStageRequest) super.clone();
64+
}
65+
66+
}

0 commit comments

Comments
 (0)