Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceValueConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceValueConfig
- 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
-
#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::SecuritycenterV1beta1::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.
3749 3750 3751 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
3697 3698 3699 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3697 def cloud_provider @cloud_provider end |
#create_time ⇒ String
Corresponds to the JSON property createTime
3702 3703 3704 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3702 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
3707 3708 3709 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3707 def description @description end |
#name ⇒ String
Corresponds to the JSON property name
3712 3713 3714 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3712 def name @name end |
#resource_labels_selector ⇒ Hash<String,String>
Corresponds to the JSON property resourceLabelsSelector
3717 3718 3719 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3717 def resource_labels_selector @resource_labels_selector end |
#resource_type ⇒ String
Corresponds to the JSON property resourceType
3722 3723 3724 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3722 def resource_type @resource_type end |
#resource_value ⇒ String
Corresponds to the JSON property resourceValue
3727 3728 3729 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3727 def resource_value @resource_value end |
#scope ⇒ String
Corresponds to the JSON property scope
3732 3733 3734 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3732 def scope @scope end |
#sensitive_data_protection_mapping ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping
Corresponds to the JSON property sensitiveDataProtectionMapping
3737 3738 3739 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3737 def sensitive_data_protection_mapping @sensitive_data_protection_mapping end |
#tag_values ⇒ Array<String>
Corresponds to the JSON property tagValues
3742 3743 3744 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3742 def tag_values @tag_values end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
3747 3748 3749 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3747 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3754 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 |