Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::DataSourceGcpResourceInfo.
The GCP resource that the DataSource is associated with.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cloud_sql_instance_properties
def cloud_sql_instance_properties() -> ::Google::Cloud::BackupDR::V1::CloudSqlInstanceDataSourceReferenceProperties
Returns
- (::Google::Cloud::BackupDR::V1::CloudSqlInstanceDataSourceReferenceProperties) — Output only. The properties of the Cloud SQL instance.
#gcp_resourcename
def gcp_resourcename() -> ::String
Returns
- (::String) — Output only. The resource name of the GCP resource. Ex: projects/{project}/zones/{zone}/instances/{instance}
#location
def location() -> ::String
Returns
- (::String) — Output only. The location of the GCP resource. Ex:
#type
def type() -> ::String
Returns
- (::String) — Output only. The type of the GCP resource. Ex: compute.googleapis.com/Instance