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.
1599 1600 1601 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1599 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
1591 1592 1593 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1591 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
1597 1598 1599 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1597 def resource_value_config @resource_value_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1604 1605 1606 1607 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1604 def update!(**args) @parent = args[:parent] if args.key?(:parent) @resource_value_config = args[:resource_value_config] if args.key?(:resource_value_config) end |