Bare Metal Solution API (baremetalsolution:v2)

2022-09-26

5 new methods

Additions

    Methods
  • baremetalsolution.projects.locations.sshKeys.list

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/sshKeys

      Parameters:

        pageSize

          Type: integer

          Location: query

          Format: int32

          Description: The maximum number of items to return.

        pageToken

          Type: string

          Description: The next_page_token value returned from a previous List request, if any.

          Location: query

        parent

          Pattern: ^projects/[^/]+/locations/[^/]+$

          Location: path

          Type: string

          Required: Yes

          Description: Required. The parent containing the SSH keys. Currently, the only valid value for the location is "global".

      Description: Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.

      HTTP Method: GET

      Parameter Order: parent

      Path: v2/{+parent}/sshKeys

      Scopes: https://www.googleapis.com/auth/cloud-platform

  • baremetalsolution.projects.locations.sshKeys.create

      Path: v2/{+parent}/sshKeys

      Parameters:

        sshKeyId

          Location: query

          Type: string

          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}

        parent

          Required: Yes

          Type: string

          Description: Required. The parent containing the SSH keys.

          Location: path

          Pattern: ^projects/[^/]+/locations/[^/]+$

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/sshKeys

      Parameter Order: parent

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Register a public SSH key in the specified project for use with the interactive serial console feature.

      HTTP Method: POST

  • baremetalsolution.projects.locations.sshKeys.delete

      HTTP Method: DELETE

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/sshKeys/{sshKeysId}

      Description: Deletes a public SSH key registered in the specified project.

      Path: v2/{+name}

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameter Order: name

      Parameters:

        name

          Type: string

          Required: Yes

          Location: path

          Description: Required. The name of the SSH key to delete. Currently, the only valid value for the location is "global".

          Pattern: ^projects/[^/]+/locations/[^/]+/sshKeys/[^/]+$

  • baremetalsolution.projects.locations.instances.enableInteractiveSerialConsole

      Path: v2/{+name}:enableInteractiveSerialConsole

      Description: Enable the interactive serial console feature on an instance.

      Scopes: https://www.googleapis.com/auth/cloud-platform

      HTTP Method: POST

      Parameters:

        name

          Description: Required. Name of the resource.

          Type: string

          Required: Yes

          Location: path

          Pattern: ^projects/[^/]+/locations/[^/]+/instances/[^/]+$

      Parameter Order: name

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:enableInteractiveSerialConsole

  • baremetalsolution.projects.locations.instances.disableInteractiveSerialConsole

      Path: v2/{+name}:disableInteractiveSerialConsole

      HTTP Method: POST

      Parameter Order: name

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:disableInteractiveSerialConsole

      Description: Disable the interactive serial console feature on an instance.

      Parameters:

        name

          Type: string

          Description: Required. Name of the resource.

          Pattern: ^projects/[^/]+/locations/[^/]+/instances/[^/]+$

          Location: path

          Required: Yes

      Scopes: https://www.googleapis.com/auth/cloud-platform