google-apis-containeranalysis_v1 0.58.0 → 0.59.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: 992fe4eea2cb9ab0c98777810fb00b82924522f4cf6a83b13e23b6d50d97d7db
4
- data.tar.gz: 3769cd5fc4749cbe5a7f578c321f62b6f3f00963eab709a8bc8d138e8606c103
3
+ metadata.gz: 460cd286d8b095f510c03202dd11f773d928f28406eaaed66ff718ce8c4646a1
4
+ data.tar.gz: 7e5f0ad65c7631456d731f1dbfd06a1eb51555e71074fb2329b536ad878b8d51
5
5
  SHA512:
6
- metadata.gz: 0c79d727699b4a2dca0ccd44b8f99e9bd85cd7bf70518211fad92eed3582d160e4542f4140859af954d41f1ad7c20e10c9e422b8f8f527c2a7975844024c9f55
7
- data.tar.gz: 35cb67883dbca45a8aee8a5e42903dded6c4b7f0e8c8b11c18009b6eedcba24c947b0c1171390da004a09b98c8705d323aacaaf21a474bf7a17d1c31faa9985f
6
+ metadata.gz: e4754c4815b4f559474a5061f242335b94695e15ce9c7a7af1c872aa2148b9c76f48ec6492e71357ab7f70fcbcfda7d1e3b7a752fe1391264acb6804d7a77816
7
+ data.tar.gz: 5685a6df3f4c6b082bc683ba2c89018a11d32e2fb7719612b0fb96fcb1bbee86e663378c1e0557f9d0225d993efa7674fb3d90ab23c770a813f358b2ec99c486
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.59.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250509
6
+
3
7
  ### v0.58.0 (2025-05-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20250425
@@ -4766,6 +4766,12 @@ module Google
4766
4766
  # @return [Array<Google::Apis::ContaineranalysisV1::BaseImage>]
4767
4767
  attr_accessor :base_images
4768
4768
 
4769
+ # The layer chain ID (sha256 hash) of the layer in the container image. https://
4770
+ # github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
4771
+ # Corresponds to the JSON property `chainId`
4772
+ # @return [String]
4773
+ attr_accessor :chain_id
4774
+
4769
4775
  # The layer build command that was used to build the layer. This may not be
4770
4776
  # found in all layers depending on how the container image is built.
4771
4777
  # Corresponds to the JSON property `command`
@@ -4789,6 +4795,7 @@ module Google
4789
4795
  # Update properties of this object
4790
4796
  def update!(**args)
4791
4797
  @base_images = args[:base_images] if args.key?(:base_images)
4798
+ @chain_id = args[:chain_id] if args.key?(:chain_id)
4792
4799
  @command = args[:command] if args.key?(:command)
4793
4800
  @diff_id = args[:diff_id] if args.key?(:diff_id)
4794
4801
  @index = args[:index] if args.key?(:index)
@@ -5138,6 +5145,11 @@ module Google
5138
5145
  # @return [Google::Apis::ContaineranalysisV1::SbomReferenceNote]
5139
5146
  attr_accessor :sbom_reference
5140
5147
 
5148
+ # The note representing a secret.
5149
+ # Corresponds to the JSON property `secret`
5150
+ # @return [Google::Apis::ContaineranalysisV1::SecretNote]
5151
+ attr_accessor :secret
5152
+
5141
5153
  # A one sentence description of this note.
5142
5154
  # Corresponds to the JSON property `shortDescription`
5143
5155
  # @return [String]
@@ -5190,6 +5202,7 @@ module Google
5190
5202
  @related_note_names = args[:related_note_names] if args.key?(:related_note_names)
5191
5203
  @related_url = args[:related_url] if args.key?(:related_url)
5192
5204
  @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5205
+ @secret = args[:secret] if args.key?(:secret)
5193
5206
  @short_description = args[:short_description] if args.key?(:short_description)
5194
5207
  @update_time = args[:update_time] if args.key?(:update_time)
5195
5208
  @upgrade = args[:upgrade] if args.key?(:upgrade)
@@ -5300,6 +5313,11 @@ module Google
5300
5313
  # @return [Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence]
5301
5314
  attr_accessor :sbom_reference
5302
5315
 
5316
+ # The occurrence provides details of a secret.
5317
+ # Corresponds to the JSON property `secret`
5318
+ # @return [Google::Apis::ContaineranalysisV1::SecretOccurrence]
5319
+ attr_accessor :secret
5320
+
5303
5321
  # Output only. The time this occurrence was last updated.
5304
5322
  # Corresponds to the JSON property `updateTime`
5305
5323
  # @return [String]
@@ -5341,6 +5359,7 @@ module Google
5341
5359
  @remediation = args[:remediation] if args.key?(:remediation)
5342
5360
  @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
5343
5361
  @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5362
+ @secret = args[:secret] if args.key?(:secret)
5344
5363
  @update_time = args[:update_time] if args.key?(:update_time)
5345
5364
  @upgrade = args[:upgrade] if args.key?(:upgrade)
5346
5365
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
@@ -6181,6 +6200,100 @@ module Google
6181
6200
  end
6182
6201
  end
6183
6202
 
6203
+ # The location of the secret.
6204
+ class SecretLocation
6205
+ include Google::Apis::Core::Hashable
6206
+
6207
+ # Indicates the location at which a package was found.
6208
+ # Corresponds to the JSON property `fileLocation`
6209
+ # @return [Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation]
6210
+ attr_accessor :file_location
6211
+
6212
+ def initialize(**args)
6213
+ update!(**args)
6214
+ end
6215
+
6216
+ # Update properties of this object
6217
+ def update!(**args)
6218
+ @file_location = args[:file_location] if args.key?(:file_location)
6219
+ end
6220
+ end
6221
+
6222
+ # The note representing a secret.
6223
+ class SecretNote
6224
+ include Google::Apis::Core::Hashable
6225
+
6226
+ def initialize(**args)
6227
+ update!(**args)
6228
+ end
6229
+
6230
+ # Update properties of this object
6231
+ def update!(**args)
6232
+ end
6233
+ end
6234
+
6235
+ # The occurrence provides details of a secret.
6236
+ class SecretOccurrence
6237
+ include Google::Apis::Core::Hashable
6238
+
6239
+ # Required. Type of secret.
6240
+ # Corresponds to the JSON property `kind`
6241
+ # @return [String]
6242
+ attr_accessor :kind
6243
+
6244
+ # Optional. Locations where the secret is detected.
6245
+ # Corresponds to the JSON property `locations`
6246
+ # @return [Array<Google::Apis::ContaineranalysisV1::SecretLocation>]
6247
+ attr_accessor :locations
6248
+
6249
+ # Optional. Status of the secret.
6250
+ # Corresponds to the JSON property `statuses`
6251
+ # @return [Array<Google::Apis::ContaineranalysisV1::SecretStatus>]
6252
+ attr_accessor :statuses
6253
+
6254
+ def initialize(**args)
6255
+ update!(**args)
6256
+ end
6257
+
6258
+ # Update properties of this object
6259
+ def update!(**args)
6260
+ @kind = args[:kind] if args.key?(:kind)
6261
+ @locations = args[:locations] if args.key?(:locations)
6262
+ @statuses = args[:statuses] if args.key?(:statuses)
6263
+ end
6264
+ end
6265
+
6266
+ # The status of the secret with a timestamp.
6267
+ class SecretStatus
6268
+ include Google::Apis::Core::Hashable
6269
+
6270
+ # Optional. Optional message about the status code.
6271
+ # Corresponds to the JSON property `message`
6272
+ # @return [String]
6273
+ attr_accessor :message
6274
+
6275
+ # Optional. The status of the secret.
6276
+ # Corresponds to the JSON property `status`
6277
+ # @return [String]
6278
+ attr_accessor :status
6279
+
6280
+ # Optional. The time the secret status was last updated.
6281
+ # Corresponds to the JSON property `updateTime`
6282
+ # @return [String]
6283
+ attr_accessor :update_time
6284
+
6285
+ def initialize(**args)
6286
+ update!(**args)
6287
+ end
6288
+
6289
+ # Update properties of this object
6290
+ def update!(**args)
6291
+ @message = args[:message] if args.key?(:message)
6292
+ @status = args[:status] if args.key?(:status)
6293
+ @update_time = args[:update_time] if args.key?(:update_time)
6294
+ end
6295
+ end
6296
+
6184
6297
  # Request message for `SetIamPolicy` method.
6185
6298
  class SetIamPolicyRequest
6186
6299
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 gem
19
- GEM_VERSION = "0.58.0"
19
+ GEM_VERSION = "0.59.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 = "20250425"
25
+ REVISION = "20250509"
26
26
  end
27
27
  end
28
28
  end
@@ -892,6 +892,30 @@ module Google
892
892
  include Google::Apis::Core::JsonObjectSupport
893
893
  end
894
894
 
895
+ class SecretLocation
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class SecretNote
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class SecretOccurrence
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
913
+ class SecretStatus
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
895
919
  class SetIamPolicyRequest
896
920
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
921
 
@@ -2324,6 +2348,7 @@ module Google
2324
2348
  class Representation < Google::Apis::Core::JsonRepresentation
2325
2349
  collection :base_images, as: 'baseImages', class: Google::Apis::ContaineranalysisV1::BaseImage, decorator: Google::Apis::ContaineranalysisV1::BaseImage::Representation
2326
2350
 
2351
+ property :chain_id, as: 'chainId'
2327
2352
  property :command, as: 'command'
2328
2353
  property :diff_id, as: 'diffId'
2329
2354
  property :index, as: 'index'
@@ -2433,6 +2458,8 @@ module Google
2433
2458
 
2434
2459
  property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1::SbomReferenceNote::Representation
2435
2460
 
2461
+ property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1::SecretNote, decorator: Google::Apis::ContaineranalysisV1::SecretNote::Representation
2462
+
2436
2463
  property :short_description, as: 'shortDescription'
2437
2464
  property :update_time, as: 'updateTime'
2438
2465
  property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1::UpgradeNote, decorator: Google::Apis::ContaineranalysisV1::UpgradeNote::Representation
@@ -2473,6 +2500,8 @@ module Google
2473
2500
  property :resource_uri, as: 'resourceUri'
2474
2501
  property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence::Representation
2475
2502
 
2503
+ property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1::SecretOccurrence, decorator: Google::Apis::ContaineranalysisV1::SecretOccurrence::Representation
2504
+
2476
2505
  property :update_time, as: 'updateTime'
2477
2506
  property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1::UpgradeOccurrence, decorator: Google::Apis::ContaineranalysisV1::UpgradeOccurrence::Representation
2478
2507
 
@@ -2695,6 +2724,40 @@ module Google
2695
2724
  end
2696
2725
  end
2697
2726
 
2727
+ class SecretLocation
2728
+ # @private
2729
+ class Representation < Google::Apis::Core::JsonRepresentation
2730
+ property :file_location, as: 'fileLocation', class: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation::Representation
2731
+
2732
+ end
2733
+ end
2734
+
2735
+ class SecretNote
2736
+ # @private
2737
+ class Representation < Google::Apis::Core::JsonRepresentation
2738
+ end
2739
+ end
2740
+
2741
+ class SecretOccurrence
2742
+ # @private
2743
+ class Representation < Google::Apis::Core::JsonRepresentation
2744
+ property :kind, as: 'kind'
2745
+ collection :locations, as: 'locations', class: Google::Apis::ContaineranalysisV1::SecretLocation, decorator: Google::Apis::ContaineranalysisV1::SecretLocation::Representation
2746
+
2747
+ collection :statuses, as: 'statuses', class: Google::Apis::ContaineranalysisV1::SecretStatus, decorator: Google::Apis::ContaineranalysisV1::SecretStatus::Representation
2748
+
2749
+ end
2750
+ end
2751
+
2752
+ class SecretStatus
2753
+ # @private
2754
+ class Representation < Google::Apis::Core::JsonRepresentation
2755
+ property :message, as: 'message'
2756
+ property :status, as: 'status'
2757
+ property :update_time, as: 'updateTime'
2758
+ end
2759
+ end
2760
+
2698
2761
  class SetIamPolicyRequest
2699
2762
  # @private
2700
2763
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.59.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-containeranalysis_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.58.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.59.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
62
62
  rdoc_options: []
63
63
  require_paths: