Skip to content

Commit 8c72fb3

Browse files
feat(all): auto-regenerate discovery clients (#1680)
1 parent 9a84077 commit 8c72fb3

33 files changed

+11415
-4628
lines changed

api-list.json

+15
Original file line numberDiff line numberDiff line change
@@ -4627,6 +4627,21 @@
46274627
"documentationLink": "https://cloud.google.com/recommendations",
46284628
"preferred": true
46294629
},
4630+
{
4631+
"kind": "discovery#directoryItem",
4632+
"id": "run:v1alpha1",
4633+
"name": "run",
4634+
"version": "v1alpha1",
4635+
"title": "Cloud Run Admin API",
4636+
"description": "Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.",
4637+
"discoveryRestUrl": "https://run.googleapis.com/$discovery/rest?version=v1alpha1",
4638+
"icons": {
4639+
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
4640+
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
4641+
},
4642+
"documentationLink": "https://cloud.google.com/run/",
4643+
"preferred": false
4644+
},
46304645
{
46314646
"kind": "discovery#directoryItem",
46324647
"id": "run:v1",

baremetalsolution/v2/baremetalsolution-api.json

+125-9
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,59 @@
580580
},
581581
"nfsShares": {
582582
"methods": {
583+
"create": {
584+
"description": "Create an NFS share.",
585+
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares",
586+
"httpMethod": "POST",
587+
"id": "baremetalsolution.projects.locations.nfsShares.create",
588+
"parameterOrder": [
589+
"parent"
590+
],
591+
"parameters": {
592+
"parent": {
593+
"description": "Required. The parent project and location.",
594+
"location": "path",
595+
"pattern": "^projects/[^/]+/locations/[^/]+$",
596+
"required": true,
597+
"type": "string"
598+
}
599+
},
600+
"path": "v2/{+parent}/nfsShares",
601+
"request": {
602+
"$ref": "NfsShare"
603+
},
604+
"response": {
605+
"$ref": "Operation"
606+
},
607+
"scopes": [
608+
"https://www.googleapis.com/auth/cloud-platform"
609+
]
610+
},
611+
"delete": {
612+
"description": "Delete an NFS share. The underlying volume is automatically deleted.",
613+
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares/{nfsSharesId}",
614+
"httpMethod": "DELETE",
615+
"id": "baremetalsolution.projects.locations.nfsShares.delete",
616+
"parameterOrder": [
617+
"name"
618+
],
619+
"parameters": {
620+
"name": {
621+
"description": "Required. The name of the NFS share to delete.",
622+
"location": "path",
623+
"pattern": "^projects/[^/]+/locations/[^/]+/nfsShares/[^/]+$",
624+
"required": true,
625+
"type": "string"
626+
}
627+
},
628+
"path": "v2/{+name}",
629+
"response": {
630+
"$ref": "Operation"
631+
},
632+
"scopes": [
633+
"https://www.googleapis.com/auth/cloud-platform"
634+
]
635+
},
583636
"get": {
584637
"description": "Get details of a single NFS share.",
585638
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares/{nfsSharesId}",
@@ -656,14 +709,14 @@
656709
],
657710
"parameters": {
658711
"name": {
659-
"description": "Output only. The name of the NFS share.",
712+
"description": "Immutable. The name of the NFS share.",
660713
"location": "path",
661714
"pattern": "^projects/[^/]+/locations/[^/]+/nfsShares/[^/]+$",
662715
"required": true,
663716
"type": "string"
664717
},
665718
"updateMask": {
666-
"description": "The list of fields to update. The only currently supported fields are: `labels`",
719+
"description": "The list of fields to update. The only currently supported fields are: `labels` `allowed_clients`",
667720
"format": "google-fieldmask",
668721
"location": "query",
669722
"type": "string"
@@ -1084,7 +1137,7 @@
10841137
}
10851138
}
10861139
},
1087-
"revision": "20220731",
1140+
"revision": "20220822",
10881141
"rootUrl": "https://baremetalsolution.googleapis.com/",
10891142
"schemas": {
10901143
"AllowedClient": {
@@ -1131,7 +1184,8 @@
11311184
"type": "boolean"
11321185
},
11331186
"shareIp": {
1134-
"description": "The IP address of the share on this network.",
1187+
"description": "Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.",
1188+
"readOnly": true,
11351189
"type": "string"
11361190
}
11371191
},
@@ -1802,6 +1856,10 @@
18021856
"description": "IP address configured.",
18031857
"type": "string"
18041858
},
1859+
"jumboFramesEnabled": {
1860+
"description": "Whether network uses standard frames or jumbo ones.",
1861+
"type": "boolean"
1862+
},
18051863
"labels": {
18061864
"additionalProperties": {
18071865
"type": "string"
@@ -1816,11 +1874,23 @@
18161874
},
18171875
"type": "array"
18181876
},
1877+
"mountPoints": {
1878+
"description": "Input only. List of mount points to attach the network to.",
1879+
"items": {
1880+
"$ref": "NetworkMountPoint"
1881+
},
1882+
"type": "array"
1883+
},
18191884
"name": {
18201885
"description": "Output only. The resource name of this `Network`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/networks/{network}`",
18211886
"readOnly": true,
18221887
"type": "string"
18231888
},
1889+
"pod": {
1890+
"description": "Output only. Pod name.",
1891+
"readOnly": true,
1892+
"type": "string"
1893+
},
18241894
"reservations": {
18251895
"description": "List of IP address reservations in this network. When updating this field, an error will be generated if a reservation conflicts with an IP address already allocated to a physical server.",
18261896
"items": {
@@ -2004,6 +2074,29 @@
20042074
},
20052075
"type": "object"
20062076
},
2077+
"NetworkMountPoint": {
2078+
"description": "Mount point for a network.",
2079+
"id": "NetworkMountPoint",
2080+
"properties": {
2081+
"defaultGateway": {
2082+
"description": "Network should be a default gateway.",
2083+
"type": "boolean"
2084+
},
2085+
"instance": {
2086+
"description": "Instance to attach network to.",
2087+
"type": "string"
2088+
},
2089+
"ipAddress": {
2090+
"description": "Ip address of the server.",
2091+
"type": "string"
2092+
},
2093+
"logicalInterface": {
2094+
"description": "Logical interface to detach from.",
2095+
"type": "string"
2096+
}
2097+
},
2098+
"type": "object"
2099+
},
20072100
"NetworkUsage": {
20082101
"description": "Network with all used IP addresses.",
20092102
"id": "NetworkUsage",
@@ -2091,8 +2184,7 @@
20912184
"type": "object"
20922185
},
20932186
"name": {
2094-
"description": "Output only. The name of the NFS share.",
2095-
"readOnly": true,
2187+
"description": "Immutable. The name of the NFS share.",
20962188
"type": "string"
20972189
},
20982190
"nfsShareId": {
@@ -2106,7 +2198,7 @@
21062198
"type": "string"
21072199
},
21082200
"state": {
2109-
"description": "The state of the NFS share.",
2201+
"description": "Output only. The state of the NFS share.",
21102202
"enum": [
21112203
"STATE_UNSPECIFIED",
21122204
"PROVISIONED",
@@ -2121,10 +2213,26 @@
21212213
"The NFS Share is being updated.",
21222214
"The NFS Share has been requested to be deleted."
21232215
],
2216+
"readOnly": true,
2217+
"type": "string"
2218+
},
2219+
"storageType": {
2220+
"description": "Immutable. The storage type of the underlying volume.",
2221+
"enum": [
2222+
"STORAGE_TYPE_UNSPECIFIED",
2223+
"SSD",
2224+
"HDD"
2225+
],
2226+
"enumDescriptions": [
2227+
"The storage type for this volume is unknown.",
2228+
"The storage type for this volume is SSD.",
2229+
"This storage type for this volume is HDD."
2230+
],
21242231
"type": "string"
21252232
},
21262233
"volume": {
2127-
"description": "The volume containing the share.",
2234+
"description": "Output only. The underlying volume of the share. Created automatically during provisioning.",
2235+
"readOnly": true,
21282236
"type": "string"
21292237
}
21302238
},
@@ -2554,7 +2662,7 @@
25542662
},
25552663
"qosPolicy": {
25562664
"$ref": "QosPolicy",
2557-
"description": "The QOS policy applied to this VRF."
2665+
"description": "The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility."
25582666
},
25592667
"state": {
25602668
"description": "The possible state of VRF.",
@@ -2584,6 +2692,10 @@
25842692
"description": "VLAN attachment details.",
25852693
"id": "VlanAttachment",
25862694
"properties": {
2695+
"pairingKey": {
2696+
"description": "Input only. Pairing key.",
2697+
"type": "string"
2698+
},
25872699
"peerIp": {
25882700
"description": "The peer IP of the attachment.",
25892701
"type": "string"
@@ -2593,6 +2705,10 @@
25932705
"format": "int64",
25942706
"type": "string"
25952707
},
2708+
"qosPolicy": {
2709+
"$ref": "QosPolicy",
2710+
"description": "The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level."
2711+
},
25962712
"routerIp": {
25972713
"description": "The router IP of the attachment.",
25982714
"type": "string"

0 commit comments

Comments
 (0)