Class: Google::Apis::SecuritycenterV1::BackupDisasterRecovery
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::BackupDisasterRecovery
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/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.
1137 1138 1139 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appliance ⇒ String
Corresponds to the JSON property appliance
1090 1091 1092 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1090 def appliance @appliance end |
#applications ⇒ Array<String>
Corresponds to the JSON property applications
1095 1096 1097 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1095 def applications @applications end |
#backup_create_time ⇒ String
Corresponds to the JSON property backupCreateTime
1100 1101 1102 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1100 def backup_create_time @backup_create_time end |
#backup_template ⇒ String
Corresponds to the JSON property backupTemplate
1105 1106 1107 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1105 def backup_template @backup_template end |
#backup_type ⇒ String
Corresponds to the JSON property backupType
1110 1111 1112 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1110 def backup_type @backup_type end |
#host ⇒ String
Corresponds to the JSON property host
1115 1116 1117 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1115 def host @host end |
#policies ⇒ Array<String>
Corresponds to the JSON property policies
1120 1121 1122 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1120 def policies @policies end |
#policy_options ⇒ Array<String>
Corresponds to the JSON property policyOptions
1125 1126 1127 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1125 def @policy_options end |
#profile ⇒ String
Corresponds to the JSON property profile
1130 1131 1132 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1130 def profile @profile end |
#storage_pool ⇒ String
Corresponds to the JSON property storagePool
1135 1136 1137 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1135 def storage_pool @storage_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1142 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 |