Class: Google::Apis::ComputeAlpha::ServiceIntegrationSpecBackupDrSpec
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ServiceIntegrationSpecBackupDrSpec
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Specifies parameters to Backup and DR to attach a BackupPlan to a compute instance for managed VM backup.
Instance Attribute Summary collapse
-
#plan ⇒ String
The BackupPlan resource to attach to the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceIntegrationSpecBackupDrSpec
constructor
A new instance of ServiceIntegrationSpecBackupDrSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceIntegrationSpecBackupDrSpec
Returns a new instance of ServiceIntegrationSpecBackupDrSpec.
69852 69853 69854 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 69852 def initialize(**args) update!(**args) end |
Instance Attribute Details
#plan ⇒ String
The BackupPlan resource to attach to the instance. Specified as a
resource reference in instances, and regional instance templates, and as
just the plan name in global instance templates
Corresponds to the JSON property plan
69850 69851 69852 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 69850 def plan @plan end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
69857 69858 69859 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 69857 def update!(**args) @plan = args[:plan] if args.key?(:plan) end |