Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::DataSourceGcpResourceInfo (v1.2.0)

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

#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