# Class CreateMicrosoftAdDomainRequest (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.2 1.11.0 1.10.1 1.9.5 1.8.0 1.7.2 1.6.0 1.5.4 1.4.2 1.3.1 1.2.0 1.1.3 1.0.0 0.2.2 0.1.0

    CreateMicrosoftAdDomainRequest(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

Request message for
CreateMicrosoftAdDomain

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The resource project name and location using the form: `projects/{project_id}/locations/global` |
| `domain_name` | `str` Required. The fully qualified domain name. e.g. mydomain.myorganization.com, with the following restrictions: - Must contain only lowercase letters, numbers, periods and hyphens. - Must start with a letter. - Must contain between 2-64 characters. - Must end with a number or a letter. - Must not start with period. - First segement length (mydomain form example above) shouldn't exceed 15 chars. - The last segment cannot be fully numeric. - Must be unique within the customer project. |
| `domain` | `https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.Domain` Required. A Managed Identity domain resource. |