{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-kms/json-schema/google-cloud-kms-show-effective-autokey-config-response-schema.json",
  "title": "ShowEffectiveAutokeyConfigResponse",
  "description": "Response message for ShowEffectiveAutokeyConfig",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-kms-cloudkms-folders-api-openapi.yml#/components/schemas/ShowEffectiveAutokeyConfigResponse",
  "type": "object",
  "properties": {
    "keyProjectResolutionMode": {
      "description": "The KeyProjectResolutionMode for the AutokeyConfig.",
      "type": "string",
      "enum": [
        "KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED",
        "DEDICATED_KEY_PROJECT",
        "RESOURCE_PROJECT",
        "DISABLED"
      ]
    },
    "keyProject": {
      "description": "Name of the key project configured in the ancestry of the project or folder.",
      "type": "string"
    },
    "source": {
      "$ref": "#/$defs/Source",
      "description": "Source of the effective AutokeyConfig."
    }
  },
  "$defs": {
    "Source": {
      "properties": {
        "name": {
          "type": "string",
          "description": "Contains the resource name of the AutokeyConfig that is effective, for example, `folders/{FOLDER_NUMBER}` or `projects/{PROJECT_NUMBER}` or `organizations/{ORGANIZATION_NUMBER}`."
        }
      },
      "type": "object",
      "description": "Source of the effective AutokeyConfig."
    }
  }
}