Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2BackupDisasterRecovery

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2BackupDisasterRecovery

Returns a new instance of GoogleCloudSecuritycenterV2BackupDisasterRecovery.



5157
5158
5159
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5157

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

Instance Attribute Details

#applianceString

Corresponds to the JSON property appliance

Returns:

  • (String)


5110
5111
5112
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5110

def appliance
  @appliance
end

#applicationsArray<String>

Corresponds to the JSON property applications

Returns:

  • (Array<String>)


5115
5116
5117
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5115

def applications
  @applications
end

#backup_create_timeString

Corresponds to the JSON property backupCreateTime

Returns:

  • (String)


5120
5121
5122
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5120

def backup_create_time
  @backup_create_time
end

#backup_templateString

Corresponds to the JSON property backupTemplate

Returns:

  • (String)


5125
5126
5127
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5125

def backup_template
  @backup_template
end

#backup_typeString

Corresponds to the JSON property backupType

Returns:

  • (String)


5130
5131
5132
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5130

def backup_type
  @backup_type
end

#hostString

Corresponds to the JSON property host

Returns:

  • (String)


5135
5136
5137
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5135

def host
  @host
end

#policiesArray<String>

Corresponds to the JSON property policies

Returns:

  • (Array<String>)


5140
5141
5142
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5140

def policies
  @policies
end

#policy_optionsArray<String>

Corresponds to the JSON property policyOptions

Returns:

  • (Array<String>)


5145
5146
5147
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5145

def policy_options
  @policy_options
end

#profileString

Corresponds to the JSON property profile

Returns:

  • (String)


5150
5151
5152
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5150

def profile
  @profile
end

#storage_poolString

Corresponds to the JSON property storagePool

Returns:

  • (String)


5155
5156
5157
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5155

def storage_pool
  @storage_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5162

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