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
Instance Attribute Summary collapse
-
#parent ⇒ String
Corresponds to the JSON property
parent. -
#resource_value_config ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig
Corresponds to the JSON property
resourceValueConfig.
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.
1711 1712 1713 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1711 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parent ⇒ String
Corresponds to the JSON property parent
1704 1705 1706 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1704 def parent @parent end |
#resource_value_config ⇒ Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig
Corresponds to the JSON property resourceValueConfig
1709 1710 1711 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1709 def resource_value_config @resource_value_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1716 1717 1718 1719 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1716 def update!(**args) @parent = args[:parent] if args.key?(:parent) @resource_value_config = args[:resource_value_config] if args.key?(:resource_value_config) end |