# Class CreateApiRequest (0.10.0)

0.10.0 (latest) 0.9.0 0.8.0 0.7.0 0.6.18 0.5.1 0.4.0 0.3.2 0.2.1 0.1.2

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

Request message for CreateApi.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The parent, which owns this collection of APIs. Format: `projects/*/locations/*` |
| `api` | `https://docs.cloud.google.com/python/docs/reference/apigeeregistry/latest/google.cloud.apigee_registry_v1.types.Api` Required. The API to create. |
| `api_id` | `str` Required. The ID to use for the API, which will become the final component of the API's resource name. This value should be 4-63 characters, and valid characters are /`a-z][0-9]`-/. Following AIP-162, IDs must not have the form of a UUID. |