Reference documentation and code samples for the Google Cloud Backup Dr V1 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.v1.DataSourceGcpResource
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ 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.
↳ compute_instance_datasource_properties
ComputeInstanceDataSourceProperties
ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
getGcpResourcename
Output only. Full resource pathname URL of the source Google Cloud resource.
string
setGcpResourcename
Output only. Full resource pathname URL of the source Google Cloud resource.
var
string
$this
getLocation
Location of the resource:
string
setLocation
Location of the resource:
var
string
$this
getType
The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
string
setType
The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
var
string
$this
getComputeInstanceDatasourceProperties
ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
hasComputeInstanceDatasourceProperties
setComputeInstanceDatasourceProperties
ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
$this
getGcpResourceProperties
string