Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2BackupDisasterRecovery
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2BackupDisasterRecovery
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/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) ⇒ GoogleCloudSecuritycenterV2BackupDisasterRecovery
constructor
A new instance of GoogleCloudSecuritycenterV2BackupDisasterRecovery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2BackupDisasterRecovery
Returns a new instance of GoogleCloudSecuritycenterV2BackupDisasterRecovery.
5071 5072 5073 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5071 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appliance ⇒ String
Corresponds to the JSON property appliance
5024 5025 5026 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5024 def appliance @appliance end |
#applications ⇒ Array<String>
Corresponds to the JSON property applications
5029 5030 5031 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5029 def applications @applications end |
#backup_create_time ⇒ String
Corresponds to the JSON property backupCreateTime
5034 5035 5036 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5034 def backup_create_time @backup_create_time end |
#backup_template ⇒ String
Corresponds to the JSON property backupTemplate
5039 5040 5041 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5039 def backup_template @backup_template end |
#backup_type ⇒ String
Corresponds to the JSON property backupType
5044 5045 5046 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5044 def backup_type @backup_type end |
#host ⇒ String
Corresponds to the JSON property host
5049 5050 5051 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5049 def host @host end |
#policies ⇒ Array<String>
Corresponds to the JSON property policies
5054 5055 5056 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5054 def policies @policies end |
#policy_options ⇒ Array<String>
Corresponds to the JSON property policyOptions
5059 5060 5061 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5059 def @policy_options end |
#profile ⇒ String
Corresponds to the JSON property profile
5064 5065 5066 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5064 def profile @profile end |
#storage_pool ⇒ String
Corresponds to the JSON property storagePool
5069 5070 5071 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5069 def storage_pool @storage_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5076 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 |