{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-secret-manager/json-schema/google-cloud-secret-manager-parameter-schema.json",
  "title": "Parameter",
  "description": "Message describing Parameter resource",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-secret-manager-parametermanager-projects-api-openapi.yml#/components/schemas/Parameter",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Identifier. The resource name of the Parameter in the format `projects/*/locations/*/parameters/*`."
    },
    "labels": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Optional. Labels as key value pairs",
      "type": "object"
    },
    "kmsKey": {
      "type": "string",
      "description": "Optional. Customer managed encryption key (CMEK) to use for encrypting the Parameter Versions. If not set, the default Google-managed encryption key will be used. Cloud KMS CryptoKeys must reside in the same location as the Parameter. The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`."
    },
    "createTime": {
      "readOnly": true,
      "format": "google-datetime",
      "type": "string",
      "description": "Output only. Create time stamp"
    },
    "format": {
      "enum": [
        "PARAMETER_FORMAT_UNSPECIFIED",
        "UNFORMATTED",
        "YAML",
        "JSON"
      ],
      "description": "Optional. Specifies the format of a Parameter.",
      "type": "string"
    },
    "tags": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Optional. Input only. Immutable. Tag keys and tag values that are bound to this Parameter. You must represent each item in the map as: `\"\" : \"\"`. For example, a single resource can have the following tags: ``` \"123/environment\": \"production\", \"123/costCenter\": \"marketing\", ``` Tags are used to organize and group resources. Tags can be used to control policy evaluation for the resource.",
      "type": "object"
    },
    "updateTime": {
      "description": "Output only. Update time stamp",
      "readOnly": true,
      "type": "string",
      "format": "google-datetime"
    },
    "policyMember": {
      "$ref": "#/$defs/ResourcePolicyMember",
      "description": "Output only. Policy member strings of a Google Cloud resource."
    }
  },
  "$defs": {
    "ResourcePolicyMember": {
      "type": "object",
      "description": "Output-only policy member strings of a Google Cloud resource's built-in identity.",
      "properties": {
        "iamPolicyNamePrincipal": {
          "readOnly": true,
          "description": "Output only. IAM policy binding member referring to a Google Cloud resource by user-assigned name (https://google.aip.dev/122). If a resource is deleted and recreated with the same name, the binding will be applicable to the new resource. Example: `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`",
          "type": "string"
        },
        "iamPolicyUidPrincipal": {
          "description": "Output only. IAM policy binding member referring to a Google Cloud resource by system-assigned unique identifier (https://google.aip.dev/148#uid). If a resource is deleted and recreated with the same name, the binding will not be applicable to the new resource Example: `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`",
          "readOnly": true,
          "type": "string"
        }
      }
    }
  }
}