# Google Cloud Backup Dr V1 Client - Class CloudSqlInstanceDataSourceProperties (0.13.0)

0.13.0 (latest) 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class CloudSqlInstanceDataSourceProperties.

CloudSqlInstanceDataSourceProperties represents the properties of a
Cloud SQL resource that are stored in the DataSource.

Generated from protobuf message `google.cloud.backupdr.v1.CloudSqlInstanceDataSourceProperties`

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. Name of the Cloud SQL instance backed up by the datasource. Format: projects/{project}/instances/{instance} |
| `↳ database_installed_version` | `string` Output only. The installed database version of the Cloud SQL instance. |
| `↳ instance_create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The instance creation timestamp. |
| `↳ instance_tier` | `string` Output only. The tier (or machine type) for this instance. Example: `db-custom-1-3840` |

### getName

Output only. Name of the Cloud SQL instance backed up by the datasource.

Format:
projects/{project}/instances/{instance}

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

### setName

Output only. Name of the Cloud SQL instance backed up by the datasource.

Format:
projects/{project}/instances/{instance}

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

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

### getDatabaseInstalledVersion

Output only. The installed database version of the Cloud SQL instance.

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

### setDatabaseInstalledVersion

Output only. The installed database version of the Cloud SQL instance.

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

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

### getInstanceCreateTime

Output only. The instance creation timestamp.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasInstanceCreateTime

### clearInstanceCreateTime

### setInstanceCreateTime

Output only. The instance creation timestamp.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getInstanceTier

Output only. The tier (or machine type) for this instance. Example:
`db-custom-1-3840`

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

### setInstanceTier

Output only. The tier (or machine type) for this instance. Example:
`db-custom-1-3840`

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

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