google-apis-containeranalysis_v1alpha1 0.70.0 → 0.71.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: 0e3ebe67cc6ef242218449f11286650a5b1274b3c11db3485b330e5e6880ed9e
4
- data.tar.gz: afd08623493f0b3472779cbfd3ad4dd2b0fcaa35e188136b2d98ca2b986407b3
3
+ metadata.gz: c348465ff2ab17b87ce5d3ad9aaf166cbd5aa99adc9b641ed5bead038723224e
4
+ data.tar.gz: fcbb1ca321793db8da5a4ec053287f91f68025bb50b2b966a768d400aaded636
5
5
  SHA512:
6
- metadata.gz: 00c65f052275689316cd18fceb1fca1f25cbd03e254a7c44361fa117e1d7e616328b0d35cfee99b5de50432b8c6ae63cf05eb5af875bf16624bb45a0eacb42b5
7
- data.tar.gz: ed2b118358d10146892839e4551edcbe6eebc5141376df83cc5b80b6eee7a0233606e56642bc9896406fd78348cbcb590df17a9b483e6b5f38aae6e4518bd9f6
6
+ metadata.gz: 23759d42f2e8901f547a81f2b12f8e609e6cf774718dd34b1fd082192f8cc372a10d22f6d63203995e6965c1155ab50cb27260f22109907d4ff19a499d2d4400
7
+ data.tar.gz: 19947b00de6d6e6f637304bfe5be8b0d3b0eb29c250d08a0ed0311330924721381bef799c9571bdadfd1e12c0d94271e9e251c695e7331b40b08889563c57964
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.71.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250509
6
+
3
7
  ### v0.70.0 (2025-05-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20250425
@@ -5360,6 +5360,11 @@ module Google
5360
5360
  # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote]
5361
5361
  attr_accessor :sbom_reference
5362
5362
 
5363
+ # The note representing a secret.
5364
+ # Corresponds to the JSON property `secret`
5365
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SecretNote]
5366
+ attr_accessor :secret
5367
+
5363
5368
  # A one sentence description of this `Note`.
5364
5369
  # Corresponds to the JSON property `shortDescription`
5365
5370
  # @return [String]
@@ -5431,6 +5436,7 @@ module Google
5431
5436
  @related_url = args[:related_url] if args.key?(:related_url)
5432
5437
  @sbom = args[:sbom] if args.key?(:sbom)
5433
5438
  @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5439
+ @secret = args[:secret] if args.key?(:secret)
5434
5440
  @short_description = args[:short_description] if args.key?(:short_description)
5435
5441
  @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
5436
5442
  @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
@@ -5555,6 +5561,11 @@ module Google
5555
5561
  # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence]
5556
5562
  attr_accessor :sbom_reference
5557
5563
 
5564
+ # The occurrence provides details of a secret.
5565
+ # Corresponds to the JSON property `secret`
5566
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SecretOccurrence]
5567
+ attr_accessor :secret
5568
+
5558
5569
  # FileOccurrence represents an SPDX File Information section: https://spdx.
5559
5570
  # github.io/spdx-spec/4-file-information/
5560
5571
  # Corresponds to the JSON property `spdxFile`
@@ -5615,6 +5626,7 @@ module Google
5615
5626
  @resource_url = args[:resource_url] if args.key?(:resource_url)
5616
5627
  @sbom = args[:sbom] if args.key?(:sbom)
5617
5628
  @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5629
+ @secret = args[:secret] if args.key?(:secret)
5618
5630
  @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
5619
5631
  @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
5620
5632
  @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
@@ -6829,6 +6841,100 @@ module Google
6829
6841
  end
6830
6842
  end
6831
6843
 
6844
+ # The location of the secret.
6845
+ class SecretLocation
6846
+ include Google::Apis::Core::Hashable
6847
+
6848
+ # Indicates the location at which a package was found.
6849
+ # Corresponds to the JSON property `fileLocation`
6850
+ # @return [Google::Apis::ContaineranalysisV1alpha1::FileLocation]
6851
+ attr_accessor :file_location
6852
+
6853
+ def initialize(**args)
6854
+ update!(**args)
6855
+ end
6856
+
6857
+ # Update properties of this object
6858
+ def update!(**args)
6859
+ @file_location = args[:file_location] if args.key?(:file_location)
6860
+ end
6861
+ end
6862
+
6863
+ # The note representing a secret.
6864
+ class SecretNote
6865
+ include Google::Apis::Core::Hashable
6866
+
6867
+ def initialize(**args)
6868
+ update!(**args)
6869
+ end
6870
+
6871
+ # Update properties of this object
6872
+ def update!(**args)
6873
+ end
6874
+ end
6875
+
6876
+ # The occurrence provides details of a secret.
6877
+ class SecretOccurrence
6878
+ include Google::Apis::Core::Hashable
6879
+
6880
+ # Required. Type of secret.
6881
+ # Corresponds to the JSON property `kind`
6882
+ # @return [String]
6883
+ attr_accessor :kind
6884
+
6885
+ # Optional. Locations where the secret is detected.
6886
+ # Corresponds to the JSON property `locations`
6887
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::SecretLocation>]
6888
+ attr_accessor :locations
6889
+
6890
+ # Optional. Status of the secret.
6891
+ # Corresponds to the JSON property `statuses`
6892
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::SecretStatus>]
6893
+ attr_accessor :statuses
6894
+
6895
+ def initialize(**args)
6896
+ update!(**args)
6897
+ end
6898
+
6899
+ # Update properties of this object
6900
+ def update!(**args)
6901
+ @kind = args[:kind] if args.key?(:kind)
6902
+ @locations = args[:locations] if args.key?(:locations)
6903
+ @statuses = args[:statuses] if args.key?(:statuses)
6904
+ end
6905
+ end
6906
+
6907
+ # The status of the secret with a timestamp.
6908
+ class SecretStatus
6909
+ include Google::Apis::Core::Hashable
6910
+
6911
+ # Optional. Optional message about the status code.
6912
+ # Corresponds to the JSON property `message`
6913
+ # @return [String]
6914
+ attr_accessor :message
6915
+
6916
+ # Optional. The status of the secret.
6917
+ # Corresponds to the JSON property `status`
6918
+ # @return [String]
6919
+ attr_accessor :status
6920
+
6921
+ # Optional. The time the secret status was last updated.
6922
+ # Corresponds to the JSON property `updateTime`
6923
+ # @return [String]
6924
+ attr_accessor :update_time
6925
+
6926
+ def initialize(**args)
6927
+ update!(**args)
6928
+ end
6929
+
6930
+ # Update properties of this object
6931
+ def update!(**args)
6932
+ @message = args[:message] if args.key?(:message)
6933
+ @status = args[:status] if args.key?(:status)
6934
+ @update_time = args[:update_time] if args.key?(:update_time)
6935
+ end
6936
+ end
6937
+
6832
6938
  # Request message for `SetIamPolicy` method.
6833
6939
  class SetIamPolicyRequest
6834
6940
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.70.0"
19
+ GEM_VERSION = "0.71.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
@@ -934,6 +934,30 @@ module Google
934
934
  include Google::Apis::Core::JsonObjectSupport
935
935
  end
936
936
 
937
+ class SecretLocation
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
943
+ class SecretNote
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
949
+ class SecretOccurrence
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
955
+ class SecretStatus
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
937
961
  class SetIamPolicyRequest
938
962
  class Representation < Google::Apis::Core::JsonRepresentation; end
939
963
 
@@ -2519,6 +2543,8 @@ module Google
2519
2543
 
2520
2544
  property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote::Representation
2521
2545
 
2546
+ property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1alpha1::SecretNote, decorator: Google::Apis::ContaineranalysisV1alpha1::SecretNote::Representation
2547
+
2522
2548
  property :short_description, as: 'shortDescription'
2523
2549
  property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileNote, decorator: Google::Apis::ContaineranalysisV1alpha1::FileNote::Representation
2524
2550
 
@@ -2569,6 +2595,8 @@ module Google
2569
2595
 
2570
2596
  property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence::Representation
2571
2597
 
2598
+ property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1alpha1::SecretOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::SecretOccurrence::Representation
2599
+
2572
2600
  property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence::Representation
2573
2601
 
2574
2602
  property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence::Representation
@@ -2871,6 +2899,40 @@ module Google
2871
2899
  end
2872
2900
  end
2873
2901
 
2902
+ class SecretLocation
2903
+ # @private
2904
+ class Representation < Google::Apis::Core::JsonRepresentation
2905
+ property :file_location, as: 'fileLocation', class: Google::Apis::ContaineranalysisV1alpha1::FileLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::FileLocation::Representation
2906
+
2907
+ end
2908
+ end
2909
+
2910
+ class SecretNote
2911
+ # @private
2912
+ class Representation < Google::Apis::Core::JsonRepresentation
2913
+ end
2914
+ end
2915
+
2916
+ class SecretOccurrence
2917
+ # @private
2918
+ class Representation < Google::Apis::Core::JsonRepresentation
2919
+ property :kind, as: 'kind'
2920
+ collection :locations, as: 'locations', class: Google::Apis::ContaineranalysisV1alpha1::SecretLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::SecretLocation::Representation
2921
+
2922
+ collection :statuses, as: 'statuses', class: Google::Apis::ContaineranalysisV1alpha1::SecretStatus, decorator: Google::Apis::ContaineranalysisV1alpha1::SecretStatus::Representation
2923
+
2924
+ end
2925
+ end
2926
+
2927
+ class SecretStatus
2928
+ # @private
2929
+ class Representation < Google::Apis::Core::JsonRepresentation
2930
+ property :message, as: 'message'
2931
+ property :status, as: 'status'
2932
+ property :update_time, as: 'updateTime'
2933
+ end
2934
+ end
2935
+
2874
2936
  class SetIamPolicyRequest
2875
2937
  # @private
2876
2938
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.71.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_v1alpha1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.70.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.71.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
62
62
  rdoc_options: []
63
63
  require_paths: