Skip to content

Commit 0c7ae2f

Browse files
feat: Automated regeneration of containeranalysis v1 client (googleapis#23372)
Auto-created at 2025-06-08 10:45:53 +0000 using the toys pull request generator.
1 parent 1c7316a commit 0c7ae2f

File tree

5 files changed

+63
-6
lines changed

5 files changed

+63
-6
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130491,6 +130491,8 @@
130491130491
"/containeranalysis:v1/DiscoveryOccurrence/archiveTime": archive_time
130492130492
"/containeranalysis:v1/DiscoveryOccurrence/continuousAnalysis": continuous_analysis
130493130493
"/containeranalysis:v1/DiscoveryOccurrence/cpe": cpe
130494+
"/containeranalysis:v1/DiscoveryOccurrence/files": files
130495+
"/containeranalysis:v1/DiscoveryOccurrence/files/file": file
130494130496
"/containeranalysis:v1/DiscoveryOccurrence/lastScanTime": last_scan_time
130495130497
"/containeranalysis:v1/DiscoveryOccurrence/sbomStatus": sbom_status
130496130498
"/containeranalysis:v1/DiscoveryOccurrence/vulnerabilityAttestation": vulnerability_attestation
@@ -130519,6 +130521,10 @@
130519130521
"/containeranalysis:v1/Expr/expression": expression
130520130522
"/containeranalysis:v1/Expr/location": location
130521130523
"/containeranalysis:v1/Expr/title": title
130524+
"/containeranalysis:v1/File": file
130525+
"/containeranalysis:v1/File/digest": digest
130526+
"/containeranalysis:v1/File/digest/digest": digest
130527+
"/containeranalysis:v1/File/name": name
130522130528
"/containeranalysis:v1/FileHashes": file_hashes
130523130529
"/containeranalysis:v1/FileHashes/fileHash": file_hash
130524130530
"/containeranalysis:v1/FileHashes/fileHash/file_hash": file_hash

generated/google-apis-containeranalysis_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-containeranalysis_v1
22

3+
### v0.60.0 (2025-06-08)
4+
5+
* Regenerated from discovery document revision 20250528
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.59.0 (2025-05-18)
49

510
* Regenerated from discovery document revision 20250509

generated/google-apis-containeranalysis_v1/lib/google/apis/containeranalysis_v1/classes.rb

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2513,9 +2513,8 @@ def update!(**args)
25132513
class ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository
25142514
include Google::Apis::Core::Hashable
25152515

2516-
# The Developer Connect Git repository link or the url that matches a repository
2517-
# link in the current project, formatted as `projects/*/locations/*/connections/*
2518-
# /gitRepositoryLink/*`
2516+
# The Developer Connect Git repository link formatted as `projects/*/locations/*/
2517+
# connections/*/gitRepositoryLink/*`
25192518
# Corresponds to the JSON property `developerConnect`
25202519
# @return [String]
25212520
attr_accessor :developer_connect
@@ -3686,6 +3685,11 @@ class DiscoveryOccurrence
36863685
# @return [String]
36873686
attr_accessor :cpe
36883687

3688+
# Files that make up the resource described by the occurrence.
3689+
# Corresponds to the JSON property `files`
3690+
# @return [Array<Google::Apis::ContaineranalysisV1::File>]
3691+
attr_accessor :files
3692+
36893693
# The last time this resource was scanned.
36903694
# Corresponds to the JSON property `lastScanTime`
36913695
# @return [String]
@@ -3709,6 +3713,7 @@ def update!(**args)
37093713
@archive_time = args[:archive_time] if args.key?(:archive_time)
37103714
@continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
37113715
@cpe = args[:cpe] if args.key?(:cpe)
3716+
@files = args[:files] if args.key?(:files)
37123717
@last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
37133718
@sbom_status = args[:sbom_status] if args.key?(:sbom_status)
37143719
end
@@ -3936,6 +3941,31 @@ def update!(**args)
39363941
end
39373942
end
39383943

3944+
#
3945+
class File
3946+
include Google::Apis::Core::Hashable
3947+
3948+
#
3949+
# Corresponds to the JSON property `digest`
3950+
# @return [Hash<String,String>]
3951+
attr_accessor :digest
3952+
3953+
#
3954+
# Corresponds to the JSON property `name`
3955+
# @return [String]
3956+
attr_accessor :name
3957+
3958+
def initialize(**args)
3959+
update!(**args)
3960+
end
3961+
3962+
# Update properties of this object
3963+
def update!(**args)
3964+
@digest = args[:digest] if args.key?(:digest)
3965+
@name = args[:name] if args.key?(:name)
3966+
end
3967+
end
3968+
39393969
# Container message for hashes of byte content of files, used in source messages
39403970
# to verify integrity of source input to the build.
39413971
class FileHashes

generated/google-apis-containeranalysis_v1/lib/google/apis/containeranalysis_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ContaineranalysisV1
1818
# Version of the google-apis-containeranalysis_v1 gem
19-
GEM_VERSION = "0.59.0"
19+
GEM_VERSION = "0.60.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250509"
25+
REVISION = "20250528"
2626
end
2727
end
2828
end

generated/google-apis-containeranalysis_v1/lib/google/apis/containeranalysis_v1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
550550
include Google::Apis::Core::JsonObjectSupport
551551
end
552552

553+
class File
554+
class Representation < Google::Apis::Core::JsonRepresentation; end
555+
556+
include Google::Apis::Core::JsonObjectSupport
557+
end
558+
553559
class FileHashes
554560
class Representation < Google::Apis::Core::JsonRepresentation; end
555561

@@ -2026,6 +2032,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
20262032
property :archive_time, as: 'archiveTime'
20272033
property :continuous_analysis, as: 'continuousAnalysis'
20282034
property :cpe, as: 'cpe'
2035+
collection :files, as: 'files', class: Google::Apis::ContaineranalysisV1::File, decorator: Google::Apis::ContaineranalysisV1::File::Representation
2036+
20292037
property :last_scan_time, as: 'lastScanTime'
20302038
property :sbom_status, as: 'sbomStatus', class: Google::Apis::ContaineranalysisV1::SbomStatus, decorator: Google::Apis::ContaineranalysisV1::SbomStatus::Representation
20312039

@@ -2094,6 +2102,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
20942102
end
20952103
end
20962104

2105+
class File
2106+
# @private
2107+
class Representation < Google::Apis::Core::JsonRepresentation
2108+
hash :digest, as: 'digest'
2109+
property :name, as: 'name'
2110+
end
2111+
end
2112+
20972113
class FileHashes
20982114
# @private
20992115
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)