@@ -2042,6 +2042,11 @@ class File
20422042 # @return [Fixnum]
20432043 attr_accessor :hashed_size
20442044
2045+ # Operation(s) performed on a file.
2046+ # Corresponds to the JSON property `operations`
2047+ # @return [Array<Google::Apis::SecuritycenterV1beta1::FileOperation>]
2048+ attr_accessor :operations
2049+
20452050 # True when the hash covers only a prefix of the file.
20462051 # Corresponds to the JSON property `partiallyHashed`
20472052 # @return [Boolean]
@@ -2073,13 +2078,33 @@ def update!(**args)
20732078 @contents = args [ :contents ] if args . key? ( :contents )
20742079 @disk_path = args [ :disk_path ] if args . key? ( :disk_path )
20752080 @hashed_size = args [ :hashed_size ] if args . key? ( :hashed_size )
2081+ @operations = args [ :operations ] if args . key? ( :operations )
20762082 @partially_hashed = args [ :partially_hashed ] if args . key? ( :partially_hashed )
20772083 @path = args [ :path ] if args . key? ( :path )
20782084 @sha256 = args [ :sha256 ] if args . key? ( :sha256 )
20792085 @size = args [ :size ] if args . key? ( :size )
20802086 end
20812087 end
20822088
2089+ # Operation(s) performed on a file.
2090+ class FileOperation
2091+ include Google ::Apis ::Core ::Hashable
2092+
2093+ # The type of the operation
2094+ # Corresponds to the JSON property `type`
2095+ # @return [String]
2096+ attr_accessor :type
2097+
2098+ def initialize ( **args )
2099+ update! ( **args )
2100+ end
2101+
2102+ # Update properties of this object
2103+ def update! ( **args )
2104+ @type = args [ :type ] if args . key? ( :type )
2105+ end
2106+ end
2107+
20832108 # Security Command Center finding. A finding is a record of assessment data like
20842109 # security, risk, health, or privacy, that is ingested into Security Command
20852110 # Center for presentation, notification, analysis, policy testing, and
@@ -5940,6 +5965,11 @@ class GoogleCloudSecuritycenterV2File
59405965 # @return [Fixnum]
59415966 attr_accessor :hashed_size
59425967
5968+ # Operation(s) performed on a file.
5969+ # Corresponds to the JSON property `operations`
5970+ # @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2FileOperation>]
5971+ attr_accessor :operations
5972+
59435973 # True when the hash covers only a prefix of the file.
59445974 # Corresponds to the JSON property `partiallyHashed`
59455975 # @return [Boolean]
@@ -5971,13 +6001,33 @@ def update!(**args)
59716001 @contents = args [ :contents ] if args . key? ( :contents )
59726002 @disk_path = args [ :disk_path ] if args . key? ( :disk_path )
59736003 @hashed_size = args [ :hashed_size ] if args . key? ( :hashed_size )
6004+ @operations = args [ :operations ] if args . key? ( :operations )
59746005 @partially_hashed = args [ :partially_hashed ] if args . key? ( :partially_hashed )
59756006 @path = args [ :path ] if args . key? ( :path )
59766007 @sha256 = args [ :sha256 ] if args . key? ( :sha256 )
59776008 @size = args [ :size ] if args . key? ( :size )
59786009 end
59796010 end
59806011
6012+ # Operation(s) performed on a file.
6013+ class GoogleCloudSecuritycenterV2FileOperation
6014+ include Google ::Apis ::Core ::Hashable
6015+
6016+ # The type of the operation
6017+ # Corresponds to the JSON property `type`
6018+ # @return [String]
6019+ attr_accessor :type
6020+
6021+ def initialize ( **args )
6022+ update! ( **args )
6023+ end
6024+
6025+ # Update properties of this object
6026+ def update! ( **args )
6027+ @type = args [ :type ] if args . key? ( :type )
6028+ end
6029+ end
6030+
59816031 # Security Command Center finding. A finding is a record of assessment data like
59826032 # security, risk, health, or privacy, that is ingested into Security Command
59836033 # Center for presentation, notification, analysis, policy testing, and
0 commit comments