Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceValueConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceValueConfig
- 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::GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping
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) ⇒ GoogleCloudSecuritycenterV2ResourceValueConfig
constructor
A new instance of GoogleCloudSecuritycenterV2ResourceValueConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ResourceValueConfig
Returns a new instance of GoogleCloudSecuritycenterV2ResourceValueConfig.
9987 9988 9989 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9987 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_provider ⇒ String
Corresponds to the JSON property cloudProvider
9935 9936 9937 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9935 def cloud_provider @cloud_provider end |
#create_time ⇒ String
Corresponds to the JSON property createTime
9940 9941 9942 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9940 def create_time @create_time end |
#description ⇒ String
Corresponds to the JSON property description
9945 9946 9947 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9945 def description @description end |
#name ⇒ String
Corresponds to the JSON property name
9950 9951 9952 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9950 def name @name end |
#resource_labels_selector ⇒ Hash<String,String>
Corresponds to the JSON property resourceLabelsSelector
9955 9956 9957 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9955 def resource_labels_selector @resource_labels_selector end |
#resource_type ⇒ String
Corresponds to the JSON property resourceType
9960 9961 9962 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9960 def resource_type @resource_type end |
#resource_value ⇒ String
Corresponds to the JSON property resourceValue
9965 9966 9967 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9965 def resource_value @resource_value end |
#scope ⇒ String
Corresponds to the JSON property scope
9970 9971 9972 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9970 def scope @scope end |
#sensitive_data_protection_mapping ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping
Corresponds to the JSON property sensitiveDataProtectionMapping
9975 9976 9977 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9975 def sensitive_data_protection_mapping @sensitive_data_protection_mapping end |
#tag_values ⇒ Array<String>
Corresponds to the JSON property tagValues
9980 9981 9982 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9980 def tag_values @tag_values end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
9985 9986 9987 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9985 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9992 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 |