Skip to main content

gameModelUpsertPropertyDef

Create or update a property definition on a container type (a typed field with default value, visibility, and writability). Idempotent on (app, containerTypeName, key). Requires app-admin ('manage_apps').

gameModelUpsertPropertyDef(
input: UpsertPropertyDefInput!
): GmPropertyDef!

Arguments

gameModelUpsertPropertyDef.input ● UpsertPropertyDefInput! non-null input

The app, container type, property key, value type, and optional default/visibility/writability/description.

Type

GmPropertyDef object

A typed property (field) defined on a container type.