Class: Google::Apis::BackupdrV1::TargetResource
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::TargetResource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb
Overview
Details of the target resource created/modified as part of restore.
Instance Attribute Summary collapse
-
#gcp_resource ⇒ Google::Apis::BackupdrV1::GcpResource
Minimum details to identify a Google Cloud resource Corresponds to the JSON property
gcpResource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetResource
constructor
A new instance of TargetResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetResource
Returns a new instance of TargetResource.
3837 3838 3839 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3837 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcp_resource ⇒ Google::Apis::BackupdrV1::GcpResource
Minimum details to identify a Google Cloud resource
Corresponds to the JSON property gcpResource
3835 3836 3837 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3835 def gcp_resource @gcp_resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3842 3843 3844 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3842 def update!(**args) @gcp_resource = args[:gcp_resource] if args.key?(:gcp_resource) end |