Skip to content

Commit 6578cac

Browse files
feat: Automated regeneration of containeranalysis v1beta1 client (googleapis#24300)
Auto-created at 2025-09-14 10:47:07 +0000 using the toys pull request generator.
1 parent 7a3e9d8 commit 6578cac

File tree

5 files changed

+224
-2
lines changed

5 files changed

+224
-2
lines changed

api_names_out.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137145,6 +137145,8 @@
137145137145
"/containeranalysis:v1beta1/FileHashes": file_hashes
137146137146
"/containeranalysis:v1beta1/FileHashes/fileHash": file_hash
137147137147
"/containeranalysis:v1beta1/FileHashes/fileHash/file_hash": file_hash
137148+
"/containeranalysis:v1beta1/FileLocation": file_location
137149+
"/containeranalysis:v1beta1/FileLocation/filePath": file_path
137148137150
"/containeranalysis:v1beta1/FileNote": file_note
137149137151
"/containeranalysis:v1beta1/FileNote/checksum": checksum
137150137152
"/containeranalysis:v1beta1/FileNote/checksum/checksum": checksum
@@ -137332,6 +137334,7 @@
137332137334
"/containeranalysis:v1beta1/Note/relatedUrl/related_url": related_url
137333137335
"/containeranalysis:v1beta1/Note/sbom": sbom
137334137336
"/containeranalysis:v1beta1/Note/sbomReference": sbom_reference
137337+
"/containeranalysis:v1beta1/Note/secret": secret
137335137338
"/containeranalysis:v1beta1/Note/shortDescription": short_description
137336137339
"/containeranalysis:v1beta1/Note/spdxFile": spdx_file
137337137340
"/containeranalysis:v1beta1/Note/spdxPackage": spdx_package
@@ -137356,6 +137359,7 @@
137356137359
"/containeranalysis:v1beta1/Occurrence/resource": resource
137357137360
"/containeranalysis:v1beta1/Occurrence/sbom": sbom
137358137361
"/containeranalysis:v1beta1/Occurrence/sbomReference": sbom_reference
137362+
"/containeranalysis:v1beta1/Occurrence/secret": secret
137359137363
"/containeranalysis:v1beta1/Occurrence/spdxFile": spdx_file
137360137364
"/containeranalysis:v1beta1/Occurrence/spdxPackage": spdx_package
137361137365
"/containeranalysis:v1beta1/Occurrence/spdxRelationship": spdx_relationship
@@ -137537,6 +137541,19 @@
137537137541
"/containeranalysis:v1beta1/ScanConfig/enabled": enabled
137538137542
"/containeranalysis:v1beta1/ScanConfig/name": name
137539137543
"/containeranalysis:v1beta1/ScanConfig/updateTime": update_time
137544+
"/containeranalysis:v1beta1/SecretLocation": secret_location
137545+
"/containeranalysis:v1beta1/SecretLocation/fileLocation": file_location
137546+
"/containeranalysis:v1beta1/SecretNote": secret_note
137547+
"/containeranalysis:v1beta1/SecretOccurrence": secret_occurrence
137548+
"/containeranalysis:v1beta1/SecretOccurrence/kind": kind
137549+
"/containeranalysis:v1beta1/SecretOccurrence/locations": locations
137550+
"/containeranalysis:v1beta1/SecretOccurrence/locations/location": location
137551+
"/containeranalysis:v1beta1/SecretOccurrence/statuses": statuses
137552+
"/containeranalysis:v1beta1/SecretOccurrence/statuses/status": status
137553+
"/containeranalysis:v1beta1/SecretStatus": secret_status
137554+
"/containeranalysis:v1beta1/SecretStatus/message": message
137555+
"/containeranalysis:v1beta1/SecretStatus/status": status
137556+
"/containeranalysis:v1beta1/SecretStatus/updateTime": update_time
137540137557
"/containeranalysis:v1beta1/SetIamPolicyRequest": set_iam_policy_request
137541137558
"/containeranalysis:v1beta1/SetIamPolicyRequest/policy": policy
137542137559
"/containeranalysis:v1beta1/SetIamPolicyRequest/updateMask": update_mask

generated/google-apis-containeranalysis_v1beta1/CHANGELOG.md

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

3+
### v0.68.0 (2025-09-14)
4+
5+
* Regenerated from discovery document revision 20250905
6+
37
### v0.67.0 (2025-09-07)
48

59
* Regenerated from discovery document revision 20250829

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

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3921,6 +3921,26 @@ def update!(**args)
39213921
end
39223922
end
39233923

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+
39243944
# FileNote represents an SPDX File Information section: https://spdx.github.io/
39253945
# spdx-spec/4-file-information/
39263946
class FileNote
@@ -5211,6 +5231,11 @@ class Note
52115231
# @return [Google::Apis::ContaineranalysisV1beta1::SbomReferenceNote]
52125232
attr_accessor :sbom_reference
52135233

5234+
# The note representing a secret.
5235+
# Corresponds to the JSON property `secret`
5236+
# @return [Google::Apis::ContaineranalysisV1beta1::SecretNote]
5237+
attr_accessor :secret
5238+
52145239
# A one sentence description of this note.
52155240
# Corresponds to the JSON property `shortDescription`
52165241
# @return [String]
@@ -5273,6 +5298,7 @@ def update!(**args)
52735298
@related_url = args[:related_url] if args.key?(:related_url)
52745299
@sbom = args[:sbom] if args.key?(:sbom)
52755300
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5301+
@secret = args[:secret] if args.key?(:secret)
52765302
@short_description = args[:short_description] if args.key?(:short_description)
52775303
@spdx_file = args[:spdx_file] if args.key?(:spdx_file)
52785304
@spdx_package = args[:spdx_package] if args.key?(:spdx_package)
@@ -5377,6 +5403,11 @@ class Occurrence
53775403
# @return [Google::Apis::ContaineranalysisV1beta1::SbomReferenceOccurrence]
53785404
attr_accessor :sbom_reference
53795405

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+
53805411
# FileOccurrence represents an SPDX File Information section: https://spdx.
53815412
# github.io/spdx-spec/4-file-information/
53825413
# Corresponds to the JSON property `spdxFile`
@@ -5427,6 +5458,7 @@ def update!(**args)
54275458
@resource = args[:resource] if args.key?(:resource)
54285459
@sbom = args[:sbom] if args.key?(:sbom)
54295460
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5461+
@secret = args[:secret] if args.key?(:secret)
54305462
@spdx_file = args[:spdx_file] if args.key?(:spdx_file)
54315463
@spdx_package = args[:spdx_package] if args.key?(:spdx_package)
54325464
@spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
@@ -6503,6 +6535,100 @@ def update!(**args)
65036535
end
65046536
end
65056537

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+
65066632
# Request message for `SetIamPolicy` method.
65076633
class SetIamPolicyRequest
65086634
include Google::Apis::Core::Hashable

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ContaineranalysisV1beta1
1818
# Version of the google-apis-containeranalysis_v1beta1 gem
19-
GEM_VERSION = "0.67.0"
19+
GEM_VERSION = "0.68.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 75 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 FileLocation
554+
class Representation < Google::Apis::Core::JsonRepresentation; end
555+
556+
include Google::Apis::Core::JsonObjectSupport
557+
end
558+
553559
class FileNote
554560
class Representation < Google::Apis::Core::JsonRepresentation; end
555561

@@ -916,6 +922,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
916922
include Google::Apis::Core::JsonObjectSupport
917923
end
918924

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+
919949
class SetIamPolicyRequest
920950
class Representation < Google::Apis::Core::JsonRepresentation; end
921951

@@ -2032,6 +2062,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
20322062
end
20332063
end
20342064

2065+
class FileLocation
2066+
# @private
2067+
class Representation < Google::Apis::Core::JsonRepresentation
2068+
property :file_path, as: 'filePath'
2069+
end
2070+
end
2071+
20352072
class FileNote
20362073
# @private
20372074
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2409,6 +2446,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
24092446

24102447
property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1beta1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1beta1::SbomReferenceNote::Representation
24112448

2449+
property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1beta1::SecretNote, decorator: Google::Apis::ContaineranalysisV1beta1::SecretNote::Representation
2450+
24122451
property :short_description, as: 'shortDescription'
24132452
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileNote, decorator: Google::Apis::ContaineranalysisV1beta1::FileNote::Representation
24142453

@@ -2454,6 +2493,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
24542493

24552494
property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1beta1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::SbomReferenceOccurrence::Representation
24562495

2496+
property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1beta1::SecretOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::SecretOccurrence::Representation
2497+
24572498
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::FileOccurrence::Representation
24582499

24592500
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence::Representation
@@ -2734,6 +2775,40 @@ class Representation < Google::Apis::Core::JsonRepresentation
27342775
end
27352776
end
27362777

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+
27372812
class SetIamPolicyRequest
27382813
# @private
27392814
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)