google-apis-ondemandscanning_v1 0.55.0 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cc7fe804877be89105f077b58d32826d407d9d5f3e2c7fd78965eb36b23ba10
4
- data.tar.gz: 157b63dccac7368efb2b692332d2ebfe43f7db2a5a7e0c19676a2b03809b90a2
3
+ metadata.gz: 55f2d8aa7f760137bfaea8aefa5e447de1795e8b3cee71b7e9133a779f6e1e95
4
+ data.tar.gz: 547c3c889016855d8c4e31b7b3b6da6a947895ae97d63c4ee139d65e32a66c1b
5
5
  SHA512:
6
- metadata.gz: ad6116722a254183554726dc93ce37f349640f9ca5d26ab79c9ef791f2a16e270b92aa0f2f855b8919d73967de760be22079b258290060ec96764a54ee985301
7
- data.tar.gz: 2aacc290bacde828a1cf207d15c55b0ae81702169cc44e14350853318cd31724111704c1a5efe4628cd3cd01a5e93dba6e7b7488c0ee08be0218e03d67ca46aa
6
+ metadata.gz: e94aaaf4ff95c4f0b664ceb5bb34ff6af41388136ffd8b7374f1e0375abeb4097f60dd41b6fda7adb073b9963621b3530a174d8c9b1092875d12db591155b7be
7
+ data.tar.gz: 34a3f6531f1b255be7f8038bb89ca890c79e5f51382355598e1549dec17f58490f231ef1b2170002570e9bbab5121523f54e919ab986bac47d356b6926ce40ef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.56.0 (2025-05-21)
4
+
5
+ * Regenerated from discovery document revision 20250519
6
+
3
7
  ### v0.55.0 (2025-05-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20250505
@@ -1012,6 +1012,11 @@ module Google
1012
1012
  # @return [String]
1013
1013
  attr_accessor :cpe
1014
1014
 
1015
+ # Files that make up the resource described by the occurrence.
1016
+ # Corresponds to the JSON property `files`
1017
+ # @return [Array<Google::Apis::OndemandscanningV1::File>]
1018
+ attr_accessor :files
1019
+
1015
1020
  # The last time this resource was scanned.
1016
1021
  # Corresponds to the JSON property `lastScanTime`
1017
1022
  # @return [String]
@@ -1035,6 +1040,7 @@ module Google
1035
1040
  @archive_time = args[:archive_time] if args.key?(:archive_time)
1036
1041
  @continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
1037
1042
  @cpe = args[:cpe] if args.key?(:cpe)
1043
+ @files = args[:files] if args.key?(:files)
1038
1044
  @last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
1039
1045
  @sbom_status = args[:sbom_status] if args.key?(:sbom_status)
1040
1046
  end
@@ -1115,6 +1121,31 @@ module Google
1115
1121
  end
1116
1122
  end
1117
1123
 
1124
+ #
1125
+ class File
1126
+ include Google::Apis::Core::Hashable
1127
+
1128
+ #
1129
+ # Corresponds to the JSON property `digest`
1130
+ # @return [Hash<String,String>]
1131
+ attr_accessor :digest
1132
+
1133
+ #
1134
+ # Corresponds to the JSON property `name`
1135
+ # @return [String]
1136
+ attr_accessor :name
1137
+
1138
+ def initialize(**args)
1139
+ update!(**args)
1140
+ end
1141
+
1142
+ # Update properties of this object
1143
+ def update!(**args)
1144
+ @digest = args[:digest] if args.key?(:digest)
1145
+ @name = args[:name] if args.key?(:name)
1146
+ end
1147
+ end
1148
+
1118
1149
  # Container message for hashes of byte content of files, used in source messages
1119
1150
  # to verify integrity of source input to the build.
1120
1151
  class FileHashes
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1
18
18
  # Version of the google-apis-ondemandscanning_v1 gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250505"
25
+ REVISION = "20250519"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class File
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class FileHashes
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -900,6 +906,8 @@ module Google
900
906
  property :archive_time, as: 'archiveTime'
901
907
  property :continuous_analysis, as: 'continuousAnalysis'
902
908
  property :cpe, as: 'cpe'
909
+ collection :files, as: 'files', class: Google::Apis::OndemandscanningV1::File, decorator: Google::Apis::OndemandscanningV1::File::Representation
910
+
903
911
  property :last_scan_time, as: 'lastScanTime'
904
912
  property :sbom_status, as: 'sbomStatus', class: Google::Apis::OndemandscanningV1::SbomStatus, decorator: Google::Apis::OndemandscanningV1::SbomStatus::Representation
905
913
 
@@ -930,6 +938,14 @@ module Google
930
938
  end
931
939
  end
932
940
 
941
+ class File
942
+ # @private
943
+ class Representation < Google::Apis::Core::JsonRepresentation
944
+ hash :digest, as: 'digest'
945
+ property :name, as: 'name'
946
+ end
947
+ end
948
+
933
949
  class FileHashes
934
950
  # @private
935
951
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.56.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for On-Demand Scanning API V1
79
79
  test_files: []