Skip to content

Commit 6daf953

Browse files
feat(gkehub): update the api
#### gkehub:v1 The following keys were added: - schemas.OnPremCluster.properties.clusterType.type (Total Keys: 1) #### gkehub:v1alpha The following keys were added: - schemas.OnPremCluster.properties.clusterType.type (Total Keys: 1) #### gkehub:v1alpha2 The following keys were added: - schemas.OnPremCluster.properties.clusterType.type (Total Keys: 1) #### gkehub:v1beta1 The following keys were added: - schemas.OnPremCluster.properties.clusterType.type (Total Keys: 1)
1 parent e16ceae commit 6daf953

10 files changed

+95
-6
lines changed

docs/dyn/gkehub_v1.projects.locations.memberships.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ <h3>Method Details</h3>
178178
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
179179
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
180180
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
181+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
181182
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
182183
},
183184
},
@@ -364,6 +365,7 @@ <h3>Method Details</h3>
364365
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
365366
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
366367
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
368+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
367369
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
368370
},
369371
},
@@ -506,6 +508,7 @@ <h3>Method Details</h3>
506508
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
507509
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
508510
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
511+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
509512
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
510513
},
511514
},
@@ -607,6 +610,7 @@ <h3>Method Details</h3>
607610
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
608611
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
609612
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
613+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
610614
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
611615
},
612616
},

docs/dyn/gkehub_v1alpha.projects.locations.memberships.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ <h3>Method Details</h3>
184184
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
185185
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
186186
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
187+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
187188
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
188189
},
189190
},
@@ -370,6 +371,7 @@ <h3>Method Details</h3>
370371
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
371372
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
372373
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
374+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
373375
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
374376
},
375377
},
@@ -512,6 +514,7 @@ <h3>Method Details</h3>
512514
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
513515
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
514516
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
517+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
515518
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
516519
},
517520
},
@@ -610,6 +613,7 @@ <h3>Method Details</h3>
610613
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
611614
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
612615
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
616+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
613617
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
614618
},
615619
},
@@ -726,6 +730,7 @@ <h3>Method Details</h3>
726730
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
727731
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
728732
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
733+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
729734
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
730735
},
731736
},

docs/dyn/gkehub_v1alpha2.projects.locations.memberships.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ <h3>Method Details</h3>
178178
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
179179
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
180180
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
181+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
181182
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
182183
},
183184
},
@@ -363,6 +364,7 @@ <h3>Method Details</h3>
363364
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
364365
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
365366
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
367+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
366368
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
367369
},
368370
},
@@ -506,6 +508,7 @@ <h3>Method Details</h3>
506508
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
507509
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
508510
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
511+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
509512
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
510513
},
511514
},
@@ -608,6 +611,7 @@ <h3>Method Details</h3>
608611
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
609612
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
610613
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
614+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
611615
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
612616
},
613617
},

docs/dyn/gkehub_v1beta1.projects.locations.memberships.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ <h3>Method Details</h3>
184184
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
185185
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
186186
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
187+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
187188
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
188189
},
189190
},
@@ -396,6 +397,7 @@ <h3>Method Details</h3>
396397
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
397398
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
398399
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
400+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
399401
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
400402
},
401403
},
@@ -541,6 +543,7 @@ <h3>Method Details</h3>
541543
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
542544
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
543545
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
546+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
544547
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
545548
},
546549
},
@@ -645,6 +648,7 @@ <h3>Method Details</h3>
645648
&quot;onPremCluster&quot;: { # OnPremCluster contains information specific to GKE On-Prem clusters. # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil &quot;type&quot; instead.
646649
&quot;adminCluster&quot;: True or False, # Immutable. Whether the cluster is an admin cluster.
647650
&quot;clusterMissing&quot;: True or False, # Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
651+
&quot;clusterType&quot;: &quot;A String&quot;, # Immutable. The on prem cluster&#x27;s type.
648652
&quot;resourceLink&quot;: &quot;A String&quot;, # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
649653
},
650654
},

googleapiclient/discovery_cache/documents/gkehub.v1.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@
905905
}
906906
}
907907
},
908-
"revision": "20220603",
908+
"revision": "20220613",
909909
"rootUrl": "https://gkehub.googleapis.com/",
910910
"schemas": {
911911
"AnthosVMMembershipSpec": {
@@ -2677,6 +2677,24 @@
26772677
"readOnly": true,
26782678
"type": "boolean"
26792679
},
2680+
"clusterType": {
2681+
"description": "Immutable. The on prem cluster's type.",
2682+
"enum": [
2683+
"CLUSTERTYPE_UNSPECIFIED",
2684+
"BOOTSTRAP",
2685+
"HYBRID",
2686+
"STANDALONE",
2687+
"USER"
2688+
],
2689+
"enumDescriptions": [
2690+
"The ClusterType is not set.",
2691+
"The ClusterType is bootstrap cluster.",
2692+
"The ClusterType is baremetal hybrid cluster.",
2693+
"The ClusterType is baremetal standalone cluster.",
2694+
"The ClusterType is user cluster."
2695+
],
2696+
"type": "string"
2697+
},
26802698
"resourceLink": {
26812699
"description": "Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster",
26822700
"type": "string"

0 commit comments

Comments
 (0)