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.
922 923 924 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 922 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appliance ⇒ String
Corresponds to the JSON property appliance
875 876 877 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 875 def appliance @appliance end |
#applications ⇒ Array<String>
Corresponds to the JSON property applications
880 881 882 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 880 def applications @applications end |
#backup_create_time ⇒ String
Corresponds to the JSON property backupCreateTime
885 886 887 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 885 def backup_create_time @backup_create_time end |
#backup_template ⇒ String
Corresponds to the JSON property backupTemplate
890 891 892 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 890 def backup_template @backup_template end |
#backup_type ⇒ String
Corresponds to the JSON property backupType
895 896 897 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 895 def backup_type @backup_type end |
#host ⇒ String
Corresponds to the JSON property host
900 901 902 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 900 def host @host end |
#policies ⇒ Array<String>
Corresponds to the JSON property policies
905 906 907 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 905 def policies @policies end |
#policy_options ⇒ Array<String>
Corresponds to the JSON property policyOptions
910 911 912 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 910 def @policy_options end |
#profile ⇒ String
Corresponds to the JSON property profile
915 916 917 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 915 def profile @profile end |
#storage_pool ⇒ String
Corresponds to the JSON property storagePool
920 921 922 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 920 def storage_pool @storage_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
927 928 929 930 931 932 933 934 935 936 937 938 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 927 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 |