lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.34.0 vs lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.35.0

- old
+ new

@@ -975,10 +975,16 @@ # /sources/`source_id`" # Corresponds to the JSON property `parent` # @return [String] attr_accessor :parent + # Output only. The human readable display name of the finding source such as " + # Event Threat Detection" or "Security Health Analytics" + # Corresponds to the JSON property `parentDisplayName` + # @return [String] + attr_accessor :parent_display_name + # Represents operating system processes associated with the Finding. # Corresponds to the JSON property `processes` # @return [Array<Google::Apis::SecuritycenterV1beta2::Process>] attr_accessor :processes @@ -1052,10 +1058,11 @@ @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator) @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time) @name = args[:name] if args.key?(:name) @next_steps = args[:next_steps] if args.key?(:next_steps) @parent = args[:parent] if args.key?(:parent) + @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name) @processes = args[:processes] if args.key?(:processes) @resource_name = args[:resource_name] if args.key?(:resource_name) @security_marks = args[:security_marks] if args.key?(:security_marks) @severity = args[:severity] if args.key?(:severity) @source_properties = args[:source_properties] if args.key?(:source_properties) @@ -1457,9 +1464,43 @@ @parent = args[:parent] if args.key?(:parent) @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name) @project = args[:project] if args.key?(:project) @project_display_name = args[:project_display_name] if args.key?(:project_display_name) @type = args[:type] if args.key?(:type) + end + end + + # A resource value config is a mapping configuration of user's tag values to + # resource values. Used by the attack path simulation. + class GoogleCloudSecuritycenterV1ResourceValueConfig + include Google::Apis::Core::Hashable + + # Name for the resource value config + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Required. Resource value level this expression represents + # Corresponds to the JSON property `resourceValue` + # @return [String] + attr_accessor :resource_value + + # Required. Tag values combined with AND to check against. Values in the form " + # tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ] + # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing + # Corresponds to the JSON property `tagValues` + # @return [Array<String>] + attr_accessor :tag_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @resource_value = args[:resource_value] if args.key?(:resource_value) + @tag_values = args[:tag_values] if args.key?(:tag_values) end end # Response of asset discovery run class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse