Class: Google::Apis::SecuritycenterV1::CreateResourceValueConfigRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateResourceValueConfigRequest

Returns a new instance of CreateResourceValueConfigRequest.



1786
1787
1788
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1786

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


1779
1780
1781
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1779

def parent
  @parent
end

#resource_value_configGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceValueConfig

Corresponds to the JSON property resourceValueConfig



1784
1785
1786
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1784

def resource_value_config
  @resource_value_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1791
1792
1793
1794
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1791

def update!(**args)
  @parent = args[:parent] if args.key?(:parent)
  @resource_value_config = args[:resource_value_config] if args.key?(:resource_value_config)
end