Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::DataSourceGcpResource.
DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#compute_instance_datasource_properties
def compute_instance_datasource_properties() -> ::Google::Cloud::BackupDR::V1::ComputeInstanceDataSourceProperties
Returns
- (::Google::Cloud::BackupDR::V1::ComputeInstanceDataSourceProperties) — ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
#compute_instance_datasource_properties=
def compute_instance_datasource_properties=(value) -> ::Google::Cloud::BackupDR::V1::ComputeInstanceDataSourceProperties
Parameter
- value (::Google::Cloud::BackupDR::V1::ComputeInstanceDataSourceProperties) — ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
Returns
- (::Google::Cloud::BackupDR::V1::ComputeInstanceDataSourceProperties) — ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.
#gcp_resourcename
def gcp_resourcename() -> ::String
Returns
- (::String) — Output only. Full resource pathname URL of the source Google Cloud resource.
#location
def location() -> ::String
Returns
- (::String) — Location of the resource:
#location=
def location=(value) -> ::String
Parameter
- value (::String) — Location of the resource:
Returns
- (::String) — Location of the resource:
#type
def type() -> ::String
Returns
- (::String) — The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.
#type=
def type=(value) -> ::String
Parameter
- value (::String) — 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.