Skip to content

Commit 338baa1

Browse files
yoshi-automationchingor13
authored andcommitted
Regenerate container client (googleapis#2900)
1 parent 3f8006c commit 338baa1

File tree

89 files changed

+30031
-24929
lines changed

Some content is hidden

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

89 files changed

+30031
-24929
lines changed

clients/google-api-services-container/v1.metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-container",
5-
"version": "v1-rev20190628-1.30.1"
5+
"version": "v1-rev20190906-1.30.3"
66
}
77
}

clients/google-api-services-container/v1/1.28.0/com/google/api/services/container/model/AcceleratorConfig.java

+3-6
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ public final class AcceleratorConfig extends com.google.api.client.json.GenericJ
3838
private java.lang.Long acceleratorCount;
3939

4040
/**
41-
* The accelerator type resource name. List of supported accelerators
42-
* [here](/compute/docs/gpus/#Introduction)
41+
* The accelerator type resource name. List of supported accelerators [here](/compute/docs/gpus)
4342
* The value may be {@code null}.
4443
*/
4544
@com.google.api.client.util.Key
@@ -63,17 +62,15 @@ public AcceleratorConfig setAcceleratorCount(java.lang.Long acceleratorCount) {
6362
}
6463

6564
/**
66-
* The accelerator type resource name. List of supported accelerators
67-
* [here](/compute/docs/gpus/#Introduction)
65+
* The accelerator type resource name. List of supported accelerators [here](/compute/docs/gpus)
6866
* @return value or {@code null} for none
6967
*/
7068
public java.lang.String getAcceleratorType() {
7169
return acceleratorType;
7270
}
7371

7472
/**
75-
* The accelerator type resource name. List of supported accelerators
76-
* [here](/compute/docs/gpus/#Introduction)
73+
* The accelerator type resource name. List of supported accelerators [here](/compute/docs/gpus)
7774
* @param acceleratorType acceleratorType or {@code null} for none
7875
*/
7976
public AcceleratorConfig setAcceleratorType(java.lang.String acceleratorType) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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.container.model;
18+
19+
/**
20+
* Configuration for Binary Authorization.
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 Kubernetes Engine API. For a detailed explanation
24+
* 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 BinaryAuthorization extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Enable Binary Authorization for this cluster. If enabled, all container images will be
35+
* validated by Binary Authorization.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Boolean enabled;
40+
41+
/**
42+
* Enable Binary Authorization for this cluster. If enabled, all container images will be
43+
* validated by Binary Authorization.
44+
* @return value or {@code null} for none
45+
*/
46+
public java.lang.Boolean getEnabled() {
47+
return enabled;
48+
}
49+
50+
/**
51+
* Enable Binary Authorization for this cluster. If enabled, all container images will be
52+
* validated by Binary Authorization.
53+
* @param enabled enabled or {@code null} for none
54+
*/
55+
public BinaryAuthorization setEnabled(java.lang.Boolean enabled) {
56+
this.enabled = enabled;
57+
return this;
58+
}
59+
60+
@Override
61+
public BinaryAuthorization set(String fieldName, Object value) {
62+
return (BinaryAuthorization) super.set(fieldName, value);
63+
}
64+
65+
@Override
66+
public BinaryAuthorization clone() {
67+
return (BinaryAuthorization) super.clone();
68+
}
69+
70+
}

clients/google-api-services-container/v1/1.28.0/com/google/api/services/container/model/Cluster.java

+48
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
3737
@com.google.api.client.util.Key
3838
private AddonsConfig addonsConfig;
3939

40+
/**
41+
* Configuration for Binary Authorization.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private BinaryAuthorization binaryAuthorization;
46+
4047
/**
4148
* The IP address range of the container pods in this cluster, in
4249
* [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.
@@ -87,6 +94,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
8794
@com.google.api.client.util.Key
8895
private java.lang.String currentNodeVersion;
8996

97+
/**
98+
* Configuration of etcd encryption.
99+
* The value may be {@code null}.
100+
*/
101+
@com.google.api.client.util.Key
102+
private DatabaseEncryption databaseEncryption;
103+
90104
/**
91105
* The default constraint on the maximum number of pods that can be run simultaneously on a node
92106
* in the node pool of this cluster. Only honored if cluster created with IP Alias support.
@@ -418,6 +432,23 @@ public Cluster setAddonsConfig(AddonsConfig addonsConfig) {
418432
return this;
419433
}
420434

435+
/**
436+
* Configuration for Binary Authorization.
437+
* @return value or {@code null} for none
438+
*/
439+
public BinaryAuthorization getBinaryAuthorization() {
440+
return binaryAuthorization;
441+
}
442+
443+
/**
444+
* Configuration for Binary Authorization.
445+
* @param binaryAuthorization binaryAuthorization or {@code null} for none
446+
*/
447+
public Cluster setBinaryAuthorization(BinaryAuthorization binaryAuthorization) {
448+
this.binaryAuthorization = binaryAuthorization;
449+
return this;
450+
}
451+
421452
/**
422453
* The IP address range of the container pods in this cluster, in
423454
* [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.
@@ -536,6 +567,23 @@ public Cluster setCurrentNodeVersion(java.lang.String currentNodeVersion) {
536567
return this;
537568
}
538569

570+
/**
571+
* Configuration of etcd encryption.
572+
* @return value or {@code null} for none
573+
*/
574+
public DatabaseEncryption getDatabaseEncryption() {
575+
return databaseEncryption;
576+
}
577+
578+
/**
579+
* Configuration of etcd encryption.
580+
* @param databaseEncryption databaseEncryption or {@code null} for none
581+
*/
582+
public Cluster setDatabaseEncryption(DatabaseEncryption databaseEncryption) {
583+
this.databaseEncryption = databaseEncryption;
584+
return this;
585+
}
586+
539587
/**
540588
* The default constraint on the maximum number of pods that can be run simultaneously on a node
541589
* in the node pool of this cluster. Only honored if cluster created with IP Alias support.

clients/google-api-services-container/v1/1.28.0/com/google/api/services/container/model/ClusterUpdate.java

+72
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,34 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
3838
@com.google.api.client.util.Key
3939
private AddonsConfig desiredAddonsConfig;
4040

41+
/**
42+
* The desired configuration options for the Binary Authorization feature.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private BinaryAuthorization desiredBinaryAuthorization;
47+
48+
/**
49+
* Configuration of etcd encryption.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private DatabaseEncryption desiredDatabaseEncryption;
54+
4155
/**
4256
* The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
4357
* The value may be {@code null}.
4458
*/
4559
@com.google.api.client.util.Key
4660
private java.lang.String desiredImageType;
4761

62+
/**
63+
* The desired config of Intra-node visibility.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig;
68+
4869
/**
4970
* The desired list of Google Compute Engine [zones](/compute/docs/zones#available) in which the
5071
* cluster's nodes should be located. Changing the locations a cluster is in will result in nodes
@@ -158,6 +179,40 @@ public ClusterUpdate setDesiredAddonsConfig(AddonsConfig desiredAddonsConfig) {
158179
return this;
159180
}
160181

182+
/**
183+
* The desired configuration options for the Binary Authorization feature.
184+
* @return value or {@code null} for none
185+
*/
186+
public BinaryAuthorization getDesiredBinaryAuthorization() {
187+
return desiredBinaryAuthorization;
188+
}
189+
190+
/**
191+
* The desired configuration options for the Binary Authorization feature.
192+
* @param desiredBinaryAuthorization desiredBinaryAuthorization or {@code null} for none
193+
*/
194+
public ClusterUpdate setDesiredBinaryAuthorization(BinaryAuthorization desiredBinaryAuthorization) {
195+
this.desiredBinaryAuthorization = desiredBinaryAuthorization;
196+
return this;
197+
}
198+
199+
/**
200+
* Configuration of etcd encryption.
201+
* @return value or {@code null} for none
202+
*/
203+
public DatabaseEncryption getDesiredDatabaseEncryption() {
204+
return desiredDatabaseEncryption;
205+
}
206+
207+
/**
208+
* Configuration of etcd encryption.
209+
* @param desiredDatabaseEncryption desiredDatabaseEncryption or {@code null} for none
210+
*/
211+
public ClusterUpdate setDesiredDatabaseEncryption(DatabaseEncryption desiredDatabaseEncryption) {
212+
this.desiredDatabaseEncryption = desiredDatabaseEncryption;
213+
return this;
214+
}
215+
161216
/**
162217
* The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
163218
* @return value or {@code null} for none
@@ -175,6 +230,23 @@ public ClusterUpdate setDesiredImageType(java.lang.String desiredImageType) {
175230
return this;
176231
}
177232

233+
/**
234+
* The desired config of Intra-node visibility.
235+
* @return value or {@code null} for none
236+
*/
237+
public IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig() {
238+
return desiredIntraNodeVisibilityConfig;
239+
}
240+
241+
/**
242+
* The desired config of Intra-node visibility.
243+
* @param desiredIntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig or {@code null} for none
244+
*/
245+
public ClusterUpdate setDesiredIntraNodeVisibilityConfig(IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig) {
246+
this.desiredIntraNodeVisibilityConfig = desiredIntraNodeVisibilityConfig;
247+
return this;
248+
}
249+
178250
/**
179251
* The desired list of Google Compute Engine [zones](/compute/docs/zones#available) in which the
180252
* cluster's nodes should be located. Changing the locations a cluster is in will result in nodes
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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.container.model;
18+
19+
/**
20+
* Configuration of etcd encryption.
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 Kubernetes Engine API. For a detailed explanation
24+
* 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 DatabaseEncryption extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-
35+
* project/locations/global/keyRings/my-ring/cryptoKeys/my-key
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String keyName;
40+
41+
/**
42+
* Denotes the state of etcd encryption.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String state;
47+
48+
/**
49+
* Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-
50+
* project/locations/global/keyRings/my-ring/cryptoKeys/my-key
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.String getKeyName() {
54+
return keyName;
55+
}
56+
57+
/**
58+
* Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-
59+
* project/locations/global/keyRings/my-ring/cryptoKeys/my-key
60+
* @param keyName keyName or {@code null} for none
61+
*/
62+
public DatabaseEncryption setKeyName(java.lang.String keyName) {
63+
this.keyName = keyName;
64+
return this;
65+
}
66+
67+
/**
68+
* Denotes the state of etcd encryption.
69+
* @return value or {@code null} for none
70+
*/
71+
public java.lang.String getState() {
72+
return state;
73+
}
74+
75+
/**
76+
* Denotes the state of etcd encryption.
77+
* @param state state or {@code null} for none
78+
*/
79+
public DatabaseEncryption setState(java.lang.String state) {
80+
this.state = state;
81+
return this;
82+
}
83+
84+
@Override
85+
public DatabaseEncryption set(String fieldName, Object value) {
86+
return (DatabaseEncryption) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public DatabaseEncryption clone() {
91+
return (DatabaseEncryption) super.clone();
92+
}
93+
94+
}

0 commit comments

Comments
 (0)