Reference documentation and code samples for the Backup and DR Service V1BETA API class Google::Cloud::BackupDR::V1beta::DataSourceGcpResourceInfo.
The Google Cloud resource that the DataSource is associated with.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#alloy_db_cluster_properties
def alloy_db_cluster_properties() -> ::Google::Cloud::BackupDR::V1beta::AlloyDBClusterDataSourceReferenceProperties-
(::Google::Cloud::BackupDR::V1beta::AlloyDBClusterDataSourceReferenceProperties) — Output only. The properties of the AlloyDB cluster.
Note: The following fields are mutually exclusive:
alloy_db_cluster_properties,cloud_sql_instance_properties. If a field in that set is populated, all other fields in the set will automatically be cleared.
#cloud_sql_instance_properties
def cloud_sql_instance_properties() -> ::Google::Cloud::BackupDR::V1beta::CloudSqlInstanceDataSourceReferenceProperties-
(::Google::Cloud::BackupDR::V1beta::CloudSqlInstanceDataSourceReferenceProperties) — Output only. The properties of the Cloud SQL instance.
Note: The following fields are mutually exclusive:
cloud_sql_instance_properties,alloy_db_cluster_properties. If a field in that set is populated, all other fields in the set will automatically be cleared.
#gcp_resourcename
def gcp_resourcename() -> ::String- (::String) — Output only. The resource name of the Google Cloud resource. Ex: projects/{project}/zones/{zone}/instances/{instance}
#location
def location() -> ::String- (::String) — Output only. The location of the Google Cloud resource. Ex:
#type
def type() -> ::String- (::String) — Output only. The type of the Google Cloud resource. Ex: compute.googleapis.com/Instance