Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-gkehub/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-gkehub</artifactId>
<version>v1-rev20260529-2.0.0</version>
<version>v1-rev20260616-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-gkehub:v1-rev20260529-2.0.0'
implementation 'com.google.apis:google-api-services-gkehub:v1-rev20260616-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
/*
* 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.gkehub.v1.model;

/**
* Configuration for automatic upgrades.
*
* <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 GKE Hub 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 AutoUpgradeConfig extends com.google.api.client.json.GenericJson {

/**
* Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the
* policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.String> enforcedRollouts;

/**
* Optional. Specifies the scope of automation for the creation of rollouts. Represents the types
* of rollouts (version upgrades) the sequence should initiate automatically. If this field is
* `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list
* is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts
* enforcing our security policies (e.g. such as end-of-support and outdated control plane patch
* enforcements). These policy enforcements cannot be disabled.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private RolloutCreationScope rolloutCreationScope;

/**
* Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the
* policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description.
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.String> getEnforcedRollouts() {
return enforcedRollouts;
}

/**
* Output only. Mandatory Safety Policies (Always active) which cannot be disabled. The key is the
* policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and the value is a human-readable description.
* @param enforcedRollouts enforcedRollouts or {@code null} for none
*/
public AutoUpgradeConfig setEnforcedRollouts(java.util.Map<String, java.lang.String> enforcedRollouts) {
this.enforcedRollouts = enforcedRollouts;
return this;
}

/**
* Optional. Specifies the scope of automation for the creation of rollouts. Represents the types
* of rollouts (version upgrades) the sequence should initiate automatically. If this field is
* `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list
* is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts
* enforcing our security policies (e.g. such as end-of-support and outdated control plane patch
* enforcements). These policy enforcements cannot be disabled.
* @return value or {@code null} for none
*/
public RolloutCreationScope getRolloutCreationScope() {
return rolloutCreationScope;
}

/**
* Optional. Specifies the scope of automation for the creation of rollouts. Represents the types
* of rollouts (version upgrades) the sequence should initiate automatically. If this field is
* `unset`, it defaults to all types. If this field is `set` but the internal `upgrade_types` list
* is `empty`, most automatic rollouts are disabled for this sequence. Exceptions are rollouts
* enforcing our security policies (e.g. such as end-of-support and outdated control plane patch
* enforcements). These policy enforcements cannot be disabled.
* @param rolloutCreationScope rolloutCreationScope or {@code null} for none
*/
public AutoUpgradeConfig setRolloutCreationScope(RolloutCreationScope rolloutCreationScope) {
this.rolloutCreationScope = rolloutCreationScope;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* 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.gkehub.v1.model;

/**
* Request message for cancelling a rollout.
*
* <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 GKE Hub 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 CancelRolloutRequest extends com.google.api.client.json.GenericJson {

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/*
* 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.gkehub.v1.model;

/**
* Selector for clusters.
*
* <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 GKE Hub 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 ClusterSelector extends com.google.api.client.json.GenericJson {

/**
* Required. A valid CEL (Common Expression Language) expression which evaluates
* `resource.labels`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String labelSelector;

/**
* Required. A valid CEL (Common Expression Language) expression which evaluates
* `resource.labels`.
* @return value or {@code null} for none
*/
public java.lang.String getLabelSelector() {
return labelSelector;
}

/**
* Required. A valid CEL (Common Expression Language) expression which evaluates
* `resource.labels`.
* @param labelSelector labelSelector or {@code null} for none
*/
public ClusterSelector setLabelSelector(java.lang.String labelSelector) {
this.labelSelector = labelSelector;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* 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.gkehub.v1.model;

/**
* Request message for force-completing a rollout stage.
*
* <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 GKE Hub 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 ForceCompleteRolloutStageRequest extends com.google.api.client.json.GenericJson {

/**
* Required. The stage number to force-complete.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer stageNumber;

/**
* Required. The stage number to force-complete.
* @return value or {@code null} for none
*/
public java.lang.Integer getStageNumber() {
return stageNumber;
}

/**
* Required. The stage number to force-complete.
* @param stageNumber stageNumber or {@code null} for none
*/
public ForceCompleteRolloutStageRequest setStageNumber(java.lang.Integer stageNumber) {
this.stageNumber = stageNumber;
return this;
}

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

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

}
Loading
Loading