Skip to content

Commit 574d30c

Browse files
1 parent e40d36e commit 574d30c

File tree

18 files changed

+233
-77
lines changed

18 files changed

+233
-77
lines changed

clients/google-api-services-gkehub/v1/1.31.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-rev20220628-1.32.1</version>
25+
<version>v1-rev20220715-1.32.1</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-rev20220628-1.32.1'
38+
implementation 'com.google.apis:google-api-services-gkehub:v1-rev20220715-1.32.1'
3939
}
4040
```
4141

clients/google-api-services-gkehub/v1/1.31.0/com/google/api/services/gkehub/v1/model/MultiCloudCluster.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ public final class MultiCloudCluster extends com.google.api.client.json.GenericJ
4141
* Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example:
4242
* //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster
4343
* //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-
44-
* cluster
44+
* cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-
45+
* west1-a/attachedClusters/my-cluster
4546
* The value may be {@code null}.
4647
*/
4748
@com.google.api.client.util.Key
@@ -70,7 +71,8 @@ public MultiCloudCluster setClusterMissing(java.lang.Boolean clusterMissing) {
7071
* Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example:
7172
* //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster
7273
* //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-
73-
* cluster
74+
* cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-
75+
* west1-a/attachedClusters/my-cluster
7476
* @return value or {@code null} for none
7577
*/
7678
public java.lang.String getResourceLink() {
@@ -81,7 +83,8 @@ public java.lang.String getResourceLink() {
8183
* Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For example:
8284
* //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster
8385
* //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-
84-
* cluster
86+
* cluster //gkemulticloud.googleapis.com/projects/my-project/locations/us-
87+
* west1-a/attachedClusters/my-cluster
8588
* @param resourceLink resourceLink or {@code null} for none
8689
*/
8790
public MultiCloudCluster setResourceLink(java.lang.String resourceLink) {

clients/google-api-services-gkehub/v1/1.31.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>v1-rev20220628-1.32.1</version>
12-
<name>GKE Hub API v1-rev20220628-1.32.1</name>
11+
<version>v1-rev20220715-1.32.1</version>
12+
<name>GKE Hub API v1-rev20220715-1.32.1</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-gkehub/v1alpha/1.31.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-rev20220706-1.32.1</version>
25+
<version>v1alpha-rev20220715-1.32.1</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-rev20220706-1.32.1'
38+
implementation 'com.google.apis:google-api-services-gkehub:v1alpha-rev20220715-1.32.1'
3939
}
4040
```
4141

clients/google-api-services-gkehub/v1alpha/1.31.0/com/google/api/services/gkehub/v1alpha/GKEHub.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2303,7 +2303,7 @@ public Create create(java.lang.String parent, com.google.api.services.gkehub.v1a
23032303
return result;
23042304
}
23052305

2306-
public class Create extends GKEHubRequest<com.google.api.services.gkehub.v1alpha.model.Fleet> {
2306+
public class Create extends GKEHubRequest<com.google.api.services.gkehub.v1alpha.model.Operation> {
23072307

23082308
private static final String REST_PATH = "v1alpha/{+parent}/fleets";
23092309

@@ -2326,7 +2326,7 @@ public class Create extends GKEHubRequest<com.google.api.services.gkehub.v1alpha
23262326
* @since 1.13
23272327
*/
23282328
protected Create(java.lang.String parent, com.google.api.services.gkehub.v1alpha.model.Fleet content) {
2329-
super(GKEHub.this, "POST", REST_PATH, content, com.google.api.services.gkehub.v1alpha.model.Fleet.class);
2329+
super(GKEHub.this, "POST", REST_PATH, content, com.google.api.services.gkehub.v1alpha.model.Operation.class);
23302330
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
23312331
if (!getSuppressPatternChecks()) {
23322332
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -2440,7 +2440,7 @@ public Delete delete(java.lang.String name) throws java.io.IOException {
24402440
return result;
24412441
}
24422442

2443-
public class Delete extends GKEHubRequest<com.google.api.services.gkehub.v1alpha.model.Empty> {
2443+
public class Delete extends GKEHubRequest<com.google.api.services.gkehub.v1alpha.model.Operation> {
24442444

24452445
private static final String REST_PATH = "v1alpha/{+name}";
24462446

@@ -2461,7 +2461,7 @@ public class Delete extends GKEHubRequest<com.google.api.services.gkehub.v1alpha
24612461
* @since 1.13
24622462
*/
24632463
protected Delete(java.lang.String name) {
2464-
super(GKEHub.this, "DELETE", REST_PATH, null, com.google.api.services.gkehub.v1alpha.model.Empty.class);
2464+
super(GKEHub.this, "DELETE", REST_PATH, null, com.google.api.services.gkehub.v1alpha.model.Operation.class);
24652465
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
24662466
if (!getSuppressPatternChecks()) {
24672467
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -2908,7 +2908,7 @@ public Patch patch(java.lang.String name, com.google.api.services.gkehub.v1alpha
29082908
return result;
29092909
}
29102910

2911-
public class Patch extends GKEHubRequest<com.google.api.services.gkehub.v1alpha.model.Fleet> {
2911+
public class Patch extends GKEHubRequest<com.google.api.services.gkehub.v1alpha.model.Operation> {
29122912

29132913
private static final String REST_PATH = "v1alpha/{+name}";
29142914

@@ -2932,7 +2932,7 @@ public class Patch extends GKEHubRequest<com.google.api.services.gkehub.v1alpha.
29322932
* @since 1.13
29332933
*/
29342934
protected Patch(java.lang.String name, com.google.api.services.gkehub.v1alpha.model.Fleet content) {
2935-
super(GKEHub.this, "PATCH", REST_PATH, content, com.google.api.services.gkehub.v1alpha.model.Fleet.class);
2935+
super(GKEHub.this, "PATCH", REST_PATH, content, com.google.api.services.gkehub.v1alpha.model.Operation.class);
29362936
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
29372937
if (!getSuppressPatternChecks()) {
29382938
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),

clients/google-api-services-gkehub/v1alpha/1.31.0/com/google/api/services/gkehub/v1alpha/model/Fleet.java

Lines changed: 23 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -53,24 +53,20 @@ public final class Fleet extends com.google.api.client.json.GenericJson {
5353
private java.lang.String displayName;
5454

5555
/**
56-
* The name for the fleet. The name must meet the following constraints: + The name of a fleet
57-
* should be unique within the organization; + It must consist of lower case alphanumeric
58-
* characters or `-`; + The length of the name must be less than or equal to 63; + Unicode names
59-
* must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb
60-
* (Punycode form for "生产环境")
56+
* Output only. The full, unique resource name of this fleet in the format of
57+
* `projects/{project}/locations/{location}/fleets/{fleet}`. Each GCP project can have at most one
58+
* fleet resource, named "default".
6159
* The value may be {@code null}.
6260
*/
6361
@com.google.api.client.util.Key
64-
private java.lang.String fleetName;
62+
private java.lang.String name;
6563

6664
/**
67-
* Output only. The full, unique resource name of this fleet in the format of
68-
* `projects/{project}/locations/{location}/fleets/{fleet}`. Each GCP project can have at most one
69-
* fleet resource, named "default".
65+
* Output only. State of the namespace resource.
7066
* The value may be {@code null}.
7167
*/
7268
@com.google.api.client.util.Key
73-
private java.lang.String name;
69+
private FleetLifecycleState state;
7470

7571
/**
7672
* Output only. Google-generated UUID for this resource. This is unique across all Fleet
@@ -143,31 +139,6 @@ public Fleet setDisplayName(java.lang.String displayName) {
143139
return this;
144140
}
145141

146-
/**
147-
* The name for the fleet. The name must meet the following constraints: + The name of a fleet
148-
* should be unique within the organization; + It must consist of lower case alphanumeric
149-
* characters or `-`; + The length of the name must be less than or equal to 63; + Unicode names
150-
* must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb
151-
* (Punycode form for "生产环境")
152-
* @return value or {@code null} for none
153-
*/
154-
public java.lang.String getFleetName() {
155-
return fleetName;
156-
}
157-
158-
/**
159-
* The name for the fleet. The name must meet the following constraints: + The name of a fleet
160-
* should be unique within the organization; + It must consist of lower case alphanumeric
161-
* characters or `-`; + The length of the name must be less than or equal to 63; + Unicode names
162-
* must be expressed in Punycode format (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb
163-
* (Punycode form for "生产环境")
164-
* @param fleetName fleetName or {@code null} for none
165-
*/
166-
public Fleet setFleetName(java.lang.String fleetName) {
167-
this.fleetName = fleetName;
168-
return this;
169-
}
170-
171142
/**
172143
* Output only. The full, unique resource name of this fleet in the format of
173144
* `projects/{project}/locations/{location}/fleets/{fleet}`. Each GCP project can have at most one
@@ -189,6 +160,23 @@ public Fleet setName(java.lang.String name) {
189160
return this;
190161
}
191162

163+
/**
164+
* Output only. State of the namespace resource.
165+
* @return value or {@code null} for none
166+
*/
167+
public FleetLifecycleState getState() {
168+
return state;
169+
}
170+
171+
/**
172+
* Output only. State of the namespace resource.
173+
* @param state state or {@code null} for none
174+
*/
175+
public Fleet setState(FleetLifecycleState state) {
176+
this.state = state;
177+
return this;
178+
}
179+
192180
/**
193181
* Output only. Google-generated UUID for this resource. This is unique across all Fleet
194182
* resources. If a Fleet resource is deleted and another resource with the same name is created,
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+
* FleetLifecycleState describes the state of a Fleet resource.
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 FleetLifecycleState extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. The current state of the Fleet resource.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String code;
38+
39+
/**
40+
* Output only. The current state of the Fleet resource.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getCode() {
44+
return code;
45+
}
46+
47+
/**
48+
* Output only. The current state of the Fleet resource.
49+
* @param code code or {@code null} for none
50+
*/
51+
public FleetLifecycleState setCode(java.lang.String code) {
52+
this.code = code;
53+
return this;
54+
}
55+
56+
@Override
57+
public FleetLifecycleState set(String fieldName, Object value) {
58+
return (FleetLifecycleState) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public FleetLifecycleState clone() {
63+
return (FleetLifecycleState) super.clone();
64+
}
65+
66+
}

clients/google-api-services-gkehub/v1alpha/1.31.0/com/google/api/services/gkehub/v1alpha/model/IdentityServiceAuthMethod.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class IdentityServiceAuthMethod extends com.google.api.client.json.
3737
@com.google.api.client.util.Key
3838
private IdentityServiceAzureADConfig azureadConfig;
3939

40+
/**
41+
* GoogleConfig specific configuration
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private IdentityServiceGoogleConfig googleConfig;
46+
4047
/**
4148
* Identifier for auth config.
4249
* The value may be {@code null}.
@@ -75,6 +82,23 @@ public IdentityServiceAuthMethod setAzureadConfig(IdentityServiceAzureADConfig a
7582
return this;
7683
}
7784

85+
/**
86+
* GoogleConfig specific configuration
87+
* @return value or {@code null} for none
88+
*/
89+
public IdentityServiceGoogleConfig getGoogleConfig() {
90+
return googleConfig;
91+
}
92+
93+
/**
94+
* GoogleConfig specific configuration
95+
* @param googleConfig googleConfig or {@code null} for none
96+
*/
97+
public IdentityServiceAuthMethod setGoogleConfig(IdentityServiceGoogleConfig googleConfig) {
98+
this.googleConfig = googleConfig;
99+
return this;
100+
}
101+
78102
/**
79103
* Identifier for auth config.
80104
* @return value or {@code null} for none

clients/google-api-services-gkehub/v1alpha/1.31.0/com/google/api/services/gkehub/v1alpha/model/IdentityServiceAzureADConfig.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ public final class IdentityServiceAzureADConfig extends com.google.api.client.js
3838
private java.lang.String clientId;
3939

4040
/**
41-
* Raw client secret will be passed to the GKE Hub CLH.
41+
* Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
4545
private java.lang.String clientSecret;
4646

4747
/**
48-
* Encrypted AzureAD client secrets
48+
* Output only. Encrypted AzureAD client secret.
4949
* The value may be {@code null}.
5050
*/
5151
@com.google.api.client.util.Key
@@ -86,15 +86,15 @@ public IdentityServiceAzureADConfig setClientId(java.lang.String clientId) {
8686
}
8787

8888
/**
89-
* Raw client secret will be passed to the GKE Hub CLH.
89+
* Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
9090
* @return value or {@code null} for none
9191
*/
9292
public java.lang.String getClientSecret() {
9393
return clientSecret;
9494
}
9595

9696
/**
97-
* Raw client secret will be passed to the GKE Hub CLH.
97+
* Input only. Unencrypted AzureAD client secret will be passed to the GKE Hub CLH.
9898
* @param clientSecret clientSecret or {@code null} for none
9999
*/
100100
public IdentityServiceAzureADConfig setClientSecret(java.lang.String clientSecret) {
@@ -103,7 +103,7 @@ public IdentityServiceAzureADConfig setClientSecret(java.lang.String clientSecre
103103
}
104104

105105
/**
106-
* Encrypted AzureAD client secrets
106+
* Output only. Encrypted AzureAD client secret.
107107
* @see #decodeEncryptedClientSecret()
108108
* @return value or {@code null} for none
109109
*/
@@ -112,7 +112,7 @@ public java.lang.String getEncryptedClientSecret() {
112112
}
113113

114114
/**
115-
* Encrypted AzureAD client secrets
115+
* Output only. Encrypted AzureAD client secret.
116116
* @see #getEncryptedClientSecret()
117117
* @return Base64 decoded value or {@code null} for none
118118
*
@@ -123,7 +123,7 @@ public byte[] decodeEncryptedClientSecret() {
123123
}
124124

125125
/**
126-
* Encrypted AzureAD client secrets
126+
* Output only. Encrypted AzureAD client secret.
127127
* @see #encodeEncryptedClientSecret()
128128
* @param encryptedClientSecret encryptedClientSecret or {@code null} for none
129129
*/
@@ -133,7 +133,7 @@ public IdentityServiceAzureADConfig setEncryptedClientSecret(java.lang.String en
133133
}
134134

135135
/**
136-
* Encrypted AzureAD client secrets
136+
* Output only. Encrypted AzureAD client secret.
137137
* @see #setEncryptedClientSecret()
138138
*
139139
* <p>

0 commit comments

Comments
 (0)