Class: Google::Apis::ComposerV1beta1::RecoveryConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/composer_v1beta1/classes.rb,
lib/google/apis/composer_v1beta1/representations.rb,
lib/google/apis/composer_v1beta1/representations.rb

Overview

The Recovery settings of an environment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RecoveryConfig

Returns a new instance of RecoveryConfig.



1813
1814
1815
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1813

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

Instance Attribute Details

#scheduled_snapshots_configGoogle::Apis::ComposerV1beta1::ScheduledSnapshotsConfig

The configuration for scheduled snapshot creation mechanism. Corresponds to the JSON property scheduledSnapshotsConfig



1811
1812
1813
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1811

def scheduled_snapshots_config
  @scheduled_snapshots_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1818
1819
1820
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1818

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