...

Text file src/google.golang.org/api/baremetalsolution/v2/baremetalsolution-api.json

Documentation: google.golang.org/api/baremetalsolution/v2

     1{
     2  "auth": {
     3    "oauth2": {
     4      "scopes": {
     5        "https://www.googleapis.com/auth/cloud-platform": {
     6          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
     7        }
     8      }
     9    }
    10  },
    11  "basePath": "",
    12  "baseUrl": "https://baremetalsolution.googleapis.com/",
    13  "batchPath": "batch",
    14  "description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.",
    15  "discoveryVersion": "v1",
    16  "documentationLink": "https://cloud.google.com/bare-metal",
    17  "fullyEncodeReservedExpansion": true,
    18  "icons": {
    19    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    20    "x32": "http://www.google.com/images/icons/product/search-32.gif"
    21  },
    22  "id": "baremetalsolution:v2",
    23  "kind": "discovery#restDescription",
    24  "mtlsRootUrl": "https://baremetalsolution.mtls.googleapis.com/",
    25  "name": "baremetalsolution",
    26  "ownerDomain": "google.com",
    27  "ownerName": "Google",
    28  "parameters": {
    29    "$.xgafv": {
    30      "description": "V1 error format.",
    31      "enum": [
    32        "1",
    33        "2"
    34      ],
    35      "enumDescriptions": [
    36        "v1 error format",
    37        "v2 error format"
    38      ],
    39      "location": "query",
    40      "type": "string"
    41    },
    42    "access_token": {
    43      "description": "OAuth access token.",
    44      "location": "query",
    45      "type": "string"
    46    },
    47    "alt": {
    48      "default": "json",
    49      "description": "Data format for response.",
    50      "enum": [
    51        "json",
    52        "media",
    53        "proto"
    54      ],
    55      "enumDescriptions": [
    56        "Responses with Content-Type of application/json",
    57        "Media download with context-dependent Content-Type",
    58        "Responses with Content-Type of application/x-protobuf"
    59      ],
    60      "location": "query",
    61      "type": "string"
    62    },
    63    "callback": {
    64      "description": "JSONP",
    65      "location": "query",
    66      "type": "string"
    67    },
    68    "fields": {
    69      "description": "Selector specifying which fields to include in a partial response.",
    70      "location": "query",
    71      "type": "string"
    72    },
    73    "key": {
    74      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
    75      "location": "query",
    76      "type": "string"
    77    },
    78    "oauth_token": {
    79      "description": "OAuth 2.0 token for the current user.",
    80      "location": "query",
    81      "type": "string"
    82    },
    83    "prettyPrint": {
    84      "default": "true",
    85      "description": "Returns response with indentations and line breaks.",
    86      "location": "query",
    87      "type": "boolean"
    88    },
    89    "quotaUser": {
    90      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
    91      "location": "query",
    92      "type": "string"
    93    },
    94    "uploadType": {
    95      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
    96      "location": "query",
    97      "type": "string"
    98    },
    99    "upload_protocol": {
   100      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
   101      "location": "query",
   102      "type": "string"
   103    }
   104  },
   105  "protocol": "rest",
   106  "resources": {
   107    "projects": {
   108      "resources": {
   109        "locations": {
   110          "methods": {
   111            "get": {
   112              "description": "Gets information about a location.",
   113              "flatPath": "v2/projects/{projectsId}/locations/{locationsId}",
   114              "httpMethod": "GET",
   115              "id": "baremetalsolution.projects.locations.get",
   116              "parameterOrder": [
   117                "name"
   118              ],
   119              "parameters": {
   120                "name": {
   121                  "description": "Resource name for the location.",
   122                  "location": "path",
   123                  "pattern": "^projects/[^/]+/locations/[^/]+$",
   124                  "required": true,
   125                  "type": "string"
   126                }
   127              },
   128              "path": "v2/{+name}",
   129              "response": {
   130                "$ref": "Location"
   131              },
   132              "scopes": [
   133                "https://www.googleapis.com/auth/cloud-platform"
   134              ]
   135            },
   136            "list": {
   137              "description": "Lists information about the supported locations for this service.",
   138              "flatPath": "v2/projects/{projectsId}/locations",
   139              "httpMethod": "GET",
   140              "id": "baremetalsolution.projects.locations.list",
   141              "parameterOrder": [
   142                "name"
   143              ],
   144              "parameters": {
   145                "filter": {
   146                  "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
   147                  "location": "query",
   148                  "type": "string"
   149                },
   150                "name": {
   151                  "description": "The resource that owns the locations collection, if applicable.",
   152                  "location": "path",
   153                  "pattern": "^projects/[^/]+$",
   154                  "required": true,
   155                  "type": "string"
   156                },
   157                "pageSize": {
   158                  "description": "The maximum number of results to return. If not set, the service selects a default.",
   159                  "format": "int32",
   160                  "location": "query",
   161                  "type": "integer"
   162                },
   163                "pageToken": {
   164                  "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
   165                  "location": "query",
   166                  "type": "string"
   167                }
   168              },
   169              "path": "v2/{+name}/locations",
   170              "response": {
   171                "$ref": "ListLocationsResponse"
   172              },
   173              "scopes": [
   174                "https://www.googleapis.com/auth/cloud-platform"
   175              ]
   176            }
   177          },
   178          "resources": {
   179            "instances": {
   180              "methods": {
   181                "detachLun": {
   182                  "description": "Detach LUN from Instance.",
   183                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:detachLun",
   184                  "httpMethod": "POST",
   185                  "id": "baremetalsolution.projects.locations.instances.detachLun",
   186                  "parameterOrder": [
   187                    "instance"
   188                  ],
   189                  "parameters": {
   190                    "instance": {
   191                      "description": "Required. Name of the instance.",
   192                      "location": "path",
   193                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   194                      "required": true,
   195                      "type": "string"
   196                    }
   197                  },
   198                  "path": "v2/{+instance}:detachLun",
   199                  "request": {
   200                    "$ref": "DetachLunRequest"
   201                  },
   202                  "response": {
   203                    "$ref": "Operation"
   204                  },
   205                  "scopes": [
   206                    "https://www.googleapis.com/auth/cloud-platform"
   207                  ]
   208                },
   209                "disableHyperthreading": {
   210                  "description": "Perform disable hyperthreading operation on a single server.",
   211                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:disableHyperthreading",
   212                  "httpMethod": "POST",
   213                  "id": "baremetalsolution.projects.locations.instances.disableHyperthreading",
   214                  "parameterOrder": [
   215                    "name"
   216                  ],
   217                  "parameters": {
   218                    "name": {
   219                      "description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}",
   220                      "location": "path",
   221                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   222                      "required": true,
   223                      "type": "string"
   224                    }
   225                  },
   226                  "path": "v2/{+name}:disableHyperthreading",
   227                  "request": {
   228                    "$ref": "DisableHyperthreadingRequest"
   229                  },
   230                  "response": {
   231                    "$ref": "Operation"
   232                  },
   233                  "scopes": [
   234                    "https://www.googleapis.com/auth/cloud-platform"
   235                  ]
   236                },
   237                "disableInteractiveSerialConsole": {
   238                  "description": "Disable the interactive serial console feature on an instance.",
   239                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:disableInteractiveSerialConsole",
   240                  "httpMethod": "POST",
   241                  "id": "baremetalsolution.projects.locations.instances.disableInteractiveSerialConsole",
   242                  "parameterOrder": [
   243                    "name"
   244                  ],
   245                  "parameters": {
   246                    "name": {
   247                      "description": "Required. Name of the resource.",
   248                      "location": "path",
   249                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   250                      "required": true,
   251                      "type": "string"
   252                    }
   253                  },
   254                  "path": "v2/{+name}:disableInteractiveSerialConsole",
   255                  "request": {
   256                    "$ref": "DisableInteractiveSerialConsoleRequest"
   257                  },
   258                  "response": {
   259                    "$ref": "Operation"
   260                  },
   261                  "scopes": [
   262                    "https://www.googleapis.com/auth/cloud-platform"
   263                  ]
   264                },
   265                "enableHyperthreading": {
   266                  "description": "Perform enable hyperthreading operation on a single server.",
   267                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:enableHyperthreading",
   268                  "httpMethod": "POST",
   269                  "id": "baremetalsolution.projects.locations.instances.enableHyperthreading",
   270                  "parameterOrder": [
   271                    "name"
   272                  ],
   273                  "parameters": {
   274                    "name": {
   275                      "description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}",
   276                      "location": "path",
   277                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   278                      "required": true,
   279                      "type": "string"
   280                    }
   281                  },
   282                  "path": "v2/{+name}:enableHyperthreading",
   283                  "request": {
   284                    "$ref": "EnableHyperthreadingRequest"
   285                  },
   286                  "response": {
   287                    "$ref": "Operation"
   288                  },
   289                  "scopes": [
   290                    "https://www.googleapis.com/auth/cloud-platform"
   291                  ]
   292                },
   293                "enableInteractiveSerialConsole": {
   294                  "description": "Enable the interactive serial console feature on an instance.",
   295                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:enableInteractiveSerialConsole",
   296                  "httpMethod": "POST",
   297                  "id": "baremetalsolution.projects.locations.instances.enableInteractiveSerialConsole",
   298                  "parameterOrder": [
   299                    "name"
   300                  ],
   301                  "parameters": {
   302                    "name": {
   303                      "description": "Required. Name of the resource.",
   304                      "location": "path",
   305                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   306                      "required": true,
   307                      "type": "string"
   308                    }
   309                  },
   310                  "path": "v2/{+name}:enableInteractiveSerialConsole",
   311                  "request": {
   312                    "$ref": "EnableInteractiveSerialConsoleRequest"
   313                  },
   314                  "response": {
   315                    "$ref": "Operation"
   316                  },
   317                  "scopes": [
   318                    "https://www.googleapis.com/auth/cloud-platform"
   319                  ]
   320                },
   321                "get": {
   322                  "description": "Get details about a single server.",
   323                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}",
   324                  "httpMethod": "GET",
   325                  "id": "baremetalsolution.projects.locations.instances.get",
   326                  "parameterOrder": [
   327                    "name"
   328                  ],
   329                  "parameters": {
   330                    "name": {
   331                      "description": "Required. Name of the resource.",
   332                      "location": "path",
   333                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   334                      "required": true,
   335                      "type": "string"
   336                    }
   337                  },
   338                  "path": "v2/{+name}",
   339                  "response": {
   340                    "$ref": "Instance"
   341                  },
   342                  "scopes": [
   343                    "https://www.googleapis.com/auth/cloud-platform"
   344                  ]
   345                },
   346                "list": {
   347                  "description": "List servers in a given project and location.",
   348                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances",
   349                  "httpMethod": "GET",
   350                  "id": "baremetalsolution.projects.locations.instances.list",
   351                  "parameterOrder": [
   352                    "parent"
   353                  ],
   354                  "parameters": {
   355                    "filter": {
   356                      "description": "List filter.",
   357                      "location": "query",
   358                      "type": "string"
   359                    },
   360                    "pageSize": {
   361                      "description": "Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.",
   362                      "format": "int32",
   363                      "location": "query",
   364                      "type": "integer"
   365                    },
   366                    "pageToken": {
   367                      "description": "A token identifying a page of results from the server.",
   368                      "location": "query",
   369                      "type": "string"
   370                    },
   371                    "parent": {
   372                      "description": "Required. Parent value for ListInstancesRequest.",
   373                      "location": "path",
   374                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   375                      "required": true,
   376                      "type": "string"
   377                    }
   378                  },
   379                  "path": "v2/{+parent}/instances",
   380                  "response": {
   381                    "$ref": "ListInstancesResponse"
   382                  },
   383                  "scopes": [
   384                    "https://www.googleapis.com/auth/cloud-platform"
   385                  ]
   386                },
   387                "loadAuthInfo": {
   388                  "description": "Load auth info for a server.",
   389                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:loadAuthInfo",
   390                  "httpMethod": "GET",
   391                  "id": "baremetalsolution.projects.locations.instances.loadAuthInfo",
   392                  "parameterOrder": [
   393                    "name"
   394                  ],
   395                  "parameters": {
   396                    "name": {
   397                      "description": "Required. Name of the server.",
   398                      "location": "path",
   399                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   400                      "required": true,
   401                      "type": "string"
   402                    }
   403                  },
   404                  "path": "v2/{+name}:loadAuthInfo",
   405                  "response": {
   406                    "$ref": "LoadInstanceAuthInfoResponse"
   407                  },
   408                  "scopes": [
   409                    "https://www.googleapis.com/auth/cloud-platform"
   410                  ]
   411                },
   412                "patch": {
   413                  "description": "Update details of a single server.",
   414                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}",
   415                  "httpMethod": "PATCH",
   416                  "id": "baremetalsolution.projects.locations.instances.patch",
   417                  "parameterOrder": [
   418                    "name"
   419                  ],
   420                  "parameters": {
   421                    "name": {
   422                      "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}`",
   423                      "location": "path",
   424                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   425                      "required": true,
   426                      "type": "string"
   427                    },
   428                    "updateMask": {
   429                      "description": "The list of fields to update. The currently supported fields are: `labels` `hyperthreading_enabled` `os_image` `ssh_keys` `kms_key_version`",
   430                      "format": "google-fieldmask",
   431                      "location": "query",
   432                      "type": "string"
   433                    }
   434                  },
   435                  "path": "v2/{+name}",
   436                  "request": {
   437                    "$ref": "Instance"
   438                  },
   439                  "response": {
   440                    "$ref": "Operation"
   441                  },
   442                  "scopes": [
   443                    "https://www.googleapis.com/auth/cloud-platform"
   444                  ]
   445                },
   446                "reimage": {
   447                  "description": "Perform reimage operation on a single server.",
   448                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reimage",
   449                  "httpMethod": "POST",
   450                  "id": "baremetalsolution.projects.locations.instances.reimage",
   451                  "parameterOrder": [
   452                    "name"
   453                  ],
   454                  "parameters": {
   455                    "name": {
   456                      "description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}",
   457                      "location": "path",
   458                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   459                      "required": true,
   460                      "type": "string"
   461                    }
   462                  },
   463                  "path": "v2/{+name}:reimage",
   464                  "request": {
   465                    "$ref": "ReimageInstanceRequest"
   466                  },
   467                  "response": {
   468                    "$ref": "Operation"
   469                  },
   470                  "scopes": [
   471                    "https://www.googleapis.com/auth/cloud-platform"
   472                  ]
   473                },
   474                "rename": {
   475                  "description": "RenameInstance sets a new name for an instance. Use with caution, previous names become immediately invalidated.",
   476                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rename",
   477                  "httpMethod": "POST",
   478                  "id": "baremetalsolution.projects.locations.instances.rename",
   479                  "parameterOrder": [
   480                    "name"
   481                  ],
   482                  "parameters": {
   483                    "name": {
   484                      "description": "Required. The `name` field is used to identify the instance. Format: projects/{project}/locations/{location}/instances/{instance}",
   485                      "location": "path",
   486                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   487                      "required": true,
   488                      "type": "string"
   489                    }
   490                  },
   491                  "path": "v2/{+name}:rename",
   492                  "request": {
   493                    "$ref": "RenameInstanceRequest"
   494                  },
   495                  "response": {
   496                    "$ref": "Instance"
   497                  },
   498                  "scopes": [
   499                    "https://www.googleapis.com/auth/cloud-platform"
   500                  ]
   501                },
   502                "reset": {
   503                  "description": "Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.",
   504                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:reset",
   505                  "httpMethod": "POST",
   506                  "id": "baremetalsolution.projects.locations.instances.reset",
   507                  "parameterOrder": [
   508                    "name"
   509                  ],
   510                  "parameters": {
   511                    "name": {
   512                      "description": "Required. Name of the resource.",
   513                      "location": "path",
   514                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   515                      "required": true,
   516                      "type": "string"
   517                    }
   518                  },
   519                  "path": "v2/{+name}:reset",
   520                  "request": {
   521                    "$ref": "ResetInstanceRequest"
   522                  },
   523                  "response": {
   524                    "$ref": "Operation"
   525                  },
   526                  "scopes": [
   527                    "https://www.googleapis.com/auth/cloud-platform"
   528                  ]
   529                },
   530                "start": {
   531                  "description": "Starts a server that was shutdown.",
   532                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:start",
   533                  "httpMethod": "POST",
   534                  "id": "baremetalsolution.projects.locations.instances.start",
   535                  "parameterOrder": [
   536                    "name"
   537                  ],
   538                  "parameters": {
   539                    "name": {
   540                      "description": "Required. Name of the resource.",
   541                      "location": "path",
   542                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   543                      "required": true,
   544                      "type": "string"
   545                    }
   546                  },
   547                  "path": "v2/{+name}:start",
   548                  "request": {
   549                    "$ref": "StartInstanceRequest"
   550                  },
   551                  "response": {
   552                    "$ref": "Operation"
   553                  },
   554                  "scopes": [
   555                    "https://www.googleapis.com/auth/cloud-platform"
   556                  ]
   557                },
   558                "stop": {
   559                  "description": "Stop a running server.",
   560                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:stop",
   561                  "httpMethod": "POST",
   562                  "id": "baremetalsolution.projects.locations.instances.stop",
   563                  "parameterOrder": [
   564                    "name"
   565                  ],
   566                  "parameters": {
   567                    "name": {
   568                      "description": "Required. Name of the resource.",
   569                      "location": "path",
   570                      "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
   571                      "required": true,
   572                      "type": "string"
   573                    }
   574                  },
   575                  "path": "v2/{+name}:stop",
   576                  "request": {
   577                    "$ref": "StopInstanceRequest"
   578                  },
   579                  "response": {
   580                    "$ref": "Operation"
   581                  },
   582                  "scopes": [
   583                    "https://www.googleapis.com/auth/cloud-platform"
   584                  ]
   585                }
   586              }
   587            },
   588            "networks": {
   589              "methods": {
   590                "get": {
   591                  "description": "Get details of a single network.",
   592                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/networks/{networksId}",
   593                  "httpMethod": "GET",
   594                  "id": "baremetalsolution.projects.locations.networks.get",
   595                  "parameterOrder": [
   596                    "name"
   597                  ],
   598                  "parameters": {
   599                    "name": {
   600                      "description": "Required. Name of the resource.",
   601                      "location": "path",
   602                      "pattern": "^projects/[^/]+/locations/[^/]+/networks/[^/]+$",
   603                      "required": true,
   604                      "type": "string"
   605                    }
   606                  },
   607                  "path": "v2/{+name}",
   608                  "response": {
   609                    "$ref": "Network"
   610                  },
   611                  "scopes": [
   612                    "https://www.googleapis.com/auth/cloud-platform"
   613                  ]
   614                },
   615                "list": {
   616                  "description": "List network in a given project and location.",
   617                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/networks",
   618                  "httpMethod": "GET",
   619                  "id": "baremetalsolution.projects.locations.networks.list",
   620                  "parameterOrder": [
   621                    "parent"
   622                  ],
   623                  "parameters": {
   624                    "filter": {
   625                      "description": "List filter.",
   626                      "location": "query",
   627                      "type": "string"
   628                    },
   629                    "pageSize": {
   630                      "description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.",
   631                      "format": "int32",
   632                      "location": "query",
   633                      "type": "integer"
   634                    },
   635                    "pageToken": {
   636                      "description": "A token identifying a page of results from the server.",
   637                      "location": "query",
   638                      "type": "string"
   639                    },
   640                    "parent": {
   641                      "description": "Required. Parent value for ListNetworksRequest.",
   642                      "location": "path",
   643                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   644                      "required": true,
   645                      "type": "string"
   646                    }
   647                  },
   648                  "path": "v2/{+parent}/networks",
   649                  "response": {
   650                    "$ref": "ListNetworksResponse"
   651                  },
   652                  "scopes": [
   653                    "https://www.googleapis.com/auth/cloud-platform"
   654                  ]
   655                },
   656                "listNetworkUsage": {
   657                  "description": "List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.",
   658                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/networks:listNetworkUsage",
   659                  "httpMethod": "GET",
   660                  "id": "baremetalsolution.projects.locations.networks.listNetworkUsage",
   661                  "parameterOrder": [
   662                    "location"
   663                  ],
   664                  "parameters": {
   665                    "location": {
   666                      "description": "Required. Parent value (project and location).",
   667                      "location": "path",
   668                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   669                      "required": true,
   670                      "type": "string"
   671                    }
   672                  },
   673                  "path": "v2/{+location}/networks:listNetworkUsage",
   674                  "response": {
   675                    "$ref": "ListNetworkUsageResponse"
   676                  },
   677                  "scopes": [
   678                    "https://www.googleapis.com/auth/cloud-platform"
   679                  ]
   680                },
   681                "patch": {
   682                  "description": "Update details of a single network.",
   683                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/networks/{networksId}",
   684                  "httpMethod": "PATCH",
   685                  "id": "baremetalsolution.projects.locations.networks.patch",
   686                  "parameterOrder": [
   687                    "name"
   688                  ],
   689                  "parameters": {
   690                    "name": {
   691                      "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}`",
   692                      "location": "path",
   693                      "pattern": "^projects/[^/]+/locations/[^/]+/networks/[^/]+$",
   694                      "required": true,
   695                      "type": "string"
   696                    },
   697                    "updateMask": {
   698                      "description": "The list of fields to update. The only currently supported fields are: `labels`, `reservations`, `vrf.vlan_attachments`",
   699                      "format": "google-fieldmask",
   700                      "location": "query",
   701                      "type": "string"
   702                    }
   703                  },
   704                  "path": "v2/{+name}",
   705                  "request": {
   706                    "$ref": "Network"
   707                  },
   708                  "response": {
   709                    "$ref": "Operation"
   710                  },
   711                  "scopes": [
   712                    "https://www.googleapis.com/auth/cloud-platform"
   713                  ]
   714                },
   715                "rename": {
   716                  "description": "RenameNetwork sets a new name for a network. Use with caution, previous names become immediately invalidated.",
   717                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/networks/{networksId}:rename",
   718                  "httpMethod": "POST",
   719                  "id": "baremetalsolution.projects.locations.networks.rename",
   720                  "parameterOrder": [
   721                    "name"
   722                  ],
   723                  "parameters": {
   724                    "name": {
   725                      "description": "Required. The `name` field is used to identify the network. Format: projects/{project}/locations/{location}/networks/{network}",
   726                      "location": "path",
   727                      "pattern": "^projects/[^/]+/locations/[^/]+/networks/[^/]+$",
   728                      "required": true,
   729                      "type": "string"
   730                    }
   731                  },
   732                  "path": "v2/{+name}:rename",
   733                  "request": {
   734                    "$ref": "RenameNetworkRequest"
   735                  },
   736                  "response": {
   737                    "$ref": "Network"
   738                  },
   739                  "scopes": [
   740                    "https://www.googleapis.com/auth/cloud-platform"
   741                  ]
   742                }
   743              }
   744            },
   745            "nfsShares": {
   746              "methods": {
   747                "create": {
   748                  "description": "Create an NFS share.",
   749                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares",
   750                  "httpMethod": "POST",
   751                  "id": "baremetalsolution.projects.locations.nfsShares.create",
   752                  "parameterOrder": [
   753                    "parent"
   754                  ],
   755                  "parameters": {
   756                    "parent": {
   757                      "description": "Required. The parent project and location.",
   758                      "location": "path",
   759                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   760                      "required": true,
   761                      "type": "string"
   762                    }
   763                  },
   764                  "path": "v2/{+parent}/nfsShares",
   765                  "request": {
   766                    "$ref": "NfsShare"
   767                  },
   768                  "response": {
   769                    "$ref": "Operation"
   770                  },
   771                  "scopes": [
   772                    "https://www.googleapis.com/auth/cloud-platform"
   773                  ]
   774                },
   775                "delete": {
   776                  "description": "Delete an NFS share. The underlying volume is automatically deleted.",
   777                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares/{nfsSharesId}",
   778                  "httpMethod": "DELETE",
   779                  "id": "baremetalsolution.projects.locations.nfsShares.delete",
   780                  "parameterOrder": [
   781                    "name"
   782                  ],
   783                  "parameters": {
   784                    "name": {
   785                      "description": "Required. The name of the NFS share to delete.",
   786                      "location": "path",
   787                      "pattern": "^projects/[^/]+/locations/[^/]+/nfsShares/[^/]+$",
   788                      "required": true,
   789                      "type": "string"
   790                    }
   791                  },
   792                  "path": "v2/{+name}",
   793                  "response": {
   794                    "$ref": "Operation"
   795                  },
   796                  "scopes": [
   797                    "https://www.googleapis.com/auth/cloud-platform"
   798                  ]
   799                },
   800                "get": {
   801                  "description": "Get details of a single NFS share.",
   802                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares/{nfsSharesId}",
   803                  "httpMethod": "GET",
   804                  "id": "baremetalsolution.projects.locations.nfsShares.get",
   805                  "parameterOrder": [
   806                    "name"
   807                  ],
   808                  "parameters": {
   809                    "name": {
   810                      "description": "Required. Name of the resource.",
   811                      "location": "path",
   812                      "pattern": "^projects/[^/]+/locations/[^/]+/nfsShares/[^/]+$",
   813                      "required": true,
   814                      "type": "string"
   815                    }
   816                  },
   817                  "path": "v2/{+name}",
   818                  "response": {
   819                    "$ref": "NfsShare"
   820                  },
   821                  "scopes": [
   822                    "https://www.googleapis.com/auth/cloud-platform"
   823                  ]
   824                },
   825                "list": {
   826                  "description": "List NFS shares.",
   827                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares",
   828                  "httpMethod": "GET",
   829                  "id": "baremetalsolution.projects.locations.nfsShares.list",
   830                  "parameterOrder": [
   831                    "parent"
   832                  ],
   833                  "parameters": {
   834                    "filter": {
   835                      "description": "List filter.",
   836                      "location": "query",
   837                      "type": "string"
   838                    },
   839                    "pageSize": {
   840                      "description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.",
   841                      "format": "int32",
   842                      "location": "query",
   843                      "type": "integer"
   844                    },
   845                    "pageToken": {
   846                      "description": "A token identifying a page of results from the server.",
   847                      "location": "query",
   848                      "type": "string"
   849                    },
   850                    "parent": {
   851                      "description": "Required. Parent value for ListNfsSharesRequest.",
   852                      "location": "path",
   853                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   854                      "required": true,
   855                      "type": "string"
   856                    }
   857                  },
   858                  "path": "v2/{+parent}/nfsShares",
   859                  "response": {
   860                    "$ref": "ListNfsSharesResponse"
   861                  },
   862                  "scopes": [
   863                    "https://www.googleapis.com/auth/cloud-platform"
   864                  ]
   865                },
   866                "patch": {
   867                  "description": "Update details of a single NFS share.",
   868                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares/{nfsSharesId}",
   869                  "httpMethod": "PATCH",
   870                  "id": "baremetalsolution.projects.locations.nfsShares.patch",
   871                  "parameterOrder": [
   872                    "name"
   873                  ],
   874                  "parameters": {
   875                    "name": {
   876                      "description": "Immutable. The name of the NFS share.",
   877                      "location": "path",
   878                      "pattern": "^projects/[^/]+/locations/[^/]+/nfsShares/[^/]+$",
   879                      "required": true,
   880                      "type": "string"
   881                    },
   882                    "updateMask": {
   883                      "description": "The list of fields to update. The only currently supported fields are: `labels` `allowed_clients`",
   884                      "format": "google-fieldmask",
   885                      "location": "query",
   886                      "type": "string"
   887                    }
   888                  },
   889                  "path": "v2/{+name}",
   890                  "request": {
   891                    "$ref": "NfsShare"
   892                  },
   893                  "response": {
   894                    "$ref": "Operation"
   895                  },
   896                  "scopes": [
   897                    "https://www.googleapis.com/auth/cloud-platform"
   898                  ]
   899                },
   900                "rename": {
   901                  "description": "RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.",
   902                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/nfsShares/{nfsSharesId}:rename",
   903                  "httpMethod": "POST",
   904                  "id": "baremetalsolution.projects.locations.nfsShares.rename",
   905                  "parameterOrder": [
   906                    "name"
   907                  ],
   908                  "parameters": {
   909                    "name": {
   910                      "description": "Required. The `name` field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}",
   911                      "location": "path",
   912                      "pattern": "^projects/[^/]+/locations/[^/]+/nfsShares/[^/]+$",
   913                      "required": true,
   914                      "type": "string"
   915                    }
   916                  },
   917                  "path": "v2/{+name}:rename",
   918                  "request": {
   919                    "$ref": "RenameNfsShareRequest"
   920                  },
   921                  "response": {
   922                    "$ref": "NfsShare"
   923                  },
   924                  "scopes": [
   925                    "https://www.googleapis.com/auth/cloud-platform"
   926                  ]
   927                }
   928              }
   929            },
   930            "operations": {
   931              "methods": {
   932                "get": {
   933                  "description": "Get details about an operation.",
   934                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
   935                  "httpMethod": "GET",
   936                  "id": "baremetalsolution.projects.locations.operations.get",
   937                  "parameterOrder": [
   938                    "name"
   939                  ],
   940                  "parameters": {
   941                    "name": {
   942                      "description": "The name of the operation resource.",
   943                      "location": "path",
   944                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/.*$",
   945                      "required": true,
   946                      "type": "string"
   947                    }
   948                  },
   949                  "path": "v2/{+name}",
   950                  "response": {
   951                    "$ref": "Operation"
   952                  },
   953                  "scopes": [
   954                    "https://www.googleapis.com/auth/cloud-platform"
   955                  ]
   956                }
   957              }
   958            },
   959            "osImages": {
   960              "methods": {
   961                "get": {
   962                  "description": "Get details of a single OS image.",
   963                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/osImages/{osImagesId}",
   964                  "httpMethod": "GET",
   965                  "id": "baremetalsolution.projects.locations.osImages.get",
   966                  "parameterOrder": [
   967                    "name"
   968                  ],
   969                  "parameters": {
   970                    "name": {
   971                      "description": "Required. Name of the OS image.",
   972                      "location": "path",
   973                      "pattern": "^projects/[^/]+/locations/[^/]+/osImages/[^/]+$",
   974                      "required": true,
   975                      "type": "string"
   976                    }
   977                  },
   978                  "path": "v2/{+name}",
   979                  "response": {
   980                    "$ref": "OSImage"
   981                  },
   982                  "scopes": [
   983                    "https://www.googleapis.com/auth/cloud-platform"
   984                  ]
   985                },
   986                "list": {
   987                  "description": "Retrieves the list of OS images which are currently approved.",
   988                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/osImages",
   989                  "httpMethod": "GET",
   990                  "id": "baremetalsolution.projects.locations.osImages.list",
   991                  "parameterOrder": [
   992                    "parent"
   993                  ],
   994                  "parameters": {
   995                    "pageSize": {
   996                      "description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. Notice that page_size field is not supported and won't be respected in the API request for now, will be updated when pagination is supported.",
   997                      "format": "int32",
   998                      "location": "query",
   999                      "type": "integer"
  1000                    },
  1001                    "pageToken": {
  1002                      "description": "A token identifying a page of results from the server.",
  1003                      "location": "query",
  1004                      "type": "string"
  1005                    },
  1006                    "parent": {
  1007                      "description": "Required. Parent value for ListOSImagesRequest.",
  1008                      "location": "path",
  1009                      "pattern": "^projects/[^/]+/locations/[^/]+$",
  1010                      "required": true,
  1011                      "type": "string"
  1012                    }
  1013                  },
  1014                  "path": "v2/{+parent}/osImages",
  1015                  "response": {
  1016                    "$ref": "ListOSImagesResponse"
  1017                  },
  1018                  "scopes": [
  1019                    "https://www.googleapis.com/auth/cloud-platform"
  1020                  ]
  1021                }
  1022              }
  1023            },
  1024            "provisioningConfigs": {
  1025              "methods": {
  1026                "create": {
  1027                  "description": "Create new ProvisioningConfig.",
  1028                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/provisioningConfigs",
  1029                  "httpMethod": "POST",
  1030                  "id": "baremetalsolution.projects.locations.provisioningConfigs.create",
  1031                  "parameterOrder": [
  1032                    "parent"
  1033                  ],
  1034                  "parameters": {
  1035                    "email": {
  1036                      "description": "Optional. Email provided to send a confirmation with provisioning config to.",
  1037                      "location": "query",
  1038                      "type": "string"
  1039                    },
  1040                    "parent": {
  1041                      "description": "Required. The parent project and location containing the ProvisioningConfig.",
  1042                      "location": "path",
  1043                      "pattern": "^projects/[^/]+/locations/[^/]+$",
  1044                      "required": true,
  1045                      "type": "string"
  1046                    }
  1047                  },
  1048                  "path": "v2/{+parent}/provisioningConfigs",
  1049                  "request": {
  1050                    "$ref": "ProvisioningConfig"
  1051                  },
  1052                  "response": {
  1053                    "$ref": "ProvisioningConfig"
  1054                  },
  1055                  "scopes": [
  1056                    "https://www.googleapis.com/auth/cloud-platform"
  1057                  ]
  1058                },
  1059                "get": {
  1060                  "description": "Get ProvisioningConfig by name.",
  1061                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/provisioningConfigs/{provisioningConfigsId}",
  1062                  "httpMethod": "GET",
  1063                  "id": "baremetalsolution.projects.locations.provisioningConfigs.get",
  1064                  "parameterOrder": [
  1065                    "name"
  1066                  ],
  1067                  "parameters": {
  1068                    "name": {
  1069                      "description": "Required. Name of the ProvisioningConfig.",
  1070                      "location": "path",
  1071                      "pattern": "^projects/[^/]+/locations/[^/]+/provisioningConfigs/[^/]+$",
  1072                      "required": true,
  1073                      "type": "string"
  1074                    }
  1075                  },
  1076                  "path": "v2/{+name}",
  1077                  "response": {
  1078                    "$ref": "ProvisioningConfig"
  1079                  },
  1080                  "scopes": [
  1081                    "https://www.googleapis.com/auth/cloud-platform"
  1082                  ]
  1083                },
  1084                "patch": {
  1085                  "description": "Update existing ProvisioningConfig.",
  1086                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/provisioningConfigs/{provisioningConfigsId}",
  1087                  "httpMethod": "PATCH",
  1088                  "id": "baremetalsolution.projects.locations.provisioningConfigs.patch",
  1089                  "parameterOrder": [
  1090                    "name"
  1091                  ],
  1092                  "parameters": {
  1093                    "email": {
  1094                      "description": "Optional. Email provided to send a confirmation with provisioning config to.",
  1095                      "location": "query",
  1096                      "type": "string"
  1097                    },
  1098                    "name": {
  1099                      "description": "Output only. The system-generated name of the provisioning config. This follows the UUID format.",
  1100                      "location": "path",
  1101                      "pattern": "^projects/[^/]+/locations/[^/]+/provisioningConfigs/[^/]+$",
  1102                      "required": true,
  1103                      "type": "string"
  1104                    },
  1105                    "updateMask": {
  1106                      "description": "Required. The list of fields to update.",
  1107                      "format": "google-fieldmask",
  1108                      "location": "query",
  1109                      "type": "string"
  1110                    }
  1111                  },
  1112                  "path": "v2/{+name}",
  1113                  "request": {
  1114                    "$ref": "ProvisioningConfig"
  1115                  },
  1116                  "response": {
  1117                    "$ref": "ProvisioningConfig"
  1118                  },
  1119                  "scopes": [
  1120                    "https://www.googleapis.com/auth/cloud-platform"
  1121                  ]
  1122                },
  1123                "submit": {
  1124                  "description": "Submit a provisiong configuration for a given project.",
  1125                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/provisioningConfigs:submit",
  1126                  "httpMethod": "POST",
  1127                  "id": "baremetalsolution.projects.locations.provisioningConfigs.submit",
  1128                  "parameterOrder": [
  1129                    "parent"
  1130                  ],
  1131                  "parameters": {
  1132                    "parent": {
  1133                      "description": "Required. The parent project and location containing the ProvisioningConfig.",
  1134                      "location": "path",
  1135                      "pattern": "^projects/[^/]+/locations/[^/]+$",
  1136                      "required": true,
  1137                      "type": "string"
  1138                    }
  1139                  },
  1140                  "path": "v2/{+parent}/provisioningConfigs:submit",
  1141                  "request": {
  1142                    "$ref": "SubmitProvisioningConfigRequest"
  1143                  },
  1144                  "response": {
  1145                    "$ref": "SubmitProvisioningConfigResponse"
  1146                  },
  1147                  "scopes": [
  1148                    "https://www.googleapis.com/auth/cloud-platform"
  1149                  ]
  1150                }
  1151              }
  1152            },
  1153            "provisioningQuotas": {
  1154              "methods": {
  1155                "list": {
  1156                  "description": "List the budget details to provision resources on a given project.",
  1157                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/provisioningQuotas",
  1158                  "httpMethod": "GET",
  1159                  "id": "baremetalsolution.projects.locations.provisioningQuotas.list",
  1160                  "parameterOrder": [
  1161                    "parent"
  1162                  ],
  1163                  "parameters": {
  1164                    "pageSize": {
  1165                      "description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default. Notice that page_size field is not supported and won't be respected in the API request for now, will be updated when pagination is supported.",
  1166                      "format": "int32",
  1167                      "location": "query",
  1168                      "type": "integer"
  1169                    },
  1170                    "pageToken": {
  1171                      "description": "A token identifying a page of results from the server.",
  1172                      "location": "query",
  1173                      "type": "string"
  1174                    },
  1175                    "parent": {
  1176                      "description": "Required. Parent value for ListProvisioningQuotasRequest.",
  1177                      "location": "path",
  1178                      "pattern": "^projects/[^/]+/locations/[^/]+$",
  1179                      "required": true,
  1180                      "type": "string"
  1181                    }
  1182                  },
  1183                  "path": "v2/{+parent}/provisioningQuotas",
  1184                  "response": {
  1185                    "$ref": "ListProvisioningQuotasResponse"
  1186                  },
  1187                  "scopes": [
  1188                    "https://www.googleapis.com/auth/cloud-platform"
  1189                  ]
  1190                }
  1191              }
  1192            },
  1193            "sshKeys": {
  1194              "methods": {
  1195                "create": {
  1196                  "description": "Register a public SSH key in the specified project for use with the interactive serial console feature.",
  1197                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sshKeys",
  1198                  "httpMethod": "POST",
  1199                  "id": "baremetalsolution.projects.locations.sshKeys.create",
  1200                  "parameterOrder": [
  1201                    "parent"
  1202                  ],
  1203                  "parameters": {
  1204                    "parent": {
  1205                      "description": "Required. The parent containing the SSH keys.",
  1206                      "location": "path",
  1207                      "pattern": "^projects/[^/]+/locations/[^/]+$",
  1208                      "required": true,
  1209                      "type": "string"
  1210                    },
  1211                    "sshKeyId": {
  1212                      "description": "Required. The ID to use for the key, which will become the final component of the key's resource name. This value must match the regex: [a-zA-Z0-9@.\\-_]{1,64}",
  1213                      "location": "query",
  1214                      "type": "string"
  1215                    }
  1216                  },
  1217                  "path": "v2/{+parent}/sshKeys",
  1218                  "request": {
  1219                    "$ref": "SSHKey"
  1220                  },
  1221                  "response": {
  1222                    "$ref": "SSHKey"
  1223                  },
  1224                  "scopes": [
  1225                    "https://www.googleapis.com/auth/cloud-platform"
  1226                  ]
  1227                },
  1228                "delete": {
  1229                  "description": "Deletes a public SSH key registered in the specified project.",
  1230                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sshKeys/{sshKeysId}",
  1231                  "httpMethod": "DELETE",
  1232                  "id": "baremetalsolution.projects.locations.sshKeys.delete",
  1233                  "parameterOrder": [
  1234                    "name"
  1235                  ],
  1236                  "parameters": {
  1237                    "name": {
  1238                      "description": "Required. The name of the SSH key to delete. Currently, the only valid value for the location is \"global\".",
  1239                      "location": "path",
  1240                      "pattern": "^projects/[^/]+/locations/[^/]+/sshKeys/[^/]+$",
  1241                      "required": true,
  1242                      "type": "string"
  1243                    }
  1244                  },
  1245                  "path": "v2/{+name}",
  1246                  "response": {
  1247                    "$ref": "Empty"
  1248                  },
  1249                  "scopes": [
  1250                    "https://www.googleapis.com/auth/cloud-platform"
  1251                  ]
  1252                },
  1253                "list": {
  1254                  "description": "Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.",
  1255                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/sshKeys",
  1256                  "httpMethod": "GET",
  1257                  "id": "baremetalsolution.projects.locations.sshKeys.list",
  1258                  "parameterOrder": [
  1259                    "parent"
  1260                  ],
  1261                  "parameters": {
  1262                    "pageSize": {
  1263                      "description": "The maximum number of items to return.",
  1264                      "format": "int32",
  1265                      "location": "query",
  1266                      "type": "integer"
  1267                    },
  1268                    "pageToken": {
  1269                      "description": "The next_page_token value returned from a previous List request, if any.",
  1270                      "location": "query",
  1271                      "type": "string"
  1272                    },
  1273                    "parent": {
  1274                      "description": "Required. The parent containing the SSH keys. Currently, the only valid value for the location is \"global\".",
  1275                      "location": "path",
  1276                      "pattern": "^projects/[^/]+/locations/[^/]+$",
  1277                      "required": true,
  1278                      "type": "string"
  1279                    }
  1280                  },
  1281                  "path": "v2/{+parent}/sshKeys",
  1282                  "response": {
  1283                    "$ref": "ListSSHKeysResponse"
  1284                  },
  1285                  "scopes": [
  1286                    "https://www.googleapis.com/auth/cloud-platform"
  1287                  ]
  1288                }
  1289              }
  1290            },
  1291            "volumes": {
  1292              "methods": {
  1293                "evict": {
  1294                  "description": "Skips volume's cooloff and deletes it now. Volume must be in cooloff state.",
  1295                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}:evict",
  1296                  "httpMethod": "POST",
  1297                  "id": "baremetalsolution.projects.locations.volumes.evict",
  1298                  "parameterOrder": [
  1299                    "name"
  1300                  ],
  1301                  "parameters": {
  1302                    "name": {
  1303                      "description": "Required. The name of the Volume.",
  1304                      "location": "path",
  1305                      "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$",
  1306                      "required": true,
  1307                      "type": "string"
  1308                    }
  1309                  },
  1310                  "path": "v2/{+name}:evict",
  1311                  "request": {
  1312                    "$ref": "EvictVolumeRequest"
  1313                  },
  1314                  "response": {
  1315                    "$ref": "Operation"
  1316                  },
  1317                  "scopes": [
  1318                    "https://www.googleapis.com/auth/cloud-platform"
  1319                  ]
  1320                },
  1321                "get": {
  1322                  "description": "Get details of a single storage volume.",
  1323                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}",
  1324                  "httpMethod": "GET",
  1325                  "id": "baremetalsolution.projects.locations.volumes.get",
  1326                  "parameterOrder": [
  1327                    "name"
  1328                  ],
  1329                  "parameters": {
  1330                    "name": {
  1331                      "description": "Required. Name of the resource.",
  1332                      "location": "path",
  1333                      "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$",
  1334                      "required": true,
  1335                      "type": "string"
  1336                    }
  1337                  },
  1338                  "path": "v2/{+name}",
  1339                  "response": {
  1340                    "$ref": "Volume"
  1341                  },
  1342                  "scopes": [
  1343                    "https://www.googleapis.com/auth/cloud-platform"
  1344                  ]
  1345                },
  1346                "list": {
  1347                  "description": "List storage volumes in a given project and location.",
  1348                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes",
  1349                  "httpMethod": "GET",
  1350                  "id": "baremetalsolution.projects.locations.volumes.list",
  1351                  "parameterOrder": [
  1352                    "parent"
  1353                  ],
  1354                  "parameters": {
  1355                    "filter": {
  1356                      "description": "List filter.",
  1357                      "location": "query",
  1358                      "type": "string"
  1359                    },
  1360                    "pageSize": {
  1361                      "description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.",
  1362                      "format": "int32",
  1363                      "location": "query",
  1364                      "type": "integer"
  1365                    },
  1366                    "pageToken": {
  1367                      "description": "A token identifying a page of results from the server.",
  1368                      "location": "query",
  1369                      "type": "string"
  1370                    },
  1371                    "parent": {
  1372                      "description": "Required. Parent value for ListVolumesRequest.",
  1373                      "location": "path",
  1374                      "pattern": "^projects/[^/]+/locations/[^/]+$",
  1375                      "required": true,
  1376                      "type": "string"
  1377                    }
  1378                  },
  1379                  "path": "v2/{+parent}/volumes",
  1380                  "response": {
  1381                    "$ref": "ListVolumesResponse"
  1382                  },
  1383                  "scopes": [
  1384                    "https://www.googleapis.com/auth/cloud-platform"
  1385                  ]
  1386                },
  1387                "patch": {
  1388                  "description": "Update details of a single storage volume.",
  1389                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}",
  1390                  "httpMethod": "PATCH",
  1391                  "id": "baremetalsolution.projects.locations.volumes.patch",
  1392                  "parameterOrder": [
  1393                    "name"
  1394                  ],
  1395                  "parameters": {
  1396                    "name": {
  1397                      "description": "Output only. The resource name of this `Volume`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/volumes/{volume}`",
  1398                      "location": "path",
  1399                      "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$",
  1400                      "required": true,
  1401                      "type": "string"
  1402                    },
  1403                    "updateMask": {
  1404                      "description": "The list of fields to update. The only currently supported fields are: 'labels'",
  1405                      "format": "google-fieldmask",
  1406                      "location": "query",
  1407                      "type": "string"
  1408                    }
  1409                  },
  1410                  "path": "v2/{+name}",
  1411                  "request": {
  1412                    "$ref": "Volume"
  1413                  },
  1414                  "response": {
  1415                    "$ref": "Operation"
  1416                  },
  1417                  "scopes": [
  1418                    "https://www.googleapis.com/auth/cloud-platform"
  1419                  ]
  1420                },
  1421                "rename": {
  1422                  "description": "RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated.",
  1423                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}:rename",
  1424                  "httpMethod": "POST",
  1425                  "id": "baremetalsolution.projects.locations.volumes.rename",
  1426                  "parameterOrder": [
  1427                    "name"
  1428                  ],
  1429                  "parameters": {
  1430                    "name": {
  1431                      "description": "Required. The `name` field is used to identify the volume. Format: projects/{project}/locations/{location}/volumes/{volume}",
  1432                      "location": "path",
  1433                      "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$",
  1434                      "required": true,
  1435                      "type": "string"
  1436                    }
  1437                  },
  1438                  "path": "v2/{+name}:rename",
  1439                  "request": {
  1440                    "$ref": "RenameVolumeRequest"
  1441                  },
  1442                  "response": {
  1443                    "$ref": "Volume"
  1444                  },
  1445                  "scopes": [
  1446                    "https://www.googleapis.com/auth/cloud-platform"
  1447                  ]
  1448                },
  1449                "resize": {
  1450                  "description": "Emergency Volume resize.",
  1451                  "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}:resize",
  1452                  "httpMethod": "POST",
  1453                  "id": "baremetalsolution.projects.locations.volumes.resize",
  1454                  "parameterOrder": [
  1455                    "volume"
  1456                  ],
  1457                  "parameters": {
  1458                    "volume": {
  1459                      "description": "Required. Volume to resize.",
  1460                      "location": "path",
  1461                      "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$",
  1462                      "required": true,
  1463                      "type": "string"
  1464                    }
  1465                  },
  1466                  "path": "v2/{+volume}:resize",
  1467                  "request": {
  1468                    "$ref": "ResizeVolumeRequest"
  1469                  },
  1470                  "response": {
  1471                    "$ref": "Operation"
  1472                  },
  1473                  "scopes": [
  1474                    "https://www.googleapis.com/auth/cloud-platform"
  1475                  ]
  1476                }
  1477              },
  1478              "resources": {
  1479                "luns": {
  1480                  "methods": {
  1481                    "evict": {
  1482                      "description": "Skips lun's cooloff and deletes it now. Lun must be in cooloff state.",
  1483                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/luns/{lunsId}:evict",
  1484                      "httpMethod": "POST",
  1485                      "id": "baremetalsolution.projects.locations.volumes.luns.evict",
  1486                      "parameterOrder": [
  1487                        "name"
  1488                      ],
  1489                      "parameters": {
  1490                        "name": {
  1491                          "description": "Required. The name of the lun.",
  1492                          "location": "path",
  1493                          "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/luns/[^/]+$",
  1494                          "required": true,
  1495                          "type": "string"
  1496                        }
  1497                      },
  1498                      "path": "v2/{+name}:evict",
  1499                      "request": {
  1500                        "$ref": "EvictLunRequest"
  1501                      },
  1502                      "response": {
  1503                        "$ref": "Operation"
  1504                      },
  1505                      "scopes": [
  1506                        "https://www.googleapis.com/auth/cloud-platform"
  1507                      ]
  1508                    },
  1509                    "get": {
  1510                      "description": "Get details of a single storage logical unit number(LUN).",
  1511                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/luns/{lunsId}",
  1512                      "httpMethod": "GET",
  1513                      "id": "baremetalsolution.projects.locations.volumes.luns.get",
  1514                      "parameterOrder": [
  1515                        "name"
  1516                      ],
  1517                      "parameters": {
  1518                        "name": {
  1519                          "description": "Required. Name of the resource.",
  1520                          "location": "path",
  1521                          "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/luns/[^/]+$",
  1522                          "required": true,
  1523                          "type": "string"
  1524                        }
  1525                      },
  1526                      "path": "v2/{+name}",
  1527                      "response": {
  1528                        "$ref": "Lun"
  1529                      },
  1530                      "scopes": [
  1531                        "https://www.googleapis.com/auth/cloud-platform"
  1532                      ]
  1533                    },
  1534                    "list": {
  1535                      "description": "List storage volume luns for given storage volume.",
  1536                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/luns",
  1537                      "httpMethod": "GET",
  1538                      "id": "baremetalsolution.projects.locations.volumes.luns.list",
  1539                      "parameterOrder": [
  1540                        "parent"
  1541                      ],
  1542                      "parameters": {
  1543                        "pageSize": {
  1544                          "description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.",
  1545                          "format": "int32",
  1546                          "location": "query",
  1547                          "type": "integer"
  1548                        },
  1549                        "pageToken": {
  1550                          "description": "A token identifying a page of results from the server.",
  1551                          "location": "query",
  1552                          "type": "string"
  1553                        },
  1554                        "parent": {
  1555                          "description": "Required. Parent value for ListLunsRequest.",
  1556                          "location": "path",
  1557                          "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$",
  1558                          "required": true,
  1559                          "type": "string"
  1560                        }
  1561                      },
  1562                      "path": "v2/{+parent}/luns",
  1563                      "response": {
  1564                        "$ref": "ListLunsResponse"
  1565                      },
  1566                      "scopes": [
  1567                        "https://www.googleapis.com/auth/cloud-platform"
  1568                      ]
  1569                    }
  1570                  }
  1571                },
  1572                "snapshots": {
  1573                  "methods": {
  1574                    "create": {
  1575                      "description": "Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.",
  1576                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots",
  1577                      "httpMethod": "POST",
  1578                      "id": "baremetalsolution.projects.locations.volumes.snapshots.create",
  1579                      "parameterOrder": [
  1580                        "parent"
  1581                      ],
  1582                      "parameters": {
  1583                        "parent": {
  1584                          "description": "Required. The volume to snapshot.",
  1585                          "location": "path",
  1586                          "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$",
  1587                          "required": true,
  1588                          "type": "string"
  1589                        }
  1590                      },
  1591                      "path": "v2/{+parent}/snapshots",
  1592                      "request": {
  1593                        "$ref": "VolumeSnapshot"
  1594                      },
  1595                      "response": {
  1596                        "$ref": "VolumeSnapshot"
  1597                      },
  1598                      "scopes": [
  1599                        "https://www.googleapis.com/auth/cloud-platform"
  1600                      ]
  1601                    },
  1602                    "delete": {
  1603                      "description": "Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume.",
  1604                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots/{snapshotsId}",
  1605                      "httpMethod": "DELETE",
  1606                      "id": "baremetalsolution.projects.locations.volumes.snapshots.delete",
  1607                      "parameterOrder": [
  1608                        "name"
  1609                      ],
  1610                      "parameters": {
  1611                        "name": {
  1612                          "description": "Required. The name of the snapshot to delete.",
  1613                          "location": "path",
  1614                          "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/snapshots/[^/]+$",
  1615                          "required": true,
  1616                          "type": "string"
  1617                        }
  1618                      },
  1619                      "path": "v2/{+name}",
  1620                      "response": {
  1621                        "$ref": "Empty"
  1622                      },
  1623                      "scopes": [
  1624                        "https://www.googleapis.com/auth/cloud-platform"
  1625                      ]
  1626                    },
  1627                    "get": {
  1628                      "description": "Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume.",
  1629                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots/{snapshotsId}",
  1630                      "httpMethod": "GET",
  1631                      "id": "baremetalsolution.projects.locations.volumes.snapshots.get",
  1632                      "parameterOrder": [
  1633                        "name"
  1634                      ],
  1635                      "parameters": {
  1636                        "name": {
  1637                          "description": "Required. The name of the snapshot.",
  1638                          "location": "path",
  1639                          "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/snapshots/[^/]+$",
  1640                          "required": true,
  1641                          "type": "string"
  1642                        }
  1643                      },
  1644                      "path": "v2/{+name}",
  1645                      "response": {
  1646                        "$ref": "VolumeSnapshot"
  1647                      },
  1648                      "scopes": [
  1649                        "https://www.googleapis.com/auth/cloud-platform"
  1650                      ]
  1651                    },
  1652                    "list": {
  1653                      "description": "Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume.",
  1654                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots",
  1655                      "httpMethod": "GET",
  1656                      "id": "baremetalsolution.projects.locations.volumes.snapshots.list",
  1657                      "parameterOrder": [
  1658                        "parent"
  1659                      ],
  1660                      "parameters": {
  1661                        "pageSize": {
  1662                          "description": "Requested page size. The server might return fewer items than requested. If unspecified, server will pick an appropriate default.",
  1663                          "format": "int32",
  1664                          "location": "query",
  1665                          "type": "integer"
  1666                        },
  1667                        "pageToken": {
  1668                          "description": "A token identifying a page of results from the server.",
  1669                          "location": "query",
  1670                          "type": "string"
  1671                        },
  1672                        "parent": {
  1673                          "description": "Required. Parent value for ListVolumesRequest.",
  1674                          "location": "path",
  1675                          "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+$",
  1676                          "required": true,
  1677                          "type": "string"
  1678                        }
  1679                      },
  1680                      "path": "v2/{+parent}/snapshots",
  1681                      "response": {
  1682                        "$ref": "ListVolumeSnapshotsResponse"
  1683                      },
  1684                      "scopes": [
  1685                        "https://www.googleapis.com/auth/cloud-platform"
  1686                      ]
  1687                    },
  1688                    "restoreVolumeSnapshot": {
  1689                      "description": "Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume.",
  1690                      "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/volumes/{volumesId}/snapshots/{snapshotsId}:restoreVolumeSnapshot",
  1691                      "httpMethod": "POST",
  1692                      "id": "baremetalsolution.projects.locations.volumes.snapshots.restoreVolumeSnapshot",
  1693                      "parameterOrder": [
  1694                        "volumeSnapshot"
  1695                      ],
  1696                      "parameters": {
  1697                        "volumeSnapshot": {
  1698                          "description": "Required. Name of the snapshot which will be used to restore its parent volume.",
  1699                          "location": "path",
  1700                          "pattern": "^projects/[^/]+/locations/[^/]+/volumes/[^/]+/snapshots/[^/]+$",
  1701                          "required": true,
  1702                          "type": "string"
  1703                        }
  1704                      },
  1705                      "path": "v2/{+volumeSnapshot}:restoreVolumeSnapshot",
  1706                      "request": {
  1707                        "$ref": "RestoreVolumeSnapshotRequest"
  1708                      },
  1709                      "response": {
  1710                        "$ref": "Operation"
  1711                      },
  1712                      "scopes": [
  1713                        "https://www.googleapis.com/auth/cloud-platform"
  1714                      ]
  1715                    }
  1716                  }
  1717                }
  1718              }
  1719            }
  1720          }
  1721        }
  1722      }
  1723    }
  1724  },
  1725  "revision": "20240422",
  1726  "rootUrl": "https://baremetalsolution.googleapis.com/",
  1727  "schemas": {
  1728    "AllowedClient": {
  1729      "description": "Represents an 'access point' for the share.",
  1730      "id": "AllowedClient",
  1731      "properties": {
  1732        "allowDev": {
  1733          "description": "Allow dev flag. Which controls whether to allow creation of devices.",
  1734          "type": "boolean"
  1735        },
  1736        "allowSuid": {
  1737          "description": "Allow the setuid flag.",
  1738          "type": "boolean"
  1739        },
  1740        "allowedClientsCidr": {
  1741          "description": "The subnet of IP addresses permitted to access the share.",
  1742          "type": "string"
  1743        },
  1744        "mountPermissions": {
  1745          "description": "Mount permissions.",
  1746          "enum": [
  1747            "MOUNT_PERMISSIONS_UNSPECIFIED",
  1748            "READ",
  1749            "READ_WRITE"
  1750          ],
  1751          "enumDescriptions": [
  1752            "Permissions were not specified.",
  1753            "NFS share can be mount with read-only permissions.",
  1754            "NFS share can be mount with read-write permissions."
  1755          ],
  1756          "type": "string"
  1757        },
  1758        "network": {
  1759          "description": "The network the access point sits on.",
  1760          "type": "string"
  1761        },
  1762        "nfsPath": {
  1763          "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\"",
  1764          "readOnly": true,
  1765          "type": "string"
  1766        },
  1767        "noRootSquash": {
  1768          "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.",
  1769          "type": "boolean"
  1770        },
  1771        "shareIp": {
  1772          "description": "Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.",
  1773          "readOnly": true,
  1774          "type": "string"
  1775        }
  1776      },
  1777      "type": "object"
  1778    },
  1779    "DetachLunRequest": {
  1780      "description": "Message for detach specific LUN from an Instance.",
  1781      "id": "DetachLunRequest",
  1782      "properties": {
  1783        "lun": {
  1784          "description": "Required. Name of the Lun to detach.",
  1785          "type": "string"
  1786        },
  1787        "skipReboot": {
  1788          "description": "If true, performs lun unmapping without instance reboot.",
  1789          "type": "boolean"
  1790        }
  1791      },
  1792      "type": "object"
  1793    },
  1794    "DisableHyperthreadingRequest": {
  1795      "description": "Message requesting to perform disable hyperthreading operation on a server.",
  1796      "id": "DisableHyperthreadingRequest",
  1797      "properties": {},
  1798      "type": "object"
  1799    },
  1800    "DisableInteractiveSerialConsoleRequest": {
  1801      "description": "Message for disabling the interactive serial console on an instance.",
  1802      "id": "DisableInteractiveSerialConsoleRequest",
  1803      "properties": {},
  1804      "type": "object"
  1805    },
  1806    "DisableInteractiveSerialConsoleResponse": {
  1807      "description": "Message for response of DisableInteractiveSerialConsole.",
  1808      "id": "DisableInteractiveSerialConsoleResponse",
  1809      "properties": {},
  1810      "type": "object"
  1811    },
  1812    "Empty": {
  1813      "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
  1814      "id": "Empty",
  1815      "properties": {},
  1816      "type": "object"
  1817    },
  1818    "EnableHyperthreadingRequest": {
  1819      "description": "Message requesting to perform enable hyperthreading operation on a server.",
  1820      "id": "EnableHyperthreadingRequest",
  1821      "properties": {},
  1822      "type": "object"
  1823    },
  1824    "EnableInteractiveSerialConsoleRequest": {
  1825      "description": "Message for enabling the interactive serial console on an instance.",
  1826      "id": "EnableInteractiveSerialConsoleRequest",
  1827      "properties": {},
  1828      "type": "object"
  1829    },
  1830    "EnableInteractiveSerialConsoleResponse": {
  1831      "description": "Message for response of EnableInteractiveSerialConsole.",
  1832      "id": "EnableInteractiveSerialConsoleResponse",
  1833      "properties": {},
  1834      "type": "object"
  1835    },
  1836    "EvictLunRequest": {
  1837      "description": "Request for skip lun cooloff and delete it.",
  1838      "id": "EvictLunRequest",
  1839      "properties": {},
  1840      "type": "object"
  1841    },
  1842    "EvictVolumeRequest": {
  1843      "description": "Request for skip volume cooloff and delete it.",
  1844      "id": "EvictVolumeRequest",
  1845      "properties": {},
  1846      "type": "object"
  1847    },
  1848    "GoogleCloudBaremetalsolutionV2LogicalInterface": {
  1849      "description": "Each logical interface represents a logical abstraction of the underlying physical interface (for eg. bond, nic) of the instance. Each logical interface can effectively map to multiple network-IP pairs and still be mapped to one underlying physical interface.",
  1850      "id": "GoogleCloudBaremetalsolutionV2LogicalInterface",
  1851      "properties": {
  1852        "interfaceIndex": {
  1853          "deprecated": true,
  1854          "description": "The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template. This field is deprecated.",
  1855          "format": "int32",
  1856          "type": "integer"
  1857        },
  1858        "logicalNetworkInterfaces": {
  1859          "description": "List of logical network interfaces within a logical interface.",
  1860          "items": {
  1861            "$ref": "LogicalNetworkInterface"
  1862          },
  1863          "type": "array"
  1864        },
  1865        "name": {
  1866          "description": "Interface name. This is of syntax or and forms part of the network template name.",
  1867          "type": "string"
  1868        }
  1869      },
  1870      "type": "object"
  1871    },
  1872    "GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface": {
  1873      "description": "Logical interface.",
  1874      "id": "GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface",
  1875      "properties": {
  1876        "name": {
  1877          "description": "Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax or and forms part of the network template name.",
  1878          "type": "string"
  1879        },
  1880        "required": {
  1881          "description": "If true, interface must have network connected.",
  1882          "type": "boolean"
  1883        },
  1884        "type": {
  1885          "description": "Interface type.",
  1886          "enum": [
  1887            "INTERFACE_TYPE_UNSPECIFIED",
  1888            "BOND",
  1889            "NIC"
  1890          ],
  1891          "enumDescriptions": [
  1892            "Unspecified value.",
  1893            "Bond interface type.",
  1894            "NIC interface type."
  1895          ],
  1896          "type": "string"
  1897        }
  1898      },
  1899      "type": "object"
  1900    },
  1901    "Instance": {
  1902      "description": "A server.",
  1903      "id": "Instance",
  1904      "properties": {
  1905        "createTime": {
  1906          "description": "Output only. Create a time stamp.",
  1907          "format": "google-datetime",
  1908          "readOnly": true,
  1909          "type": "string"
  1910        },
  1911        "firmwareVersion": {
  1912          "description": "Output only. The firmware version for the instance.",
  1913          "readOnly": true,
  1914          "type": "string"
  1915        },
  1916        "hyperthreadingEnabled": {
  1917          "description": "True if you enable hyperthreading for the server, otherwise false. The default value is false.",
  1918          "type": "boolean"
  1919        },
  1920        "id": {
  1921          "description": "Output only. An identifier for the `Instance`, generated by the backend.",
  1922          "readOnly": true,
  1923          "type": "string"
  1924        },
  1925        "interactiveSerialConsoleEnabled": {
  1926          "description": "Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.",
  1927          "readOnly": true,
  1928          "type": "boolean"
  1929        },
  1930        "kmsKeyVersion": {
  1931          "description": "Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`.",
  1932          "type": "string"
  1933        },
  1934        "labels": {
  1935          "additionalProperties": {
  1936            "type": "string"
  1937          },
  1938          "description": "Labels as key value pairs.",
  1939          "type": "object"
  1940        },
  1941        "logicalInterfaces": {
  1942          "description": "List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.",
  1943          "items": {
  1944            "$ref": "GoogleCloudBaremetalsolutionV2LogicalInterface"
  1945          },
  1946          "type": "array"
  1947        },
  1948        "loginInfo": {
  1949          "description": "Output only. Text field about info for logging in.",
  1950          "readOnly": true,
  1951          "type": "string"
  1952        },
  1953        "luns": {
  1954          "description": "Immutable. List of LUNs associated with this server.",
  1955          "items": {
  1956            "$ref": "Lun"
  1957          },
  1958          "type": "array"
  1959        },
  1960        "machineType": {
  1961          "description": "Immutable. The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
  1962          "type": "string"
  1963        },
  1964        "name": {
  1965          "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}`",
  1966          "type": "string"
  1967        },
  1968        "networkTemplate": {
  1969          "description": "Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of \"bond\" or \"nic\".",
  1970          "type": "string"
  1971        },
  1972        "networks": {
  1973          "description": "Output only. List of networks associated with this server.",
  1974          "items": {
  1975            "$ref": "Network"
  1976          },
  1977          "readOnly": true,
  1978          "type": "array"
  1979        },
  1980        "osImage": {
  1981          "description": "The OS image currently installed on the server.",
  1982          "type": "string"
  1983        },
  1984        "pod": {
  1985          "description": "Immutable. Pod name. Pod is an independent part of infrastructure. Instance can only be connected to the assets (networks, volumes) allocated in the same pod.",
  1986          "type": "string"
  1987        },
  1988        "sshKeys": {
  1989          "description": "Optional. List of SSH Keys used during instance provisioning.",
  1990          "items": {
  1991            "type": "string"
  1992          },
  1993          "type": "array"
  1994        },
  1995        "state": {
  1996          "description": "Output only. The state of the server.",
  1997          "enum": [
  1998            "STATE_UNSPECIFIED",
  1999            "PROVISIONING",
  2000            "RUNNING",
  2001            "DELETED",
  2002            "UPDATING",
  2003            "STARTING",
  2004            "STOPPING",
  2005            "SHUTDOWN"
  2006          ],
  2007          "enumDescriptions": [
  2008            "The server is in an unknown state.",
  2009            "The server is being provisioned.",
  2010            "The server is running.",
  2011            "The server has been deleted.",
  2012            "The server is being updated.",
  2013            "The server is starting.",
  2014            "The server is stopping.",
  2015            "The server is shutdown."
  2016          ],
  2017          "readOnly": true,
  2018          "type": "string"
  2019        },
  2020        "updateTime": {
  2021          "description": "Output only. Update a time stamp.",
  2022          "format": "google-datetime",
  2023          "readOnly": true,
  2024          "type": "string"
  2025        },
  2026        "volumes": {
  2027          "description": "Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.",
  2028          "items": {
  2029            "$ref": "Volume"
  2030          },
  2031          "type": "array"
  2032        },
  2033        "workloadProfile": {
  2034          "description": "The workload profile for the instance.",
  2035          "enum": [
  2036            "WORKLOAD_PROFILE_UNSPECIFIED",
  2037            "WORKLOAD_PROFILE_GENERIC",
  2038            "WORKLOAD_PROFILE_HANA"
  2039          ],
  2040          "enumDescriptions": [
  2041            "The workload profile is in an unknown state.",
  2042            "The workload profile is generic.",
  2043            "The workload profile is hana."
  2044          ],
  2045          "type": "string"
  2046        }
  2047      },
  2048      "type": "object"
  2049    },
  2050    "InstanceConfig": {
  2051      "description": "Configuration parameters for a new instance.",
  2052      "id": "InstanceConfig",
  2053      "properties": {
  2054        "accountNetworksEnabled": {
  2055          "description": "If true networks can be from different projects of the same vendor account.",
  2056          "type": "boolean"
  2057        },
  2058        "clientNetwork": {
  2059          "$ref": "NetworkAddress",
  2060          "deprecated": true,
  2061          "description": "Client network address. Filled if InstanceConfig.multivlan_config is false."
  2062        },
  2063        "hyperthreading": {
  2064          "description": "Whether the instance should be provisioned with Hyperthreading enabled.",
  2065          "type": "boolean"
  2066        },
  2067        "id": {
  2068          "deprecated": true,
  2069          "description": "A transient unique identifier to idenfity an instance within an ProvisioningConfig request.",
  2070          "type": "string"
  2071        },
  2072        "instanceType": {
  2073          "description": "Instance type. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
  2074          "type": "string"
  2075        },
  2076        "kmsKeyVersion": {
  2077          "description": "Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose.",
  2078          "type": "string"
  2079        },
  2080        "logicalInterfaces": {
  2081          "description": "List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.",
  2082          "items": {
  2083            "$ref": "GoogleCloudBaremetalsolutionV2LogicalInterface"
  2084          },
  2085          "type": "array"
  2086        },
  2087        "name": {
  2088          "description": "The name of the instance config.",
  2089          "type": "string"
  2090        },
  2091        "networkConfig": {
  2092          "description": "The type of network configuration on the instance.",
  2093          "enum": [
  2094            "NETWORKCONFIG_UNSPECIFIED",
  2095            "SINGLE_VLAN",
  2096            "MULTI_VLAN"
  2097          ],
  2098          "enumDescriptions": [
  2099            "The unspecified network configuration.",
  2100            "Instance part of single client network and single private network.",
  2101            "Instance part of multiple (or single) client networks and private networks."
  2102          ],
  2103          "type": "string"
  2104        },
  2105        "networkTemplate": {
  2106          "description": "Server network template name. Filled if InstanceConfig.multivlan_config is true.",
  2107          "type": "string"
  2108        },
  2109        "osImage": {
  2110          "description": "OS image to initialize the instance. [Available images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
  2111          "type": "string"
  2112        },
  2113        "privateNetwork": {
  2114          "$ref": "NetworkAddress",
  2115          "deprecated": true,
  2116          "description": "Private network address, if any. Filled if InstanceConfig.multivlan_config is false."
  2117        },
  2118        "sshKeyNames": {
  2119          "description": "Optional. List of names of ssh keys used to provision the instance.",
  2120          "items": {
  2121            "type": "string"
  2122          },
  2123          "type": "array"
  2124        },
  2125        "userNote": {
  2126          "description": "User note field, it can be used by customers to add additional information for the BMS Ops team .",
  2127          "type": "string"
  2128        }
  2129      },
  2130      "type": "object"
  2131    },
  2132    "InstanceQuota": {
  2133      "description": "A resource budget.",
  2134      "id": "InstanceQuota",
  2135      "properties": {
  2136        "availableMachineCount": {
  2137          "description": "Number of machines than can be created for the given location and instance_type.",
  2138          "format": "int32",
  2139          "type": "integer"
  2140        },
  2141        "gcpService": {
  2142          "description": "The gcp service of the provisioning quota.",
  2143          "type": "string"
  2144        },
  2145        "instanceType": {
  2146          "deprecated": true,
  2147          "description": "Instance type. Deprecated: use gcp_service.",
  2148          "type": "string"
  2149        },
  2150        "location": {
  2151          "description": "Location where the quota applies.",
  2152          "type": "string"
  2153        },
  2154        "name": {
  2155          "description": "Output only. The name of the instance quota.",
  2156          "readOnly": true,
  2157          "type": "string"
  2158        }
  2159      },
  2160      "type": "object"
  2161    },
  2162    "IntakeVlanAttachment": {
  2163      "description": "A GCP vlan attachment.",
  2164      "id": "IntakeVlanAttachment",
  2165      "properties": {
  2166        "id": {
  2167          "description": "Identifier of the VLAN attachment.",
  2168          "type": "string"
  2169        },
  2170        "pairingKey": {
  2171          "description": "Attachment pairing key.",
  2172          "type": "string"
  2173        }
  2174      },
  2175      "type": "object"
  2176    },
  2177    "ListInstancesResponse": {
  2178      "description": "Response message for the list of servers.",
  2179      "id": "ListInstancesResponse",
  2180      "properties": {
  2181        "instances": {
  2182          "description": "The list of servers.",
  2183          "items": {
  2184            "$ref": "Instance"
  2185          },
  2186          "type": "array"
  2187        },
  2188        "nextPageToken": {
  2189          "description": "A token identifying a page of results from the server.",
  2190          "type": "string"
  2191        },
  2192        "unreachable": {
  2193          "description": "Locations that could not be reached.",
  2194          "items": {
  2195            "type": "string"
  2196          },
  2197          "type": "array"
  2198        }
  2199      },
  2200      "type": "object"
  2201    },
  2202    "ListLocationsResponse": {
  2203      "description": "The response message for Locations.ListLocations.",
  2204      "id": "ListLocationsResponse",
  2205      "properties": {
  2206        "locations": {
  2207          "description": "A list of locations that matches the specified filter in the request.",
  2208          "items": {
  2209            "$ref": "Location"
  2210          },
  2211          "type": "array"
  2212        },
  2213        "nextPageToken": {
  2214          "description": "The standard List next-page token.",
  2215          "type": "string"
  2216        }
  2217      },
  2218      "type": "object"
  2219    },
  2220    "ListLunsResponse": {
  2221      "description": "Response message containing the list of storage volume luns.",
  2222      "id": "ListLunsResponse",
  2223      "properties": {
  2224        "luns": {
  2225          "description": "The list of luns.",
  2226          "items": {
  2227            "$ref": "Lun"
  2228          },
  2229          "type": "array"
  2230        },
  2231        "nextPageToken": {
  2232          "description": "A token identifying a page of results from the server.",
  2233          "type": "string"
  2234        },
  2235        "unreachable": {
  2236          "description": "Locations that could not be reached.",
  2237          "items": {
  2238            "type": "string"
  2239          },
  2240          "type": "array"
  2241        }
  2242      },
  2243      "type": "object"
  2244    },
  2245    "ListNetworkUsageResponse": {
  2246      "description": "Response with Networks with IPs",
  2247      "id": "ListNetworkUsageResponse",
  2248      "properties": {
  2249        "networks": {
  2250          "description": "Networks with IPs.",
  2251          "items": {
  2252            "$ref": "NetworkUsage"
  2253          },
  2254          "type": "array"
  2255        }
  2256      },
  2257      "type": "object"
  2258    },
  2259    "ListNetworksResponse": {
  2260      "description": "Response message containing the list of networks.",
  2261      "id": "ListNetworksResponse",
  2262      "properties": {
  2263        "networks": {
  2264          "description": "The list of networks.",
  2265          "items": {
  2266            "$ref": "Network"
  2267          },
  2268          "type": "array"
  2269        },
  2270        "nextPageToken": {
  2271          "description": "A token identifying a page of results from the server.",
  2272          "type": "string"
  2273        },
  2274        "unreachable": {
  2275          "description": "Locations that could not be reached.",
  2276          "items": {
  2277            "type": "string"
  2278          },
  2279          "type": "array"
  2280        }
  2281      },
  2282      "type": "object"
  2283    },
  2284    "ListNfsSharesResponse": {
  2285      "description": "Response message containing the list of NFS shares.",
  2286      "id": "ListNfsSharesResponse",
  2287      "properties": {
  2288        "nextPageToken": {
  2289          "description": "A token identifying a page of results from the server.",
  2290          "type": "string"
  2291        },
  2292        "nfsShares": {
  2293          "description": "The list of NFS shares.",
  2294          "items": {
  2295            "$ref": "NfsShare"
  2296          },
  2297          "type": "array"
  2298        },
  2299        "unreachable": {
  2300          "description": "Locations that could not be reached.",
  2301          "items": {
  2302            "type": "string"
  2303          },
  2304          "type": "array"
  2305        }
  2306      },
  2307      "type": "object"
  2308    },
  2309    "ListOSImagesResponse": {
  2310      "description": "Request for getting all available OS images.",
  2311      "id": "ListOSImagesResponse",
  2312      "properties": {
  2313        "nextPageToken": {
  2314          "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.",
  2315          "type": "string"
  2316        },
  2317        "osImages": {
  2318          "description": "The OS images available.",
  2319          "items": {
  2320            "$ref": "OSImage"
  2321          },
  2322          "type": "array"
  2323        }
  2324      },
  2325      "type": "object"
  2326    },
  2327    "ListProvisioningQuotasResponse": {
  2328      "description": "Response message for the list of provisioning quotas.",
  2329      "id": "ListProvisioningQuotasResponse",
  2330      "properties": {
  2331        "nextPageToken": {
  2332          "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.",
  2333          "type": "string"
  2334        },
  2335        "provisioningQuotas": {
  2336          "description": "The provisioning quotas registered in this project.",
  2337          "items": {
  2338            "$ref": "ProvisioningQuota"
  2339          },
  2340          "type": "array"
  2341        }
  2342      },
  2343      "type": "object"
  2344    },
  2345    "ListSSHKeysResponse": {
  2346      "description": "Message for response of ListSSHKeys.",
  2347      "id": "ListSSHKeysResponse",
  2348      "properties": {
  2349        "nextPageToken": {
  2350          "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.",
  2351          "type": "string"
  2352        },
  2353        "sshKeys": {
  2354          "description": "The SSH keys registered in the project.",
  2355          "items": {
  2356            "$ref": "SSHKey"
  2357          },
  2358          "type": "array"
  2359        }
  2360      },
  2361      "type": "object"
  2362    },
  2363    "ListVolumeSnapshotsResponse": {
  2364      "description": "Response message containing the list of volume snapshots.",
  2365      "id": "ListVolumeSnapshotsResponse",
  2366      "properties": {
  2367        "nextPageToken": {
  2368          "description": "A token identifying a page of results from the server.",
  2369          "type": "string"
  2370        },
  2371        "unreachable": {
  2372          "description": "Locations that could not be reached.",
  2373          "items": {
  2374            "type": "string"
  2375          },
  2376          "type": "array"
  2377        },
  2378        "volumeSnapshots": {
  2379          "description": "The list of snapshots.",
  2380          "items": {
  2381            "$ref": "VolumeSnapshot"
  2382          },
  2383          "type": "array"
  2384        }
  2385      },
  2386      "type": "object"
  2387    },
  2388    "ListVolumesResponse": {
  2389      "description": "Response message containing the list of storage volumes.",
  2390      "id": "ListVolumesResponse",
  2391      "properties": {
  2392        "nextPageToken": {
  2393          "description": "A token identifying a page of results from the server.",
  2394          "type": "string"
  2395        },
  2396        "unreachable": {
  2397          "description": "Locations that could not be reached.",
  2398          "items": {
  2399            "type": "string"
  2400          },
  2401          "type": "array"
  2402        },
  2403        "volumes": {
  2404          "description": "The list of storage volumes.",
  2405          "items": {
  2406            "$ref": "Volume"
  2407          },
  2408          "type": "array"
  2409        }
  2410      },
  2411      "type": "object"
  2412    },
  2413    "LoadInstanceAuthInfoResponse": {
  2414      "description": "Response for LoadInstanceAuthInfo.",
  2415      "id": "LoadInstanceAuthInfoResponse",
  2416      "properties": {
  2417        "sshKeys": {
  2418          "description": "List of ssh keys.",
  2419          "items": {
  2420            "$ref": "SSHKey"
  2421          },
  2422          "type": "array"
  2423        },
  2424        "userAccounts": {
  2425          "additionalProperties": {
  2426            "$ref": "UserAccount"
  2427          },
  2428          "description": "Map of username to the user account info.",
  2429          "type": "object"
  2430        }
  2431      },
  2432      "type": "object"
  2433    },
  2434    "Location": {
  2435      "description": "A resource that represents a Google Cloud location.",
  2436      "id": "Location",
  2437      "properties": {
  2438        "displayName": {
  2439          "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
  2440          "type": "string"
  2441        },
  2442        "labels": {
  2443          "additionalProperties": {
  2444            "type": "string"
  2445          },
  2446          "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
  2447          "type": "object"
  2448        },
  2449        "locationId": {
  2450          "description": "The canonical id for this location. For example: `\"us-east1\"`.",
  2451          "type": "string"
  2452        },
  2453        "metadata": {
  2454          "additionalProperties": {
  2455            "description": "Properties of the object. Contains field @type with type URL.",
  2456            "type": "any"
  2457          },
  2458          "description": "Service-specific metadata. For example the available capacity at the given location.",
  2459          "type": "object"
  2460        },
  2461        "name": {
  2462          "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
  2463          "type": "string"
  2464        }
  2465      },
  2466      "type": "object"
  2467    },
  2468    "LogicalNetworkInterface": {
  2469      "description": "Each logical network interface is effectively a network and IP pair.",
  2470      "id": "LogicalNetworkInterface",
  2471      "properties": {
  2472        "defaultGateway": {
  2473          "description": "Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.",
  2474          "type": "boolean"
  2475        },
  2476        "id": {
  2477          "description": "An identifier for the `Network`, generated by the backend.",
  2478          "type": "string"
  2479        },
  2480        "ipAddress": {
  2481          "description": "IP address in the network",
  2482          "type": "string"
  2483        },
  2484        "network": {
  2485          "description": "Name of the network",
  2486          "type": "string"
  2487        },
  2488        "networkType": {
  2489          "description": "Type of network.",
  2490          "enum": [
  2491            "TYPE_UNSPECIFIED",
  2492            "CLIENT",
  2493            "PRIVATE"
  2494          ],
  2495          "enumDescriptions": [
  2496            "Unspecified value.",
  2497            "Client network, a network peered to a Google Cloud VPC.",
  2498            "Private network, a network local to the Bare Metal Solution environment."
  2499          ],
  2500          "type": "string"
  2501        }
  2502      },
  2503      "type": "object"
  2504    },
  2505    "Lun": {
  2506      "description": "A storage volume logical unit number (LUN).",
  2507      "id": "Lun",
  2508      "properties": {
  2509        "bootLun": {
  2510          "description": "Display if this LUN is a boot LUN.",
  2511          "type": "boolean"
  2512        },
  2513        "expireTime": {
  2514          "description": "Output only. Time after which LUN will be fully deleted. It is filled only for LUNs in COOL_OFF state.",
  2515          "format": "google-datetime",
  2516          "readOnly": true,
  2517          "type": "string"
  2518        },
  2519        "id": {
  2520          "description": "An identifier for the LUN, generated by the backend.",
  2521          "type": "string"
  2522        },
  2523        "instances": {
  2524          "description": "Output only. Instances this Lun is attached to.",
  2525          "items": {
  2526            "type": "string"
  2527          },
  2528          "readOnly": true,
  2529          "type": "array"
  2530        },
  2531        "multiprotocolType": {
  2532          "description": "The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.",
  2533          "enum": [
  2534            "MULTIPROTOCOL_TYPE_UNSPECIFIED",
  2535            "LINUX"
  2536          ],
  2537          "enumDescriptions": [
  2538            "Server has no OS specified.",
  2539            "Server with Linux OS."
  2540          ],
  2541          "type": "string"
  2542        },
  2543        "name": {
  2544          "description": "Output only. The name of the LUN.",
  2545          "readOnly": true,
  2546          "type": "string"
  2547        },
  2548        "shareable": {
  2549          "description": "Display if this LUN can be shared between multiple physical servers.",
  2550          "type": "boolean"
  2551        },
  2552        "sizeGb": {
  2553          "description": "The size of this LUN, in GiB.",
  2554          "format": "int64",
  2555          "type": "string"
  2556        },
  2557        "state": {
  2558          "description": "The state of this storage volume.",
  2559          "enum": [
  2560            "STATE_UNSPECIFIED",
  2561            "CREATING",
  2562            "UPDATING",
  2563            "READY",
  2564            "DELETING",
  2565            "COOL_OFF"
  2566          ],
  2567          "enumDescriptions": [
  2568            "The LUN is in an unknown state.",
  2569            "The LUN is being created.",
  2570            "The LUN is being updated.",
  2571            "The LUN is ready for use.",
  2572            "The LUN has been requested to be deleted.",
  2573            "The LUN is in cool off state. It will be deleted after `expire_time`."
  2574          ],
  2575          "type": "string"
  2576        },
  2577        "storageType": {
  2578          "description": "The storage type for this LUN.",
  2579          "enum": [
  2580            "STORAGE_TYPE_UNSPECIFIED",
  2581            "SSD",
  2582            "HDD"
  2583          ],
  2584          "enumDescriptions": [
  2585            "The storage type for this LUN is unknown.",
  2586            "This storage type for this LUN is SSD.",
  2587            "This storage type for this LUN is HDD."
  2588          ],
  2589          "type": "string"
  2590        },
  2591        "storageVolume": {
  2592          "description": "Display the storage volume for this LUN.",
  2593          "type": "string"
  2594        },
  2595        "wwid": {
  2596          "description": "The WWID for this LUN.",
  2597          "type": "string"
  2598        }
  2599      },
  2600      "type": "object"
  2601    },
  2602    "LunRange": {
  2603      "description": "A LUN(Logical Unit Number) range.",
  2604      "id": "LunRange",
  2605      "properties": {
  2606        "quantity": {
  2607          "description": "Number of LUNs to create.",
  2608          "format": "int32",
  2609          "type": "integer"
  2610        },
  2611        "sizeGb": {
  2612          "description": "The requested size of each LUN, in GB.",
  2613          "format": "int32",
  2614          "type": "integer"
  2615        }
  2616      },
  2617      "type": "object"
  2618    },
  2619    "Network": {
  2620      "description": "A Network.",
  2621      "id": "Network",
  2622      "properties": {
  2623        "cidr": {
  2624          "description": "The cidr of the Network.",
  2625          "type": "string"
  2626        },
  2627        "gatewayIp": {
  2628          "description": "Output only. Gateway ip address.",
  2629          "readOnly": true,
  2630          "type": "string"
  2631        },
  2632        "id": {
  2633          "description": "An identifier for the `Network`, generated by the backend.",
  2634          "type": "string"
  2635        },
  2636        "ipAddress": {
  2637          "description": "IP address configured.",
  2638          "type": "string"
  2639        },
  2640        "jumboFramesEnabled": {
  2641          "description": "Whether network uses standard frames or jumbo ones.",
  2642          "type": "boolean"
  2643        },
  2644        "labels": {
  2645          "additionalProperties": {
  2646            "type": "string"
  2647          },
  2648          "description": "Labels as key value pairs.",
  2649          "type": "object"
  2650        },
  2651        "macAddress": {
  2652          "description": "List of physical interfaces.",
  2653          "items": {
  2654            "type": "string"
  2655          },
  2656          "type": "array"
  2657        },
  2658        "mountPoints": {
  2659          "description": "Input only. List of mount points to attach the network to.",
  2660          "items": {
  2661            "$ref": "NetworkMountPoint"
  2662          },
  2663          "type": "array"
  2664        },
  2665        "name": {
  2666          "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}`",
  2667          "readOnly": true,
  2668          "type": "string"
  2669        },
  2670        "pod": {
  2671          "description": "Immutable. Pod name. Pod is an independent part of infrastructure. Network can only be connected to the assets (instances, nfsshares) allocated in the same pod.",
  2672          "type": "string"
  2673        },
  2674        "reservations": {
  2675          "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.",
  2676          "items": {
  2677            "$ref": "NetworkAddressReservation"
  2678          },
  2679          "type": "array"
  2680        },
  2681        "servicesCidr": {
  2682          "description": "IP range for reserved for services (e.g. NFS).",
  2683          "type": "string"
  2684        },
  2685        "state": {
  2686          "description": "The Network state.",
  2687          "enum": [
  2688            "STATE_UNSPECIFIED",
  2689            "PROVISIONING",
  2690            "PROVISIONED",
  2691            "DEPROVISIONING",
  2692            "UPDATING"
  2693          ],
  2694          "enumDescriptions": [
  2695            "The Network is in an unknown state.",
  2696            "The Network is provisioning.",
  2697            "The Network has been provisioned.",
  2698            "The Network is being deprovisioned.",
  2699            "The Network is being updated."
  2700          ],
  2701          "type": "string"
  2702        },
  2703        "type": {
  2704          "description": "The type of this network.",
  2705          "enum": [
  2706            "TYPE_UNSPECIFIED",
  2707            "CLIENT",
  2708            "PRIVATE"
  2709          ],
  2710          "enumDescriptions": [
  2711            "Unspecified value.",
  2712            "Client network, a network peered to a Google Cloud VPC.",
  2713            "Private network, a network local to the Bare Metal Solution environment."
  2714          ],
  2715          "type": "string"
  2716        },
  2717        "vlanId": {
  2718          "description": "The vlan id of the Network.",
  2719          "type": "string"
  2720        },
  2721        "vrf": {
  2722          "$ref": "VRF",
  2723          "description": "The Vrf for the Network. Use this only if a new Vrf needs to be created."
  2724        },
  2725        "vrfAttachment": {
  2726          "description": "Optional. The name of a pre-existing Vrf that the network should be attached to. Format is `vrfs/{vrf}`.",
  2727          "type": "string"
  2728        }
  2729      },
  2730      "type": "object"
  2731    },
  2732    "NetworkAddress": {
  2733      "description": "A network.",
  2734      "id": "NetworkAddress",
  2735      "properties": {
  2736        "address": {
  2737          "description": "IPv4 address to be assigned to the server.",
  2738          "type": "string"
  2739        },
  2740        "existingNetworkId": {
  2741          "description": "Name of the existing network to use.",
  2742          "type": "string"
  2743        },
  2744        "networkId": {
  2745          "description": "Id of the network to use, within the same ProvisioningConfig request.",
  2746          "type": "string"
  2747        }
  2748      },
  2749      "type": "object"
  2750    },
  2751    "NetworkAddressReservation": {
  2752      "description": "A reservation of one or more addresses in a network.",
  2753      "id": "NetworkAddressReservation",
  2754      "properties": {
  2755        "endAddress": {
  2756          "description": "The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.",
  2757          "type": "string"
  2758        },
  2759        "note": {
  2760          "description": "A note about this reservation, intended for human consumption.",
  2761          "type": "string"
  2762        },
  2763        "startAddress": {
  2764          "description": "The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2.",
  2765          "type": "string"
  2766        }
  2767      },
  2768      "type": "object"
  2769    },
  2770    "NetworkConfig": {
  2771      "description": "Configuration parameters for a new network.",
  2772      "id": "NetworkConfig",
  2773      "properties": {
  2774        "bandwidth": {
  2775          "description": "Interconnect bandwidth. Set only when type is CLIENT.",
  2776          "enum": [
  2777            "BANDWIDTH_UNSPECIFIED",
  2778            "BW_1_GBPS",
  2779            "BW_2_GBPS",
  2780            "BW_5_GBPS",
  2781            "BW_10_GBPS"
  2782          ],
  2783          "enumDescriptions": [
  2784            "Unspecified value.",
  2785            "1 Gbps.",
  2786            "2 Gbps.",
  2787            "5 Gbps.",
  2788            "10 Gbps."
  2789          ],
  2790          "type": "string"
  2791        },
  2792        "cidr": {
  2793          "description": "CIDR range of the network.",
  2794          "type": "string"
  2795        },
  2796        "gcpService": {
  2797          "description": "The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.",
  2798          "type": "string"
  2799        },
  2800        "id": {
  2801          "description": "A transient unique identifier to identify a volume within an ProvisioningConfig request.",
  2802          "type": "string"
  2803        },
  2804        "jumboFramesEnabled": {
  2805          "description": "The JumboFramesEnabled option for customer to set.",
  2806          "type": "boolean"
  2807        },
  2808        "name": {
  2809          "description": "Output only. The name of the network config.",
  2810          "readOnly": true,
  2811          "type": "string"
  2812        },
  2813        "serviceCidr": {
  2814          "description": "Service CIDR, if any.",
  2815          "enum": [
  2816            "SERVICE_CIDR_UNSPECIFIED",
  2817            "DISABLED",
  2818            "HIGH_26",
  2819            "HIGH_27",
  2820            "HIGH_28"
  2821          ],
  2822          "enumDescriptions": [
  2823            "Unspecified value.",
  2824            "Services are disabled for the given network.",
  2825            "Use the highest /26 block of the network to host services.",
  2826            "Use the highest /27 block of the network to host services.",
  2827            "Use the highest /28 block of the network to host services."
  2828          ],
  2829          "type": "string"
  2830        },
  2831        "type": {
  2832          "description": "The type of this network, either Client or Private.",
  2833          "enum": [
  2834            "TYPE_UNSPECIFIED",
  2835            "CLIENT",
  2836            "PRIVATE"
  2837          ],
  2838          "enumDescriptions": [
  2839            "Unspecified value.",
  2840            "Client network, that is a network peered to a GCP VPC.",
  2841            "Private network, that is a network local to the BMS POD."
  2842          ],
  2843          "type": "string"
  2844        },
  2845        "userNote": {
  2846          "description": "User note field, it can be used by customers to add additional information for the BMS Ops team .",
  2847          "type": "string"
  2848        },
  2849        "vlanAttachments": {
  2850          "description": "List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).",
  2851          "items": {
  2852            "$ref": "IntakeVlanAttachment"
  2853          },
  2854          "type": "array"
  2855        },
  2856        "vlanSameProject": {
  2857          "description": "Whether the VLAN attachment pair is located in the same project.",
  2858          "type": "boolean"
  2859        }
  2860      },
  2861      "type": "object"
  2862    },
  2863    "NetworkMountPoint": {
  2864      "description": "Mount point for a network.",
  2865      "id": "NetworkMountPoint",
  2866      "properties": {
  2867        "defaultGateway": {
  2868          "description": "Network should be a default gateway.",
  2869          "type": "boolean"
  2870        },
  2871        "instance": {
  2872          "description": "Instance to attach network to.",
  2873          "type": "string"
  2874        },
  2875        "ipAddress": {
  2876          "description": "Ip address of the server.",
  2877          "type": "string"
  2878        },
  2879        "logicalInterface": {
  2880          "description": "Logical interface to detach from.",
  2881          "type": "string"
  2882        }
  2883      },
  2884      "type": "object"
  2885    },
  2886    "NetworkUsage": {
  2887      "description": "Network with all used IP addresses.",
  2888      "id": "NetworkUsage",
  2889      "properties": {
  2890        "network": {
  2891          "$ref": "Network",
  2892          "description": "Network."
  2893        },
  2894        "usedIps": {
  2895          "description": "All used IP addresses in this network.",
  2896          "items": {
  2897            "type": "string"
  2898          },
  2899          "type": "array"
  2900        }
  2901      },
  2902      "type": "object"
  2903    },
  2904    "NfsExport": {
  2905      "description": "A NFS export entry.",
  2906      "id": "NfsExport",
  2907      "properties": {
  2908        "allowDev": {
  2909          "description": "Allow dev flag in NfsShare AllowedClientsRequest.",
  2910          "type": "boolean"
  2911        },
  2912        "allowSuid": {
  2913          "description": "Allow the setuid flag.",
  2914          "type": "boolean"
  2915        },
  2916        "cidr": {
  2917          "description": "A CIDR range.",
  2918          "type": "string"
  2919        },
  2920        "machineId": {
  2921          "description": "Either a single machine, identified by an ID, or a comma-separated list of machine IDs.",
  2922          "type": "string"
  2923        },
  2924        "networkId": {
  2925          "description": "Network to use to publish the export.",
  2926          "type": "string"
  2927        },
  2928        "noRootSquash": {
  2929          "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.",
  2930          "type": "boolean"
  2931        },
  2932        "permissions": {
  2933          "description": "Export permissions.",
  2934          "enum": [
  2935            "PERMISSIONS_UNSPECIFIED",
  2936            "READ_ONLY",
  2937            "READ_WRITE"
  2938          ],
  2939          "enumDescriptions": [
  2940            "Unspecified value.",
  2941            "Read-only permission.",
  2942            "Read-write permission."
  2943          ],
  2944          "type": "string"
  2945        }
  2946      },
  2947      "type": "object"
  2948    },
  2949    "NfsShare": {
  2950      "description": "An NFS share.",
  2951      "id": "NfsShare",
  2952      "properties": {
  2953        "allowedClients": {
  2954          "description": "List of allowed access points.",
  2955          "items": {
  2956            "$ref": "AllowedClient"
  2957          },
  2958          "type": "array"
  2959        },
  2960        "id": {
  2961          "description": "Output only. An identifier for the NFS share, generated by the backend. This is the same value as nfs_share_id and will replace it in the future.",
  2962          "readOnly": true,
  2963          "type": "string"
  2964        },
  2965        "labels": {
  2966          "additionalProperties": {
  2967            "type": "string"
  2968          },
  2969          "description": "Labels as key value pairs.",
  2970          "type": "object"
  2971        },
  2972        "name": {
  2973          "description": "Immutable. The name of the NFS share.",
  2974          "type": "string"
  2975        },
  2976        "nfsShareId": {
  2977          "description": "Output only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use `id` instead.",
  2978          "readOnly": true,
  2979          "type": "string"
  2980        },
  2981        "pod": {
  2982          "description": "Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare can only be connected to the assets (networks, instances) allocated in the same pod.",
  2983          "type": "string"
  2984        },
  2985        "requestedSizeGib": {
  2986          "description": "The requested size, in GiB.",
  2987          "format": "int64",
  2988          "type": "string"
  2989        },
  2990        "state": {
  2991          "description": "Output only. The state of the NFS share.",
  2992          "enum": [
  2993            "STATE_UNSPECIFIED",
  2994            "PROVISIONED",
  2995            "CREATING",
  2996            "UPDATING",
  2997            "DELETING"
  2998          ],
  2999          "enumDescriptions": [
  3000            "The share is in an unknown state.",
  3001            "The share has been provisioned.",
  3002            "The NFS Share is being created.",
  3003            "The NFS Share is being updated.",
  3004            "The NFS Share has been requested to be deleted."
  3005          ],
  3006          "readOnly": true,
  3007          "type": "string"
  3008        },
  3009        "storageType": {
  3010          "description": "Immutable. The storage type of the underlying volume.",
  3011          "enum": [
  3012            "STORAGE_TYPE_UNSPECIFIED",
  3013            "SSD",
  3014            "HDD"
  3015          ],
  3016          "enumDescriptions": [
  3017            "The storage type for this volume is unknown.",
  3018            "The storage type for this volume is SSD.",
  3019            "This storage type for this volume is HDD."
  3020          ],
  3021          "type": "string"
  3022        },
  3023        "volume": {
  3024          "description": "Output only. The underlying volume of the share. Created automatically during provisioning.",
  3025          "readOnly": true,
  3026          "type": "string"
  3027        }
  3028      },
  3029      "type": "object"
  3030    },
  3031    "OSImage": {
  3032      "description": "Operation System image.",
  3033      "id": "OSImage",
  3034      "properties": {
  3035        "applicableInstanceTypes": {
  3036          "description": "Instance types this image is applicable to. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)",
  3037          "items": {
  3038            "type": "string"
  3039          },
  3040          "type": "array"
  3041        },
  3042        "code": {
  3043          "description": "OS Image code.",
  3044          "type": "string"
  3045        },
  3046        "description": {
  3047          "description": "OS Image description.",
  3048          "type": "string"
  3049        },
  3050        "name": {
  3051          "description": "Output only. OS Image's unique name.",
  3052          "readOnly": true,
  3053          "type": "string"
  3054        },
  3055        "supportedNetworkTemplates": {
  3056          "description": "Network templates that can be used with this OS Image.",
  3057          "items": {
  3058            "type": "string"
  3059          },
  3060          "type": "array"
  3061        }
  3062      },
  3063      "type": "object"
  3064    },
  3065    "Operation": {
  3066      "description": "This resource represents a long-running operation that is the result of a network API call.",
  3067      "id": "Operation",
  3068      "properties": {
  3069        "done": {
  3070          "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
  3071          "type": "boolean"
  3072        },
  3073        "error": {
  3074          "$ref": "Status",
  3075          "description": "The error result of the operation in case of failure or cancellation."
  3076        },
  3077        "metadata": {
  3078          "additionalProperties": {
  3079            "description": "Properties of the object. Contains field @type with type URL.",
  3080            "type": "any"
  3081          },
  3082          "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
  3083          "type": "object"
  3084        },
  3085        "name": {
  3086          "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
  3087          "type": "string"
  3088        },
  3089        "response": {
  3090          "additionalProperties": {
  3091            "description": "Properties of the object. Contains field @type with type URL.",
  3092            "type": "any"
  3093          },
  3094          "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
  3095          "type": "object"
  3096        }
  3097      },
  3098      "type": "object"
  3099    },
  3100    "ProvisioningConfig": {
  3101      "description": "A provisioning configuration.",
  3102      "id": "ProvisioningConfig",
  3103      "properties": {
  3104        "cloudConsoleUri": {
  3105          "description": "Output only. URI to Cloud Console UI view of this provisioning config.",
  3106          "readOnly": true,
  3107          "type": "string"
  3108        },
  3109        "customId": {
  3110          "description": "Optional. The user-defined identifier of the provisioning config.",
  3111          "type": "string"
  3112        },
  3113        "email": {
  3114          "deprecated": true,
  3115          "description": "Email provided to send a confirmation with provisioning config to. Deprecated in favour of email field in request messages.",
  3116          "type": "string"
  3117        },
  3118        "handoverServiceAccount": {
  3119          "description": "A service account to enable customers to access instance credentials upon handover.",
  3120          "type": "string"
  3121        },
  3122        "instances": {
  3123          "description": "Instances to be created.",
  3124          "items": {
  3125            "$ref": "InstanceConfig"
  3126          },
  3127          "type": "array"
  3128        },
  3129        "location": {
  3130          "description": "Optional. Location name of this ProvisioningConfig. It is optional only for Intake UI transition period.",
  3131          "type": "string"
  3132        },
  3133        "name": {
  3134          "description": "Output only. The system-generated name of the provisioning config. This follows the UUID format.",
  3135          "readOnly": true,
  3136          "type": "string"
  3137        },
  3138        "networks": {
  3139          "description": "Networks to be created.",
  3140          "items": {
  3141            "$ref": "NetworkConfig"
  3142          },
  3143          "type": "array"
  3144        },
  3145        "pod": {
  3146          "description": "Optional. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes, nfsshares) allocated in the same pod only.",
  3147          "type": "string"
  3148        },
  3149        "state": {
  3150          "description": "Output only. State of ProvisioningConfig.",
  3151          "enum": [
  3152            "STATE_UNSPECIFIED",
  3153            "DRAFT",
  3154            "SUBMITTED",
  3155            "PROVISIONING",
  3156            "PROVISIONED",
  3157            "VALIDATED",
  3158            "CANCELLED",
  3159            "FAILED"
  3160          ],
  3161          "enumDescriptions": [
  3162            "State wasn't specified.",
  3163            "ProvisioningConfig is a draft and can be freely modified.",
  3164            "ProvisioningConfig was already submitted and cannot be modified.",
  3165            "ProvisioningConfig was in the provisioning state. Initially this state comes from the work order table in big query when SNOW is used. Later this field can be set by the work order API.",
  3166            "ProvisioningConfig was provisioned, meaning the resources exist.",
  3167            "ProvisioningConfig was validated. A validation tool will be run to set this state.",
  3168            "ProvisioningConfig was canceled.",
  3169            "The request is submitted for provisioning, with error return."
  3170          ],
  3171          "readOnly": true,
  3172          "type": "string"
  3173        },
  3174        "statusMessage": {
  3175          "description": "Optional status messages associated with the FAILED state.",
  3176          "type": "string"
  3177        },
  3178        "ticketId": {
  3179          "description": "A generated ticket id to track provisioning request.",
  3180          "type": "string"
  3181        },
  3182        "updateTime": {
  3183          "description": "Output only. Last update timestamp.",
  3184          "format": "google-datetime",
  3185          "readOnly": true,
  3186          "type": "string"
  3187        },
  3188        "volumes": {
  3189          "description": "Volumes to be created.",
  3190          "items": {
  3191            "$ref": "VolumeConfig"
  3192          },
  3193          "type": "array"
  3194        },
  3195        "vpcScEnabled": {
  3196          "description": "If true, VPC SC is enabled for the cluster.",
  3197          "type": "boolean"
  3198        }
  3199      },
  3200      "type": "object"
  3201    },
  3202    "ProvisioningQuota": {
  3203      "description": "A provisioning quota for a given project.",
  3204      "id": "ProvisioningQuota",
  3205      "properties": {
  3206        "assetType": {
  3207          "description": "The asset type of this provisioning quota.",
  3208          "enum": [
  3209            "ASSET_TYPE_UNSPECIFIED",
  3210            "ASSET_TYPE_SERVER",
  3211            "ASSET_TYPE_STORAGE",
  3212            "ASSET_TYPE_NETWORK"
  3213          ],
  3214          "enumDescriptions": [
  3215            "The unspecified type.",
  3216            "The server asset type.",
  3217            "The storage asset type.",
  3218            "The network asset type."
  3219          ],
  3220          "type": "string"
  3221        },
  3222        "availableCount": {
  3223          "description": "The available count of the provisioning quota.",
  3224          "format": "int32",
  3225          "type": "integer"
  3226        },
  3227        "gcpService": {
  3228          "description": "The gcp service of the provisioning quota.",
  3229          "type": "string"
  3230        },
  3231        "instanceQuota": {
  3232          "$ref": "InstanceQuota",
  3233          "description": "Instance quota."
  3234        },
  3235        "location": {
  3236          "description": "The specific location of the provisioining quota.",
  3237          "type": "string"
  3238        },
  3239        "name": {
  3240          "description": "Output only. The name of the provisioning quota.",
  3241          "readOnly": true,
  3242          "type": "string"
  3243        },
  3244        "networkBandwidth": {
  3245          "description": "Network bandwidth, Gbps",
  3246          "format": "int64",
  3247          "type": "string"
  3248        },
  3249        "serverCount": {
  3250          "description": "Server count.",
  3251          "format": "int64",
  3252          "type": "string"
  3253        },
  3254        "storageGib": {
  3255          "description": "Storage size (GB).",
  3256          "format": "int64",
  3257          "type": "string"
  3258        }
  3259      },
  3260      "type": "object"
  3261    },
  3262    "QosPolicy": {
  3263      "description": "QOS policy parameters.",
  3264      "id": "QosPolicy",
  3265      "properties": {
  3266        "bandwidthGbps": {
  3267          "description": "The bandwidth permitted by the QOS policy, in gbps.",
  3268          "format": "double",
  3269          "type": "number"
  3270        }
  3271      },
  3272      "type": "object"
  3273    },
  3274    "ReimageInstanceRequest": {
  3275      "description": "Message requesting to perform reimage operation on a server.",
  3276      "id": "ReimageInstanceRequest",
  3277      "properties": {
  3278        "kmsKeyVersion": {
  3279          "description": "Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`.",
  3280          "type": "string"
  3281        },
  3282        "osImage": {
  3283          "description": "Required. The OS image code of the image which will be used in the reimage operation.",
  3284          "type": "string"
  3285        },
  3286        "sshKeys": {
  3287          "description": "Optional. List of SSH Keys used during reimaging an instance.",
  3288          "items": {
  3289            "type": "string"
  3290          },
  3291          "type": "array"
  3292        }
  3293      },
  3294      "type": "object"
  3295    },
  3296    "RenameInstanceRequest": {
  3297      "description": "Message requesting rename of a server.",
  3298      "id": "RenameInstanceRequest",
  3299      "properties": {
  3300        "newInstanceId": {
  3301          "description": "Required. The new `id` of the instance.",
  3302          "type": "string"
  3303        }
  3304      },
  3305      "type": "object"
  3306    },
  3307    "RenameNetworkRequest": {
  3308      "description": "Message requesting rename of a server.",
  3309      "id": "RenameNetworkRequest",
  3310      "properties": {
  3311        "newNetworkId": {
  3312          "description": "Required. The new `id` of the network.",
  3313          "type": "string"
  3314        }
  3315      },
  3316      "type": "object"
  3317    },
  3318    "RenameNfsShareRequest": {
  3319      "description": "Message requesting rename of a server.",
  3320      "id": "RenameNfsShareRequest",
  3321      "properties": {
  3322        "newNfsshareId": {
  3323          "description": "Required. The new `id` of the nfsshare.",
  3324          "type": "string"
  3325        }
  3326      },
  3327      "type": "object"
  3328    },
  3329    "RenameVolumeRequest": {
  3330      "description": "Message requesting rename of a server.",
  3331      "id": "RenameVolumeRequest",
  3332      "properties": {
  3333        "newVolumeId": {
  3334          "description": "Required. The new `id` of the volume.",
  3335          "type": "string"
  3336        }
  3337      },
  3338      "type": "object"
  3339    },
  3340    "ResetInstanceRequest": {
  3341      "description": "Message requesting to reset a server.",
  3342      "id": "ResetInstanceRequest",
  3343      "properties": {},
  3344      "type": "object"
  3345    },
  3346    "ResetInstanceResponse": {
  3347      "description": "Response message from resetting a server.",
  3348      "id": "ResetInstanceResponse",
  3349      "properties": {},
  3350      "type": "object"
  3351    },
  3352    "ResizeVolumeRequest": {
  3353      "description": "Request for emergency resize Volume.",
  3354      "id": "ResizeVolumeRequest",
  3355      "properties": {
  3356        "sizeGib": {
  3357          "description": "New Volume size, in GiB.",
  3358          "format": "int64",
  3359          "type": "string"
  3360        }
  3361      },
  3362      "type": "object"
  3363    },
  3364    "RestoreVolumeSnapshotRequest": {
  3365      "description": "Message for restoring a volume snapshot.",
  3366      "id": "RestoreVolumeSnapshotRequest",
  3367      "properties": {},
  3368      "type": "object"
  3369    },
  3370    "SSHKey": {
  3371      "description": "An SSH key, used for authorizing with the interactive serial console feature.",
  3372      "id": "SSHKey",
  3373      "properties": {
  3374        "name": {
  3375          "description": "Output only. The name of this SSH key. Currently, the only valid value for the location is \"global\".",
  3376          "readOnly": true,
  3377          "type": "string"
  3378        },
  3379        "publicKey": {
  3380          "description": "The public SSH key. This must be in OpenSSH .authorized_keys format.",
  3381          "type": "string"
  3382        }
  3383      },
  3384      "type": "object"
  3385    },
  3386    "ServerNetworkTemplate": {
  3387      "description": "Network template.",
  3388      "id": "ServerNetworkTemplate",
  3389      "properties": {
  3390        "applicableInstanceTypes": {
  3391          "description": "Instance types this template is applicable to.",
  3392          "items": {
  3393            "type": "string"
  3394          },
  3395          "type": "array"
  3396        },
  3397        "logicalInterfaces": {
  3398          "description": "Logical interfaces.",
  3399          "items": {
  3400            "$ref": "GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface"
  3401          },
  3402          "type": "array"
  3403        },
  3404        "name": {
  3405          "description": "Output only. Template's unique name. The full resource name follows the pattern: `projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}` Generally, the {server_network_template} follows the syntax of \"bond\" or \"nic\".",
  3406          "readOnly": true,
  3407          "type": "string"
  3408        }
  3409      },
  3410      "type": "object"
  3411    },
  3412    "SnapshotReservationDetail": {
  3413      "description": "Details about snapshot space reservation and usage on the storage volume.",
  3414      "id": "SnapshotReservationDetail",
  3415      "properties": {
  3416        "reservedSpaceGib": {
  3417          "description": "The space on this storage volume reserved for snapshots, shown in GiB.",
  3418          "format": "int64",
  3419          "type": "string"
  3420        },
  3421        "reservedSpacePercent": {
  3422          "description": "Percent of the total Volume size reserved for snapshot copies. Enabling snapshots requires reserving 20% or more of the storage volume space for snapshots. Maximum reserved space for snapshots is 40%. Setting this field will effectively set snapshot_enabled to true.",
  3423          "format": "int32",
  3424          "type": "integer"
  3425        },
  3426        "reservedSpaceRemainingGib": {
  3427          "description": "The amount, in GiB, of available space in this storage volume's reserved snapshot space.",
  3428          "format": "int64",
  3429          "type": "string"
  3430        },
  3431        "reservedSpaceUsedPercent": {
  3432          "description": "The percent of snapshot space on this storage volume actually being used by the snapshot copies. This value might be higher than 100% if the snapshot copies have overflowed into the data portion of the storage volume.",
  3433          "format": "int32",
  3434          "type": "integer"
  3435        }
  3436      },
  3437      "type": "object"
  3438    },
  3439    "StartInstanceRequest": {
  3440      "description": "Message requesting to start a server.",
  3441      "id": "StartInstanceRequest",
  3442      "properties": {},
  3443      "type": "object"
  3444    },
  3445    "StartInstanceResponse": {
  3446      "description": "Response message from starting a server.",
  3447      "id": "StartInstanceResponse",
  3448      "properties": {},
  3449      "type": "object"
  3450    },
  3451    "Status": {
  3452      "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
  3453      "id": "Status",
  3454      "properties": {
  3455        "code": {
  3456          "description": "The status code, which should be an enum value of google.rpc.Code.",
  3457          "format": "int32",
  3458          "type": "integer"
  3459        },
  3460        "details": {
  3461          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
  3462          "items": {
  3463            "additionalProperties": {
  3464              "description": "Properties of the object. Contains field @type with type URL.",
  3465              "type": "any"
  3466            },
  3467            "type": "object"
  3468          },
  3469          "type": "array"
  3470        },
  3471        "message": {
  3472          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
  3473          "type": "string"
  3474        }
  3475      },
  3476      "type": "object"
  3477    },
  3478    "StopInstanceRequest": {
  3479      "description": "Message requesting to stop a server.",
  3480      "id": "StopInstanceRequest",
  3481      "properties": {},
  3482      "type": "object"
  3483    },
  3484    "StopInstanceResponse": {
  3485      "description": "Response message from stopping a server.",
  3486      "id": "StopInstanceResponse",
  3487      "properties": {},
  3488      "type": "object"
  3489    },
  3490    "SubmitProvisioningConfigRequest": {
  3491      "description": "Request for SubmitProvisioningConfig.",
  3492      "id": "SubmitProvisioningConfigRequest",
  3493      "properties": {
  3494        "email": {
  3495          "description": "Optional. Email provided to send a confirmation with provisioning config to.",
  3496          "type": "string"
  3497        },
  3498        "provisioningConfig": {
  3499          "$ref": "ProvisioningConfig",
  3500          "description": "Required. The ProvisioningConfig to create."
  3501        }
  3502      },
  3503      "type": "object"
  3504    },
  3505    "SubmitProvisioningConfigResponse": {
  3506      "description": "Response for SubmitProvisioningConfig.",
  3507      "id": "SubmitProvisioningConfigResponse",
  3508      "properties": {
  3509        "provisioningConfig": {
  3510          "$ref": "ProvisioningConfig",
  3511          "description": "The submitted provisioning config."
  3512        }
  3513      },
  3514      "type": "object"
  3515    },
  3516    "UserAccount": {
  3517      "description": "User account provisioned for the customer.",
  3518      "id": "UserAccount",
  3519      "properties": {
  3520        "encryptedPassword": {
  3521          "description": "Encrypted initial password value.",
  3522          "type": "string"
  3523        },
  3524        "kmsKeyVersion": {
  3525          "description": "KMS CryptoKey Version used to encrypt the password.",
  3526          "type": "string"
  3527        }
  3528      },
  3529      "type": "object"
  3530    },
  3531    "VRF": {
  3532      "description": "A network VRF.",
  3533      "id": "VRF",
  3534      "properties": {
  3535        "name": {
  3536          "description": "The name of the VRF.",
  3537          "type": "string"
  3538        },
  3539        "qosPolicy": {
  3540          "$ref": "QosPolicy",
  3541          "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."
  3542        },
  3543        "state": {
  3544          "description": "The possible state of VRF.",
  3545          "enum": [
  3546            "STATE_UNSPECIFIED",
  3547            "PROVISIONING",
  3548            "PROVISIONED"
  3549          ],
  3550          "enumDescriptions": [
  3551            "The unspecified state.",
  3552            "The vrf is provisioning.",
  3553            "The vrf is provisioned."
  3554          ],
  3555          "type": "string"
  3556        },
  3557        "vlanAttachments": {
  3558          "description": "The list of VLAN attachments for the VRF.",
  3559          "items": {
  3560            "$ref": "VlanAttachment"
  3561          },
  3562          "type": "array"
  3563        }
  3564      },
  3565      "type": "object"
  3566    },
  3567    "VlanAttachment": {
  3568      "description": "VLAN attachment details.",
  3569      "id": "VlanAttachment",
  3570      "properties": {
  3571        "id": {
  3572          "description": "Immutable. The identifier of the attachment within vrf.",
  3573          "type": "string"
  3574        },
  3575        "interconnectAttachment": {
  3576          "description": "Optional. The name of the vlan attachment within vrf. This is of the form projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}",
  3577          "type": "string"
  3578        },
  3579        "pairingKey": {
  3580          "description": "Input only. Pairing key.",
  3581          "type": "string"
  3582        },
  3583        "peerIp": {
  3584          "description": "The peer IP of the attachment.",
  3585          "type": "string"
  3586        },
  3587        "peerVlanId": {
  3588          "description": "The peer vlan ID of the attachment.",
  3589          "format": "int64",
  3590          "type": "string"
  3591        },
  3592        "qosPolicy": {
  3593          "$ref": "QosPolicy",
  3594          "description": "The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level."
  3595        },
  3596        "routerIp": {
  3597          "description": "The router IP of the attachment.",
  3598          "type": "string"
  3599        }
  3600      },
  3601      "type": "object"
  3602    },
  3603    "Volume": {
  3604      "description": "A storage volume.",
  3605      "id": "Volume",
  3606      "properties": {
  3607        "attached": {
  3608          "description": "Output only. Is the Volume attached at at least one instance. This field is a lightweight counterpart of `instances` field. It is filled in List responses as well.",
  3609          "readOnly": true,
  3610          "type": "boolean"
  3611        },
  3612        "autoGrownSizeGib": {
  3613          "description": "The size, in GiB, that this storage volume has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0.",
  3614          "format": "int64",
  3615          "type": "string"
  3616        },
  3617        "bootVolume": {
  3618          "description": "Output only. Whether this volume is a boot volume. A boot volume is one which contains a boot LUN.",
  3619          "readOnly": true,
  3620          "type": "boolean"
  3621        },
  3622        "currentSizeGib": {
  3623          "description": "The current size of this storage volume, in GiB, including space reserved for snapshots. This size might be different than the requested size if the storage volume has been configured with auto grow or auto shrink.",
  3624          "format": "int64",
  3625          "type": "string"
  3626        },
  3627        "emergencySizeGib": {
  3628          "description": "Additional emergency size that was requested for this Volume, in GiB. current_size_gib includes this value.",
  3629          "format": "int64",
  3630          "type": "string"
  3631        },
  3632        "expireTime": {
  3633          "description": "Output only. Time after which volume will be fully deleted. It is filled only for volumes in COOLOFF state.",
  3634          "format": "google-datetime",
  3635          "readOnly": true,
  3636          "type": "string"
  3637        },
  3638        "id": {
  3639          "description": "An identifier for the `Volume`, generated by the backend.",
  3640          "type": "string"
  3641        },
  3642        "instances": {
  3643          "description": "Output only. Instances this Volume is attached to. This field is set only in Get requests.",
  3644          "items": {
  3645            "type": "string"
  3646          },
  3647          "readOnly": true,
  3648          "type": "array"
  3649        },
  3650        "labels": {
  3651          "additionalProperties": {
  3652            "type": "string"
  3653          },
  3654          "description": "Labels as key value pairs.",
  3655          "type": "object"
  3656        },
  3657        "maxSizeGib": {
  3658          "description": "Maximum size volume can be expanded to in case of evergency, in GiB.",
  3659          "format": "int64",
  3660          "type": "string"
  3661        },
  3662        "name": {
  3663          "description": "Output only. The resource name of this `Volume`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/volumes/{volume}`",
  3664          "readOnly": true,
  3665          "type": "string"
  3666        },
  3667        "notes": {
  3668          "description": "Input only. User-specified notes for new Volume. Used to provision Volumes that require manual intervention.",
  3669          "type": "string"
  3670        },
  3671        "originallyRequestedSizeGib": {
  3672          "description": "Originally requested size, in GiB.",
  3673          "format": "int64",
  3674          "type": "string"
  3675        },
  3676        "performanceTier": {
  3677          "description": "Immutable. Performance tier of the Volume. Default is SHARED.",
  3678          "enum": [
  3679            "VOLUME_PERFORMANCE_TIER_UNSPECIFIED",
  3680            "VOLUME_PERFORMANCE_TIER_SHARED",
  3681            "VOLUME_PERFORMANCE_TIER_ASSIGNED",
  3682            "VOLUME_PERFORMANCE_TIER_HT",
  3683            "VOLUME_PERFORMANCE_TIER_QOS2_PERFORMANCE"
  3684          ],
  3685          "enumDescriptions": [
  3686            "Value is not specified.",
  3687            "Regular volumes, shared aggregates.",
  3688            "Assigned aggregates.",
  3689            "High throughput aggregates.",
  3690            "QoS 2.0 high performance storage."
  3691          ],
  3692          "type": "string"
  3693        },
  3694        "pod": {
  3695          "description": "Immutable. Pod name. Pod is an independent part of infrastructure. Volume can only be connected to the instances allocated in the same pod.",
  3696          "type": "string"
  3697        },
  3698        "protocol": {
  3699          "description": "Output only. Storage protocol for the Volume.",
  3700          "enum": [
  3701            "PROTOCOL_UNSPECIFIED",
  3702            "FIBRE_CHANNEL",
  3703            "NFS"
  3704          ],
  3705          "enumDescriptions": [
  3706            "Value is not specified.",
  3707            "Fibre Channel protocol.",
  3708            "NFS protocol means Volume is a NFS Share volume. Such volumes cannot be manipulated via Volumes API."
  3709          ],
  3710          "readOnly": true,
  3711          "type": "string"
  3712        },
  3713        "remainingSpaceGib": {
  3714          "description": "The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.",
  3715          "format": "int64",
  3716          "type": "string"
  3717        },
  3718        "requestedSizeGib": {
  3719          "description": "The requested size of this storage volume, in GiB.",
  3720          "format": "int64",
  3721          "type": "string"
  3722        },
  3723        "snapshotAutoDeleteBehavior": {
  3724          "description": "The behavior to use when snapshot reserved space is full.",
  3725          "enum": [
  3726            "SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED",
  3727            "DISABLED",
  3728            "OLDEST_FIRST",
  3729            "NEWEST_FIRST"
  3730          ],
  3731          "enumDescriptions": [
  3732            "The unspecified behavior.",
  3733            "Don't delete any snapshots. This disables new snapshot creation, as long as the snapshot reserved space is full.",
  3734            "Delete the oldest snapshots first.",
  3735            "Delete the newest snapshots first."
  3736          ],
  3737          "type": "string"
  3738        },
  3739        "snapshotEnabled": {
  3740          "description": "Whether snapshots are enabled.",
  3741          "type": "boolean"
  3742        },
  3743        "snapshotReservationDetail": {
  3744          "$ref": "SnapshotReservationDetail",
  3745          "description": "Details about snapshot space reservation and usage on the storage volume."
  3746        },
  3747        "state": {
  3748          "description": "The state of this storage volume.",
  3749          "enum": [
  3750            "STATE_UNSPECIFIED",
  3751            "CREATING",
  3752            "READY",
  3753            "DELETING",
  3754            "UPDATING",
  3755            "COOL_OFF"
  3756          ],
  3757          "enumDescriptions": [
  3758            "The storage volume is in an unknown state.",
  3759            "The storage volume is being created.",
  3760            "The storage volume is ready for use.",
  3761            "The storage volume has been requested to be deleted.",
  3762            "The storage volume is being updated.",
  3763            "The storage volume is in cool off state. It will be deleted after `expire_time`."
  3764          ],
  3765          "type": "string"
  3766        },
  3767        "storageType": {
  3768          "description": "The storage type for this volume.",
  3769          "enum": [
  3770            "STORAGE_TYPE_UNSPECIFIED",
  3771            "SSD",
  3772            "HDD"
  3773          ],
  3774          "enumDescriptions": [
  3775            "The storage type for this volume is unknown.",
  3776            "The storage type for this volume is SSD.",
  3777            "This storage type for this volume is HDD."
  3778          ],
  3779          "type": "string"
  3780        },
  3781        "workloadProfile": {
  3782          "description": "The workload profile for the volume.",
  3783          "enum": [
  3784            "WORKLOAD_PROFILE_UNSPECIFIED",
  3785            "GENERIC",
  3786            "HANA"
  3787          ],
  3788          "enumDescriptions": [
  3789            "The workload profile is in an unknown state.",
  3790            "The workload profile is generic.",
  3791            "The workload profile is hana."
  3792          ],
  3793          "type": "string"
  3794        }
  3795      },
  3796      "type": "object"
  3797    },
  3798    "VolumeConfig": {
  3799      "description": "Configuration parameters for a new volume.",
  3800      "id": "VolumeConfig",
  3801      "properties": {
  3802        "gcpService": {
  3803          "description": "The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.",
  3804          "type": "string"
  3805        },
  3806        "id": {
  3807          "description": "A transient unique identifier to identify a volume within an ProvisioningConfig request.",
  3808          "type": "string"
  3809        },
  3810        "lunRanges": {
  3811          "description": "LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.",
  3812          "items": {
  3813            "$ref": "LunRange"
  3814          },
  3815          "type": "array"
  3816        },
  3817        "machineIds": {
  3818          "description": "Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.",
  3819          "items": {
  3820            "type": "string"
  3821          },
  3822          "type": "array"
  3823        },
  3824        "name": {
  3825          "description": "Output only. The name of the volume config.",
  3826          "readOnly": true,
  3827          "type": "string"
  3828        },
  3829        "nfsExports": {
  3830          "description": "NFS exports. Set only when protocol is PROTOCOL_NFS.",
  3831          "items": {
  3832            "$ref": "NfsExport"
  3833          },
  3834          "type": "array"
  3835        },
  3836        "performanceTier": {
  3837          "description": "Performance tier of the Volume. Default is SHARED.",
  3838          "enum": [
  3839            "VOLUME_PERFORMANCE_TIER_UNSPECIFIED",
  3840            "VOLUME_PERFORMANCE_TIER_SHARED",
  3841            "VOLUME_PERFORMANCE_TIER_ASSIGNED",
  3842            "VOLUME_PERFORMANCE_TIER_HT",
  3843            "VOLUME_PERFORMANCE_TIER_QOS2_PERFORMANCE"
  3844          ],
  3845          "enumDescriptions": [
  3846            "Value is not specified.",
  3847            "Regular volumes, shared aggregates.",
  3848            "Assigned aggregates.",
  3849            "High throughput aggregates.",
  3850            "QoS 2.0 high performance storage."
  3851          ],
  3852          "type": "string"
  3853        },
  3854        "protocol": {
  3855          "description": "Volume protocol.",
  3856          "enum": [
  3857            "PROTOCOL_UNSPECIFIED",
  3858            "PROTOCOL_FC",
  3859            "PROTOCOL_NFS"
  3860          ],
  3861          "enumDescriptions": [
  3862            "Unspecified value.",
  3863            "Fibre channel.",
  3864            "Network file system."
  3865          ],
  3866          "type": "string"
  3867        },
  3868        "sizeGb": {
  3869          "description": "The requested size of this volume, in GB.",
  3870          "format": "int32",
  3871          "type": "integer"
  3872        },
  3873        "snapshotsEnabled": {
  3874          "description": "Whether snapshots should be enabled.",
  3875          "type": "boolean"
  3876        },
  3877        "type": {
  3878          "description": "The type of this Volume.",
  3879          "enum": [
  3880            "TYPE_UNSPECIFIED",
  3881            "FLASH",
  3882            "DISK"
  3883          ],
  3884          "enumDescriptions": [
  3885            "The unspecified type.",
  3886            "This Volume is on flash.",
  3887            "This Volume is on disk."
  3888          ],
  3889          "type": "string"
  3890        },
  3891        "userNote": {
  3892          "description": "User note field, it can be used by customers to add additional information for the BMS Ops team .",
  3893          "type": "string"
  3894        }
  3895      },
  3896      "type": "object"
  3897    },
  3898    "VolumeSnapshot": {
  3899      "description": "A snapshot of a volume. Only boot volumes can have snapshots.",
  3900      "id": "VolumeSnapshot",
  3901      "properties": {
  3902        "createTime": {
  3903          "description": "Output only. The creation time of the snapshot.",
  3904          "format": "google-datetime",
  3905          "readOnly": true,
  3906          "type": "string"
  3907        },
  3908        "description": {
  3909          "description": "The description of the snapshot.",
  3910          "type": "string"
  3911        },
  3912        "id": {
  3913          "description": "Output only. An identifier for the snapshot, generated by the backend.",
  3914          "readOnly": true,
  3915          "type": "string"
  3916        },
  3917        "name": {
  3918          "description": "The name of the snapshot.",
  3919          "type": "string"
  3920        },
  3921        "storageVolume": {
  3922          "description": "Output only. The name of the volume which this snapshot belongs to.",
  3923          "readOnly": true,
  3924          "type": "string"
  3925        },
  3926        "type": {
  3927          "description": "Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.",
  3928          "enum": [
  3929            "SNAPSHOT_TYPE_UNSPECIFIED",
  3930            "AD_HOC",
  3931            "SCHEDULED"
  3932          ],
  3933          "enumDescriptions": [
  3934            "Type is not specified.",
  3935            "Snapshot was taken manually by user.",
  3936            "Snapshot was taken automatically as a part of a snapshot schedule."
  3937          ],
  3938          "readOnly": true,
  3939          "type": "string"
  3940        }
  3941      },
  3942      "type": "object"
  3943    }
  3944  },
  3945  "servicePath": "",
  3946  "title": "Bare Metal Solution API",
  3947  "version": "v2",
  3948  "version_module": true
  3949}

View as plain text