{
  "baseUrl": "https://monitoring.googleapis.com/",
  "protocol": "rest",
  "version_module": true,
  "schemas": {
    "Parameter": {
      "properties": {
        "intValue": {
          "type": "string",
          "format": "int64",
          "description": "An integer parameter value."
        },
        "doubleValue": {
          "description": "A floating-point parameter value.",
          "type": "number",
          "format": "double"
        }
      },
      "description": "Preview: Parameter value applied to the aggregation function. This is a preview feature and may be subject to change before final release.",
      "type": "object",
      "id": "Parameter"
    },
    "SpanAttributeFilter": {
      "properties": {
        "key": {
          "type": "string",
          "description": "Key of the attribute"
        },
        "value": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "List of attribute values for given key. Multiple values will be OR'd together."
        }
      },
      "id": "SpanAttributeFilter",
      "description": "Span attribute key and list of values to be used for filtering.",
      "type": "object"
    },
    "Dimension": {
      "id": "Dimension",
      "description": "A chart dimension. Dimensions are a structured label, class, or category for a set of measurements in your data.",
      "properties": {
        "timeBinSize": {
          "type": "string",
          "description": "time_bin_size is used when the data type of the specified dimension is a time type and the bin size is determined by a time duration. If column_type is DATE, this must be a whole value multiple of 1 day. If column_type is TIME, this must be less than or equal to 24 hours.",
          "format": "google-duration"
        },
        "maxBinCount": {
          "description": "For widgets that use SQL queries, the limit to the number of bins to generate. When 0 is specified, the maximum count is not enforced. For a histogram that uses a time series query, the exact number of bins to generate. If not specified or the value is 0, then the histogram determines the number of bins to use.",
          "type": "integer",
          "format": "int32"
        },
        "xMin": {
          "description": "The minimum value for the x-axis.",
          "format": "double",
          "type": "number"
        },
        "xMax": {
          "description": "The maximum value for the x-axis.",
          "type": "number",
          "format": "double"
        },
        "numericBinSize": {
          "type": "integer",
          "description": "numeric_bin_size is used when the column type used for a dimension is numeric or string. If the column field is set to metric_value, then numericBinSize overrides maxBinCount.",
          "format": "int32"
        },
        "floatBinSize": {
          "type": "number",
          "format": "double",
          "description": "Optional. float_bin_size is used when the column type used for a dimension is a floating point numeric column."
        },
        "column": {
          "description": "Required. For widgets that use SQL queries, set the value to the name of the column in the results table whose data is charted. For a histogram that uses a time series query, set the value of this field to metric_value.",
          "type": "string"
        },
        "columnType": {
          "description": "Optional. The type of the dimension column. This is relevant only if one of the bin_size fields is set. If it is empty, the type TIMESTAMP or INT64 will be assumed based on which bin_size field is set. If populated, this should be set to one of the following types: DATE, TIME, DATETIME, TIMESTAMP, BIGNUMERIC, INT64, NUMERIC, FLOAT64.",
          "type": "string"
        },
        "sortColumn": {
          "type": "string",
          "description": "The column name to sort on for binning. This column can be the same column as this dimension or any other column used as a measure in the results. If sort_order is set to NONE, then this value is not used."
        },
        "sortOrder": {
          "enumDescriptions": [
            "An unspecified sort order. This option is invalid when sorting is required.",
            "No sorting is applied.",
            "The lowest-valued entries are selected first.",
            "The highest-valued entries are selected first."
          ],
          "description": "The sort order applied to the sort column.",
          "type": "string",
          "enum": [
            "SORT_ORDER_UNSPECIFIED",
            "SORT_ORDER_NONE",
            "SORT_ORDER_ASCENDING",
            "SORT_ORDER_DESCENDING"
          ]
        }
      },
      "type": "object"
    },
    "QueryRangeRequest": {
      "description": "QueryRangeRequest holds all parameters of the Prometheus upstream range query API plus GCM specific parameters.",
      "type": "object",
      "properties": {
        "end": {
          "description": "The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.",
          "type": "string"
        },
        "step": {
          "description": "The resolution of query result. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.",
          "type": "string"
        },
        "timeout": {
          "description": "An upper bound timeout for the query. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.",
          "type": "string"
        },
        "query": {
          "description": "A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.",
          "type": "string"
        },
        "start": {
          "type": "string",
          "description": "The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp."
        }
      },
      "id": "QueryRangeRequest"
    },
    "PieChart": {
      "description": "A widget that displays timeseries data as a pie or a donut.",
      "properties": {
        "chartType": {
          "description": "Required. Indicates the visualization type for the PieChart.",
          "type": "string",
          "enum": [
            "PIE_CHART_TYPE_UNSPECIFIED",
            "PIE",
            "DONUT"
          ],
          "enumDescriptions": [
            "The zero value. No type specified. Do not use.",
            "A Pie type PieChart.",
            "Similar to PIE, but the DONUT type PieChart has a hole in the middle."
          ]
        },
        "dataSets": {
          "description": "Required. The queries for the chart's data.",
          "items": {
            "$ref": "PieChartDataSet"
          },
          "type": "array"
        },
        "showLabels": {
          "type": "boolean",
          "description": "Optional. Indicates whether or not the pie chart should show slices' labels"
        }
      },
      "id": "PieChart",
      "type": "object"
    },
    "ErrorReportingPanel": {
      "type": "object",
      "properties": {
        "projectNames": {
          "description": "The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectNumber}, where {projectID} and {projectNumber} can be found in the Google Cloud console (https://support.google.com/cloud/answer/6158840).Examples: projects/my-project-123, projects/5551234.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "services": {
          "type": "array",
          "description": "An identifier of the service, such as the name of the executable, job, or Google App Engine service name. This field is expected to have a low number of values that are relatively stable over time, as opposed to version, which can be changed whenever new code is deployed.Contains the service name for error reports extracted from Google App Engine logs or default if the App Engine default service is used.",
          "items": {
            "type": "string"
          }
        },
        "versions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example. For App Engine standard environment, the version is set to the version of the app."
        }
      },
      "description": "A widget that displays a list of error groups.",
      "id": "ErrorReportingPanel"
    },
    "MonitoredResource": {
      "type": "object",
      "description": "An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for \"gce_instance\" has labels \"project_id\", \"instance_id\" and \"zone\": { \"type\": \"gce_instance\", \"labels\": { \"project_id\": \"my-project\", \"instance_id\": \"12345678901234\", \"zone\": \"us-central1-a\" }} ",
      "properties": {
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels \"project_id\", \"instance_id\", and \"zone\"."
        },
        "type": {
          "description": "Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).",
          "type": "string"
        }
      },
      "id": "MonitoredResource"
    },
    "LogsPanel": {
      "type": "object",
      "id": "LogsPanel",
      "description": "A widget that displays a stream of log.",
      "properties": {
        "resourceNames": {
          "description": "The names of logging resources to collect logs for. Currently projects and storage views are supported. If empty, the widget will default to the host project.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "filter": {
          "type": "string",
          "description": "A filter that chooses which log entries to return. See Advanced Logs Queries (https://cloud.google.com/logging/docs/view/advanced-queries). Only log entries that match the filter are returned. An empty filter matches all log entries."
        }
      }
    },
    "TemplateVariableCondition": {
      "id": "TemplateVariableCondition",
      "description": "A condition whose evaluation is based on the value of a template variable.",
      "type": "object",
      "properties": {
        "templateVariableValue": {
          "description": "The value to compare the template variable to. For example, if the comparator is REGEX_FULL_MATCH, this field should contain a regex.",
          "type": "string"
        },
        "comparator": {
          "description": "Comparator to use to evaluate whether the value of the template variable matches the template_variable_value. For example, if the comparator is REGEX_FULL_MATCH, template_variable_value would contain a regex that is matched against the value of the template variable.",
          "enum": [
            "COMPARATOR_UNSPECIFIED",
            "REGEX_FULL_MATCH"
          ],
          "enumDescriptions": [
            "No comparator specified. Behavior defaults to REGEX_FULL_MATCH.",
            "Condition with this comparator evaluates to true when the value of the template variables matches the specified regex."
          ],
          "type": "string"
        },
        "templateVariable": {
          "description": "The template variable whose value is evaluated.",
          "type": "string"
        }
      }
    },
    "RatioPart": {
      "properties": {
        "aggregation": {
          "$ref": "Aggregation",
          "description": "By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data."
        },
        "filter": {
          "type": "string",
          "description": "Required. The monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query."
        }
      },
      "type": "object",
      "id": "RatioPart",
      "description": "Describes a query to build the numerator or denominator of a TimeSeriesFilterRatio."
    },
    "ColumnLayout": {
      "id": "ColumnLayout",
      "description": "A simplified layout that divides the available space into vertical columns and arranges a set of widgets vertically in each column.",
      "properties": {
        "columns": {
          "description": "The columns of content to display.",
          "type": "array",
          "items": {
            "$ref": "Column"
          }
        }
      },
      "type": "object"
    },
    "Scorecard": {
      "type": "object",
      "id": "Scorecard",
      "description": "A widget showing the latest value of a metric, and how this value relates to one or more thresholds.",
      "properties": {
        "blankView": {
          "description": "Will cause the Scorecard to show only the value, with no indicator to its value relative to its thresholds.",
          "$ref": "Empty"
        },
        "measures": {
          "items": {
            "$ref": "Measure"
          },
          "description": "Optional. A measure is a measured value of a property in your data. For example, rainfall in inches, number of units sold, revenue gained, etc.",
          "type": "array"
        },
        "gaugeView": {
          "description": "Will cause the scorecard to show a gauge chart.",
          "$ref": "GaugeView"
        },
        "sparkChartView": {
          "description": "Will cause the scorecard to show a spark chart.",
          "$ref": "SparkChartView"
        },
        "thresholds": {
          "description": "The thresholds used to determine the state of the scorecard given the time series' current value. For an actual value x, the scorecard is in a danger state if x is less than or equal to a danger threshold that triggers below, or greater than or equal to a danger threshold that triggers above. Similarly, if x is above/below a warning threshold that triggers above/below, then the scorecard is in a warning state - unless x also puts it in a danger state. (Danger trumps warning.)As an example, consider a scorecard with the following four thresholds: { value: 90, category: 'DANGER', trigger: 'ABOVE', }, { value: 70, category: 'WARNING', trigger: 'ABOVE', }, { value: 10, category: 'DANGER', trigger: 'BELOW', }, { value: 20, category: 'WARNING', trigger: 'BELOW', } Then: values less than or equal to 10 would put the scorecard in a DANGER state, values greater than 10 but less than or equal to 20 a WARNING state, values strictly between 20 and 70 an OK state, values greater than or equal to 70 but less than 90 a WARNING state, and values greater than or equal to 90 a DANGER state.",
          "items": {
            "$ref": "Threshold"
          },
          "type": "array"
        },
        "dimensions": {
          "items": {
            "$ref": "Dimension"
          },
          "description": "Optional. A dimension is a structured label, class, or category for a set of measurements in your data.",
          "type": "array"
        },
        "timeSeriesQuery": {
          "$ref": "TimeSeriesQuery",
          "description": "Required. Fields for querying time series data from the Stackdriver metrics API."
        },
        "breakdowns": {
          "type": "array",
          "description": "Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to slice the data. For example, you can break down the data by region.",
          "items": {
            "$ref": "Breakdown"
          }
        }
      }
    },
    "SectionHeader": {
      "description": "A widget that defines a new section header. Sections populate a table of contents and allow easier navigation of long-form content.",
      "type": "object",
      "properties": {
        "subtitle": {
          "description": "The subtitle of the section",
          "type": "string"
        },
        "dividerBelow": {
          "type": "boolean",
          "description": "Whether to insert a divider below the section in the table of contents"
        }
      },
      "id": "SectionHeader"
    },
    "Row": {
      "id": "Row",
      "description": "Defines the layout properties and content for a row.",
      "properties": {
        "widgets": {
          "type": "array",
          "items": {
            "$ref": "Widget"
          },
          "description": "The display widgets arranged horizontally in this row."
        },
        "weight": {
          "description": "The relative weight of this row. The row weight is used to adjust the height of rows on the screen (relative to peers). Greater the weight, greater the height of the row on the screen. If omitted, a value of 1 is used while rendering.",
          "format": "int64",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Interval": {
      "type": "object",
      "id": "Interval",
      "description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.",
      "properties": {
        "startTime": {
          "description": "Optional. Inclusive start of the interval.If specified, a Timestamp matching this interval will have to be the same or after the start.",
          "format": "google-datetime",
          "type": "string"
        },
        "endTime": {
          "description": "Optional. Exclusive end of the interval.If specified, a Timestamp matching this interval will have to be before the end.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "AggregationFunction": {
      "id": "AggregationFunction",
      "properties": {
        "type": {
          "description": "Required. The type of aggregation function, must be one of the following: \"none\" - no function. \"percentile\" - APPROX_QUANTILES() - 1 parameter numeric value \"average\" - AVG() \"count\" - COUNT() \"count-distinct\" - COUNT(DISTINCT) \"count-distinct-approx\" - APPROX_COUNT_DISTINCT() \"max\" - MAX() \"min\" - MIN() \"sum\" - SUM()",
          "type": "string"
        },
        "parameters": {
          "description": "Optional. Parameters applied to the aggregation function. Only used for functions that require them.",
          "items": {
            "$ref": "Parameter"
          },
          "type": "array"
        }
      },
      "description": "Preview: An identifier for an aggregation function. Aggregation functions are SQL functions that group or transform data from multiple points to a single point. This is a preview feature and may be subject to change before final release.",
      "type": "object"
    },
    "AlertChart": {
      "properties": {
        "name": {
          "description": "Required. The resource name of the alert policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] ",
          "type": "string"
        }
      },
      "id": "AlertChart",
      "description": "A chart that displays alert policy data.",
      "type": "object"
    },
    "Status": {
      "type": "object",
      "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).",
      "id": "Status",
      "properties": {
        "message": {
          "type": "string",
          "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."
        },
        "details": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          },
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use."
        },
        "code": {
          "format": "int32",
          "type": "integer",
          "description": "The status code, which should be an enum value of google.rpc.Code."
        }
      }
    },
    "TraceQuery": {
      "id": "TraceQuery",
      "type": "object",
      "description": "LINT.IfChange Preview: Query for traces. This is a preview feature and may be subject to change before final release.",
      "properties": {
        "resourceContainer": {
          "type": "string",
          "description": "Optional. The resource name of the project or Trace scope to fetch data from. If empty, the widget will default to the project's default Trace scope. If scope cannot be determined, then we fallback to the current project. Optional."
        },
        "spanDataValue": {
          "enumDescriptions": [
            "We are required to have an UNSPECIFIED value for enums. This should not be used in practice.",
            "Span count data value",
            "Span duration data value",
            "Span duration percentiles data value"
          ],
          "description": "The type of span data value to be displayed on the chart. Required.",
          "type": "string",
          "enum": [
            "SPAN_DATA_VALUE_UNSPECIFIED",
            "SPAN_COUNT",
            "SPAN_DURATION",
            "SPAN_DURATION_PERCENTILES"
          ]
        },
        "spanFilters": {
          "description": "First version of span filtering that we will support. Required.",
          "$ref": "SpanFilters"
        }
      }
    },
    "Text": {
      "type": "object",
      "properties": {
        "style": {
          "$ref": "TextStyle",
          "description": "How the text is styled"
        },
        "content": {
          "type": "string",
          "description": "The text content to be displayed."
        },
        "format": {
          "enumDescriptions": [
            "Format is unspecified. Defaults to MARKDOWN.",
            "The text contains Markdown formatting.",
            "The text contains no special formatting."
          ],
          "description": "How the text content is formatted.",
          "type": "string",
          "enum": [
            "FORMAT_UNSPECIFIED",
            "MARKDOWN",
            "RAW"
          ]
        }
      },
      "id": "Text",
      "description": "A widget that displays textual content."
    },
    "QueryExemplarsRequest": {
      "type": "object",
      "description": "QueryExemplarsRequest holds all parameters of the Prometheus upstream API for querying exemplars.",
      "id": "QueryExemplarsRequest",
      "properties": {
        "end": {
          "description": "The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.",
          "type": "string"
        },
        "query": {
          "type": "string",
          "description": "A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/."
        },
        "start": {
          "description": "The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.",
          "type": "string"
        }
      }
    },
    "MosaicLayout": {
      "type": "object",
      "id": "MosaicLayout",
      "description": "A mosaic layout divides the available space into a grid of blocks, and overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid blocks and can be placed at arbitrary locations in the grid.",
      "properties": {
        "columns": {
          "format": "int32",
          "type": "integer",
          "description": "The number of columns in the mosaic grid. The number of columns must be between 1 and 48, inclusive."
        },
        "tiles": {
          "description": "The tiles to display.",
          "items": {
            "$ref": "Tile"
          },
          "type": "array"
        }
      }
    },
    "TreemapDataSet": {
      "type": "object",
      "description": "The data represented by the treemap. Needs to include the data itself, plus rules on how to organize it hierarchically.",
      "id": "TreemapDataSet",
      "properties": {
        "measures": {
          "description": "Optional. A collection of measures. A measure is a measured value of a property in your data. For example, rainfall in inches, number of units sold, revenue gained, etc.",
          "items": {
            "$ref": "Measure"
          },
          "type": "array"
        },
        "breakdowns": {
          "description": "Optional. The collection of breakdowns to be applied to the dataset. A breakdown is a way to slice the data. For example, you can break down the data by region.",
          "items": {
            "$ref": "Breakdown"
          },
          "type": "array"
        },
        "timeSeriesQuery": {
          "$ref": "TimeSeriesQuery",
          "description": "Required. The query that fetches the relevant data. See google.monitoring.dashboard.v1.TimeSeriesQuery"
        }
      }
    },
    "TextStyle": {
      "properties": {
        "verticalAlignment": {
          "enumDescriptions": [
            "No vertical alignment specified, will default to V_TOP",
            "Top-align",
            "Center-align",
            "Bottom-align"
          ],
          "enum": [
            "VERTICAL_ALIGNMENT_UNSPECIFIED",
            "V_TOP",
            "V_CENTER",
            "V_BOTTOM"
          ],
          "type": "string",
          "description": "The vertical alignment of both the title and content"
        },
        "fontSize": {
          "enum": [
            "FONT_SIZE_UNSPECIFIED",
            "FS_EXTRA_SMALL",
            "FS_SMALL",
            "FS_MEDIUM",
            "FS_LARGE",
            "FS_EXTRA_LARGE"
          ],
          "type": "string",
          "description": "Font sizes for both the title and content. The title will still be larger relative to the content.",
          "enumDescriptions": [
            "No font size specified, will default to FS_LARGE",
            "Extra small font size",
            "Small font size",
            "Medium font size",
            "Large font size",
            "Extra large font size"
          ]
        },
        "backgroundColor": {
          "description": "The background color as a hex string. \"#RRGGBB\" or \"#RGB\"",
          "type": "string"
        },
        "pointerLocation": {
          "enumDescriptions": [
            "No visual pointer",
            "Placed in the middle of the top of the widget",
            "Placed in the middle of the right side of the widget",
            "Placed in the middle of the bottom of the widget",
            "Placed in the middle of the left side of the widget",
            "Placed on the left side of the top of the widget",
            "Placed on the right side of the top of the widget",
            "Placed on the top of the right side of the widget",
            "Placed on the bottom of the right side of the widget",
            "Placed on the right side of the bottom of the widget",
            "Placed on the left side of the bottom of the widget",
            "Placed on the bottom of the left side of the widget",
            "Placed on the top of the left side of the widget"
          ],
          "enum": [
            "POINTER_LOCATION_UNSPECIFIED",
            "PL_TOP",
            "PL_RIGHT",
            "PL_BOTTOM",
            "PL_LEFT",
            "PL_TOP_LEFT",
            "PL_TOP_RIGHT",
            "PL_RIGHT_TOP",
            "PL_RIGHT_BOTTOM",
            "PL_BOTTOM_RIGHT",
            "PL_BOTTOM_LEFT",
            "PL_LEFT_BOTTOM",
            "PL_LEFT_TOP"
          ],
          "description": "The pointer location for this widget (also sometimes called a \"tail\")",
          "type": "string"
        },
        "textColor": {
          "description": "The text color as a hex string. \"#RRGGBB\" or \"#RGB\"",
          "type": "string"
        },
        "horizontalAlignment": {
          "enumDescriptions": [
            "No horizontal alignment specified, will default to H_LEFT",
            "Left-align",
            "Center-align",
            "Right-align"
          ],
          "description": "The horizontal alignment of both the title and content",
          "enum": [
            "HORIZONTAL_ALIGNMENT_UNSPECIFIED",
            "H_LEFT",
            "H_CENTER",
            "H_RIGHT"
          ],
          "type": "string"
        },
        "padding": {
          "enumDescriptions": [
            "No padding size specified, will default to P_EXTRA_SMALL",
            "Extra small padding",
            "Small padding",
            "Medium padding",
            "Large padding",
            "Extra large padding"
          ],
          "description": "The amount of padding around the widget",
          "enum": [
            "PADDING_SIZE_UNSPECIFIED",
            "P_EXTRA_SMALL",
            "P_SMALL",
            "P_MEDIUM",
            "P_LARGE",
            "P_EXTRA_LARGE"
          ],
          "type": "string"
        }
      },
      "description": "Properties that determine how the title and content are styled",
      "type": "object",
      "id": "TextStyle"
    },
    "PieChartDataSet": {
      "id": "PieChartDataSet",
      "type": "object",
      "properties": {
        "sliceNameTemplate": {
          "description": "Optional. A template for the name of the slice. This name will be displayed in the legend and the tooltip of the pie chart. It replaces the auto-generated names for the slices. For example, if the template is set to ${resource.labels.zone}, the zone's value will be used for the name instead of the default name.",
          "type": "string"
        },
        "dimensions": {
          "type": "array",
          "items": {
            "$ref": "Dimension"
          },
          "description": "A dimension is a structured label, class, or category for a set of measurements in your data."
        },
        "measures": {
          "type": "array",
          "items": {
            "$ref": "Measure"
          },
          "description": "A measure is a measured value of a property in your data. For example, rainfall in inches, number of units sold, revenue gained, etc."
        },
        "timeSeriesQuery": {
          "description": "Required. The query for the PieChart. See, google.monitoring.dashboard.v1.TimeSeriesQuery.",
          "$ref": "TimeSeriesQuery"
        },
        "minAlignmentPeriod": {
          "type": "string",
          "format": "google-duration",
          "description": "Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals."
        }
      },
      "description": "Groups a time series query definition."
    },
    "ListDashboardsResponse": {
      "id": "ListDashboardsResponse",
      "type": "object",
      "properties": {
        "nextPageToken": {
          "description": "If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.",
          "type": "string"
        },
        "dashboards": {
          "type": "array",
          "description": "The list of requested dashboards.",
          "items": {
            "$ref": "Dashboard"
          }
        }
      },
      "description": "The ListDashboards request."
    },
    "MonitoredProject": {
      "properties": {
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. The time when this MonitoredProject was created."
        },
        "name": {
          "type": "string",
          "description": "Immutable. The resource name of the MonitoredProject. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}"
        },
        "isTombstoned": {
          "type": "boolean",
          "description": "Output only. Set if the project has been tombstoned by the user.",
          "readOnly": true
        }
      },
      "type": "object",
      "description": "A project being monitored (https://cloud.google.com/monitoring/settings/multiple-projects#create-multi) by a Metrics Scope.",
      "id": "MonitoredProject"
    },
    "HttpBody": {
      "type": "object",
      "description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page.This message can be used both in streaming and non-streaming API methods in the request as well as the response.It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body.Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.",
      "properties": {
        "data": {
          "format": "byte",
          "description": "The HTTP request/response body as raw binary.",
          "type": "string"
        },
        "contentType": {
          "description": "The HTTP Content-Type header value specifying the content type of the body.",
          "type": "string"
        },
        "extensions": {
          "description": "Application specific response metadata. Must be set in the first response for streaming APIs.",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          },
          "type": "array"
        }
      },
      "id": "HttpBody"
    },
    "Option": {
      "properties": {
        "name": {
          "description": "The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, \"map_entry\". For custom options, it should be the fully-qualified name. For example, \"google.api.http\".",
          "type": "string"
        },
        "value": {
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "description": "The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.",
          "type": "object"
        }
      },
      "id": "Option",
      "type": "object",
      "description": "A protocol buffer option, which can be attached to a message, field, enumeration, etc.New usages of this message as an alternative to FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions are strongly discouraged."
    },
    "PickTimeSeriesFilter": {
      "description": "Describes a ranking-based time series filter. Each input time series is ranked with an aligner. The filter will allow up to num_time_series time series to pass through it, selecting them based on the relative ranking.For example, if ranking_method is METHOD_MEAN,direction is BOTTOM, and num_time_series is 3, then the 3 times series with the lowest mean values will pass through the filter.",
      "properties": {
        "direction": {
          "type": "string",
          "enum": [
            "DIRECTION_UNSPECIFIED",
            "TOP",
            "BOTTOM"
          ],
          "enumDescriptions": [
            "Not allowed. You must specify a different Direction if you specify a PickTimeSeriesFilter.",
            "Pass the highest num_time_series ranking inputs.",
            "Pass the lowest num_time_series ranking inputs."
          ],
          "description": "How to use the ranking to select time series that pass through the filter."
        },
        "interval": {
          "description": "Select the top N streams/time series within this time interval",
          "$ref": "Interval"
        },
        "rankingMethod": {
          "description": "ranking_method is applied to each time series independently to produce the value which will be used to compare the time series to other time series.",
          "type": "string",
          "enumDescriptions": [
            "Not allowed. You must specify a different Method if you specify a PickTimeSeriesFilter.",
            "Select the mean of all values.",
            "Select the maximum value.",
            "Select the minimum value.",
            "Compute the sum of all values.",
            "Select the most recent value."
          ],
          "enum": [
            "METHOD_UNSPECIFIED",
            "METHOD_MEAN",
            "METHOD_MAX",
            "METHOD_MIN",
            "METHOD_SUM",
            "METHOD_LATEST"
          ]
        },
        "numTimeSeries": {
          "description": "How many time series to allow to pass through the filter.",
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "PickTimeSeriesFilter",
      "type": "object"
    },
    "ListMetricsScopesByMonitoredProjectResponse": {
      "properties": {
        "metricsScopes": {
          "type": "array",
          "items": {
            "$ref": "MetricsScope"
          },
          "description": "A set of all metrics scopes that the specified monitored project has been added to."
        }
      },
      "description": "Response for the ListMetricsScopesByMonitoredProject method.",
      "id": "ListMetricsScopesByMonitoredProjectResponse",
      "type": "object"
    },
    "Treemap": {
      "id": "Treemap",
      "properties": {
        "treemapHierarchy": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Required. Ordered labels representing the hierarchical treemap structure."
        },
        "dataSets": {
          "description": "Required. The collection of datasets used to construct and populate the treemap. For the rendered treemap rectangles: Color is determined by the aggregated value for each grouping. Size is proportional to the count of time series aggregated within that rectangle's segment.",
          "items": {
            "$ref": "TreemapDataSet"
          },
          "type": "array"
        }
      },
      "type": "object",
      "description": "A widget that displays hierarchical data as a treemap."
    },
    "QueryInstantRequest": {
      "id": "QueryInstantRequest",
      "type": "object",
      "properties": {
        "time": {
          "type": "string",
          "description": "The single point in time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp."
        },
        "query": {
          "type": "string",
          "description": "A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/."
        },
        "timeout": {
          "type": "string",
          "description": "An upper bound timeout for the query. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field."
        }
      },
      "description": "QueryInstantRequest holds all parameters of the Prometheus upstream instant query API plus GCM specific parameters."
    },
    "Column": {
      "id": "Column",
      "properties": {
        "weight": {
          "description": "The relative weight of this column. The column weight is used to adjust the width of columns on the screen (relative to peers). Greater the weight, greater the width of the column on the screen. If omitted, a value of 1 is used while rendering.",
          "type": "string",
          "format": "int64"
        },
        "widgets": {
          "description": "The display widgets arranged vertically in this column.",
          "type": "array",
          "items": {
            "$ref": "Widget"
          }
        }
      },
      "type": "object",
      "description": "Defines the layout properties and content for a column."
    },
    "DataSet": {
      "type": "object",
      "id": "DataSet",
      "properties": {
        "targetAxis": {
          "enum": [
            "TARGET_AXIS_UNSPECIFIED",
            "Y1",
            "Y2"
          ],
          "type": "string",
          "enumDescriptions": [
            "The target axis was not specified. Defaults to Y1.",
            "The y_axis (the right axis of chart).",
            "The y2_axis (the left axis of chart)."
          ],
          "description": "Optional. The target axis to use for plotting the metric."
        },
        "breakdowns": {
          "type": "array",
          "items": {
            "$ref": "Breakdown"
          },
          "description": "Optional. The collection of breakdowns to be applied to the dataset."
        },
        "minAlignmentPeriod": {
          "description": "Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.For PromQL queries, this field is used to set the minimum interval for the query step, controlling data granularity. Larger values can improve performance on long time ranges. See Querying Basics and Range Queries for more details on the PromQL step.",
          "format": "google-duration",
          "type": "string"
        },
        "timeSeriesQuery": {
          "description": "Required. Fields for querying time series data from the Stackdriver metrics API.",
          "$ref": "TimeSeriesQuery"
        },
        "sort": {
          "description": "Optional. A collection of sort options, affects the order of the data and legend.",
          "type": "array",
          "items": {
            "$ref": "ColumnSortingOptions"
          }
        },
        "plotType": {
          "type": "string",
          "description": "How this data should be plotted on the chart.",
          "enum": [
            "PLOT_TYPE_UNSPECIFIED",
            "LINE",
            "STACKED_AREA",
            "STACKED_BAR",
            "HEATMAP"
          ],
          "enumDescriptions": [
            "Plot type is unspecified. The view will default to LINE.",
            "The data is plotted as a set of lines (one line per series).",
            "The data is plotted as a set of filled areas (one area per series), with the areas stacked vertically (the base of each area is the top of its predecessor, and the base of the first area is the x-axis). Since the areas do not overlap, each is filled with a different opaque color.",
            "The data is plotted as a set of rectangular boxes (one box per series), with the boxes stacked vertically (the base of each box is the top of its predecessor, and the base of the first box is the x-axis). Since the boxes do not overlap, each is filled with a different opaque color.",
            "The data is plotted as a heatmap. The series being plotted must have a DISTRIBUTION value type. The value of each bucket in the distribution is displayed as a color. This type is not currently available in the Stackdriver Monitoring application."
          ]
        },
        "measures": {
          "description": "Optional. A collection of measures.",
          "type": "array",
          "items": {
            "$ref": "Measure"
          }
        },
        "legendTemplate": {
          "type": "string",
          "description": "A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's value."
        },
        "dimensions": {
          "type": "array",
          "description": "Optional. A collection of dimension columns.",
          "items": {
            "$ref": "Dimension"
          }
        }
      },
      "description": "Groups a time series query definition with charting options."
    },
    "VisibilityCondition": {
      "description": "Condition that determines whether the widget should be displayed.",
      "type": "object",
      "id": "VisibilityCondition",
      "properties": {
        "templateVariableCondition": {
          "$ref": "TemplateVariableCondition",
          "description": "A condition whose evaluation is based on the value of a template variable."
        }
      }
    },
    "GaugeView": {
      "properties": {
        "lowerBound": {
          "description": "The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this.",
          "type": "number",
          "format": "double"
        },
        "upperBound": {
          "type": "number",
          "format": "double",
          "description": "The upper bound for this gauge chart. The value of the chart should always be less than or equal to this."
        }
      },
      "id": "GaugeView",
      "type": "object",
      "description": "A gauge chart shows where the current value sits within a pre-defined range. The upper and lower bounds should define the possible range of values for the scorecard's query (inclusive)."
    },
    "Aggregation": {
      "type": "object",
      "description": "Describes how to combine multiple time series to provide a different view of the data. Aggregation of time series is done in two steps. First, each time series in the set is aligned to the same time interval boundaries, then the set of time series is optionally reduced in number.Alignment consists of applying the per_series_aligner operation to each time series after its data has been divided into regular alignment_period time intervals. This process takes all of the data points in an alignment period, applies a mathematical transformation such as averaging, minimum, maximum, delta, etc., and converts them into a single data point per period.Reduction is when the aligned and transformed time series can optionally be combined, reducing the number of time series through similar mathematical transformations. Reduction involves applying a cross_series_reducer to all the time series, optionally sorting the time series into subsets with group_by_fields, and applying the reducer to each subset.The raw time series data can contain a huge amount of information from multiple sources. Alignment and reduction transforms this mass of data into a more manageable and representative collection of data, for example \"the 95% latency across the average of all tasks in a cluster\". This representative data can be more easily graphed and comprehended, and the individual time series data is still available for later drilldown. For more details, see Filtering and aggregation (https://cloud.google.com/monitoring/api/v3/aggregation).",
      "id": "Aggregation",
      "properties": {
        "perSeriesAligner": {
          "enumDescriptions": [
            "No alignment. Raw data is returned. Not valid if cross-series reduction is requested. The value_type of the result is the same as the value_type of the input.",
            "Align and convert to DELTA. The output is delta = y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If the selected alignment period results in periods with no data, then the aligned value for such a period is created by interpolation. The value_type of the aligned result is the same as the value_type of the input.",
            "Align and convert to a rate. The result is computed as rate = (y1 - y0)/(t1 - t0), or \"delta over time\". Think of this aligner as providing the slope of the line that passes through the value at the start and at the end of the alignment_period.This aligner is valid for CUMULATIVE and DELTA metrics with numeric values. If the selected alignment period results in periods with no data, then the aligned value for such a period is created by interpolation. The output is a GAUGE metric with value_type DOUBLE.If, by \"rate\", you mean \"percentage change\", see the ALIGN_PERCENT_CHANGE aligner instead.",
            "Align by interpolating between adjacent points around the alignment period boundary. This aligner is valid for GAUGE metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.",
            "Align by moving the most recent data point before the end of the alignment period to the boundary at the end of the alignment period. This aligner is valid for GAUGE metrics. The value_type of the aligned result is the same as the value_type of the input.",
            "Align the time series by returning the minimum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.",
            "Align the time series by returning the maximum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.",
            "Align the time series by returning the mean value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is DOUBLE.",
            "Align the time series by returning the number of values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric or Boolean values. The value_type of the aligned result is INT64.",
            "Align the time series by returning the sum of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric and distribution values. The value_type of the aligned result is the same as the value_type of the input.",
            "Align the time series by returning the standard deviation of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the output is DOUBLE.",
            "Align the time series by returning the number of True values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64.",
            "Align the time series by returning the number of False values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64.",
            "Align the time series by returning the ratio of the number of True values to the total number of values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The output value is in the range 0.0, 1.0 and has value_type DOUBLE.",
            "Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 99th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.",
            "Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 95th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.",
            "Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 50th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.",
            "Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 5th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.",
            "Align and convert to a percentage change. This aligner is valid for GAUGE and DELTA metrics with numeric values. This alignment returns ((current - previous)/previous) * 100, where the value of previous is determined based on the alignment_period.If the values of current and previous are both 0, then the returned value is 0. If only previous is 0, the returned value is infinity.A 10-minute moving mean is computed at each point of the alignment period prior to the above calculation to smooth the metric and prevent false positives from very short-lived spikes. The moving mean is only applicable for data whose values are \u003e= 0. Any values \u003c 0 are treated as a missing datapoint, and are ignored. While DELTA metrics are accepted by this alignment, special care should be taken that the values for the metric will always be positive. The output is a GAUGE metric with value_type DOUBLE."
          ],
          "enum": [
            "ALIGN_NONE",
            "ALIGN_DELTA",
            "ALIGN_RATE",
            "ALIGN_INTERPOLATE",
            "ALIGN_NEXT_OLDER",
            "ALIGN_MIN",
            "ALIGN_MAX",
            "ALIGN_MEAN",
            "ALIGN_COUNT",
            "ALIGN_SUM",
            "ALIGN_STDDEV",
            "ALIGN_COUNT_TRUE",
            "ALIGN_COUNT_FALSE",
            "ALIGN_FRACTION_TRUE",
            "ALIGN_PERCENTILE_99",
            "ALIGN_PERCENTILE_95",
            "ALIGN_PERCENTILE_50",
            "ALIGN_PERCENTILE_05",
            "ALIGN_PERCENT_CHANGE"
          ],
          "description": "An Aligner describes how to bring the data points in a single time series into temporal alignment. Except for ALIGN_NONE, all alignments cause all the data points in an alignment_period to be mathematically grouped together, resulting in a single data point for each alignment_period with end timestamp at the end of the period.Not all alignment operations may be applied to all time series. The valid choices depend on the metric_kind and value_type of the original time series. Alignment can change the metric_kind or the value_type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified and not equal to ALIGN_NONE and alignment_period must be specified; otherwise, an error is returned.",
          "type": "string"
        },
        "crossSeriesReducer": {
          "description": "The reduction operation to be used to combine time series into a single time series, where the value of each data point in the resulting series is a function of all the already aligned values in the input time series.Not all reducer operations can be applied to all time series. The valid choices depend on the metric_kind and the value_type of the original time series. Reduction can yield a time series with a different metric_kind or value_type than the input time series.Time series data must first be aligned (see per_series_aligner) in order to perform cross-time series reduction. If cross_series_reducer is specified, then per_series_aligner must be specified, and must not be ALIGN_NONE. An alignment_period must also be specified; otherwise, an error is returned.",
          "type": "string",
          "enum": [
            "REDUCE_NONE",
            "REDUCE_MEAN",
            "REDUCE_MIN",
            "REDUCE_MAX",
            "REDUCE_SUM",
            "REDUCE_STDDEV",
            "REDUCE_COUNT",
            "REDUCE_COUNT_TRUE",
            "REDUCE_COUNT_FALSE",
            "REDUCE_FRACTION_TRUE",
            "REDUCE_PERCENTILE_99",
            "REDUCE_PERCENTILE_95",
            "REDUCE_PERCENTILE_50",
            "REDUCE_PERCENTILE_05"
          ],
          "enumDescriptions": [
            "No cross-time series reduction. The output of the Aligner is returned.",
            "Reduce by computing the mean value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE.",
            "Reduce by computing the minimum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input.",
            "Reduce by computing the maximum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input.",
            "Reduce by computing the sum across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric and distribution values. The value_type of the output is the same as the value_type of the input.",
            "Reduce by computing the standard deviation across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE.",
            "Reduce by computing the number of data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of numeric, Boolean, distribution, and string value_type. The value_type of the output is INT64.",
            "Reduce by computing the number of True-valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The value_type of the output is INT64.",
            "Reduce by computing the number of False-valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The value_type of the output is INT64.",
            "Reduce by computing the ratio of the number of True-valued data points to the total number of data points for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The output value is in the range 0.0, 1.0 and has value_type DOUBLE.",
            "Reduce by computing the 99th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.",
            "Reduce by computing the 95th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.",
            "Reduce by computing the 50th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.",
            "Reduce by computing the 5th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE."
          ]
        },
        "groupByFields": {
          "description": "The set of fields to preserve when cross_series_reducer is specified. The group_by_fields determine how the time series are partitioned into subsets prior to applying the aggregation operation. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The cross_series_reducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in group_by_fields are aggregated away. If group_by_fields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If cross_series_reducer is not defined, this field is ignored.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "alignmentPeriod": {
          "description": "The alignment_period specifies a time interval, in seconds, that is used to divide the data in all the time series into consistent blocks of time. This will be done before the per-series aligner can be applied to the data.The value must be at least 60 seconds. If a per-series aligner other than ALIGN_NONE is specified, this field is required or an error is returned. If no per-series aligner is specified, or the aligner ALIGN_NONE is specified, then this field is ignored.The maximum value of the alignment_period is 2 years, or 104 weeks.",
          "type": "string",
          "format": "google-duration"
        }
      }
    },
    "Field": {
      "id": "Field",
      "description": "A single field of a message type.New usages of this message as an alternative to FieldDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.",
      "properties": {
        "defaultValue": {
          "description": "The string value of the default value of this field. Proto2 syntax only.",
          "type": "string"
        },
        "cardinality": {
          "enumDescriptions": [
            "For fields with unknown cardinality.",
            "For optional fields.",
            "For required fields. Proto2 syntax only.",
            "For repeated fields."
          ],
          "type": "string",
          "enum": [
            "CARDINALITY_UNKNOWN",
            "CARDINALITY_OPTIONAL",
            "CARDINALITY_REQUIRED",
            "CARDINALITY_REPEATED"
          ],
          "description": "The field cardinality."
        },
        "name": {
          "description": "The field name.",
          "type": "string"
        },
        "options": {
          "items": {
            "$ref": "Option"
          },
          "type": "array",
          "description": "The protocol buffer options."
        },
        "packed": {
          "type": "boolean",
          "description": "Whether to use alternative packed wire representation."
        },
        "oneofIndex": {
          "format": "int32",
          "type": "integer",
          "description": "The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list."
        },
        "jsonName": {
          "type": "string",
          "description": "The field JSON name."
        },
        "typeUrl": {
          "type": "string",
          "description": "The field type URL, without the scheme, for message or enumeration types. Example: \"type.googleapis.com/google.protobuf.Timestamp\"."
        },
        "kind": {
          "enum": [
            "TYPE_UNKNOWN",
            "TYPE_DOUBLE",
            "TYPE_FLOAT",
            "TYPE_INT64",
            "TYPE_UINT64",
            "TYPE_INT32",
            "TYPE_FIXED64",
            "TYPE_FIXED32",
            "TYPE_BOOL",
            "TYPE_STRING",
            "TYPE_GROUP",
            "TYPE_MESSAGE",
            "TYPE_BYTES",
            "TYPE_UINT32",
            "TYPE_ENUM",
            "TYPE_SFIXED32",
            "TYPE_SFIXED64",
            "TYPE_SINT32",
            "TYPE_SINT64"
          ],
          "type": "string",
          "enumDescriptions": [
            "Field type unknown.",
            "Field type double.",
            "Field type float.",
            "Field type int64.",
            "Field type uint64.",
            "Field type int32.",
            "Field type fixed64.",
            "Field type fixed32.",
            "Field type bool.",
            "Field type string.",
            "Field type group. Proto2 syntax only, and deprecated.",
            "Field type message.",
            "Field type bytes.",
            "Field type uint32.",
            "Field type enum.",
            "Field type sfixed32.",
            "Field type sfixed64.",
            "Field type sint32.",
            "Field type sint64."
          ],
          "description": "The field type."
        },
        "number": {
          "description": "The field number.",
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "SourceContext": {
      "type": "object",
      "properties": {
        "fileName": {
          "type": "string",
          "description": "The path-qualified name of the .proto file that contained the associated protobuf element. For example: \"google/protobuf/source_context.proto\"."
        }
      },
      "id": "SourceContext",
      "description": "SourceContext represents information about the source of a protobuf element, like the file in which it is defined."
    },
    "DashboardAnnotations": {
      "id": "DashboardAnnotations",
      "properties": {
        "defaultResourceNames": {
          "description": "Dashboard level defaults for names of logging resources to search for events. Currently only projects are supported. Each individual EventAnnotation may have its own overrides. If both this field and the per annotation field is empty, then the scoping project is used. Limit: 50 projects. For example: “projects/some-project-id” ",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "eventAnnotations": {
          "items": {
            "$ref": "EventAnnotation"
          },
          "description": "List of annotation configurations for this dashboard. Each entry specifies one event type.",
          "type": "array"
        }
      },
      "description": "Dashboard-level configuration for annotations",
      "type": "object"
    },
    "SparkChartView": {
      "type": "object",
      "id": "SparkChartView",
      "description": "A sparkChart is a small chart suitable for inclusion in a table-cell or inline in text. This message contains the configuration for a sparkChart to show up on a Scorecard, showing recent trends of the scorecard's timeseries.",
      "properties": {
        "minAlignmentPeriod": {
          "type": "string",
          "description": "The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.For PromQL queries, this field is used to set the minimum interval for the query step, controlling data granularity. Larger values can improve performance on long time ranges. See Querying Basics and Range Queries for more details on the PromQL step.",
          "format": "google-duration"
        },
        "sparkChartType": {
          "description": "Required. The type of sparkchart to show in this chartView.",
          "type": "string",
          "enumDescriptions": [
            "Not allowed in well-formed requests.",
            "The sparkline will be rendered as a small line chart.",
            "The sparkbar will be rendered as a small bar chart."
          ],
          "enum": [
            "SPARK_CHART_TYPE_UNSPECIFIED",
            "SPARK_LINE",
            "SPARK_BAR"
          ]
        }
      }
    },
    "OpsAnalyticsQuery": {
      "description": "Preview: A query that produces an aggregated response and supporting data. This is a preview feature and may be subject to change before final release.",
      "id": "OpsAnalyticsQuery",
      "properties": {
        "sql": {
          "description": "A SQL query to fetch time series, category series, or numeric series data.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Type": {
      "properties": {
        "name": {
          "description": "The fully qualified message name.",
          "type": "string"
        },
        "sourceContext": {
          "$ref": "SourceContext",
          "description": "The source context."
        },
        "oneofs": {
          "description": "The list of types appearing in oneof definitions in this type.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "options": {
          "items": {
            "$ref": "Option"
          },
          "type": "array",
          "description": "The protocol buffer options."
        },
        "syntax": {
          "type": "string",
          "enum": [
            "SYNTAX_PROTO2",
            "SYNTAX_PROTO3",
            "SYNTAX_EDITIONS"
          ],
          "enumDescriptions": [
            "Syntax proto2.",
            "Syntax proto3.",
            "Syntax editions."
          ],
          "description": "The source syntax."
        },
        "edition": {
          "description": "The source edition string, only valid when syntax is SYNTAX_EDITIONS.",
          "type": "string"
        },
        "fields": {
          "items": {
            "$ref": "Field"
          },
          "description": "The list of fields.",
          "type": "array"
        }
      },
      "id": "Type",
      "description": "A protocol buffer message type.New usages of this message as an alternative to DescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.",
      "type": "object"
    },
    "RowLayout": {
      "properties": {
        "rows": {
          "items": {
            "$ref": "Row"
          },
          "type": "array",
          "description": "The rows of content to display."
        }
      },
      "description": "A simplified layout that divides the available space into rows and arranges a set of widgets horizontally in each row.",
      "id": "RowLayout",
      "type": "object"
    },
    "Axis": {
      "id": "Axis",
      "type": "object",
      "description": "A chart axis.",
      "properties": {
        "label": {
          "type": "string",
          "description": "The label of the axis."
        },
        "scale": {
          "description": "The axis scale. By default, a linear scale is used.",
          "enumDescriptions": [
            "Scale is unspecified. The view will default to LINEAR.",
            "Linear scale.",
            "Logarithmic scale (base 10)."
          ],
          "enum": [
            "SCALE_UNSPECIFIED",
            "LINEAR",
            "LOG10"
          ],
          "type": "string"
        }
      }
    },
    "TableDisplayOptions": {
      "description": "Table display options that can be reused.",
      "properties": {
        "shownColumns": {
          "deprecated": true,
          "items": {
            "type": "string"
          },
          "description": "Optional. This field is unused and has been replaced by TimeSeriesTable.column_settings",
          "type": "array"
        }
      },
      "id": "TableDisplayOptions",
      "type": "object"
    },
    "StringArray": {
      "type": "object",
      "id": "StringArray",
      "properties": {
        "values": {
          "type": "array",
          "description": "The values of the array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "An array of strings"
    },
    "DroppedLabels": {
      "description": "A set of (label, value) pairs that were removed from a Distribution time series during aggregation and then added as an attachment to a Distribution.Exemplar.The full label set for the exemplars is constructed by using the dropped pairs in combination with the label values that remain on the aggregated Distribution time series. The constructed full label set can be used to identify the specific entity, such as the instance or job, which might be contributing to a long-tail. However, with dropped labels, the storage requirements are reduced because only the aggregated distribution values for a large group of time series are stored.Note that there are no guarantees on ordering of the labels from exemplar-to-exemplar and from distribution-to-distribution in the same stream, and there may be duplicates. It is up to clients to resolve any ambiguities.",
      "properties": {
        "label": {
          "description": "Map from label to its value, for all labels dropped in any aggregation.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "id": "DroppedLabels",
      "type": "object"
    },
    "FilterControl": {
      "properties": {
        "templateVariable": {
          "description": "Name of the template variable the widget affects.",
          "type": "string"
        }
      },
      "id": "FilterControl",
      "type": "object",
      "description": "A widget that displays an input field to change the value of a template variable."
    },
    "EventAnnotation": {
      "description": "Annotation configuration for one event type on a dashboard",
      "properties": {
        "eventType": {
          "description": "The type of event to display.",
          "enumDescriptions": [
            "No event type specified.",
            "Patch/update of GKE workload.",
            "Crash events for a GKE Pod.",
            "Scheduling failures for GKE Pods.",
            "Failure to create a GKE container.",
            "Create/delete of a GKE cluster.",
            "Update of a GKE cluster.",
            "Update of a GKE node pool.",
            "GKE cluster autoscaler event.",
            "GKE pod autoscaler event.",
            "Termination of a virtual machine.",
            "Guest OS error on a virtual machine.",
            "Start failure on a virtual machine.",
            "Update of a managed instance group.",
            "Autoscaler event for a managed instance group.",
            "New deployment of a Cloud Run service.",
            "Failover of a Cloud SQL instance.",
            "Start/stop of a Cloud SQL instance.",
            "Storage event for a Cloud SQL instance.",
            "Failure of a Cloud Monitoring uptime check.",
            "Alerts from Cloud Alerting",
            "Incidents from Service Health",
            "Agent for SAP Backint related events.",
            "Agent for SAP availability related events.",
            "Agent for SAP operations related events.",
            "Interconnect maintenance started event.",
            "Interconnect maintenance completed event.",
            "VPN traffic selector narrowing event.",
            "VPN maintenance event."
          ],
          "type": "string",
          "enum": [
            "EVENT_TYPE_UNSPECIFIED",
            "GKE_WORKLOAD_DEPLOYMENT",
            "GKE_POD_CRASH",
            "GKE_POD_UNSCHEDULABLE",
            "GKE_CONTAINER_CREATION_FAILED",
            "GKE_CLUSTER_CREATE_DELETE",
            "GKE_CLUSTER_UPDATE",
            "GKE_NODE_POOL_UPDATE",
            "GKE_CLUSTER_AUTOSCALER",
            "GKE_POD_AUTOSCALER",
            "VM_TERMINATION",
            "VM_GUEST_OS_ERROR",
            "VM_START_FAILED",
            "MIG_UPDATE",
            "MIG_AUTOSCALER",
            "CLOUD_RUN_DEPLOYMENT",
            "CLOUD_SQL_FAILOVER",
            "CLOUD_SQL_START_STOP",
            "CLOUD_SQL_STORAGE",
            "UPTIME_CHECK_FAILURE",
            "CLOUD_ALERTING_ALERT",
            "SERVICE_HEALTH_INCIDENT",
            "SAP_BACKINT",
            "SAP_AVAILABILITY",
            "SAP_OPERATIONS",
            "INTERCONNECT_MAINTENANCE_STARTED",
            "INTERCONNECT_MAINTENANCE_COMPLETED",
            "VPN_TRAFFIC_SELECTOR_NARROWING",
            "VPN_MAINTENANCE"
          ]
        },
        "filter": {
          "description": "string filtering the events - event dependant. Example values: \"resource.labels.pod_name = 'pod-1'\" \"protoPayload.authenticationInfo.principalEmail='user@example.com'\" ",
          "type": "string"
        },
        "resourceNames": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Per annotation level override for the names of logging resources to search for events. Currently only projects are supported. If both this field and the per annotation field is empty, it will default to the host project. Limit: 50 projects. For example: “projects/another-project-id” "
        },
        "enabled": {
          "type": "boolean",
          "description": "Whether or not to show the events on the dashboard by default"
        },
        "displayName": {
          "description": "Solely for UI display. Should not be used programmatically.",
          "type": "string"
        }
      },
      "id": "EventAnnotation",
      "type": "object"
    },
    "Threshold": {
      "id": "Threshold",
      "description": "Defines a threshold for categorizing time series values.",
      "type": "object",
      "properties": {
        "value": {
          "type": "number",
          "description": "The value of the threshold. The value should be defined in the native scale of the metric.",
          "format": "double"
        },
        "direction": {
          "enumDescriptions": [
            "Not allowed in well-formed requests.",
            "The threshold will be considered crossed if the actual value is above the threshold value.",
            "The threshold will be considered crossed if the actual value is below the threshold value."
          ],
          "description": "The direction for the current threshold. Direction is not allowed in a XyChart.",
          "enum": [
            "DIRECTION_UNSPECIFIED",
            "ABOVE",
            "BELOW"
          ],
          "type": "string"
        },
        "targetAxis": {
          "enum": [
            "TARGET_AXIS_UNSPECIFIED",
            "Y1",
            "Y2"
          ],
          "enumDescriptions": [
            "The target axis was not specified. Defaults to Y1.",
            "The y_axis (the right axis of chart).",
            "The y2_axis (the left axis of chart)."
          ],
          "description": "The target axis to use for plotting the threshold. Target axis is not allowed in a Scorecard.",
          "type": "string"
        },
        "color": {
          "description": "The state color for this threshold. Color is not allowed in a XyChart.",
          "enumDescriptions": [
            "Color is unspecified. Not allowed in well-formed requests.",
            "Crossing the threshold is \"concerning\" behavior.",
            "Crossing the threshold is \"emergency\" behavior."
          ],
          "type": "string",
          "enum": [
            "COLOR_UNSPECIFIED",
            "YELLOW",
            "RED"
          ]
        },
        "label": {
          "description": "A label for the threshold.",
          "type": "string"
        }
      }
    },
    "QuerySeriesRequest": {
      "type": "object",
      "description": "QuerySeries holds all parameters of the Prometheus upstream API for querying series.",
      "id": "QuerySeriesRequest",
      "properties": {
        "end": {
          "type": "string",
          "description": "The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp."
        },
        "start": {
          "description": "The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.",
          "type": "string"
        }
      }
    },
    "Tile": {
      "description": "A single tile in the mosaic. The placement and size of the tile are configurable.",
      "type": "object",
      "id": "Tile",
      "properties": {
        "xPos": {
          "format": "int32",
          "description": "The zero-indexed position of the tile in grid blocks relative to the left edge of the grid. Tiles must be contained within the specified number of columns. x_pos cannot be negative.",
          "type": "integer"
        },
        "yPos": {
          "type": "integer",
          "format": "int32",
          "description": "The zero-indexed position of the tile in grid blocks relative to the top edge of the grid. y_pos cannot be negative."
        },
        "width": {
          "format": "int32",
          "type": "integer",
          "description": "The width of the tile, measured in grid blocks. Tiles must have a minimum width of 1."
        },
        "widget": {
          "$ref": "Widget",
          "description": "The informational widget contained in the tile. For example an XyChart."
        },
        "height": {
          "description": "The height of the tile, measured in grid blocks. Tiles must have a minimum height of 1.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "Empty": {
      "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); } ",
      "properties": {},
      "type": "object",
      "id": "Empty"
    },
    "Breakdown": {
      "type": "object",
      "properties": {
        "column": {
          "type": "string",
          "description": "Required. The name of the column in the dataset containing the breakdown values."
        },
        "sortOrder": {
          "enumDescriptions": [
            "An unspecified sort order. This option is invalid when sorting is required.",
            "No sorting is applied.",
            "The lowest-valued entries are selected first.",
            "The highest-valued entries are selected first."
          ],
          "description": "Required. The sort order is applied to the values of the breakdown column.",
          "enum": [
            "SORT_ORDER_UNSPECIFIED",
            "SORT_ORDER_NONE",
            "SORT_ORDER_ASCENDING",
            "SORT_ORDER_DESCENDING"
          ],
          "type": "string"
        },
        "aggregationFunction": {
          "$ref": "AggregationFunction",
          "description": "Required. The Aggregation function is applied across all data in each breakdown created."
        },
        "limit": {
          "format": "int32",
          "description": "Required. A limit to the number of breakdowns. If set to zero then all possible breakdowns are applied. The list of breakdowns is dependent on the value of the sort_order field.",
          "type": "integer"
        }
      },
      "description": "Preview: A breakdown is an aggregation applied to the measures over a specified column. A breakdown can result in multiple series across a category for the provided measure. This is a preview feature and may be subject to change before final release.",
      "id": "Breakdown"
    },
    "ColumnSettings": {
      "description": "The persistent settings for a table's columns.",
      "properties": {
        "thresholds": {
          "items": {
            "$ref": "Threshold"
          },
          "description": "Optional. The thresholds used to determine how the table cell should be rendered given the time series' current value.",
          "type": "array"
        },
        "alignment": {
          "description": "Optional. Whether the column should be left / middle / right aligned",
          "enum": [
            "CELL_ALIGNMENT_UNSPECIFIED",
            "LEFT",
            "CENTER",
            "RIGHT"
          ],
          "enumDescriptions": [
            "No horizontal alignment specified; fall back to the default behavior. Label values are left aligned. Numeric values are right aligned.",
            "Left-align",
            "Center-align",
            "Right-align"
          ],
          "type": "string"
        },
        "column": {
          "description": "Required. The id of the column.",
          "type": "string"
        },
        "displayName": {
          "description": "Optional. Display name of the column",
          "type": "string"
        },
        "visible": {
          "description": "Required. Whether the column should be visible on page load.",
          "type": "boolean"
        }
      },
      "id": "ColumnSettings",
      "type": "object"
    },
    "DashboardFilter": {
      "properties": {
        "stringValue": {
          "description": "A variable-length string value. If this field is set, value_type must be set to STRING or VALUE_TYPE_UNSPECIFIED",
          "type": "string"
        },
        "labelKey": {
          "type": "string",
          "description": "Optional. The key for the label. This must be omitted if the filter_type is VALUE_ONLY but is required otherwise."
        },
        "valueType": {
          "description": "The type of the filter value. If value_type is not provided, it will be inferred from the default_value. If neither value_type nor default_value is provided, value_type will be set to STRING by default.",
          "enumDescriptions": [
            "Value type is unspecified",
            "String type",
            "String array type"
          ],
          "type": "string",
          "enum": [
            "VALUE_TYPE_UNSPECIFIED",
            "STRING",
            "STRING_ARRAY"
          ]
        },
        "stringArray": {
          "$ref": "StringArray",
          "description": "A list of possible string values for the filter"
        },
        "stringArrayValue": {
          "description": "An array of variable-length string values. If this field is set, value_type must be set to STRING_ARRAY or VALUE_TYPE_UNSPECIFIED",
          "$ref": "StringArray"
        },
        "timeSeriesQuery": {
          "description": "A query to run to fetch possible values for the filter. Only OpsAnalyticsQueries are supported",
          "$ref": "TimeSeriesQuery"
        },
        "templateVariable": {
          "type": "string",
          "description": "The placeholder text that can be referenced in a filter string or MQL query. If omitted, the dashboard filter will be applied to all relevant widgets in the dashboard."
        },
        "filterType": {
          "description": "The specified filter type",
          "enum": [
            "FILTER_TYPE_UNSPECIFIED",
            "RESOURCE_LABEL",
            "METRIC_LABEL",
            "USER_METADATA_LABEL",
            "SYSTEM_METADATA_LABEL",
            "GROUP",
            "VALUE_ONLY"
          ],
          "type": "string",
          "enumDescriptions": [
            "Filter type is unspecified. This is not valid in a well-formed request.",
            "Filter on a resource label value",
            "Filter on a metrics label value",
            "Filter on a user metadata label value",
            "Filter on a system metadata label value",
            "Filter on a group id",
            "Filter that only contains a value. The label_key field must be unset for filters of this type."
          ]
        }
      },
      "type": "object",
      "description": "A filter to reduce the amount of data charted in relevant widgets.",
      "id": "DashboardFilter"
    },
    "Widget": {
      "id": "Widget",
      "properties": {
        "xyChart": {
          "description": "A chart of time series data.",
          "$ref": "XyChart"
        },
        "filterControl": {
          "description": "A widget that displays an input field to change the value of a template variable.",
          "$ref": "FilterControl"
        },
        "scorecard": {
          "description": "A scorecard summarizing time series data.",
          "$ref": "Scorecard"
        },
        "blank": {
          "description": "A blank space.",
          "$ref": "Empty"
        },
        "text": {
          "description": "A raw string or markdown displaying textual content.",
          "$ref": "Text"
        },
        "visibilityCondition": {
          "$ref": "VisibilityCondition",
          "description": "Optional. If set, this widget is rendered only when the condition is evaluated to true."
        },
        "alertChart": {
          "description": "A chart of alert policy data.",
          "$ref": "AlertChart"
        },
        "sectionHeader": {
          "description": "A widget that defines a section header for easier navigation of the dashboard.",
          "$ref": "SectionHeader"
        },
        "treemap": {
          "description": "A widget that displays data as a treemap.",
          "$ref": "Treemap"
        },
        "errorReportingPanel": {
          "description": "A widget that displays a list of error groups.",
          "$ref": "ErrorReportingPanel"
        },
        "title": {
          "description": "Optional. The title of the widget.",
          "type": "string"
        },
        "id": {
          "type": "string",
          "description": "Optional. The widget id. Ids may be made up of alphanumerics, dashes and underscores. Widget ids are optional."
        },
        "collapsibleGroup": {
          "description": "A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.",
          "$ref": "CollapsibleGroup"
        },
        "singleViewGroup": {
          "description": "A widget that groups the other widgets by using a dropdown menu.",
          "$ref": "SingleViewGroup"
        },
        "timeSeriesTable": {
          "$ref": "TimeSeriesTable",
          "description": "A widget that displays time series data in a tabular format."
        },
        "incidentList": {
          "$ref": "IncidentList",
          "description": "A widget that shows list of incidents."
        },
        "logsPanel": {
          "description": "A widget that shows a stream of logs.",
          "$ref": "LogsPanel"
        },
        "pieChart": {
          "$ref": "PieChart",
          "description": "A widget that displays timeseries data as a pie chart."
        }
      },
      "type": "object",
      "description": "Widget contains a single dashboard component and configuration of how to present the component in the dashboard."
    },
    "ColumnSortingOptions": {
      "type": "object",
      "description": "Data structure to storing column's sort strategy",
      "properties": {
        "column": {
          "description": "Optional. Column name to sort data by",
          "type": "string"
        },
        "direction": {
          "description": "Optional. A sorting direction that determines ascending or descending order. This is a legacy field kept for backwards compatibility with table.",
          "enum": [
            "SORT_ORDER_UNSPECIFIED",
            "SORT_ORDER_NONE",
            "SORT_ORDER_ASCENDING",
            "SORT_ORDER_DESCENDING"
          ],
          "enumDescriptions": [
            "An unspecified sort order. This option is invalid when sorting is required.",
            "No sorting is applied.",
            "The lowest-valued entries are selected first.",
            "The highest-valued entries are selected first."
          ],
          "type": "string"
        }
      },
      "id": "ColumnSortingOptions"
    },
    "CollapsibleGroup": {
      "id": "CollapsibleGroup",
      "description": "A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.",
      "type": "object",
      "properties": {
        "collapsed": {
          "description": "The collapsed state of the widget on first page load.",
          "type": "boolean"
        }
      }
    },
    "XyChart": {
      "description": "A chart that displays data on a 2D (X and Y axes) plane.",
      "type": "object",
      "id": "XyChart",
      "properties": {
        "y2Axis": {
          "$ref": "Axis",
          "description": "The properties applied to the y2-axis."
        },
        "timeshiftDuration": {
          "description": "The duration used to display a comparison chart. A comparison chart simultaneously shows values from two similar-length time periods (e.g., week-over-week metrics). The duration must be positive, and it can only be applied to charts with data sets of LINE plot type.",
          "format": "google-duration",
          "type": "string"
        },
        "yAxis": {
          "$ref": "Axis",
          "description": "The properties applied to the y-axis."
        },
        "chartOptions": {
          "$ref": "ChartOptions",
          "description": "Display options for the chart."
        },
        "thresholds": {
          "description": "Threshold lines drawn horizontally across the chart.",
          "items": {
            "$ref": "Threshold"
          },
          "type": "array"
        },
        "xAxis": {
          "description": "The properties applied to the x-axis.",
          "$ref": "Axis"
        },
        "dataSets": {
          "description": "Required. The data displayed in this chart.",
          "items": {
            "$ref": "DataSet"
          },
          "type": "array"
        }
      }
    },
    "TimeSeriesTable": {
      "description": "A table that displays time series data.",
      "type": "object",
      "properties": {
        "dataSets": {
          "type": "array",
          "description": "Required. The data displayed in this table.",
          "items": {
            "$ref": "TableDataSet"
          }
        },
        "metricVisualization": {
          "description": "Optional. Store rendering strategy",
          "enum": [
            "METRIC_VISUALIZATION_UNSPECIFIED",
            "NUMBER",
            "BAR"
          ],
          "enumDescriptions": [
            "Unspecified state",
            "Default text rendering",
            "Horizontal bar rendering"
          ],
          "type": "string"
        },
        "columnSettings": {
          "description": "Optional. The list of the persistent column settings for the table.",
          "items": {
            "$ref": "ColumnSettings"
          },
          "type": "array"
        }
      },
      "id": "TimeSeriesTable"
    },
    "OperationMetadata": {
      "id": "OperationMetadata",
      "description": "Contains metadata for longrunning operation for the edit Metrics Scope endpoints.",
      "properties": {
        "createTime": {
          "type": "string",
          "description": "The time when the batch request was received.",
          "format": "google-datetime"
        },
        "updateTime": {
          "type": "string",
          "description": "The time when the operation result was last updated.",
          "format": "google-datetime"
        },
        "state": {
          "description": "Current state of the batch operation.",
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATED",
            "RUNNING",
            "DONE",
            "CANCELLED"
          ],
          "enumDescriptions": [
            "Invalid.",
            "Request has been received.",
            "Request is actively being processed.",
            "The batch processing is done.",
            "The batch processing was cancelled."
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "StatisticalTimeSeriesFilter": {
      "description": "A filter that ranks streams based on their statistical relation to other streams in a request. Note: This field is deprecated and completely ignored by the API.",
      "type": "object",
      "properties": {
        "rankingMethod": {
          "enumDescriptions": [
            "Not allowed in well-formed requests.",
            "Compute the outlier score of each stream."
          ],
          "enum": [
            "METHOD_UNSPECIFIED",
            "METHOD_CLUSTER_OUTLIER"
          ],
          "type": "string",
          "description": "rankingMethod is applied to a set of time series, and then the produced value for each individual time series is used to compare a given time series to others. These are methods that cannot be applied stream-by-stream, but rather require the full context of a request to evaluate time series."
        },
        "numTimeSeries": {
          "description": "How many time series to output.",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "StatisticalTimeSeriesFilter"
    },
    "TimeSeriesQuery": {
      "id": "TimeSeriesQuery",
      "type": "object",
      "properties": {
        "outputFullDuration": {
          "type": "boolean",
          "description": "Optional. If set, Cloud Monitoring will treat the full query duration as the alignment period so that there will be only 1 output value.*Note: This could override the configured alignment period except for the cases where a series of data points are expected, like - XyChart - Scorecard's spark chart"
        },
        "prometheusQuery": {
          "description": "A query used to fetch time series with PromQL.",
          "type": "string"
        },
        "timeSeriesFilter": {
          "$ref": "TimeSeriesFilter",
          "description": "Filter parameters to fetch time series."
        },
        "opsAnalyticsQuery": {
          "description": "Preview: A query used to fetch a time series, category series, or numeric series with SQL. This is a preview feature and may be subject to change before final release.",
          "$ref": "OpsAnalyticsQuery"
        },
        "traceQuery": {
          "$ref": "TraceQuery",
          "description": "Optional. Preview: Query for traces. This is a preview feature and may be subject to change before final release."
        },
        "timeSeriesFilterRatio": {
          "$ref": "TimeSeriesFilterRatio",
          "description": "Parameters to fetch a ratio between two time series filters."
        },
        "timeSeriesQueryLanguage": {
          "type": "string",
          "description": "A query used to fetch time series with MQL."
        },
        "unitOverride": {
          "description": "The unit of data contained in fetched time series. If non-empty, this unit will override any unit that accompanies fetched data. The format is the same as the unit (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in MetricDescriptor.",
          "type": "string"
        }
      },
      "description": "TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API."
    },
    "MetricsScope": {
      "description": "Represents a Metrics Scope (https://cloud.google.com/monitoring/settings#concept-scope) in Cloud Monitoring, which specifies one or more Google projects and zero or more AWS accounts to monitor together.",
      "properties": {
        "createTime": {
          "readOnly": true,
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. The time when this Metrics Scope was created."
        },
        "name": {
          "type": "string",
          "description": "Immutable. The resource name of the Monitoring Metrics Scope. On input, the resource name can be specified with the scoping project ID or number. On output, the resource name is specified with the scoping project number. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}"
        },
        "updateTime": {
          "readOnly": true,
          "description": "Output only. The time when this Metrics Scope record was last updated.",
          "type": "string",
          "format": "google-datetime"
        },
        "monitoredProjects": {
          "items": {
            "$ref": "MonitoredProject"
          },
          "readOnly": true,
          "type": "array",
          "description": "Output only. The list of projects monitored by this Metrics Scope."
        }
      },
      "id": "MetricsScope",
      "type": "object"
    },
    "GridLayout": {
      "description": "A basic layout divides the available space into vertical columns of equal width and arranges a list of widgets using a row-first strategy.",
      "type": "object",
      "properties": {
        "columns": {
          "format": "int64",
          "type": "string",
          "description": "The number of columns into which the view's width is divided. If omitted or set to zero, a system default will be used while rendering."
        },
        "widgets": {
          "items": {
            "$ref": "Widget"
          },
          "description": "The informational elements that are arranged into the columns row-first.",
          "type": "array"
        }
      },
      "id": "GridLayout"
    },
    "IncidentList": {
      "properties": {
        "monitoredResources": {
          "description": "Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering.",
          "items": {
            "$ref": "MonitoredResource"
          },
          "type": "array"
        },
        "policyNames": {
          "type": "array",
          "description": "Optional. A list of alert policy names to filter the incident list by. Don't include the project ID prefix in the policy name. For example, use alertPolicies/utilization.",
          "items": {
            "type": "string"
          }
        }
      },
      "type": "object",
      "description": "A widget that displays a list of incidents",
      "id": "IncidentList"
    },
    "SpanContext": {
      "properties": {
        "spanName": {
          "type": "string",
          "description": "The resource name of the span. The format is: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] [TRACE_ID] is a unique identifier for a trace within a project; it is a 32-character hexadecimal encoding of a 16-byte array.[SPAN_ID] is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array."
        }
      },
      "type": "object",
      "description": "The context of a span. This is attached to an Exemplar in Distribution values during aggregation.It contains the name of a span with format: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID] ",
      "id": "SpanContext"
    },
    "Operation": {
      "description": "This resource represents a long-running operation that is the result of a network API call.",
      "id": "Operation",
      "properties": {
        "error": {
          "description": "The error result of the operation in case of failure or cancellation.",
          "$ref": "Status"
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "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."
        },
        "response": {
          "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.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "type": "object"
        },
        "name": {
          "type": "string",
          "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}."
        },
        "done": {
          "type": "boolean",
          "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."
        }
      },
      "type": "object"
    },
    "QueryLabelsRequest": {
      "id": "QueryLabelsRequest",
      "properties": {
        "match": {
          "type": "string",
          "description": "A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them."
        },
        "end": {
          "description": "The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.",
          "type": "string"
        },
        "start": {
          "description": "The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.",
          "type": "string"
        }
      },
      "description": "QueryLabelsRequest holds all parameters of the Prometheus upstream API for returning a list of label names.",
      "type": "object"
    },
    "SpanFilters": {
      "description": "First version of span filtering that is supported by the Trace component.",
      "id": "SpanFilters",
      "properties": {
        "apphubServices": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. Filtering for spans containing one of the Apphub service IDs in the list. Multiple values will be OR'd together. Example: \"service-id1\", \"service-id2\""
        },
        "displayNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. Filtering for spans containing one of the span display names in the list. Multiple values will be OR'd together."
        },
        "status": {
          "description": "Optional. Filtering for spans containing one of the statuses in the list. Multiple values will be OR'd together.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "attributes": {
          "type": "array",
          "items": {
            "$ref": "SpanAttributeFilter"
          },
          "description": "Optional. List of span attribute filters. Each SpanAttributeFilter key must be unique. Multiple attribute filters will be AND'd together."
        },
        "isRootSpan": {
          "type": "boolean",
          "description": "Optional. Filters for root spans only if set to true. A root span is a span without a defined parent span ID."
        },
        "kinds": {
          "description": "Optional. Filtering for spans containing one of the kinds in the list. Multiple values will be OR'd together.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "services": {
          "items": {
            "type": "string"
          },
          "description": "Optional. Filtering for spans containing one of the services in the list. Multiple values will be OR'd together.",
          "type": "array"
        },
        "minDuration": {
          "type": "string",
          "format": "google-duration",
          "description": "Optional. Filtering for spans with a minimum duration."
        },
        "maxDuration": {
          "type": "string",
          "format": "google-duration",
          "description": "Optional. Filtering for spans with a maximum duration."
        },
        "apphubWorkloads": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. Filtering for spans containing one of the Apphub workload IDs in the list. Multiple values will be OR'd together. Example: \"workload-id1\", \"workload-id2\""
        },
        "applicationIds": {
          "description": "Optional. Filtering for spans containing one of the Apphub Application IDs in the list. Multiple values will be OR'd together.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "TimeSeriesFilter": {
      "properties": {
        "statisticalTimeSeriesFilter": {
          "description": "Statistics based time series filter. Note: This field is deprecated and completely ignored by the API.",
          "deprecated": true,
          "$ref": "StatisticalTimeSeriesFilter"
        },
        "secondaryAggregation": {
          "description": "Apply a second aggregation after aggregation is applied.",
          "$ref": "Aggregation"
        },
        "aggregation": {
          "$ref": "Aggregation",
          "description": "By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data."
        },
        "pickTimeSeriesFilter": {
          "$ref": "PickTimeSeriesFilter",
          "description": "Ranking based time series filter."
        },
        "filter": {
          "description": "Required. The monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) that identifies the metric types, resources, and projects to query.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "A filter that defines a subset of time series data that is displayed in a widget. Time series data is fetched using the ListTimeSeries (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) method.",
      "id": "TimeSeriesFilter"
    },
    "SingleViewGroup": {
      "properties": {
        "displayType": {
          "description": "Optional. Determines how the widget selector will be displayed.",
          "enumDescriptions": [
            "Display type is not specified, defaults to DROPDOWN.",
            "Renders the widget selector as a dropdown.",
            "Renders the widget selector as a tab list."
          ],
          "type": "string",
          "enum": [
            "DISPLAY_TYPE_UNSPECIFIED",
            "DROPDOWN",
            "TAB"
          ]
        }
      },
      "description": "A widget that groups the other widgets by using a dropdown menu. All widgets that are within the area spanned by the grouping widget are considered member widgets.",
      "type": "object",
      "id": "SingleViewGroup"
    },
    "TableDataSet": {
      "id": "TableDataSet",
      "properties": {
        "minAlignmentPeriod": {
          "description": "Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.",
          "type": "string",
          "format": "google-duration"
        },
        "tableTemplate": {
          "description": "Optional. A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label's value i.e. \"${resource.labels.project_id}.\"",
          "type": "string"
        },
        "tableDisplayOptions": {
          "description": "Optional. Table display options for configuring how the table is rendered.",
          "$ref": "TableDisplayOptions"
        },
        "timeSeriesQuery": {
          "description": "Required. Fields for querying time series data from the Stackdriver metrics API.",
          "$ref": "TimeSeriesQuery"
        }
      },
      "type": "object",
      "description": "Groups a time series query definition with table options."
    },
    "Measure": {
      "id": "Measure",
      "properties": {
        "column": {
          "type": "string",
          "description": "Required. The column name within in the dataset used for the measure."
        },
        "aggregationFunction": {
          "description": "Required. The aggregation function applied to the input column. This must not be set to \"none\" unless binning is disabled on the dimension. The aggregation function is used to group points on the dimension bins.",
          "$ref": "AggregationFunction"
        }
      },
      "type": "object",
      "description": "A chart measure. Measures represent a measured property in your chart data such as rainfall in inches, number of units sold, revenue gained, etc."
    },
    "TimeSeriesFilterRatio": {
      "type": "object",
      "id": "TimeSeriesFilterRatio",
      "description": "A pair of time series filters that define a ratio computation. The output time series is the pair-wise division of each aligned element from the numerator and denominator time series.",
      "properties": {
        "statisticalTimeSeriesFilter": {
          "deprecated": true,
          "$ref": "StatisticalTimeSeriesFilter",
          "description": "Statistics based time series filter. Note: This field is deprecated and completely ignored by the API."
        },
        "denominator": {
          "$ref": "RatioPart",
          "description": "The denominator of the ratio."
        },
        "pickTimeSeriesFilter": {
          "$ref": "PickTimeSeriesFilter",
          "description": "Ranking based time series filter."
        },
        "numerator": {
          "description": "The numerator of the ratio.",
          "$ref": "RatioPart"
        },
        "secondaryAggregation": {
          "$ref": "Aggregation",
          "description": "Apply a second aggregation after the ratio is computed."
        }
      }
    },
    "ChartOptions": {
      "id": "ChartOptions",
      "description": "Options to control visual rendering of a chart.",
      "properties": {
        "displayHorizontal": {
          "type": "boolean",
          "description": "Preview: Configures whether the charted values are shown on the horizontal or vertical axis. By default, values are represented the vertical axis. This is a preview feature and may be subject to change before final release."
        },
        "mode": {
          "enumDescriptions": [
            "Mode is unspecified. The view will default to COLOR.",
            "The chart distinguishes data series using different color. Line colors may get reused when there are many lines in the chart.",
            "The chart uses the Stackdriver x-ray mode, in which each data set is plotted using the same semi-transparent color.",
            "The chart displays statistics such as average, median, 95th percentile, and more."
          ],
          "enum": [
            "MODE_UNSPECIFIED",
            "COLOR",
            "X_RAY",
            "STATS"
          ],
          "type": "string",
          "description": "The chart mode."
        }
      },
      "type": "object"
    },
    "Dashboard": {
      "type": "object",
      "description": "A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.",
      "id": "Dashboard",
      "properties": {
        "columnLayout": {
          "description": "The content is divided into equally spaced columns and the widgets are arranged vertically.",
          "$ref": "ColumnLayout"
        },
        "gridLayout": {
          "$ref": "GridLayout",
          "description": "Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles."
        },
        "rowLayout": {
          "description": "The content is divided into equally spaced rows and the widgets are arranged horizontally.",
          "$ref": "RowLayout"
        },
        "dashboardFilters": {
          "description": "Filters to reduce the amount of data charted based on the filter criteria.",
          "type": "array",
          "items": {
            "$ref": "DashboardFilter"
          }
        },
        "annotations": {
          "$ref": "DashboardAnnotations",
          "description": "Configuration for event annotations to display on this dashboard."
        },
        "mosaicLayout": {
          "description": "The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks.",
          "$ref": "MosaicLayout"
        },
        "etag": {
          "type": "string",
          "description": "etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. An etag is returned in the response to GetDashboard, and users are expected to put that etag in the request to UpdateDashboard to ensure that their change will be applied to the same version of the Dashboard configuration. The field should not be passed during dashboard creation."
        },
        "displayName": {
          "description": "Required. The mutable, human-readable name.",
          "type": "string"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Labels applied to the dashboard",
          "type": "object"
        },
        "name": {
          "description": "Identifier. The resource name of the dashboard.",
          "type": "string"
        }
      }
    }
  },
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/monitoring.write": {
          "description": "Publish metric data to your Google Cloud projects"
        },
        "https://www.googleapis.com/auth/monitoring": {
          "description": "View and write monitoring data for all of your Google and third-party Cloud and API projects"
        },
        "https://www.googleapis.com/auth/monitoring.read": {
          "description": "View monitoring data for all of your Google Cloud and third-party projects"
        },
        "https://www.googleapis.com/auth/cloud-platform": {
          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
        }
      }
    }
  },
  "basePath": "",
  "servicePath": "",
  "batchPath": "batch",
  "ownerDomain": "google.com",
  "discoveryVersion": "v1",
  "rootUrl": "https://monitoring.googleapis.com/",
  "title": "Cloud Monitoring API",
  "fullyEncodeReservedExpansion": true,
  "kind": "discovery#restDescription",
  "documentationLink": "https://cloud.google.com/monitoring/api/",
  "id": "monitoring:v1",
  "resources": {
    "operations": {
      "methods": {
        "get": {
          "parameters": {
            "name": {
              "location": "path",
              "required": true,
              "description": "The name of the operation resource.",
              "pattern": "^operations/.*$",
              "type": "string"
            }
          },
          "path": "v1/{+name}",
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform",
            "https://www.googleapis.com/auth/monitoring",
            "https://www.googleapis.com/auth/monitoring.read"
          ],
          "httpMethod": "GET",
          "response": {
            "$ref": "Operation"
          },
          "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
          "parameterOrder": [
            "name"
          ],
          "flatPath": "v1/operations/{operationsId}",
          "id": "monitoring.operations.get"
        }
      }
    },
    "projects": {
      "resources": {
        "dashboards": {
          "methods": {
            "get": {
              "flatPath": "v1/projects/{projectsId}/dashboards/{dashboardsId}",
              "description": "Fetches a specific dashboard.This method requires the monitoring.dashboards.get permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam).",
              "httpMethod": "GET",
              "response": {
                "$ref": "Dashboard"
              },
              "path": "v1/{+name}",
              "id": "monitoring.projects.dashboards.get",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/monitoring",
                "https://www.googleapis.com/auth/monitoring.read"
              ],
              "parameters": {
                "name": {
                  "type": "string",
                  "required": true,
                  "location": "path",
                  "description": "Required. The resource name of the Dashboard. The format is one of: dashboards/[DASHBOARD_ID] (for system dashboards) projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] (for custom dashboards).",
                  "pattern": "^projects/[^/]+/dashboards/[^/]+$"
                }
              },
              "parameterOrder": [
                "name"
              ]
            },
            "patch": {
              "description": "Replaces an existing custom dashboard with a new definition.This method requires the monitoring.dashboards.update permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam).",
              "id": "monitoring.projects.dashboards.patch",
              "parameters": {
                "name": {
                  "required": true,
                  "pattern": "^projects/[^/]+/dashboards/[^/]+$",
                  "type": "string",
                  "location": "path",
                  "description": "Identifier. The resource name of the dashboard."
                },
                "validateOnly": {
                  "type": "boolean",
                  "location": "query",
                  "description": "If set, validate the request and preview the review, but do not actually save it."
                }
              },
              "response": {
                "$ref": "Dashboard"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/monitoring",
                "https://www.googleapis.com/auth/monitoring.write"
              ],
              "httpMethod": "PATCH",
              "request": {
                "$ref": "Dashboard"
              },
              "flatPath": "v1/projects/{projectsId}/dashboards/{dashboardsId}",
              "parameterOrder": [
                "name"
              ],
              "path": "v1/{+name}"
            },
            "list": {
              "response": {
                "$ref": "ListDashboardsResponse"
              },
              "parameterOrder": [
                "parent"
              ],
              "description": "Lists the existing dashboards.This method requires the monitoring.dashboards.list permission on the specified project. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam).",
              "id": "monitoring.projects.dashboards.list",
              "flatPath": "v1/projects/{projectsId}/dashboards",
              "httpMethod": "GET",
              "path": "v1/{+parent}/dashboards",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/monitoring",
                "https://www.googleapis.com/auth/monitoring.read"
              ],
              "parameters": {
                "pageToken": {
                  "description": "Optional. If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.",
                  "type": "string",
                  "location": "query"
                },
                "pageSize": {
                  "format": "int32",
                  "description": "A positive number that is the maximum number of results to return. If unspecified, a default of 1000 is used.",
                  "type": "integer",
                  "location": "query"
                },
                "parent": {
                  "required": true,
                  "description": "Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER] ",
                  "location": "path",
                  "type": "string",
                  "pattern": "^projects/[^/]+$"
                }
              }
            },
            "create": {
              "parameters": {
                "validateOnly": {
                  "description": "If set, validate the request and preview the review, but do not actually save it.",
                  "type": "boolean",
                  "location": "query"
                },
                "parent": {
                  "required": true,
                  "description": "Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must match the dashboard resource name.",
                  "pattern": "^projects/[^/]+$",
                  "location": "path",
                  "type": "string"
                }
              },
              "request": {
                "$ref": "Dashboard"
              },
              "httpMethod": "POST",
              "response": {
                "$ref": "Dashboard"
              },
              "id": "monitoring.projects.dashboards.create",
              "path": "v1/{+parent}/dashboards",
              "flatPath": "v1/projects/{projectsId}/dashboards",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/monitoring",
                "https://www.googleapis.com/auth/monitoring.write"
              ],
              "parameterOrder": [
                "parent"
              ],
              "description": "Creates a new custom dashboard. For examples on how you can use this API to create dashboards, see Managing dashboards by API (https://cloud.google.com/monitoring/dashboards/api-dashboard). This method requires the monitoring.dashboards.create permission on the specified project. For more information about permissions, see Cloud Identity and Access Management (https://cloud.google.com/iam)."
            },
            "delete": {
              "parameterOrder": [
                "name"
              ],
              "id": "monitoring.projects.dashboards.delete",
              "flatPath": "v1/projects/{projectsId}/dashboards/{dashboardsId}",
              "httpMethod": "DELETE",
              "parameters": {
                "name": {
                  "type": "string",
                  "pattern": "^projects/[^/]+/dashboards/[^/]+$",
                  "description": "Required. The resource name of the Dashboard. The format is: projects/[PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID] ",
                  "location": "path",
                  "required": true
                }
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/monitoring",
                "https://www.googleapis.com/auth/monitoring.write"
              ],
              "path": "v1/{+name}",
              "description": "Deletes an existing custom dashboard.This method requires the monitoring.dashboards.delete permission on the specified dashboard. For more information, see Cloud Identity and Access Management (https://cloud.google.com/iam).",
              "response": {
                "$ref": "Empty"
              }
            }
          }
        },
        "location": {
          "resources": {
            "prometheus": {
              "resources": {
                "api": {
                  "resources": {
                    "v1": {
                      "methods": {
                        "query_range": {
                          "parameters": {
                            "location": {
                              "type": "string",
                              "location": "path",
                              "description": "Location of the resource information. Has to be \"global\" now.",
                              "required": true
                            },
                            "name": {
                              "required": true,
                              "location": "path",
                              "pattern": "^projects/[^/]+$",
                              "description": "Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.",
                              "type": "string"
                            }
                          },
                          "parameterOrder": [
                            "name",
                            "location"
                          ],
                          "response": {
                            "$ref": "HttpBody"
                          },
                          "httpMethod": "POST",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/monitoring",
                            "https://www.googleapis.com/auth/monitoring.read"
                          ],
                          "flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/query_range",
                          "description": "Evaluate a PromQL query with start, end time range.",
                          "id": "monitoring.projects.location.prometheus.api.v1.query_range",
                          "request": {
                            "$ref": "QueryRangeRequest"
                          },
                          "path": "v1/{+name}/location/{location}/prometheus/api/v1/query_range"
                        },
                        "labels": {
                          "path": "v1/{+name}/location/{location}/prometheus/api/v1/labels",
                          "request": {
                            "$ref": "QueryLabelsRequest"
                          },
                          "response": {
                            "$ref": "HttpBody"
                          },
                          "parameterOrder": [
                            "name",
                            "location"
                          ],
                          "parameters": {
                            "location": {
                              "description": "Location of the resource information. Has to be \"global\" now.",
                              "type": "string",
                              "location": "path",
                              "required": true
                            },
                            "name": {
                              "description": "Required. 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.",
                              "required": true,
                              "pattern": "^projects/[^/]+$",
                              "location": "path",
                              "type": "string"
                            }
                          },
                          "httpMethod": "POST",
                          "id": "monitoring.projects.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"
                          ],
                          "flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/labels",
                          "description": "Lists labels for metrics."
                        },
                        "query_exemplars": {
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/monitoring",
                            "https://www.googleapis.com/auth/monitoring.read"
                          ],
                          "id": "monitoring.projects.location.prometheus.api.v1.query_exemplars",
                          "response": {
                            "$ref": "HttpBody"
                          },
                          "description": "Lists exemplars relevant to a given PromQL query,",
                          "request": {
                            "$ref": "QueryExemplarsRequest"
                          },
                          "path": "v1/{+name}/location/{location}/prometheus/api/v1/query_exemplars",
                          "httpMethod": "POST",
                          "parameters": {
                            "name": {
                              "required": true,
                              "pattern": "^projects/[^/]+$",
                              "description": "Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.",
                              "location": "path",
                              "type": "string"
                            },
                            "location": {
                              "required": true,
                              "description": "Location of the resource information. Has to be \"global\" now.",
                              "type": "string",
                              "location": "path"
                            }
                          },
                          "parameterOrder": [
                            "name",
                            "location"
                          ],
                          "flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/query_exemplars"
                        },
                        "query": {
                          "path": "v1/{+name}/location/{location}/prometheus/api/v1/query",
                          "httpMethod": "POST",
                          "response": {
                            "$ref": "HttpBody"
                          },
                          "parameters": {
                            "location": {
                              "required": true,
                              "description": "Location of the resource information. Has to be \"global\" now.",
                              "location": "path",
                              "type": "string"
                            },
                            "name": {
                              "location": "path",
                              "description": "Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.",
                              "type": "string",
                              "pattern": "^projects/[^/]+$",
                              "required": true
                            }
                          },
                          "description": "Evaluate a PromQL query at a single point in time.",
                          "id": "monitoring.projects.location.prometheus.api.v1.query",
                          "request": {
                            "$ref": "QueryInstantRequest"
                          },
                          "parameterOrder": [
                            "name",
                            "location"
                          ],
                          "flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/query",
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/monitoring",
                            "https://www.googleapis.com/auth/monitoring.read"
                          ]
                        },
                        "series": {
                          "parameterOrder": [
                            "name",
                            "location"
                          ],
                          "response": {
                            "$ref": "HttpBody"
                          },
                          "scopes": [
                            "https://www.googleapis.com/auth/cloud-platform",
                            "https://www.googleapis.com/auth/monitoring",
                            "https://www.googleapis.com/auth/monitoring.read"
                          ],
                          "parameters": {
                            "location": {
                              "type": "string",
                              "description": "Location of the resource information. Has to be \"global\" for now.",
                              "location": "path",
                              "required": true
                            },
                            "name": {
                              "required": true,
                              "description": "Required. 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.",
                              "pattern": "^projects/[^/]+$",
                              "location": "path",
                              "type": "string"
                            }
                          },
                          "httpMethod": "POST",
                          "request": {
                            "$ref": "QuerySeriesRequest"
                          },
                          "id": "monitoring.projects.location.prometheus.api.v1.series",
                          "path": "v1/{+name}/location/{location}/prometheus/api/v1/series",
                          "flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/series",
                          "description": "Lists metadata for metrics."
                        }
                      },
                      "resources": {
                        "label": {
                          "methods": {
                            "values": {
                              "flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/label/{label}/values",
                              "parameterOrder": [
                                "name",
                                "location",
                                "label"
                              ],
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/monitoring",
                                "https://www.googleapis.com/auth/monitoring.read"
                              ],
                              "parameters": {
                                "start": {
                                  "location": "query",
                                  "description": "The start time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.",
                                  "type": "string"
                                },
                                "end": {
                                  "location": "query",
                                  "description": "The end time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.",
                                  "type": "string"
                                },
                                "label": {
                                  "description": "The label name for which values are queried.",
                                  "required": true,
                                  "type": "string",
                                  "location": "path"
                                },
                                "location": {
                                  "location": "path",
                                  "type": "string",
                                  "description": "Location of the resource information. Has to be \"global\" now.",
                                  "required": true
                                },
                                "match": {
                                  "location": "query",
                                  "description": "A list of matchers encoded in the Prometheus label matcher format to constrain the values to series that satisfy them.",
                                  "type": "string"
                                },
                                "name": {
                                  "location": "path",
                                  "type": "string",
                                  "pattern": "^projects/[^/]+$",
                                  "required": true,
                                  "description": "Required. 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."
                                }
                              },
                              "id": "monitoring.projects.location.prometheus.api.v1.label.values",
                              "response": {
                                "$ref": "HttpBody"
                              },
                              "httpMethod": "GET",
                              "path": "v1/{+name}/location/{location}/prometheus/api/v1/label/{label}/values",
                              "description": "Lists possible values for a given label name."
                            }
                          }
                        },
                        "metadata": {
                          "methods": {
                            "list": {
                              "description": "Lists metadata for metrics.",
                              "parameterOrder": [
                                "name",
                                "location"
                              ],
                              "response": {
                                "$ref": "HttpBody"
                              },
                              "scopes": [
                                "https://www.googleapis.com/auth/cloud-platform",
                                "https://www.googleapis.com/auth/monitoring",
                                "https://www.googleapis.com/auth/monitoring.read"
                              ],
                              "id": "monitoring.projects.location.prometheus.api.v1.metadata.list",
                              "path": "v1/{+name}/location/{location}/prometheus/api/v1/metadata",
                              "httpMethod": "GET",
                              "parameters": {
                                "metric": {
                                  "location": "query",
                                  "description": "The metric name for which to query metadata. If unset, all metric metadata is returned.",
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string",
                                  "required": true,
                                  "pattern": "^projects/[^/]+$",
                                  "description": "Required. 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"
                                },
                                "limit": {
                                  "type": "string",
                                  "format": "int64",
                                  "description": "Maximum number of metrics to return.",
                                  "location": "query"
                                },
                                "location": {
                                  "location": "path",
                                  "required": true,
                                  "type": "string",
                                  "description": "Location of the resource information. Has to be \"global\" for now."
                                }
                              },
                              "flatPath": "v1/projects/{projectsId}/location/{location}/prometheus/api/v1/metadata"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "locations": {
      "resources": {
        "global": {
          "resources": {
            "metricsScopes": {
              "methods": {
                "listMetricsScopesByMonitoredProject": {
                  "parameterOrder": [],
                  "path": "v1/locations/global/metricsScopes:listMetricsScopesByMonitoredProject",
                  "description": "Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response.",
                  "id": "monitoring.locations.global.metricsScopes.listMetricsScopesByMonitoredProject",
                  "flatPath": "v1/locations/global/metricsScopes:listMetricsScopesByMonitoredProject",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/monitoring",
                    "https://www.googleapis.com/auth/monitoring.read"
                  ],
                  "httpMethod": "GET",
                  "parameters": {
                    "monitoredResourceContainer": {
                      "type": "string",
                      "location": "query",
                      "description": "Required. The resource name of the Monitored Project being requested. Example: projects/{MONITORED_PROJECT_ID_OR_NUMBER}"
                    }
                  },
                  "response": {
                    "$ref": "ListMetricsScopesByMonitoredProjectResponse"
                  }
                },
                "get": {
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "pattern": "^locations/global/metricsScopes/[^/]+$",
                      "required": true,
                      "description": "Required. The resource name of the Metrics Scope. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "path": "v1/{+name}",
                  "id": "monitoring.locations.global.metricsScopes.get",
                  "flatPath": "v1/locations/global/metricsScopes/{metricsScopesId}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/monitoring",
                    "https://www.googleapis.com/auth/monitoring.read"
                  ],
                  "description": "Returns a specific Metrics Scope, including the list of projects monitored by the specified Metrics Scope.",
                  "response": {
                    "$ref": "MetricsScope"
                  },
                  "parameterOrder": [
                    "name"
                  ]
                }
              },
              "resources": {
                "projects": {
                  "methods": {
                    "create": {
                      "description": "Adds a MonitoredProject with the given project ID to the specified Metrics Scope.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/monitoring",
                        "https://www.googleapis.com/auth/monitoring.write"
                      ],
                      "id": "monitoring.locations.global.metricsScopes.projects.create",
                      "httpMethod": "POST",
                      "flatPath": "v1/locations/global/metricsScopes/{metricsScopesId}/projects",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "location": "path",
                          "description": "Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}",
                          "pattern": "^locations/global/metricsScopes/[^/]+$",
                          "required": true
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "request": {
                        "$ref": "MonitoredProject"
                      },
                      "path": "v1/{+parent}/projects",
                      "response": {
                        "$ref": "Operation"
                      }
                    },
                    "delete": {
                      "description": "Deletes a MonitoredProject from the specified Metrics Scope.",
                      "response": {
                        "$ref": "Operation"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "monitoring.locations.global.metricsScopes.projects.delete",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/monitoring",
                        "https://www.googleapis.com/auth/monitoring.write"
                      ],
                      "httpMethod": "DELETE",
                      "parameters": {
                        "name": {
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "pattern": "^locations/global/metricsScopes/[^/]+/projects/[^/]+$",
                          "description": "Required. The resource name of the MonitoredProject. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}Authorization requires the following Google IAM (https://cloud.google.com/iam) permissions on both the Metrics Scope and on the MonitoredProject: monitoring.metricsScopes.link"
                        }
                      },
                      "path": "v1/{+name}",
                      "flatPath": "v1/locations/global/metricsScopes/{metricsScopesId}/projects/{projectsId}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "description": "Manages your Cloud Monitoring data and configurations.",
  "revision": "20260827",
  "canonicalName": "Monitoring",
  "parameters": {
    "oauth_token": {
      "type": "string",
      "description": "OAuth 2.0 token for the current user.",
      "location": "query"
    },
    "access_token": {
      "type": "string",
      "description": "OAuth access token.",
      "location": "query"
    },
    "key": {
      "location": "query",
      "type": "string",
      "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."
    },
    "uploadType": {
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "type": "string",
      "location": "query"
    },
    "fields": {
      "location": "query",
      "description": "Selector specifying which fields to include in a partial response.",
      "type": "string"
    },
    "quotaUser": {
      "location": "query",
      "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.",
      "type": "string"
    },
    "alt": {
      "type": "string",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "description": "Data format for response.",
      "location": "query",
      "default": "json",
      "enum": [
        "json",
        "media",
        "proto"
      ]
    },
    "upload_protocol": {
      "location": "query",
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "prettyPrint": {
      "type": "boolean",
      "description": "Returns response with indentations and line breaks.",
      "default": "true",
      "location": "query"
    },
    "$.xgafv": {
      "location": "query",
      "description": "V1 error format.",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "type": "string",
      "enum": [
        "1",
        "2"
      ]
    },
    "callback": {
      "type": "string",
      "location": "query",
      "description": "JSONP"
    }
  },
  "ownerName": "Google",
  "name": "monitoring",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "mtlsRootUrl": "https://monitoring.mtls.googleapis.com/",
  "version": "v1"
}
