message

CreateUserRequest

acme.user.v1.CreateUserRequest

Fields

FieldNumberTypeCardinalityValidationDescription
user1acme.user.v1.Useroptional——
Details
  • JSON name: user
  • Presence: EXPLICIT
  • Annotations: REQUIRED
(google.api.field_behavior) = [
  REQUIRED
]

Example JSON

{
  "user": {
    "id": "string",
    "email": "string",
    "displayName": "string",
    "nickname": "string",
    "state": "USER_STATE_UNSPECIFIED",
    "createdAt": "2026-09-18T17:30:00Z",
    "updatedAt": "2026-09-18T17:30:00Z",
    "phone": "string",
    "labels": {
      "key": "string"
    },
    "addresses": [
      {
        "line1": "string",
        "line2": "string",
        "city": "string",
        "region": "string",
        "postalCode": "string",
        "countryCode": "string"
      }
    ],
    "preferences": {
      "marketingOptIn": true,
      "locale": "string",
      "timeZone": "string"
    }
  }
}

Effective features

  • json_format: ALLOW
    inherited from acme/user/v1/user

Used by

What will be affected if this symbol changes.