google-apis-containeranalysis_v1alpha1 0.70.0 → 0.72.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: 558a03df86f8c3dfce257daf870bc39bdaef9e66b1905b0fe46b9e029d844851
4
+ data.tar.gz: 2df0cc95fc62c9d13ad6a05cd23670636b40f063ff81302d78080548a5eadbb9
5
5
  SHA512:
6
- metadata.gz: 00c65f052275689316cd18fceb1fca1f25cbd03e254a7c44361fa117e1d7e616328b0d35cfee99b5de50432b8c6ae63cf05eb5af875bf16624bb45a0eacb42b5
7
- data.tar.gz: ed2b118358d10146892839e4551edcbe6eebc5141376df83cc5b80b6eee7a0233606e56642bc9896406fd78348cbcb590df17a9b483e6b5f38aae6e4518bd9f6
6
+ metadata.gz: a9e984e78ce3b3f851b310cd83ba703e82596c918d1aec1bb694b07859f04eafd5b5f29baf5adb2bf3c6ec8c6d4064a0ac4af41698fef914bb53dc3fe50675f4
7
+ data.tar.gz: c047f4824b4eb412fb179b4d19f96197bad15d746cb8140fa3c6324478df63b66eb7d347700a201211abcf4e833aba2c7063ab41435db19420dda481629db64c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.72.0 (2025-06-08)
4
+
5
+ * Regenerated from discovery document revision 20250528
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.71.0 (2025-05-18)
9
+
10
+ * Regenerated from discovery document revision 20250509
11
+
3
12
  ### v0.70.0 (2025-05-04)
4
13
 
5
14
  * Regenerated from discovery document revision 20250425
@@ -2364,9 +2364,8 @@ module Google
2364
2364
  class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
2365
2365
  include Google::Apis::Core::Hashable
2366
2366
 
2367
- # The Developer Connect Git repository link or the url that matches a repository
2368
- # link in the current project, formatted as `projects/*/locations/*/connections/*
2369
- # /gitRepositoryLink/*`
2367
+ # The Developer Connect Git repository link formatted as `projects/*/locations/*/
2368
+ # connections/*/gitRepositoryLink/*`
2370
2369
  # Corresponds to the JSON property `developerConnect`
2371
2370
  # @return [String]
2372
2371
  attr_accessor :developer_connect
@@ -3566,6 +3565,11 @@ module Google
3566
3565
  # @return [String]
3567
3566
  attr_accessor :cpe
3568
3567
 
3568
+ # Optional. Files that make up the resource described by the occurrence.
3569
+ # Corresponds to the JSON property `files`
3570
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::File>]
3571
+ attr_accessor :files
3572
+
3569
3573
  # The last time this resource was scanned.
3570
3574
  # Corresponds to the JSON property `lastScanTime`
3571
3575
  # @return [String]
@@ -3600,6 +3604,7 @@ module Google
3600
3604
  @archive_time = args[:archive_time] if args.key?(:archive_time)
3601
3605
  @continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
3602
3606
  @cpe = args[:cpe] if args.key?(:cpe)
3607
+ @files = args[:files] if args.key?(:files)
3603
3608
  @last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
3604
3609
  @operation = args[:operation] if args.key?(:operation)
3605
3610
  @sbom_status = args[:sbom_status] if args.key?(:sbom_status)
@@ -3962,6 +3967,31 @@ module Google
3962
3967
  end
3963
3968
  end
3964
3969
 
3970
+ # A file as part of a resource.
3971
+ class File
3972
+ include Google::Apis::Core::Hashable
3973
+
3974
+ # Optional. The digest(s) of the file.
3975
+ # Corresponds to the JSON property `digest`
3976
+ # @return [Hash<String,String>]
3977
+ attr_accessor :digest
3978
+
3979
+ # Optional. The name of the file.
3980
+ # Corresponds to the JSON property `name`
3981
+ # @return [String]
3982
+ attr_accessor :name
3983
+
3984
+ def initialize(**args)
3985
+ update!(**args)
3986
+ end
3987
+
3988
+ # Update properties of this object
3989
+ def update!(**args)
3990
+ @digest = args[:digest] if args.key?(:digest)
3991
+ @name = args[:name] if args.key?(:name)
3992
+ end
3993
+ end
3994
+
3965
3995
  # Container message for hashes of byte content of files, used in Source messages
3966
3996
  # to verify integrity of source input to the build.
3967
3997
  class FileHashes
@@ -5360,6 +5390,11 @@ module Google
5360
5390
  # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote]
5361
5391
  attr_accessor :sbom_reference
5362
5392
 
5393
+ # The note representing a secret.
5394
+ # Corresponds to the JSON property `secret`
5395
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SecretNote]
5396
+ attr_accessor :secret
5397
+
5363
5398
  # A one sentence description of this `Note`.
5364
5399
  # Corresponds to the JSON property `shortDescription`
5365
5400
  # @return [String]
@@ -5431,6 +5466,7 @@ module Google
5431
5466
  @related_url = args[:related_url] if args.key?(:related_url)
5432
5467
  @sbom = args[:sbom] if args.key?(:sbom)
5433
5468
  @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5469
+ @secret = args[:secret] if args.key?(:secret)
5434
5470
  @short_description = args[:short_description] if args.key?(:short_description)
5435
5471
  @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
5436
5472
  @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
@@ -5555,6 +5591,11 @@ module Google
5555
5591
  # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence]
5556
5592
  attr_accessor :sbom_reference
5557
5593
 
5594
+ # The occurrence provides details of a secret.
5595
+ # Corresponds to the JSON property `secret`
5596
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SecretOccurrence]
5597
+ attr_accessor :secret
5598
+
5558
5599
  # FileOccurrence represents an SPDX File Information section: https://spdx.
5559
5600
  # github.io/spdx-spec/4-file-information/
5560
5601
  # Corresponds to the JSON property `spdxFile`
@@ -5615,6 +5656,7 @@ module Google
5615
5656
  @resource_url = args[:resource_url] if args.key?(:resource_url)
5616
5657
  @sbom = args[:sbom] if args.key?(:sbom)
5617
5658
  @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5659
+ @secret = args[:secret] if args.key?(:secret)
5618
5660
  @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
5619
5661
  @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
5620
5662
  @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
@@ -6829,6 +6871,100 @@ module Google
6829
6871
  end
6830
6872
  end
6831
6873
 
6874
+ # The location of the secret.
6875
+ class SecretLocation
6876
+ include Google::Apis::Core::Hashable
6877
+
6878
+ # Indicates the location at which a package was found.
6879
+ # Corresponds to the JSON property `fileLocation`
6880
+ # @return [Google::Apis::ContaineranalysisV1alpha1::FileLocation]
6881
+ attr_accessor :file_location
6882
+
6883
+ def initialize(**args)
6884
+ update!(**args)
6885
+ end
6886
+
6887
+ # Update properties of this object
6888
+ def update!(**args)
6889
+ @file_location = args[:file_location] if args.key?(:file_location)
6890
+ end
6891
+ end
6892
+
6893
+ # The note representing a secret.
6894
+ class SecretNote
6895
+ include Google::Apis::Core::Hashable
6896
+
6897
+ def initialize(**args)
6898
+ update!(**args)
6899
+ end
6900
+
6901
+ # Update properties of this object
6902
+ def update!(**args)
6903
+ end
6904
+ end
6905
+
6906
+ # The occurrence provides details of a secret.
6907
+ class SecretOccurrence
6908
+ include Google::Apis::Core::Hashable
6909
+
6910
+ # Required. Type of secret.
6911
+ # Corresponds to the JSON property `kind`
6912
+ # @return [String]
6913
+ attr_accessor :kind
6914
+
6915
+ # Optional. Locations where the secret is detected.
6916
+ # Corresponds to the JSON property `locations`
6917
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::SecretLocation>]
6918
+ attr_accessor :locations
6919
+
6920
+ # Optional. Status of the secret.
6921
+ # Corresponds to the JSON property `statuses`
6922
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::SecretStatus>]
6923
+ attr_accessor :statuses
6924
+
6925
+ def initialize(**args)
6926
+ update!(**args)
6927
+ end
6928
+
6929
+ # Update properties of this object
6930
+ def update!(**args)
6931
+ @kind = args[:kind] if args.key?(:kind)
6932
+ @locations = args[:locations] if args.key?(:locations)
6933
+ @statuses = args[:statuses] if args.key?(:statuses)
6934
+ end
6935
+ end
6936
+
6937
+ # The status of the secret with a timestamp.
6938
+ class SecretStatus
6939
+ include Google::Apis::Core::Hashable
6940
+
6941
+ # Optional. Optional message about the status code.
6942
+ # Corresponds to the JSON property `message`
6943
+ # @return [String]
6944
+ attr_accessor :message
6945
+
6946
+ # Optional. The status of the secret.
6947
+ # Corresponds to the JSON property `status`
6948
+ # @return [String]
6949
+ attr_accessor :status
6950
+
6951
+ # Optional. The time the secret status was last updated.
6952
+ # Corresponds to the JSON property `updateTime`
6953
+ # @return [String]
6954
+ attr_accessor :update_time
6955
+
6956
+ def initialize(**args)
6957
+ update!(**args)
6958
+ end
6959
+
6960
+ # Update properties of this object
6961
+ def update!(**args)
6962
+ @message = args[:message] if args.key?(:message)
6963
+ @status = args[:status] if args.key?(:status)
6964
+ @update_time = args[:update_time] if args.key?(:update_time)
6965
+ end
6966
+ end
6967
+
6832
6968
  # Request message for `SetIamPolicy` method.
6833
6969
  class SetIamPolicyRequest
6834
6970
  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.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250425"
25
+ REVISION = "20250528"
26
26
  end
27
27
  end
28
28
  end
@@ -532,6 +532,12 @@ module Google
532
532
  include Google::Apis::Core::JsonObjectSupport
533
533
  end
534
534
 
535
+ class File
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
535
541
  class FileHashes
536
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
543
 
@@ -934,6 +940,30 @@ module Google
934
940
  include Google::Apis::Core::JsonObjectSupport
935
941
  end
936
942
 
943
+ class SecretLocation
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
949
+ class SecretNote
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
955
+ class SecretOccurrence
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
961
+ class SecretStatus
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
937
967
  class SetIamPolicyRequest
938
968
  class Representation < Google::Apis::Core::JsonRepresentation; end
939
969
 
@@ -2005,6 +2035,8 @@ module Google
2005
2035
  property :archive_time, as: 'archiveTime'
2006
2036
  property :continuous_analysis, as: 'continuousAnalysis'
2007
2037
  property :cpe, as: 'cpe'
2038
+ collection :files, as: 'files', class: Google::Apis::ContaineranalysisV1alpha1::File, decorator: Google::Apis::ContaineranalysisV1alpha1::File::Representation
2039
+
2008
2040
  property :last_scan_time, as: 'lastScanTime'
2009
2041
  property :operation, as: 'operation', class: Google::Apis::ContaineranalysisV1alpha1::Operation, decorator: Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
2010
2042
 
@@ -2102,6 +2134,14 @@ module Google
2102
2134
  end
2103
2135
  end
2104
2136
 
2137
+ class File
2138
+ # @private
2139
+ class Representation < Google::Apis::Core::JsonRepresentation
2140
+ hash :digest, as: 'digest'
2141
+ property :name, as: 'name'
2142
+ end
2143
+ end
2144
+
2105
2145
  class FileHashes
2106
2146
  # @private
2107
2147
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2519,6 +2559,8 @@ module Google
2519
2559
 
2520
2560
  property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote::Representation
2521
2561
 
2562
+ property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1alpha1::SecretNote, decorator: Google::Apis::ContaineranalysisV1alpha1::SecretNote::Representation
2563
+
2522
2564
  property :short_description, as: 'shortDescription'
2523
2565
  property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileNote, decorator: Google::Apis::ContaineranalysisV1alpha1::FileNote::Representation
2524
2566
 
@@ -2569,6 +2611,8 @@ module Google
2569
2611
 
2570
2612
  property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence::Representation
2571
2613
 
2614
+ property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1alpha1::SecretOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::SecretOccurrence::Representation
2615
+
2572
2616
  property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence::Representation
2573
2617
 
2574
2618
  property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence::Representation
@@ -2871,6 +2915,40 @@ module Google
2871
2915
  end
2872
2916
  end
2873
2917
 
2918
+ class SecretLocation
2919
+ # @private
2920
+ class Representation < Google::Apis::Core::JsonRepresentation
2921
+ property :file_location, as: 'fileLocation', class: Google::Apis::ContaineranalysisV1alpha1::FileLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::FileLocation::Representation
2922
+
2923
+ end
2924
+ end
2925
+
2926
+ class SecretNote
2927
+ # @private
2928
+ class Representation < Google::Apis::Core::JsonRepresentation
2929
+ end
2930
+ end
2931
+
2932
+ class SecretOccurrence
2933
+ # @private
2934
+ class Representation < Google::Apis::Core::JsonRepresentation
2935
+ property :kind, as: 'kind'
2936
+ collection :locations, as: 'locations', class: Google::Apis::ContaineranalysisV1alpha1::SecretLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::SecretLocation::Representation
2937
+
2938
+ collection :statuses, as: 'statuses', class: Google::Apis::ContaineranalysisV1alpha1::SecretStatus, decorator: Google::Apis::ContaineranalysisV1alpha1::SecretStatus::Representation
2939
+
2940
+ end
2941
+ end
2942
+
2943
+ class SecretStatus
2944
+ # @private
2945
+ class Representation < Google::Apis::Core::JsonRepresentation
2946
+ property :message, as: 'message'
2947
+ property :status, as: 'status'
2948
+ property :update_time, as: 'updateTime'
2949
+ end
2950
+ end
2951
+
2874
2952
  class SetIamPolicyRequest
2875
2953
  # @private
2876
2954
  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.72.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.72.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:
@@ -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 Container Analysis API V1alpha1
79
79
  test_files: []