{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-marketing-platform/json-schema/google-marketing-platform-user-group-member-schema.json",
  "title": "UserGroupMember",
  "description": "A resource message representing a member of a user group.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-marketing-platform-members-api-openapi.yml#/components/schemas/UserGroupMember",
  "type": "object",
  "properties": {
    "userEmail": {
      "type": "string",
      "description": "Email address of the user member."
    },
    "userGroup": {
      "type": "string",
      "description": "User group resource name of the group member."
    },
    "name": {
      "type": "string",
      "description": "Identifier. The resource name of this UserGroupMember. Format: organizations/{org_id}/userGroups/{user_group_id}/members/{member_id} Example: \"organizations/123abc/userGroups/456def/members/789ghi\""
    },
    "membershipRole": {
      "type": "string",
      "description": "Optional. The role of the member in the user group.",
      "enum": [
        "MEMBERSHIP_ROLE_UNSPECIFIED",
        "MEMBERSHIP_ROLE_OWNER",
        "MEMBERSHIP_ROLE_MEMBER"
      ],
      "x-enum-descriptions": [
        "Unspecified membership role.",
        "Owner role that can add and remove group members.",
        "Member role that receives all permissions assigned to the group."
      ]
    }
  }
}