Skip to content

Commit 9229b3a

Browse files
feat: Automated regeneration of containeranalysis v1beta1 client (googleapis#22136)
Auto-created at 2025-03-16 10:49:20 +0000 using the toys pull request generator.
1 parent a103fb5 commit 9229b3a

File tree

5 files changed

+67
-3
lines changed

5 files changed

+67
-3
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127541,6 +127541,8 @@
127541127541
"/containeranalysis:v1beta1/BuildStep/id": id
127542127542
"/containeranalysis:v1beta1/BuildStep/name": name
127543127543
"/containeranalysis:v1beta1/BuildStep/pullTiming": pull_timing
127544+
"/containeranalysis:v1beta1/BuildStep/results": results
127545+
"/containeranalysis:v1beta1/BuildStep/results/result": result
127544127546
"/containeranalysis:v1beta1/BuildStep/script": script
127545127547
"/containeranalysis:v1beta1/BuildStep/secretEnv": secret_env
127546127548
"/containeranalysis:v1beta1/BuildStep/secretEnv/secret_env": secret_env
@@ -128395,6 +128397,10 @@
128395128397
"/containeranalysis:v1beta1/Status/details/detail": detail
128396128398
"/containeranalysis:v1beta1/Status/details/detail/detail": detail
128397128399
"/containeranalysis:v1beta1/Status/message": message
128400+
"/containeranalysis:v1beta1/StepResult": step_result
128401+
"/containeranalysis:v1beta1/StepResult/attestationContentName": attestation_content_name
128402+
"/containeranalysis:v1beta1/StepResult/attestationType": attestation_type
128403+
"/containeranalysis:v1beta1/StepResult/name": name
128398128404
"/containeranalysis:v1beta1/Subject": subject
128399128405
"/containeranalysis:v1beta1/Subject/digest": digest
128400128406
"/containeranalysis:v1beta1/Subject/digest/digest": digest

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.61.0 (2025-03-16)
4+
5+
* Regenerated from discovery document revision 20250307
6+
37
### v0.60.0 (2025-02-26)
48

59
* Regenerated from discovery document revision 20250207

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

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ def update!(**args)
731731
end
732732
end
733733

734-
# A step in the build pipeline. Next ID: 21
734+
# A step in the build pipeline. Next ID: 22
735735
class BuildStep
736736
include Google::Apis::Core::Hashable
737737

@@ -822,6 +822,11 @@ class BuildStep
822822
# @return [Google::Apis::ContaineranalysisV1beta1::TimeSpan]
823823
attr_accessor :pull_timing
824824

825+
#
826+
# Corresponds to the JSON property `results`
827+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::StepResult>]
828+
attr_accessor :results
829+
825830
# A shell script to be executed in the step. When script is provided, the user
826831
# cannot specify the entrypoint or args.
827832
# Corresponds to the JSON property `script`
@@ -888,6 +893,7 @@ def update!(**args)
888893
@id = args[:id] if args.key?(:id)
889894
@name = args[:name] if args.key?(:name)
890895
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
896+
@results = args[:results] if args.key?(:results)
891897
@script = args[:script] if args.key?(:script)
892898
@secret_env = args[:secret_env] if args.key?(:secret_env)
893899
@status = args[:status] if args.key?(:status)
@@ -6740,6 +6746,37 @@ def update!(**args)
67406746
end
67416747
end
67426748

6749+
# StepResult is the declaration of a result for a build step.
6750+
class StepResult
6751+
include Google::Apis::Core::Hashable
6752+
6753+
#
6754+
# Corresponds to the JSON property `attestationContentName`
6755+
# @return [String]
6756+
attr_accessor :attestation_content_name
6757+
6758+
#
6759+
# Corresponds to the JSON property `attestationType`
6760+
# @return [String]
6761+
attr_accessor :attestation_type
6762+
6763+
#
6764+
# Corresponds to the JSON property `name`
6765+
# @return [String]
6766+
attr_accessor :name
6767+
6768+
def initialize(**args)
6769+
update!(**args)
6770+
end
6771+
6772+
# Update properties of this object
6773+
def update!(**args)
6774+
@attestation_content_name = args[:attestation_content_name] if args.key?(:attestation_content_name)
6775+
@attestation_type = args[:attestation_type] if args.key?(:attestation_type)
6776+
@name = args[:name] if args.key?(:name)
6777+
end
6778+
end
6779+
67436780
# Set of software artifacts that the attestation applies to. Each element
67446781
# represents a single software artifact.
67456782
class Subject

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.60.0"
19+
GEM_VERSION = "0.61.0"
2020

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

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

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
952952
include Google::Apis::Core::JsonObjectSupport
953953
end
954954

955+
class StepResult
956+
class Representation < Google::Apis::Core::JsonRepresentation; end
957+
958+
include Google::Apis::Core::JsonObjectSupport
959+
end
960+
955961
class Subject
956962
class Representation < Google::Apis::Core::JsonRepresentation; end
957963

@@ -1225,6 +1231,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
12251231
property :name, as: 'name'
12261232
property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1beta1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::TimeSpan::Representation
12271233

1234+
collection :results, as: 'results', class: Google::Apis::ContaineranalysisV1beta1::StepResult, decorator: Google::Apis::ContaineranalysisV1beta1::StepResult::Representation
1235+
12281236
property :script, as: 'script'
12291237
collection :secret_env, as: 'secretEnv'
12301238
property :status, as: 'status'
@@ -2778,6 +2786,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
27782786
end
27792787
end
27802788

2789+
class StepResult
2790+
# @private
2791+
class Representation < Google::Apis::Core::JsonRepresentation
2792+
property :attestation_content_name, as: 'attestationContentName'
2793+
property :attestation_type, as: 'attestationType'
2794+
property :name, as: 'name'
2795+
end
2796+
end
2797+
27812798
class Subject
27822799
# @private
27832800
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)