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 DbSystemProperties.

The properties of a DbSystem.

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

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ shape` | `string` Required. Shape of DB System. |
| `↳ compute_count` | `int` Required. The number of CPU cores to enable for the DbSystem. |
| `↳ initial_data_storage_size_gb` | `int` Required. The initial data storage size in GB. |
| `↳ database_edition` | `int` Required. The database edition of the DbSystem. |
| `↳ license_model` | `int` Required. The license model of the DbSystem. |
| `↳ ssh_public_keys` | `string[]` Required. SSH public keys to be stored with the DbSystem. |
| `↳ hostname_prefix` | `string` Optional. Prefix for DB System host names. |
| `↳ hostname` | `string` Output only. The hostname of the DbSystem. |
| `↳ private_ip` | `string` Optional. The private IP address of the DbSystem. |
| `↳ data_collection_options` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DataCollectionOptionsDbSystem` Optional. Data collection options for diagnostics. |
| `↳ time_zone` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.TimeZone.html` Optional. Time zone of the DbSystem. |
| `↳ lifecycle_state` | `int` Output only. State of the DbSystem. |
| `↳ db_home` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbHome` Optional. Details for creating a Database Home. |
| `↳ ocid` | `string` Output only. OCID of the DbSystem. |
| `↳ memory_size_gb` | `int` Optional. The memory size in GB. This value can not be set and is automatically calculated based on the number of ECPUs allocated to the DbSystem. |
| `↳ compute_model` | `int` Optional. The compute model of the DbSystem. |
| `↳ data_storage_size_gb` | `int` Optional. The data storage size in GB that is currently available to DbSystems. The value is same as initial_data_storage_size_gb. This can be modified from OCI console. |
| `↳ reco_storage_size_gb` | `int` Optional. The reco/redo storage size in GB. The value for recovery storage size is based on the available data storage size. |
| `↳ domain` | `string` Optional. The host domain name of the DbSystem. |
| `↳ node_count` | `int` Optional. The number of nodes to launch for a virtual machine DbSystem. By default this will be set to 1. |
| `↳ db_system_options` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystemOptions` Optional. The options for the DbSystem. |

### getShape

Required. Shape of DB System.

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

### setShape

Required. Shape of DB System.

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

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

### getComputeCount

Required. The number of CPU cores to enable for the DbSystem.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setComputeCount

Required. The number of CPU cores to enable for the DbSystem.

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

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

### getInitialDataStorageSizeGb

Required. The initial data storage size in GB.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setInitialDataStorageSizeGb

Required. The initial data storage size in GB.

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

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

### getDatabaseEdition

Required. The database edition of the DbSystem.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DbSystemDatabaseEdition](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystemProperties.DbSystemDatabaseEdition). |

### setDatabaseEdition

Required. The database edition of the DbSystem.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DbSystemDatabaseEdition](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystemProperties.DbSystemDatabaseEdition). |

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

### getLicenseModel

Required. The license model of the DbSystem.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [LicenseModel](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystemProperties.LicenseModel). |

### setLicenseModel

Required. The license model of the DbSystem.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [LicenseModel](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystemProperties.LicenseModel). |

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

### getSshPublicKeys

Required. SSH public keys to be stored with the DbSystem.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setSshPublicKeys

Required. SSH public keys to be stored with the DbSystem.

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

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

### getHostnamePrefix

Optional. Prefix for DB System host names.

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

### setHostnamePrefix

Optional. Prefix for DB System host names.

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

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

### getHostname

Output only. The hostname of the DbSystem.

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

### setHostname

Output only. The hostname of the DbSystem.

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

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

### getPrivateIp

Optional. The private IP address of the DbSystem.

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

### setPrivateIp

Optional. The private IP address of the DbSystem.

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

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

### getDataCollectionOptions

Optional. Data collection options for diagnostics.

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

### hasDataCollectionOptions

### clearDataCollectionOptions

### setDataCollectionOptions

Optional. Data collection options for diagnostics.

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

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

### getTimeZone

Optional. Time zone of the DbSystem.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.TimeZone.html|null` |   |

### hasTimeZone

### clearTimeZone

### setTimeZone

Optional. Time zone of the DbSystem.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.TimeZone.html` |

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

### getLifecycleState

Output only. State of the DbSystem.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DbSystemLifecycleState](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystemProperties.DbSystemLifecycleState). |

### setLifecycleState

Output only. State of the DbSystem.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DbSystemLifecycleState](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystemProperties.DbSystemLifecycleState). |

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

### getDbHome

Optional. Details for creating a Database Home.

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

### hasDbHome

### clearDbHome

### setDbHome

Optional. Details for creating a Database Home.

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

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

### getOcid

Output only. OCID of the DbSystem.

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

### setOcid

Output only. OCID of the DbSystem.

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

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

### getMemorySizeGb

Optional. The memory size in GB. This value can not be set and is
automatically calculated based on the number of ECPUs allocated to the
DbSystem.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setMemorySizeGb

Optional. The memory size in GB. This value can not be set and is
automatically calculated based on the number of ECPUs allocated to the
DbSystem.

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

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

### getComputeModel

Optional. The compute model of the DbSystem.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ComputeModel](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystemProperties.ComputeModel). |

### setComputeModel

Optional. The compute model of the DbSystem.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ComputeModel](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystemProperties.ComputeModel). |

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

### getDataStorageSizeGb

Optional. The data storage size in GB that is currently available to
DbSystems. The value is same as initial_data_storage_size_gb. This can be
modified from OCI console.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setDataStorageSizeGb

Optional. The data storage size in GB that is currently available to
DbSystems. The value is same as initial_data_storage_size_gb. This can be
modified from OCI console.

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

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

### getRecoStorageSizeGb

Optional. The reco/redo storage size in GB. The value for recovery storage
size is based on the available data storage size.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setRecoStorageSizeGb

Optional. The reco/redo storage size in GB. The value for recovery storage
size is based on the available data storage size.

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

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

### getDomain

Optional. The host domain name of the DbSystem.

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

### setDomain

Optional. The host domain name of the DbSystem.

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

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

### getNodeCount

Optional. The number of nodes to launch for a virtual machine DbSystem. By
default this will be set to 1.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setNodeCount

Optional. The number of nodes to launch for a virtual machine DbSystem. By
default this will be set to 1.

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

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

### getDbSystemOptions

Optional. The options for the DbSystem.

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

### hasDbSystemOptions

### clearDbSystemOptions

### setDbSystemOptions

Optional. The options for the DbSystem.

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

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