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 config (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.
1168 1169 1170 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1168 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
1160 1161 1162 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1160 def parent @parent end |
#resource_value_config ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig
A resource value config (RVC) is a mapping configuration of user's resources
to resource values. Used in Attack path simulations.
Corresponds to the JSON property resourceValueConfig
1166 1167 1168 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1166 def resource_value_config @resource_value_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1173 1174 1175 1176 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1173 def update!(**args) @parent = args[:parent] if args.key?(:parent) @resource_value_config = args[:resource_value_config] if args.key?(:resource_value_config) end |