Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig
- 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
-
#cloud_provider ⇒ String
Corresponds to the JSON property
cloudProvider. -
#create_time ⇒ String
Corresponds to the JSON property
createTime. -
#description ⇒ String
Corresponds to the JSON property
description. -
#name ⇒ String
Corresponds to the JSON property
name. -
#resource_labels_selector ⇒ Hash<String,String>
Corresponds to the JSON property
resourceLabelsSelector. -
#resource_type ⇒ String
Corresponds to the JSON property
resourceType. -
#resource_value ⇒ String
Corresponds to the JSON property
resourceValue. -
#scope ⇒ String
Corresponds to the JSON property
scope. -
#sensitive_data_protection_mapping ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping
Corresponds to the JSON property
sensitiveDataProtectionMapping. -
#tag_values ⇒ Array<String>
Corresponds to the JSON property
tagValues. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1ResourceValueConfig
constructor
A new instance of GoogleCloudSecuritycenterV1ResourceValueConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV1ResourceValueConfig
Returns a new instance of GoogleCloudSecuritycenterV1ResourceValueConfig.
4372 4373 4374 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4372 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
4320 4321 4322 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4320 def cloud_provider @cloud_provider end |
#create_time ⇒ String
Corresponds to the JSON property createTime
4325 4326 4327 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4325 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
4330 4331 4332 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4330 def description @description end |
#name ⇒ String
Corresponds to the JSON property name
4335 4336 4337 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4335 def name @name end |
#resource_labels_selector ⇒ Hash<String,String>
Corresponds to the JSON property resourceLabelsSelector
4340 4341 4342 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4340 def resource_labels_selector @resource_labels_selector end |
#resource_type ⇒ String
Corresponds to the JSON property resourceType
4345 4346 4347 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4345 def resource_type @resource_type end |
#resource_value ⇒ String
Corresponds to the JSON property resourceValue
4350 4351 4352 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4350 def resource_value @resource_value end |
#scope ⇒ String
Corresponds to the JSON property scope
4355 4356 4357 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4355 def scope @scope end |
#sensitive_data_protection_mapping ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping
Corresponds to the JSON property sensitiveDataProtectionMapping
4360 4361 4362 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4360 def sensitive_data_protection_mapping @sensitive_data_protection_mapping end |
#tag_values ⇒ Array<String>
Corresponds to the JSON property tagValues
4365 4366 4367 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4365 def tag_values @tag_values end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
4370 4371 4372 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4370 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4377 def update!(**args) @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @resource_labels_selector = args[:resource_labels_selector] if args.key?(:resource_labels_selector) @resource_type = args[:resource_type] if args.key?(:resource_type) @resource_value = args[:resource_value] if args.key?(:resource_value) @scope = args[:scope] if args.key?(:scope) @sensitive_data_protection_mapping = args[:sensitive_data_protection_mapping] if args.key?(:sensitive_data_protection_mapping) @tag_values = args[:tag_values] if args.key?(:tag_values) @update_time = args[:update_time] if args.key?(:update_time) end |