Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class CloudSqlInstanceDataSourceReferenceProperties.
CloudSqlInstanceDataSourceReferenceProperties represents the properties of a Cloud SQL resource that are stored in the DataSourceReference.
Generated from protobuf message google.cloud.backupdr.v1.CloudSqlInstanceDataSourceReferenceProperties
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__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 |
Google\Protobuf\Timestamp
Output only. The instance creation timestamp. |
↳ instance_tier |
string
Output only. The tier (or machine type) for this instance. Example: |
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 |
Google\Protobuf\Timestamp|null |
hasInstanceCreateTime
clearInstanceCreateTime
setInstanceCreateTime
Output only. The instance creation timestamp.
Parameter | |
---|---|
Name | Description |
var |
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 |