# Class CreateInstanceRequest (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.1 1.5.0 1.4.4 1.3.2 1.2.1 1.1.3 1.0.0 0.3.2 0.2.0 0.1.0

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

Request for
CreateInstance.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The resource name of the instance location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region |
| `instance_id` | `str` Required. The logical name of the Memcached instance in the user project with the following restrictions: - Must contain only lowercase letters, numbers, and hyphens. - Must start with a letter. - Must be between 1-40 characters. - Must end with a number or a letter. - Must be unique within the user project / location. If any of the above are not met, the API raises an invalid argument error. |
| `instance` | `https://docs.cloud.google.com/python/docs/reference/memcache/latest/google.cloud.memcache_v1.types.Instance` Required. A Memcached Instance |