Skip to content

Commit c344788

Browse files
yoshi-automationsofisl
authored andcommitted
feat(gkeonprem): update the API
#### gkeonprem:v1 The following keys were added: - resources.projects.resources.locations.resources.bareMetalAdminClusters.methods.create.parameters.allowPreflightFailure.description - resources.projects.resources.locations.resources.bareMetalAdminClusters.methods.create.parameters.allowPreflightFailure.location - resources.projects.resources.locations.resources.bareMetalAdminClusters.methods.create.parameters.allowPreflightFailure.type - resources.projects.resources.locations.resources.bareMetalAdminClusters.methods.get.parameters.allowMissing.description - resources.projects.resources.locations.resources.bareMetalAdminClusters.methods.get.parameters.allowMissing.location - resources.projects.resources.locations.resources.bareMetalAdminClusters.methods.get.parameters.allowMissing.type - resources.projects.resources.locations.resources.bareMetalAdminClusters.methods.list.parameters.allowMissing.description - resources.projects.resources.locations.resources.bareMetalAdminClusters.methods.list.parameters.allowMissing.location - resources.projects.resources.locations.resources.bareMetalAdminClusters.methods.list.parameters.allowMissing.type - resources.projects.resources.locations.resources.bareMetalClusters.methods.create.parameters.allowPreflightFailure.description - resources.projects.resources.locations.resources.bareMetalClusters.methods.create.parameters.allowPreflightFailure.location - resources.projects.resources.locations.resources.bareMetalClusters.methods.create.parameters.allowPreflightFailure.type - resources.projects.resources.locations.resources.bareMetalClusters.methods.get.parameters.allowMissing.description - resources.projects.resources.locations.resources.bareMetalClusters.methods.get.parameters.allowMissing.location - resources.projects.resources.locations.resources.bareMetalClusters.methods.get.parameters.allowMissing.type - resources.projects.resources.locations.resources.bareMetalClusters.methods.list.parameters.allowMissing.description - resources.projects.resources.locations.resources.bareMetalClusters.methods.list.parameters.allowMissing.location - resources.projects.resources.locations.resources.bareMetalClusters.methods.list.parameters.allowMissing.type - resources.projects.resources.locations.resources.vmwareAdminClusters.methods.get.parameters.allowMissing.description - resources.projects.resources.locations.resources.vmwareAdminClusters.methods.get.parameters.allowMissing.location - resources.projects.resources.locations.resources.vmwareAdminClusters.methods.get.parameters.allowMissing.type - resources.projects.resources.locations.resources.vmwareAdminClusters.methods.list.parameters.allowMissing.description - resources.projects.resources.locations.resources.vmwareAdminClusters.methods.list.parameters.allowMissing.location - resources.projects.resources.locations.resources.vmwareAdminClusters.methods.list.parameters.allowMissing.type - resources.projects.resources.locations.resources.vmwareClusters.methods.create.parameters.allowPreflightFailure.description - resources.projects.resources.locations.resources.vmwareClusters.methods.create.parameters.allowPreflightFailure.location - resources.projects.resources.locations.resources.vmwareClusters.methods.create.parameters.allowPreflightFailure.type - resources.projects.resources.locations.resources.vmwareClusters.methods.get.parameters.allowMissing.description - resources.projects.resources.locations.resources.vmwareClusters.methods.get.parameters.allowMissing.location - resources.projects.resources.locations.resources.vmwareClusters.methods.get.parameters.allowMissing.type - resources.projects.resources.locations.resources.vmwareClusters.methods.list.parameters.allowMissing.description - resources.projects.resources.locations.resources.vmwareClusters.methods.list.parameters.allowMissing.location - resources.projects.resources.locations.resources.vmwareClusters.methods.list.parameters.allowMissing.type - schemas.BareMetalClusterUpgradePolicy.properties.pause.description - schemas.BareMetalClusterUpgradePolicy.properties.pause.readOnly - schemas.BareMetalClusterUpgradePolicy.properties.pause.type - schemas.ResourceStatus.properties.version.description - schemas.ResourceStatus.properties.version.type - schemas.ResourceStatus.properties.versions.$ref - schemas.ResourceStatus.properties.versions.description - schemas.Version.description - schemas.Version.id - schemas.Version.properties.count.description - schemas.Version.properties.count.format - schemas.Version.properties.count.type - schemas.Version.properties.version.description - schemas.Version.properties.version.type - schemas.Version.type - schemas.Versions.description - schemas.Versions.id - schemas.Versions.properties.versions.description - schemas.Versions.properties.versions.items.$ref - schemas.Versions.properties.versions.type - schemas.Versions.type - schemas.VmwareAdminCluster.properties.validationCheck.$ref - schemas.VmwareAdminCluster.properties.validationCheck.description - schemas.VmwareAdminCluster.properties.validationCheck.readOnly The following keys were changed: - title
1 parent 75d45d7 commit c344788

File tree

2 files changed

+188
-3
lines changed

2 files changed

+188
-3
lines changed

discovery/gkeonprem-v1.json

Lines changed: 105 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@
188188
"parent"
189189
],
190190
"parameters": {
191+
"allowPreflightFailure": {
192+
"description": "Optional. If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with \"cluster already exists\" error and hence a update cluster is required to fix the cluster.",
193+
"location": "query",
194+
"type": "boolean"
195+
},
191196
"bareMetalAdminClusterId": {
192197
"description": "Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/",
193198
"location": "query",
@@ -254,6 +259,11 @@
254259
"name"
255260
],
256261
"parameters": {
262+
"allowMissing": {
263+
"description": "Optional. If true, return BareMetal Admin Cluster including the one that only exists in RMS.",
264+
"location": "query",
265+
"type": "boolean"
266+
},
257267
"name": {
258268
"description": "Required. Name of the bare metal admin cluster to get. Format: \"projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_admin_cluster}\"",
259269
"location": "path",
@@ -325,6 +335,11 @@
325335
"parent"
326336
],
327337
"parameters": {
338+
"allowMissing": {
339+
"description": "Optional. If true, return list of BareMetal Admin Clusters including the ones that only exists in RMS.",
340+
"location": "query",
341+
"type": "boolean"
342+
},
328343
"pageSize": {
329344
"description": "Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
330345
"format": "int32",
@@ -622,6 +637,11 @@
622637
"parent"
623638
],
624639
"parameters": {
640+
"allowPreflightFailure": {
641+
"description": "Optional. If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with \"cluster already exists\" error and hence a update cluster is required to fix the cluster.",
642+
"location": "query",
643+
"type": "boolean"
644+
},
625645
"bareMetalClusterId": {
626646
"description": "Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/",
627647
"location": "query",
@@ -738,6 +758,11 @@
738758
"name"
739759
],
740760
"parameters": {
761+
"allowMissing": {
762+
"description": "Optional. If true, return BareMetal Cluster including the one that only exists in RMS.",
763+
"location": "query",
764+
"type": "boolean"
765+
},
741766
"name": {
742767
"description": "Required. Name of the bare metal user cluster to get. Format: \"projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluster}\"",
743768
"location": "path",
@@ -809,6 +834,11 @@
809834
"parent"
810835
],
811836
"parameters": {
837+
"allowMissing": {
838+
"description": "Optional. If true, return list of BareMetal Clusters including the ones that only exists in RMS.",
839+
"location": "query",
840+
"type": "boolean"
841+
},
812842
"filter": {
813843
"description": "A resource filtering expression following https://google.aip.dev/160. When non-empty, only resource's whose attributes field matches the filter are returned.",
814844
"location": "query",
@@ -1726,6 +1756,11 @@
17261756
"name"
17271757
],
17281758
"parameters": {
1759+
"allowMissing": {
1760+
"description": "Optional. If true, return Vmware Admin Cluster including the one that only exists in RMS.",
1761+
"location": "query",
1762+
"type": "boolean"
1763+
},
17291764
"name": {
17301765
"description": "Required. Name of the VMware admin cluster to be returned. Format: \"projects/{project}/locations/{location}/vmwareAdminClusters/{vmware_admin_cluster}\"",
17311766
"location": "path",
@@ -1797,6 +1832,11 @@
17971832
"parent"
17981833
],
17991834
"parameters": {
1835+
"allowMissing": {
1836+
"description": "Optional. If true, return list of Vmware Admin Clusters including the ones that only exists in RMS.",
1837+
"location": "query",
1838+
"type": "boolean"
1839+
},
18001840
"pageSize": {
18011841
"description": "Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
18021842
"format": "int32",
@@ -2059,6 +2099,11 @@
20592099
"parent"
20602100
],
20612101
"parameters": {
2102+
"allowPreflightFailure": {
2103+
"description": "Optional. If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with \"cluster already exists\" error and hence a update cluster is required to fix the cluster.",
2104+
"location": "query",
2105+
"type": "boolean"
2106+
},
20622107
"parent": {
20632108
"description": "Required. The parent of the project and location where this cluster is created in. Format: \"projects/{project}/locations/{location}\"",
20642109
"location": "path",
@@ -2175,6 +2220,11 @@
21752220
"name"
21762221
],
21772222
"parameters": {
2223+
"allowMissing": {
2224+
"description": "Optional. If true, return Vmware Cluster including the one that only exists in RMS.",
2225+
"location": "query",
2226+
"type": "boolean"
2227+
},
21782228
"name": {
21792229
"description": "Required. Name of the VMware user cluster to be returned. Format: \"projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}\"",
21802230
"location": "path",
@@ -2246,6 +2296,11 @@
22462296
"parent"
22472297
],
22482298
"parameters": {
2299+
"allowMissing": {
2300+
"description": "Optional. If true, return list of Vmware Clusters including the ones that only exists in RMS.",
2301+
"location": "query",
2302+
"type": "boolean"
2303+
},
22492304
"filter": {
22502305
"description": "A resource filtering expression following https://google.aip.dev/160. When non-empty, only resource's whose attributes field matches the filter are returned.",
22512306
"location": "query",
@@ -2996,7 +3051,7 @@
29963051
}
29973052
}
29983053
},
2999-
"revision": "20240228",
3054+
"revision": "20240814",
30003055
"rootUrl": "https://gkeonprem.googleapis.com/",
30013056
"schemas": {
30023057
"Authorization": {
@@ -3719,6 +3774,11 @@
37193774
"description": "BareMetalClusterUpgradePolicy defines the cluster upgrade policy.",
37203775
"id": "BareMetalClusterUpgradePolicy",
37213776
"properties": {
3777+
"pause": {
3778+
"description": "Output only. Pause is used to show the upgrade pause status. It's view only for now.",
3779+
"readOnly": true,
3780+
"type": "boolean"
3781+
},
37223782
"policy": {
37233783
"description": "Specifies which upgrade policy to use.",
37243784
"enum": [
@@ -5182,6 +5242,14 @@
51825242
"errorMessage": {
51835243
"description": "Human-friendly representation of the error message from controller. The error message can be temporary as the controller controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.",
51845244
"type": "string"
5245+
},
5246+
"version": {
5247+
"description": "Reflect current version of the resource.",
5248+
"type": "string"
5249+
},
5250+
"versions": {
5251+
"$ref": "Versions",
5252+
"description": "Shows the mapping of a given version to the number of machines under this version."
51855253
}
51865254
},
51875255
"type": "object"
@@ -5371,6 +5439,36 @@
53715439
},
53725440
"type": "object"
53735441
},
5442+
"Version": {
5443+
"description": "Version describes the number of nodes at a given version under a resource.",
5444+
"id": "Version",
5445+
"properties": {
5446+
"count": {
5447+
"description": "Number of machines under the above version.",
5448+
"format": "int64",
5449+
"type": "string"
5450+
},
5451+
"version": {
5452+
"description": "Resource version.",
5453+
"type": "string"
5454+
}
5455+
},
5456+
"type": "object"
5457+
},
5458+
"Versions": {
5459+
"description": "Versions describes the mapping of a given version to the number of machines under this version.",
5460+
"id": "Versions",
5461+
"properties": {
5462+
"versions": {
5463+
"description": "Shows the mapping of a given version to the number of machines under this version.",
5464+
"items": {
5465+
"$ref": "Version"
5466+
},
5467+
"type": "array"
5468+
}
5469+
},
5470+
"type": "object"
5471+
},
53745472
"VmwareAAGConfig": {
53755473
"description": "Specifies anti affinity group config for the VMware user cluster.",
53765474
"id": "VmwareAAGConfig",
@@ -5570,6 +5668,11 @@
55705668
"readOnly": true,
55715669
"type": "string"
55725670
},
5671+
"validationCheck": {
5672+
"$ref": "ValidationCheck",
5673+
"description": "Output only. ValidationCheck represents the result of the preflight check job.",
5674+
"readOnly": true
5675+
},
55735676
"vcenter": {
55745677
"$ref": "VmwareAdminVCenterConfig",
55755678
"description": "The VMware admin cluster VCenter configuration."
@@ -6727,7 +6830,7 @@
67276830
}
67286831
},
67296832
"servicePath": "",
6730-
"title": "Anthos On-Prem API",
6833+
"title": "GDC Virtual API",
67316834
"version": "v1",
67326835
"version_module": true
67336836
}

0 commit comments

Comments
 (0)