{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-logging/json-schema/google-cloud-logging-list-monitored-resource-descriptors-response-schema.json",
  "title": "ListMonitoredResourceDescriptorsResponse",
  "description": "Result returned from ListMonitoredResourceDescriptors.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-logging-monitored-resource-descriptors-api-openapi.yml#/components/schemas/ListMonitoredResourceDescriptorsResponse",
  "type": "object",
  "properties": {
    "nextPageToken": {
      "description": "If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.",
      "type": "string"
    },
    "resourceDescriptors": {
      "type": "array",
      "description": "A list of resource descriptors.",
      "items": {
        "$ref": "#/$defs/MonitoredResourceDescriptor"
      }
    }
  },
  "$defs": {
    "LabelDescriptor": {
      "properties": {
        "description": {
          "description": "A human-readable description for the label.",
          "type": "string"
        },
        "valueType": {
          "enum": [
            "STRING",
            "BOOL",
            "INT64"
          ],
          "type": "string",
          "description": "The type of data that can be assigned to the label."
        },
        "key": {
          "type": "string",
          "description": "The label key."
        }
      },
      "description": "A description of a label.",
      "type": "object"
    },
    "MonitoredResourceDescriptor": {
      "description": "An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of \"gce_instance\" and specifies the use of the labels \"instance_id\" and \"zone\" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Optional. The resource name of the monitored resource descriptor: \"projects/{project_id}/monitoredResourceDescriptors/{type}\" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format \"monitoredResourceDescriptors/{type}\"."
        },
        "type": {
          "description": "Required. The monitored resource type. For example, the type \"cloudsql_database\" represents databases in Google Cloud SQL. For a list of types, see Monitored 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"
        },
        "description": {
          "description": "Optional. A detailed description of the monitored resource type that might be used in documentation.",
          "type": "string"
        },
        "launchStage": {
          "type": "string",
          "enum": [
            "LAUNCH_STAGE_UNSPECIFIED",
            "UNIMPLEMENTED",
            "PRELAUNCH",
            "EARLY_ACCESS",
            "ALPHA",
            "BETA",
            "GA",
            "DEPRECATED"
          ],
          "description": "Optional. The launch stage of the monitored resource definition."
        },
        "labels": {
          "type": "array",
          "description": "Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels \"database_id\" and \"zone\".",
          "items": {
            "$ref": "#/$defs/LabelDescriptor"
          }
        },
        "displayName": {
          "type": "string",
          "description": "Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, \"Google Cloud SQL Database\"."
        }
      },
      "type": "object"
    }
  }
}