{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-platform/json-schema/google-cloud-platform-list-liens-response-schema.json",
  "title": "ListLiensResponse",
  "description": "The response message for Liens.ListLiens.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-platform-cloudresourcemanager-liens-api-openapi.yml#/components/schemas/ListLiensResponse",
  "properties": {
    "nextPageToken": {
      "type": "string",
      "description": "Token to retrieve the next page of results, or empty if there are no more results in the list."
    },
    "liens": {
      "description": "A list of Liens.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Lien"
      }
    }
  },
  "type": "object",
  "$defs": {
    "Lien": {
      "properties": {
        "parent": {
          "type": "string",
          "description": "A reference to the resource this Lien is attached to. The server will validate the parent against those for which Liens are supported. Example: `projects/1234`"
        },
        "createTime": {
          "description": "The creation time of this Lien.",
          "type": "string",
          "format": "google-datetime"
        },
        "reason": {
          "description": "Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'",
          "type": "string"
        },
        "name": {
          "description": "A system-generated unique identifier for this Lien. Example: `liens/1234abcd`",
          "type": "string"
        },
        "origin": {
          "description": "A stable, user-visible/meaningful string identifying the origin of the Lien, intended to be inspected programmatically. Maximum length of 200 characters. Example: 'compute.googleapis.com'",
          "type": "string"
        },
        "restrictions": {
          "description": "The types of operations which should be blocked as a result of this Lien. Each value should correspond to an IAM permission. The server will validate the permissions against those for which Liens are supported. An empty list is meaningless and will be rejected. Example: ['resourcemanager.projects.delete']",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object",
      "description": "A Lien represents an encumbrance on the actions that can be performed on a resource."
    }
  }
}