Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class DataSourceGcpResourceInfo.
The Google Cloud resource that the DataSource is associated with.
Generated from protobuf message google.cloud.backupdr.v1beta.DataSourceGcpResourceInfo
Namespace
Google \ Cloud \ BackupDR \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cloud_sql_instance_properties |
CloudSqlInstanceDataSourceReferenceProperties
Output only. The properties of the Cloud SQL instance. |
↳ alloy_db_cluster_properties |
AlloyDBClusterDataSourceReferenceProperties
Output only. The properties of the AlloyDB cluster. |
↳ gcp_resourcename |
string
Output only. The resource name of the Google Cloud resource. Ex: projects/{project}/zones/{zone}/instances/{instance} |
↳ type |
string
Output only. The type of the Google Cloud resource. Ex: compute.googleapis.com/Instance |
↳ location |
string
Output only. The location of the Google Cloud resource. Ex:
|
getCloudSqlInstanceProperties
Output only. The properties of the Cloud SQL instance.
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceReferenceProperties|null |
|
hasCloudSqlInstanceProperties
setCloudSqlInstanceProperties
Output only. The properties of the Cloud SQL instance.
| Parameter | |
|---|---|
| Name | Description |
var |
CloudSqlInstanceDataSourceReferenceProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAlloyDbClusterProperties
Output only. The properties of the AlloyDB cluster.
| Returns | |
|---|---|
| Type | Description |
AlloyDBClusterDataSourceReferenceProperties|null |
|
hasAlloyDbClusterProperties
setAlloyDbClusterProperties
Output only. The properties of the AlloyDB cluster.
| Parameter | |
|---|---|
| Name | Description |
var |
AlloyDBClusterDataSourceReferenceProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGcpResourcename
Output only. The resource name of the Google Cloud resource.
Ex: projects/{project}/zones/{zone}/instances/{instance}
| Returns | |
|---|---|
| Type | Description |
string |
|
setGcpResourcename
Output only. The resource name of the Google Cloud resource.
Ex: projects/{project}/zones/{zone}/instances/{instance}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Output only. The type of the Google Cloud resource.
Ex: compute.googleapis.com/Instance
| Returns | |
|---|---|
| Type | Description |
string |
|
setType
Output only. The type of the Google Cloud resource.
Ex: compute.googleapis.com/Instance
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
Output only. The location of the Google Cloud resource.
Ex:
| Returns | |
|---|---|
| Type | Description |
string |
|
setLocation
Output only. The location of the Google Cloud resource.
Ex:
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourceProperties
| Returns | |
|---|---|
| Type | Description |
string |
|