Class: Google::Apis::SecuritycenterV1::CreateResourceValueConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::CreateResourceValueConfigRequest
- 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
Overview
Request message to create single resource value config
Instance Attribute Summary collapse
-
#parent ⇒ String
Required.
-
#resource_value_config ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig
A resource value configuration (RVC) is a mapping configuration of user's resources to resource values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateResourceValueConfigRequest
constructor
A new instance of CreateResourceValueConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateResourceValueConfigRequest
Returns a new instance of CreateResourceValueConfigRequest.
1455 1456 1457 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parent ⇒ String
Required. Resource name of the new ResourceValueConfig's parent.
Corresponds to the JSON property parent
1447 1448 1449 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1447 def parent @parent end |
#resource_value_config ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig
A resource value configuration (RVC) is a mapping configuration of user's
resources to resource values. Used in Attack path simulations.
Corresponds to the JSON property resourceValueConfig
1453 1454 1455 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1453 def resource_value_config @resource_value_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1460 1461 1462 1463 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1460 def update!(**args) @parent = args[:parent] if args.key?(:parent) @resource_value_config = args[:resource_value_config] if args.key?(:resource_value_config) end |