0.14.0 (latest) 0.13.0 0.12.3 0.9.0 0.8.2 0.7.1 0.6.1 0.4.1 0.3.0 0.2.1 0.1.2 Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class CreateAutonomousDatabaseRequest.

The request for `AutonomousDatabase.Create`.

Generated from protobuf message `google.cloud.oracledatabase.v1.CreateAutonomousDatabaseRequest`

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The name of the parent in the following format: projects/{project}/locations/{location}. |
| `↳ autonomous_database_id` | `string` Required. The ID of the Autonomous Database to create. This value is restricted to (\^[a-z](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/[a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. |
| `↳ autonomous_database` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase` Required. The Autonomous Database being created. |
| `↳ request_id` | `string` Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

### getParent

Required. The name of the parent in the following format:
projects/{project}/locations/{location}.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. The name of the parent in the following format:
projects/{project}/locations/{location}.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAutonomousDatabaseId

Required. The ID of the Autonomous Database to create. This value is
restricted to (\^[a-z](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/[a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
63 characters in length. The value must start with a letter and end with a
letter or a number.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setAutonomousDatabaseId

Required. The ID of the Autonomous Database to create. This value is
restricted to (\^[a-z](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/[a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
63 characters in length. The value must start with a letter and end with a
letter or a number.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAutonomousDatabase

Required. The Autonomous Database being created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase|null` |   |

### hasAutonomousDatabase

### clearAutonomousDatabase

### setAutonomousDatabase

Required. The Autonomous Database being created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRequestId

Optional. An optional ID to identify the request. This value is used to
identify duplicate requests. If you make a request with the same request ID
and the original request is still in progress or completed, the server
ignores the second request. This prevents clients from
accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRequestId

Optional. An optional ID to identify the request. This value is used to
identify duplicate requests. If you make a request with the same request ID
and the original request is still in progress or completed, the server
ignores the second request. This prevents clients from
accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The name of the parent in the following format: projects/{project}/locations/{location}. Please see OracleDatabaseClient::locationName() for help formatting this field. |
| `autonomousDatabase` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase` Required. The Autonomous Database being created. |
| `autonomousDatabaseId` | `string` Required. The ID of the Autonomous Database to create. This value is restricted to (\^[a-z](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/[a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateAutonomousDatabaseRequest` |   |