google-apis-containeranalysis_v1beta1 0.67.0 → 0.68.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: 4a1a0431f6b30c831ed6eeb3c965ea053231930b83f74979348e3dc5de0af983
4
- data.tar.gz: f4959f6bc8ac28004b929497561eda4e66a42b0a779a1b65acc36eb7cea0003b
3
+ metadata.gz: 831b1eae3d26e16a731e893cc2aaf5779d835c3c32e026982a69e2753f1e2524
4
+ data.tar.gz: 63a68d84e20b7c3d6f8b7f845f230cdba7ee8be578154e4660faee69b9d2223d
5
5
  SHA512:
6
- metadata.gz: 66abc511053330b26bc22cd8494f23f62100a40518d6d4c53f2bd9fafde8c948c921e07b55fd969251bf25e500c6e21ea6a2c6bce7d68f1c51f083287b259d31
7
- data.tar.gz: e86bc11c11399541cf98c987b81b60557aaa7b1ed281b84d51b15ee3d011da1b08435c3974932986dcec83eadd34d2977c77f02ae9d4f2ce1fc476b2b198875b
6
+ metadata.gz: a7525b506b16443b5cd2b7d90a67ae1759be801afef6c09b44e843d39e6dd343e35c7ebb7416efe2174c3c5b5a1131b2757e15ef5f31336884c92347391fc0db
7
+ data.tar.gz: 14ca071ab4135a8420fc7703c7ad3942e1394d2f8700aca614230260137386e3dc0bb435382340d779c5bd2f7aa280e92ed6e72e95a5d31bc3ccd7572d638568
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.68.0 (2025-09-14)
4
+
5
+ * Regenerated from discovery document revision 20250905
6
+
3
7
  ### v0.67.0 (2025-09-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20250829
@@ -3921,6 +3921,26 @@ module Google
3921
3921
  end
3922
3922
  end
3923
3923
 
3924
+ # Indicates the location at which a package was found.
3925
+ class FileLocation
3926
+ include Google::Apis::Core::Hashable
3927
+
3928
+ # For jars that are contained inside .war files, this filepath can indicate the
3929
+ # path to war file combined with the path to jar file.
3930
+ # Corresponds to the JSON property `filePath`
3931
+ # @return [String]
3932
+ attr_accessor :file_path
3933
+
3934
+ def initialize(**args)
3935
+ update!(**args)
3936
+ end
3937
+
3938
+ # Update properties of this object
3939
+ def update!(**args)
3940
+ @file_path = args[:file_path] if args.key?(:file_path)
3941
+ end
3942
+ end
3943
+
3924
3944
  # FileNote represents an SPDX File Information section: https://spdx.github.io/
3925
3945
  # spdx-spec/4-file-information/
3926
3946
  class FileNote
@@ -5211,6 +5231,11 @@ module Google
5211
5231
  # @return [Google::Apis::ContaineranalysisV1beta1::SbomReferenceNote]
5212
5232
  attr_accessor :sbom_reference
5213
5233
 
5234
+ # The note representing a secret.
5235
+ # Corresponds to the JSON property `secret`
5236
+ # @return [Google::Apis::ContaineranalysisV1beta1::SecretNote]
5237
+ attr_accessor :secret
5238
+
5214
5239
  # A one sentence description of this note.
5215
5240
  # Corresponds to the JSON property `shortDescription`
5216
5241
  # @return [String]
@@ -5273,6 +5298,7 @@ module Google
5273
5298
  @related_url = args[:related_url] if args.key?(:related_url)
5274
5299
  @sbom = args[:sbom] if args.key?(:sbom)
5275
5300
  @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5301
+ @secret = args[:secret] if args.key?(:secret)
5276
5302
  @short_description = args[:short_description] if args.key?(:short_description)
5277
5303
  @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
5278
5304
  @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
@@ -5377,6 +5403,11 @@ module Google
5377
5403
  # @return [Google::Apis::ContaineranalysisV1beta1::SbomReferenceOccurrence]
5378
5404
  attr_accessor :sbom_reference
5379
5405
 
5406
+ # The occurrence provides details of a secret.
5407
+ # Corresponds to the JSON property `secret`
5408
+ # @return [Google::Apis::ContaineranalysisV1beta1::SecretOccurrence]
5409
+ attr_accessor :secret
5410
+
5380
5411
  # FileOccurrence represents an SPDX File Information section: https://spdx.
5381
5412
  # github.io/spdx-spec/4-file-information/
5382
5413
  # Corresponds to the JSON property `spdxFile`
@@ -5427,6 +5458,7 @@ module Google
5427
5458
  @resource = args[:resource] if args.key?(:resource)
5428
5459
  @sbom = args[:sbom] if args.key?(:sbom)
5429
5460
  @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5461
+ @secret = args[:secret] if args.key?(:secret)
5430
5462
  @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
5431
5463
  @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
5432
5464
  @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
@@ -6503,6 +6535,100 @@ module Google
6503
6535
  end
6504
6536
  end
6505
6537
 
6538
+ # The location of the secret.
6539
+ class SecretLocation
6540
+ include Google::Apis::Core::Hashable
6541
+
6542
+ # Indicates the location at which a package was found.
6543
+ # Corresponds to the JSON property `fileLocation`
6544
+ # @return [Google::Apis::ContaineranalysisV1beta1::FileLocation]
6545
+ attr_accessor :file_location
6546
+
6547
+ def initialize(**args)
6548
+ update!(**args)
6549
+ end
6550
+
6551
+ # Update properties of this object
6552
+ def update!(**args)
6553
+ @file_location = args[:file_location] if args.key?(:file_location)
6554
+ end
6555
+ end
6556
+
6557
+ # The note representing a secret.
6558
+ class SecretNote
6559
+ include Google::Apis::Core::Hashable
6560
+
6561
+ def initialize(**args)
6562
+ update!(**args)
6563
+ end
6564
+
6565
+ # Update properties of this object
6566
+ def update!(**args)
6567
+ end
6568
+ end
6569
+
6570
+ # The occurrence provides details of a secret.
6571
+ class SecretOccurrence
6572
+ include Google::Apis::Core::Hashable
6573
+
6574
+ # Required. Type of secret.
6575
+ # Corresponds to the JSON property `kind`
6576
+ # @return [String]
6577
+ attr_accessor :kind
6578
+
6579
+ # Optional. Locations where the secret is detected.
6580
+ # Corresponds to the JSON property `locations`
6581
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::SecretLocation>]
6582
+ attr_accessor :locations
6583
+
6584
+ # Optional. Status of the secret.
6585
+ # Corresponds to the JSON property `statuses`
6586
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::SecretStatus>]
6587
+ attr_accessor :statuses
6588
+
6589
+ def initialize(**args)
6590
+ update!(**args)
6591
+ end
6592
+
6593
+ # Update properties of this object
6594
+ def update!(**args)
6595
+ @kind = args[:kind] if args.key?(:kind)
6596
+ @locations = args[:locations] if args.key?(:locations)
6597
+ @statuses = args[:statuses] if args.key?(:statuses)
6598
+ end
6599
+ end
6600
+
6601
+ # The status of the secret with a timestamp.
6602
+ class SecretStatus
6603
+ include Google::Apis::Core::Hashable
6604
+
6605
+ # Optional. Optional message about the status code.
6606
+ # Corresponds to the JSON property `message`
6607
+ # @return [String]
6608
+ attr_accessor :message
6609
+
6610
+ # Optional. The status of the secret.
6611
+ # Corresponds to the JSON property `status`
6612
+ # @return [String]
6613
+ attr_accessor :status
6614
+
6615
+ # Optional. The time the secret status was last updated.
6616
+ # Corresponds to the JSON property `updateTime`
6617
+ # @return [String]
6618
+ attr_accessor :update_time
6619
+
6620
+ def initialize(**args)
6621
+ update!(**args)
6622
+ end
6623
+
6624
+ # Update properties of this object
6625
+ def update!(**args)
6626
+ @message = args[:message] if args.key?(:message)
6627
+ @status = args[:status] if args.key?(:status)
6628
+ @update_time = args[:update_time] if args.key?(:update_time)
6629
+ end
6630
+ end
6631
+
6506
6632
  # Request message for `SetIamPolicy` method.
6507
6633
  class SetIamPolicyRequest
6508
6634
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1beta1
18
18
  # Version of the google-apis-containeranalysis_v1beta1 gem
19
- GEM_VERSION = "0.67.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250829"
25
+ REVISION = "20250905"
26
26
  end
27
27
  end
28
28
  end
@@ -550,6 +550,12 @@ module Google
550
550
  include Google::Apis::Core::JsonObjectSupport
551
551
  end
552
552
 
553
+ class FileLocation
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
553
559
  class FileNote
554
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
561
 
@@ -916,6 +922,30 @@ module Google
916
922
  include Google::Apis::Core::JsonObjectSupport
917
923
  end
918
924
 
925
+ class SecretLocation
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class SecretNote
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
937
+ class SecretOccurrence
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
943
+ class SecretStatus
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
919
949
  class SetIamPolicyRequest
920
950
  class Representation < Google::Apis::Core::JsonRepresentation; end
921
951
 
@@ -2032,6 +2062,13 @@ module Google
2032
2062
  end
2033
2063
  end
2034
2064
 
2065
+ class FileLocation
2066
+ # @private
2067
+ class Representation < Google::Apis::Core::JsonRepresentation
2068
+ property :file_path, as: 'filePath'
2069
+ end
2070
+ end
2071
+
2035
2072
  class FileNote
2036
2073
  # @private
2037
2074
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2409,6 +2446,8 @@ module Google
2409
2446
 
2410
2447
  property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1beta1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1beta1::SbomReferenceNote::Representation
2411
2448
 
2449
+ property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1beta1::SecretNote, decorator: Google::Apis::ContaineranalysisV1beta1::SecretNote::Representation
2450
+
2412
2451
  property :short_description, as: 'shortDescription'
2413
2452
  property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileNote, decorator: Google::Apis::ContaineranalysisV1beta1::FileNote::Representation
2414
2453
 
@@ -2454,6 +2493,8 @@ module Google
2454
2493
 
2455
2494
  property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1beta1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::SbomReferenceOccurrence::Representation
2456
2495
 
2496
+ property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1beta1::SecretOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::SecretOccurrence::Representation
2497
+
2457
2498
  property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::FileOccurrence::Representation
2458
2499
 
2459
2500
  property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence::Representation
@@ -2734,6 +2775,40 @@ module Google
2734
2775
  end
2735
2776
  end
2736
2777
 
2778
+ class SecretLocation
2779
+ # @private
2780
+ class Representation < Google::Apis::Core::JsonRepresentation
2781
+ property :file_location, as: 'fileLocation', class: Google::Apis::ContaineranalysisV1beta1::FileLocation, decorator: Google::Apis::ContaineranalysisV1beta1::FileLocation::Representation
2782
+
2783
+ end
2784
+ end
2785
+
2786
+ class SecretNote
2787
+ # @private
2788
+ class Representation < Google::Apis::Core::JsonRepresentation
2789
+ end
2790
+ end
2791
+
2792
+ class SecretOccurrence
2793
+ # @private
2794
+ class Representation < Google::Apis::Core::JsonRepresentation
2795
+ property :kind, as: 'kind'
2796
+ collection :locations, as: 'locations', class: Google::Apis::ContaineranalysisV1beta1::SecretLocation, decorator: Google::Apis::ContaineranalysisV1beta1::SecretLocation::Representation
2797
+
2798
+ collection :statuses, as: 'statuses', class: Google::Apis::ContaineranalysisV1beta1::SecretStatus, decorator: Google::Apis::ContaineranalysisV1beta1::SecretStatus::Representation
2799
+
2800
+ end
2801
+ end
2802
+
2803
+ class SecretStatus
2804
+ # @private
2805
+ class Representation < Google::Apis::Core::JsonRepresentation
2806
+ property :message, as: 'message'
2807
+ property :status, as: 'status'
2808
+ property :update_time, as: 'updateTime'
2809
+ end
2810
+ end
2811
+
2737
2812
  class SetIamPolicyRequest
2738
2813
  # @private
2739
2814
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.68.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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.67.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.68.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: