Cloud Monitoring API (monitoring:v1)

2022-07-09

2 new methods

Additions

    Methods
  • monitoring.projects.location.prometheus.api.v1.labels

      Path: v1/{+name}/location/{location}/prometheus/api/v1/labels

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/monitoring
    • https://www.googleapis.com/auth/monitoring.read
    • HTTP Method: POST

      Parameter Order:

    • name
    • location
    • Description: Lists labels for metrics.

      Parameters:

        location

          Description: Location of the resource information. Has to be "global" now.

          Location: path

          Type: string

          Required: Yes

        name

          Type: string

          Required: Yes

          Pattern: ^projects/[^/]+$

          Description: The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.

          Location: path

      Flat Path: v1/projects/{projectsId}/location/{location}/prometheus/api/v1/labels

  • monitoring.projects.location.prometheus.api.v1.labels.list

      HTTP Method: GET

      Parameters:

        location

          Location: path

          Required: Yes

          Type: string

          Description: Location of the resource information. Has to be "global" now.

        match

          Description: A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them.

          Location: query

          Type: string

        end

          Type: string

          Location: query

          Description: The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.

        name

          Pattern: ^projects/[^/]+$

          Required: Yes

          Description: The workspace on which to execute the request. It is not part of the open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine. The format is: projects/PROJECT_ID_OR_NUMBER.

          Location: path

          Type: string

        start

          Description: The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.

          Type: string

          Location: query

      Flat Path: v1/projects/{projectsId}/location/{location}/prometheus/api/v1/labels

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/monitoring
    • https://www.googleapis.com/auth/monitoring.read
    • Path: v1/{+name}/location/{location}/prometheus/api/v1/labels

      Description: Lists labels for metrics.

      Parameter Order:

    • name
    • location