For metadata fields, parent_resource lists allowed parent resource types for metadata.parent_id.
Leave empty to allow any type. Validation only produces warnings.
Typically set on the resource message; request-level overrides are supported.
resource
resource:string[]
Fields annotated with this option are treated as NIDs.
resource lists allowed NID resource types (prefixes). Leave empty to accept any type.
Validation only produces warnings.
For metadata fields,
parent_resourcelists allowed parent resource types formetadata.parent_id. Leave empty to allow any type. Validation only produces warnings. Typically set on the resource message; request-level overrides are supported.