Class: Google::Apis::ComputeAlpha::ServiceIntegrationSpecBackupDrSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceIntegrationSpecBackupDrSpec

Returns a new instance of ServiceIntegrationSpecBackupDrSpec.



42854
42855
42856
# File 'lib/google/apis/compute_alpha/classes.rb', line 42854

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#planString

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

Returns:

  • (String)


42852
42853
42854
# File 'lib/google/apis/compute_alpha/classes.rb', line 42852

def plan
  @plan
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42859
42860
42861
# File 'lib/google/apis/compute_alpha/classes.rb', line 42859

def update!(**args)
  @plan = args[:plan] if args.key?(:plan)
end