Skip to content

Commit 4587c33

Browse files
feat: Automated regeneration of containeranalysis v1alpha1 client (googleapis#23175)
Auto-created at 2025-05-18 10:44:00 +0000 using the toys pull request generator.
1 parent 64f02a6 commit 4587c33

File tree

5 files changed

+189
-2
lines changed

5 files changed

+189
-2
lines changed

api_names_out.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130836,6 +130836,7 @@
130836130836
"/containeranalysis:v1alpha1/Note/relatedUrl/related_url": related_url
130837130837
"/containeranalysis:v1alpha1/Note/sbom": sbom
130838130838
"/containeranalysis:v1alpha1/Note/sbomReference": sbom_reference
130839+
"/containeranalysis:v1alpha1/Note/secret": secret
130839130840
"/containeranalysis:v1alpha1/Note/shortDescription": short_description
130840130841
"/containeranalysis:v1alpha1/Note/spdxFile": spdx_file
130841130842
"/containeranalysis:v1alpha1/Note/spdxPackage": spdx_package
@@ -130863,6 +130864,7 @@
130863130864
"/containeranalysis:v1alpha1/Occurrence/resourceUrl": resource_url
130864130865
"/containeranalysis:v1alpha1/Occurrence/sbom": sbom
130865130866
"/containeranalysis:v1alpha1/Occurrence/sbomReference": sbom_reference
130867+
"/containeranalysis:v1alpha1/Occurrence/secret": secret
130866130868
"/containeranalysis:v1alpha1/Occurrence/spdxFile": spdx_file
130867130869
"/containeranalysis:v1alpha1/Occurrence/spdxPackage": spdx_package
130868130870
"/containeranalysis:v1alpha1/Occurrence/spdxRelationship": spdx_relationship
@@ -131060,6 +131062,19 @@
131060131062
"/containeranalysis:v1alpha1/ScanConfig/enabled": enabled
131061131063
"/containeranalysis:v1alpha1/ScanConfig/name": name
131062131064
"/containeranalysis:v1alpha1/ScanConfig/updateTime": update_time
131065+
"/containeranalysis:v1alpha1/SecretLocation": secret_location
131066+
"/containeranalysis:v1alpha1/SecretLocation/fileLocation": file_location
131067+
"/containeranalysis:v1alpha1/SecretNote": secret_note
131068+
"/containeranalysis:v1alpha1/SecretOccurrence": secret_occurrence
131069+
"/containeranalysis:v1alpha1/SecretOccurrence/kind": kind
131070+
"/containeranalysis:v1alpha1/SecretOccurrence/locations": locations
131071+
"/containeranalysis:v1alpha1/SecretOccurrence/locations/location": location
131072+
"/containeranalysis:v1alpha1/SecretOccurrence/statuses": statuses
131073+
"/containeranalysis:v1alpha1/SecretOccurrence/statuses/status": status
131074+
"/containeranalysis:v1alpha1/SecretStatus": secret_status
131075+
"/containeranalysis:v1alpha1/SecretStatus/message": message
131076+
"/containeranalysis:v1alpha1/SecretStatus/status": status
131077+
"/containeranalysis:v1alpha1/SecretStatus/updateTime": update_time
131063131078
"/containeranalysis:v1alpha1/SetIamPolicyRequest": set_iam_policy_request
131064131079
"/containeranalysis:v1alpha1/SetIamPolicyRequest/policy": policy
131065131080
"/containeranalysis:v1alpha1/SetIamPolicyRequest/updateMask": update_mask

generated/google-apis-containeranalysis_v1alpha1/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_v1alpha1
22

3+
### v0.71.0 (2025-05-18)
4+
5+
* Regenerated from discovery document revision 20250509
6+
37
### v0.70.0 (2025-05-04)
48

59
* Regenerated from discovery document revision 20250425

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

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5360,6 +5360,11 @@ class Note
53605360
# @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote]
53615361
attr_accessor :sbom_reference
53625362

5363+
# The note representing a secret.
5364+
# Corresponds to the JSON property `secret`
5365+
# @return [Google::Apis::ContaineranalysisV1alpha1::SecretNote]
5366+
attr_accessor :secret
5367+
53635368
# A one sentence description of this `Note`.
53645369
# Corresponds to the JSON property `shortDescription`
53655370
# @return [String]
@@ -5431,6 +5436,7 @@ def update!(**args)
54315436
@related_url = args[:related_url] if args.key?(:related_url)
54325437
@sbom = args[:sbom] if args.key?(:sbom)
54335438
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5439+
@secret = args[:secret] if args.key?(:secret)
54345440
@short_description = args[:short_description] if args.key?(:short_description)
54355441
@spdx_file = args[:spdx_file] if args.key?(:spdx_file)
54365442
@spdx_package = args[:spdx_package] if args.key?(:spdx_package)
@@ -5555,6 +5561,11 @@ class Occurrence
55555561
# @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence]
55565562
attr_accessor :sbom_reference
55575563

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+
55585569
# FileOccurrence represents an SPDX File Information section: https://spdx.
55595570
# github.io/spdx-spec/4-file-information/
55605571
# Corresponds to the JSON property `spdxFile`
@@ -5615,6 +5626,7 @@ def update!(**args)
56155626
@resource_url = args[:resource_url] if args.key?(:resource_url)
56165627
@sbom = args[:sbom] if args.key?(:sbom)
56175628
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
5629+
@secret = args[:secret] if args.key?(:secret)
56185630
@spdx_file = args[:spdx_file] if args.key?(:spdx_file)
56195631
@spdx_package = args[:spdx_package] if args.key?(:spdx_package)
56205632
@spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
@@ -6829,6 +6841,100 @@ def update!(**args)
68296841
end
68306842
end
68316843

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

generated/google-apis-containeranalysis_v1alpha1/lib/google/apis/containeranalysis_v1alpha1/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 ContaineranalysisV1alpha1
1818
# Version of the google-apis-containeranalysis_v1alpha1 gem
19-
GEM_VERSION = "0.70.0"
19+
GEM_VERSION = "0.71.0"
2020

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

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

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

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
934934
include Google::Apis::Core::JsonObjectSupport
935935
end
936936

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+
937961
class SetIamPolicyRequest
938962
class Representation < Google::Apis::Core::JsonRepresentation; end
939963

@@ -2519,6 +2543,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
25192543

25202544
property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote::Representation
25212545

2546+
property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1alpha1::SecretNote, decorator: Google::Apis::ContaineranalysisV1alpha1::SecretNote::Representation
2547+
25222548
property :short_description, as: 'shortDescription'
25232549
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileNote, decorator: Google::Apis::ContaineranalysisV1alpha1::FileNote::Representation
25242550

@@ -2569,6 +2595,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
25692595

25702596
property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence::Representation
25712597

2598+
property :secret, as: 'secret', class: Google::Apis::ContaineranalysisV1alpha1::SecretOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::SecretOccurrence::Representation
2599+
25722600
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence::Representation
25732601

25742602
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence::Representation
@@ -2871,6 +2899,40 @@ class Representation < Google::Apis::Core::JsonRepresentation
28712899
end
28722900
end
28732901

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+
28742936
class SetIamPolicyRequest
28752937
# @private
28762938
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)