Class: Google::Cloud::BackupDR::V1::DataSourceGcpResource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/backupdr/v1/backupvault.rb

Overview

DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_sql_instance_datasource_properties::Google::Cloud::BackupDR::V1::CloudSqlInstanceDataSourceProperties (readonly)

Returns Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL Instance properties that are useful at the Datasource level.

Note: The following fields are mutually exclusive: cloud_sql_instance_datasource_properties, compute_instance_datasource_properties, disk_datasource_properties. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::BackupDR::V1::CloudSqlInstanceDataSourceProperties)

    Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL Instance properties that are useful at the Datasource level.

    Note: The following fields are mutually exclusive: cloud_sql_instance_datasource_properties, compute_instance_datasource_properties, disk_datasource_properties. If a field in that set is populated, all other fields in the set will automatically be cleared.



376
377
378
379
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 376

class DataSourceGcpResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#compute_instance_datasource_properties::Google::Cloud::BackupDR::V1::ComputeInstanceDataSourceProperties

Returns ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.

Note: The following fields are mutually exclusive: compute_instance_datasource_properties, cloud_sql_instance_datasource_properties, disk_datasource_properties. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::BackupDR::V1::ComputeInstanceDataSourceProperties)

    ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.

    Note: The following fields are mutually exclusive: compute_instance_datasource_properties, cloud_sql_instance_datasource_properties, disk_datasource_properties. If a field in that set is populated, all other fields in the set will automatically be cleared.



376
377
378
379
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 376

class DataSourceGcpResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#disk_datasource_properties::Google::Cloud::BackupDR::V1::DiskDataSourceProperties

Returns DiskDataSourceProperties has a subset of Disk properties that are useful at the Datasource level.

Note: The following fields are mutually exclusive: disk_datasource_properties, compute_instance_datasource_properties, cloud_sql_instance_datasource_properties. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::BackupDR::V1::DiskDataSourceProperties)

    DiskDataSourceProperties has a subset of Disk properties that are useful at the Datasource level.

    Note: The following fields are mutually exclusive: disk_datasource_properties, compute_instance_datasource_properties, cloud_sql_instance_datasource_properties. If a field in that set is populated, all other fields in the set will automatically be cleared.



376
377
378
379
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 376

class DataSourceGcpResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gcp_resourcename::String (readonly)

Returns Output only. Full resource pathname URL of the source Google Cloud resource.

Returns:

  • (::String)

    Output only. Full resource pathname URL of the source Google Cloud resource.



376
377
378
379
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 376

class DataSourceGcpResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#location::String

Returns Location of the resource: //"global"/"unspecified".

Returns:

  • (::String)

    Location of the resource: //"global"/"unspecified".



376
377
378
379
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 376

class DataSourceGcpResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::String

Returns The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

Returns:

  • (::String)

    The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.



376
377
378
379
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 376

class DataSourceGcpResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end