Class: Google::Apis::ComputeAlpha::ServiceIntegrationSpec
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ServiceIntegrationSpec
- 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 the parameters to configure an integration with instances.
Instance Attribute Summary collapse
-
#backup_dr ⇒ Google::Apis::ComputeAlpha::ServiceIntegrationSpecBackupDrSpec
Specifies parameters to Backup and DR to attach a BackupPlan to a compute instance for managed VM backup.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceIntegrationSpec
constructor
A new instance of ServiceIntegrationSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceIntegrationSpec
Returns a new instance of ServiceIntegrationSpec.
42676 42677 42678 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_dr ⇒ Google::Apis::ComputeAlpha::ServiceIntegrationSpecBackupDrSpec
Specifies parameters to Backup and DR to attach a BackupPlan to a compute
instance for managed VM backup.
Corresponds to the JSON property backupDr
42674 42675 42676 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42674 def backup_dr @backup_dr end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42681 42682 42683 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42681 def update!(**args) @backup_dr = args[:backup_dr] if args.key?(:backup_dr) end |