Skip to content

Commit 3fb239b

Browse files
1 parent 2456799 commit 3fb239b

File tree

6 files changed

+193
-6
lines changed

6 files changed

+193
-6
lines changed

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

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.gkehub.v1alpha.model;
18+
19+
/**
20+
* CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance
21+
* Posture.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the GKE Hub API. For a detailed explanation 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 CompliancePostureConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* List of enabled compliance standards.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<ComplianceStandard> complianceStandards;
39+
40+
/**
41+
* Defines the enablement mode for Compliance Posture.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String mode;
46+
47+
/**
48+
* List of enabled compliance standards.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.util.List<ComplianceStandard> getComplianceStandards() {
52+
return complianceStandards;
53+
}
54+
55+
/**
56+
* List of enabled compliance standards.
57+
* @param complianceStandards complianceStandards or {@code null} for none
58+
*/
59+
public CompliancePostureConfig setComplianceStandards(java.util.List<ComplianceStandard> complianceStandards) {
60+
this.complianceStandards = complianceStandards;
61+
return this;
62+
}
63+
64+
/**
65+
* Defines the enablement mode for Compliance Posture.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getMode() {
69+
return mode;
70+
}
71+
72+
/**
73+
* Defines the enablement mode for Compliance Posture.
74+
* @param mode mode or {@code null} for none
75+
*/
76+
public CompliancePostureConfig setMode(java.lang.String mode) {
77+
this.mode = mode;
78+
return this;
79+
}
80+
81+
@Override
82+
public CompliancePostureConfig set(String fieldName, Object value) {
83+
return (CompliancePostureConfig) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public CompliancePostureConfig clone() {
88+
return (CompliancePostureConfig) super.clone();
89+
}
90+
91+
}
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.v1alpha.model;
18+
19+
/**
20+
* Model definition for ComplianceStandard.
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 ComplianceStandard extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Name of the compliance standard.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String standard;
38+
39+
/**
40+
* Name of the compliance standard.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getStandard() {
44+
return standard;
45+
}
46+
47+
/**
48+
* Name of the compliance standard.
49+
* @param standard standard or {@code null} for none
50+
*/
51+
public ComplianceStandard setStandard(java.lang.String standard) {
52+
this.standard = standard;
53+
return this;
54+
}
55+
56+
@Override
57+
public ComplianceStandard set(String fieldName, Object value) {
58+
return (ComplianceStandard) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public ComplianceStandard clone() {
63+
return (ComplianceStandard) super.clone();
64+
}
65+
66+
}

clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/DefaultClusterConfig.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ public final class DefaultClusterConfig extends com.google.api.client.json.Gener
3737
@com.google.api.client.util.Key
3838
private BinaryAuthorizationConfig binaryAuthorizationConfig;
3939

40+
/**
41+
* Optional. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet,
42+
* only full replacement of this field is allowed. Users are not allowed for partial updates
43+
* through field mask.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private CompliancePostureConfig compliancePostureConfig;
48+
4049
/**
4150
* Enable/Disable Security Posture features for the cluster.
4251
* The value may be {@code null}.
@@ -61,6 +70,27 @@ public DefaultClusterConfig setBinaryAuthorizationConfig(BinaryAuthorizationConf
6170
return this;
6271
}
6372

73+
/**
74+
* Optional. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet,
75+
* only full replacement of this field is allowed. Users are not allowed for partial updates
76+
* through field mask.
77+
* @return value or {@code null} for none
78+
*/
79+
public CompliancePostureConfig getCompliancePostureConfig() {
80+
return compliancePostureConfig;
81+
}
82+
83+
/**
84+
* Optional. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet,
85+
* only full replacement of this field is allowed. Users are not allowed for partial updates
86+
* through field mask.
87+
* @param compliancePostureConfig compliancePostureConfig or {@code null} for none
88+
*/
89+
public DefaultClusterConfig setCompliancePostureConfig(CompliancePostureConfig compliancePostureConfig) {
90+
this.compliancePostureConfig = compliancePostureConfig;
91+
return this;
92+
}
93+
6494
/**
6595
* Enable/Disable Security Posture features for the cluster.
6696
* @return value or {@code null} for none

clients/google-api-services-gkehub/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-gkehub</artifactId>
11-
<version>v1alpha-rev20240727-2.0.0</version>
12-
<name>GKE Hub API v1alpha-rev20240727-2.0.0</name>
11+
<version>v1alpha-rev20240809-2.0.0</version>
12+
<name>GKE Hub API v1alpha-rev20240809-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)