Skip to content

Commit fdea35f

Browse files
feat(all): auto-regenerate discovery clients (#1635)
1 parent c824ae8 commit fdea35f

20 files changed

+940
-103
lines changed

baremetalsolution/v2/baremetalsolution-api.json

Lines changed: 78 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,34 @@
207207
},
208208
"instances": {
209209
"methods": {
210+
"create": {
211+
"description": "Create an Instance.",
212+
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances",
213+
"httpMethod": "POST",
214+
"id": "baremetalsolution.projects.locations.instances.create",
215+
"parameterOrder": [
216+
"parent"
217+
],
218+
"parameters": {
219+
"parent": {
220+
"description": "Required. The parent project and location.",
221+
"location": "path",
222+
"pattern": "^projects/[^/]+/locations/[^/]+$",
223+
"required": true,
224+
"type": "string"
225+
}
226+
},
227+
"path": "v2/{+parent}/instances",
228+
"request": {
229+
"$ref": "Instance"
230+
},
231+
"response": {
232+
"$ref": "Operation"
233+
},
234+
"scopes": [
235+
"https://www.googleapis.com/auth/cloud-platform"
236+
]
237+
},
210238
"detachLun": {
211239
"description": "Detach LUN from Instance.",
212240
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:detachLun",
@@ -311,7 +339,7 @@
311339
],
312340
"parameters": {
313341
"name": {
314-
"description": "Output only. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`",
342+
"description": "Immutable. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`",
315343
"location": "path",
316344
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
317345
"required": true,
@@ -1056,7 +1084,7 @@
10561084
}
10571085
}
10581086
},
1059-
"revision": "20220706",
1087+
"revision": "20220725",
10601088
"rootUrl": "https://baremetalsolution.googleapis.com/",
10611089
"schemas": {
10621090
"AllowedClient": {
@@ -1093,6 +1121,11 @@
10931121
"description": "The network the access point sits on.",
10941122
"type": "string"
10951123
},
1124+
"nfsPath": {
1125+
"description": "Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like \"10.0.0.0:/g123456789-nfs001\"",
1126+
"readOnly": true,
1127+
"type": "string"
1128+
},
10961129
"noRootSquash": {
10971130
"description": "Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.",
10981131
"type": "boolean"
@@ -1200,11 +1233,13 @@
12001233
"type": "boolean"
12011234
},
12021235
"id": {
1203-
"description": "An identifier for the `Instance`, generated by the backend.",
1236+
"description": "Output only. An identifier for the `Instance`, generated by the backend.",
1237+
"readOnly": true,
12041238
"type": "string"
12051239
},
12061240
"interactiveSerialConsoleEnabled": {
1207-
"description": "True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.",
1241+
"description": "Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.",
1242+
"readOnly": true,
12081243
"type": "boolean"
12091244
},
12101245
"labels": {
@@ -1221,31 +1256,36 @@
12211256
},
12221257
"type": "array"
12231258
},
1259+
"loginInfo": {
1260+
"description": "Output only. Text field about info for logging in.",
1261+
"readOnly": true,
1262+
"type": "string"
1263+
},
12241264
"luns": {
1225-
"description": "List of LUNs associated with this server.",
1265+
"description": "Immutable. List of LUNs associated with this server.",
12261266
"items": {
12271267
"$ref": "Lun"
12281268
},
12291269
"type": "array"
12301270
},
12311271
"machineType": {
1232-
"description": "The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
1272+
"description": "Immutable. The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
12331273
"type": "string"
12341274
},
12351275
"name": {
1236-
"description": "Output only. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`",
1237-
"readOnly": true,
1276+
"description": "Immutable. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`",
12381277
"type": "string"
12391278
},
12401279
"networkTemplate": {
12411280
"description": "Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of \"bond\" or \"nic\".",
12421281
"type": "string"
12431282
},
12441283
"networks": {
1245-
"description": "List of networks associated with this server.",
1284+
"description": "Output only. List of networks associated with this server.",
12461285
"items": {
12471286
"$ref": "Network"
12481287
},
1288+
"readOnly": true,
12491289
"type": "array"
12501290
},
12511291
"osImage": {
@@ -1257,7 +1297,7 @@
12571297
"type": "string"
12581298
},
12591299
"state": {
1260-
"description": "The state of the server.",
1300+
"description": "Output only. The state of the server.",
12611301
"enum": [
12621302
"STATE_UNSPECIFIED",
12631303
"PROVISIONING",
@@ -1270,13 +1310,21 @@
12701310
"The server is running.",
12711311
"The server has been deleted."
12721312
],
1313+
"readOnly": true,
12731314
"type": "string"
12741315
},
12751316
"updateTime": {
12761317
"description": "Output only. Update a time stamp.",
12771318
"format": "google-datetime",
12781319
"readOnly": true,
12791320
"type": "string"
1321+
},
1322+
"volumes": {
1323+
"description": "Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.",
1324+
"items": {
1325+
"$ref": "Volume"
1326+
},
1327+
"type": "array"
12801328
}
12811329
},
12821330
"type": "object"
@@ -1359,8 +1407,12 @@
13591407
"format": "int32",
13601408
"type": "integer"
13611409
},
1410+
"gcpService": {
1411+
"description": "The gcp service of the provisioning quota.",
1412+
"type": "string"
1413+
},
13621414
"instanceType": {
1363-
"description": "Instance type.",
1415+
"description": "Instance type. Deprecated: use gcp_service.",
13641416
"type": "string"
13651417
},
13661418
"location": {
@@ -2597,6 +2649,21 @@
25972649
"description": "Immutable. Pod name.",
25982650
"type": "string"
25992651
},
2652+
"protocol": {
2653+
"description": "Output only. Storage protocol for the Volume.",
2654+
"enum": [
2655+
"PROTOCOL_UNSPECIFIED",
2656+
"FIBRE_CHANNEL",
2657+
"NFS"
2658+
],
2659+
"enumDescriptions": [
2660+
"Value is not specified.",
2661+
"Fibre Channel protocol.",
2662+
"NFS protocol means Volume is a NFS Share volume. Such volumes cannot be manipulated via Volumes API."
2663+
],
2664+
"readOnly": true,
2665+
"type": "string"
2666+
},
26002667
"remainingSpaceGib": {
26012668
"description": "The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.",
26022669
"format": "int64",

0 commit comments

Comments
 (0)