Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class DataSourceGcpResource.
DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource
Generated from protobuf message google.cloud.backupdr.v1beta.DataSourceGcpResource
Namespace
Google \ Cloud \ BackupDR \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ compute_instance_datasource_properties |
ComputeInstanceDataSourceProperties
ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level. |
↳ cloud_sql_instance_datasource_properties |
CloudSqlInstanceDataSourceProperties
Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL Instance properties that are useful at the Datasource level. |
↳ alloy_db_cluster_datasource_properties |
AlloyDBClusterDataSourceProperties
Output only. AlloyDBClusterDataSourceProperties has a subset of AlloyDB cluster properties that are useful at the Datasource level. Currently none of its child properties are auditable. If new auditable properties are added, the AUDIT annotation should be added. |
↳ disk_datasource_properties |
DiskDataSourceProperties
DiskDataSourceProperties has a subset of Disk properties that are useful at the Datasource level. |
↳ gcp_resourcename |
string
Output only. Full resource pathname URL of the source Google Cloud resource. |
↳ location |
string
Location of the resource:
|
↳ type |
string
The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance. |
getComputeInstanceDatasourceProperties
ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceDataSourceProperties|null |
|
hasComputeInstanceDatasourceProperties
setComputeInstanceDatasourceProperties
ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
| Parameter | |
|---|---|
| Name | Description |
var |
ComputeInstanceDataSourceProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCloudSqlInstanceDatasourceProperties
Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL Instance properties that are useful at the Datasource level.
| Returns | |
|---|---|
| Type | Description |
CloudSqlInstanceDataSourceProperties|null |
|
hasCloudSqlInstanceDatasourceProperties
setCloudSqlInstanceDatasourceProperties
Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL Instance properties that are useful at the Datasource level.
| Parameter | |
|---|---|
| Name | Description |
var |
CloudSqlInstanceDataSourceProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAlloyDbClusterDatasourceProperties
Output only. AlloyDBClusterDataSourceProperties has a subset of AlloyDB cluster properties that are useful at the Datasource level. Currently none of its child properties are auditable. If new auditable properties are added, the AUDIT annotation should be added.
| Returns | |
|---|---|
| Type | Description |
AlloyDBClusterDataSourceProperties|null |
|
hasAlloyDbClusterDatasourceProperties
setAlloyDbClusterDatasourceProperties
Output only. AlloyDBClusterDataSourceProperties has a subset of AlloyDB cluster properties that are useful at the Datasource level. Currently none of its child properties are auditable. If new auditable properties are added, the AUDIT annotation should be added.
| Parameter | |
|---|---|
| Name | Description |
var |
AlloyDBClusterDataSourceProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDiskDatasourceProperties
DiskDataSourceProperties has a subset of Disk properties that are useful at the Datasource level.
| Returns | |
|---|---|
| Type | Description |
DiskDataSourceProperties|null |
|
hasDiskDatasourceProperties
setDiskDatasourceProperties
DiskDataSourceProperties has a subset of Disk properties that are useful at the Datasource level.
| Parameter | |
|---|---|
| Name | Description |
var |
DiskDataSourceProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGcpResourcename
Output only. Full resource pathname URL of the source Google Cloud resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
setGcpResourcename
Output only. Full resource pathname URL of the source Google Cloud resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
Location of the resource:
| Returns | |
|---|---|
| Type | Description |
string |
|
setLocation
Location of the resource:
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
| Returns | |
|---|---|
| Type | Description |
string |
|
setType
The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGcpResourceProperties
| Returns | |
|---|---|
| Type | Description |
string |
|