Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class DataSourceGcpResourceInfo.
The GCP resource that the DataSource is associated with.
Generated from protobuf message google.cloud.backupdr.v1.DataSourceGcpResourceInfo
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ gcp_resourcename
string
Output only. The resource name of the GCP resource. Ex: projects/{project}/zones/{zone}/instances/{instance}
↳ type
string
Output only. The type of the GCP resource. Ex: compute.googleapis.com/Instance
↳ location
string
Output only. The location of the GCP resource. Ex:
↳ cloud_sql_instance_properties
CloudSqlInstanceDataSourceReferenceProperties
Output only. The properties of the Cloud SQL instance.
getGcpResourcename
Output only. The resource name of the GCP resource.
Ex: projects/{project}/zones/{zone}/instances/{instance}
string
setGcpResourcename
Output only. The resource name of the GCP resource.
Ex: projects/{project}/zones/{zone}/instances/{instance}
var
string
$this
getType
Output only. The type of the GCP resource.
Ex: compute.googleapis.com/Instance
string
setType
Output only. The type of the GCP resource.
Ex: compute.googleapis.com/Instance
var
string
$this
getLocation
Output only. The location of the GCP resource.
Ex:
string
setLocation
Output only. The location of the GCP resource.
Ex:
var
string
$this
getCloudSqlInstanceProperties
Output only. The properties of the Cloud SQL instance.
hasCloudSqlInstanceProperties
setCloudSqlInstanceProperties
Output only. The properties of the Cloud SQL instance.
$this
getResourceProperties
string

