Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1635)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Jul 28, 2022
1 parent c824ae8 commit fdea35f
Show file tree
Hide file tree
Showing 20 changed files with 940 additions and 103 deletions.
89 changes: 78 additions & 11 deletions baremetalsolution/v2/baremetalsolution-api.json
Expand Up @@ -207,6 +207,34 @@
},
"instances": {
"methods": {
"create": {
"description": "Create an Instance.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances",
"httpMethod": "POST",
"id": "baremetalsolution.projects.locations.instances.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent project and location.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+parent}/instances",
"request": {
"$ref": "Instance"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"detachLun": {
"description": "Detach LUN from Instance.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:detachLun",
Expand Down Expand Up @@ -311,7 +339,7 @@
],
"parameters": {
"name": {
"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}`",
"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}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
Expand Down Expand Up @@ -1056,7 +1084,7 @@
}
}
},
"revision": "20220706",
"revision": "20220725",
"rootUrl": "https://baremetalsolution.googleapis.com/",
"schemas": {
"AllowedClient": {
Expand Down Expand Up @@ -1093,6 +1121,11 @@
"description": "The network the access point sits on.",
"type": "string"
},
"nfsPath": {
"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\"",
"readOnly": true,
"type": "string"
},
"noRootSquash": {
"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.",
"type": "boolean"
Expand Down Expand Up @@ -1200,11 +1233,13 @@
"type": "boolean"
},
"id": {
"description": "An identifier for the `Instance`, generated by the backend.",
"description": "Output only. An identifier for the `Instance`, generated by the backend.",
"readOnly": true,
"type": "string"
},
"interactiveSerialConsoleEnabled": {
"description": "True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.",
"description": "Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.",
"readOnly": true,
"type": "boolean"
},
"labels": {
Expand All @@ -1221,31 +1256,36 @@
},
"type": "array"
},
"loginInfo": {
"description": "Output only. Text field about info for logging in.",
"readOnly": true,
"type": "string"
},
"luns": {
"description": "List of LUNs associated with this server.",
"description": "Immutable. List of LUNs associated with this server.",
"items": {
"$ref": "Lun"
},
"type": "array"
},
"machineType": {
"description": "The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
"description": "Immutable. The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
"type": "string"
},
"name": {
"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}`",
"readOnly": true,
"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}`",
"type": "string"
},
"networkTemplate": {
"description": "Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of \"bond\" or \"nic\".",
"type": "string"
},
"networks": {
"description": "List of networks associated with this server.",
"description": "Output only. List of networks associated with this server.",
"items": {
"$ref": "Network"
},
"readOnly": true,
"type": "array"
},
"osImage": {
Expand All @@ -1257,7 +1297,7 @@
"type": "string"
},
"state": {
"description": "The state of the server.",
"description": "Output only. The state of the server.",
"enum": [
"STATE_UNSPECIFIED",
"PROVISIONING",
Expand All @@ -1270,13 +1310,21 @@
"The server is running.",
"The server has been deleted."
],
"readOnly": true,
"type": "string"
},
"updateTime": {
"description": "Output only. Update a time stamp.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"volumes": {
"description": "Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.",
"items": {
"$ref": "Volume"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -1359,8 +1407,12 @@
"format": "int32",
"type": "integer"
},
"gcpService": {
"description": "The gcp service of the provisioning quota.",
"type": "string"
},
"instanceType": {
"description": "Instance type.",
"description": "Instance type. Deprecated: use gcp_service.",
"type": "string"
},
"location": {
Expand Down Expand Up @@ -2597,6 +2649,21 @@
"description": "Immutable. Pod name.",
"type": "string"
},
"protocol": {
"description": "Output only. Storage protocol for the Volume.",
"enum": [
"PROTOCOL_UNSPECIFIED",
"FIBRE_CHANNEL",
"NFS"
],
"enumDescriptions": [
"Value is not specified.",
"Fibre Channel protocol.",
"NFS protocol means Volume is a NFS Share volume. Such volumes cannot be manipulated via Volumes API."
],
"readOnly": true,
"type": "string"
},
"remainingSpaceGib": {
"description": "The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.",
"format": "int64",
Expand Down

0 comments on commit fdea35f

Please sign in to comment.