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.
1559 1560 1561 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1559 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
1551 1552 1553 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1551 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
1557 1558 1559 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1557 def resource_value_config @resource_value_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1564 1565 1566 1567 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1564 def update!(**args) @parent = args[:parent] if args.key?(:parent) @resource_value_config = args[:resource_value_config] if args.key?(:resource_value_config) end |