Class: Google::Apis::SecuritycenterV1beta2::BackupDisasterRecovery
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::BackupDisasterRecovery
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#appliance ⇒ String
Corresponds to the JSON property
appliance. -
#applications ⇒ Array<String>
Corresponds to the JSON property
applications. -
#backup_create_time ⇒ String
Corresponds to the JSON property
backupCreateTime. -
#backup_template ⇒ String
Corresponds to the JSON property
backupTemplate. -
#backup_type ⇒ String
Corresponds to the JSON property
backupType. -
#host ⇒ String
Corresponds to the JSON property
host. -
#policies ⇒ Array<String>
Corresponds to the JSON property
policies. -
#policy_options ⇒ Array<String>
Corresponds to the JSON property
policyOptions. -
#profile ⇒ String
Corresponds to the JSON property
profile. -
#storage_pool ⇒ String
Corresponds to the JSON property
storagePool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupDisasterRecovery
constructor
A new instance of BackupDisasterRecovery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupDisasterRecovery
Returns a new instance of BackupDisasterRecovery.
847 848 849 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 847 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appliance ⇒ String
Corresponds to the JSON property appliance
800 801 802 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 800 def appliance @appliance end |
#applications ⇒ Array<String>
Corresponds to the JSON property applications
805 806 807 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 805 def applications @applications end |
#backup_create_time ⇒ String
Corresponds to the JSON property backupCreateTime
810 811 812 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 810 def backup_create_time @backup_create_time end |
#backup_template ⇒ String
Corresponds to the JSON property backupTemplate
815 816 817 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 815 def backup_template @backup_template end |
#backup_type ⇒ String
Corresponds to the JSON property backupType
820 821 822 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 820 def backup_type @backup_type end |
#host ⇒ String
Corresponds to the JSON property host
825 826 827 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 825 def host @host end |
#policies ⇒ Array<String>
Corresponds to the JSON property policies
830 831 832 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 830 def policies @policies end |
#policy_options ⇒ Array<String>
Corresponds to the JSON property policyOptions
835 836 837 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 835 def @policy_options end |
#profile ⇒ String
Corresponds to the JSON property profile
840 841 842 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 840 def profile @profile end |
#storage_pool ⇒ String
Corresponds to the JSON property storagePool
845 846 847 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 845 def storage_pool @storage_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
852 853 854 855 856 857 858 859 860 861 862 863 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 852 def update!(**args) @appliance = args[:appliance] if args.key?(:appliance) @applications = args[:applications] if args.key?(:applications) @backup_create_time = args[:backup_create_time] if args.key?(:backup_create_time) @backup_template = args[:backup_template] if args.key?(:backup_template) @backup_type = args[:backup_type] if args.key?(:backup_type) @host = args[:host] if args.key?(:host) @policies = args[:policies] if args.key?(:policies) @policy_options = args[:policy_options] if args.key?(:policy_options) @profile = args[:profile] if args.key?(:profile) @storage_pool = args[:storage_pool] if args.key?(:storage_pool) end |