Skip to content

Commit 06e1f9e

Browse files
feat: Automated regeneration of cloudbuild v1 client (googleapis#26627)
Auto-created at 2026-06-10 21:37:02 +0000 using the toys pull request generator.
1 parent 8214e1a commit 06e1f9e

7 files changed

Lines changed: 309 additions & 5 deletions

File tree

api_names_out.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77026,6 +77026,8 @@
7702677026
"/cloudbuild:v1/ArtifactResult/fileHash/file_hash": file_hash
7702777027
"/cloudbuild:v1/ArtifactResult/location": location
7702877028
"/cloudbuild:v1/Artifacts": artifacts
77029+
"/cloudbuild:v1/Artifacts/genericArtifacts": generic_artifacts
77030+
"/cloudbuild:v1/Artifacts/genericArtifacts/generic_artifact": generic_artifact
7702977031
"/cloudbuild:v1/Artifacts/goModules": go_modules
7703077032
"/cloudbuild:v1/Artifacts/goModules/go_module": go_module
7703177033
"/cloudbuild:v1/Artifacts/images": images
@@ -77181,6 +77183,8 @@
7718177183
"/cloudbuild:v1/BuildStep/id": id
7718277184
"/cloudbuild:v1/BuildStep/name": name
7718377185
"/cloudbuild:v1/BuildStep/pullTiming": pull_timing
77186+
"/cloudbuild:v1/BuildStep/results": results
77187+
"/cloudbuild:v1/BuildStep/results/result": result
7718477188
"/cloudbuild:v1/BuildStep/script": script
7718577189
"/cloudbuild:v1/BuildStep/secretEnv": secret_env
7718677190
"/cloudbuild:v1/BuildStep/secretEnv/secret_env": secret_env
@@ -77191,6 +77195,9 @@
7719177195
"/cloudbuild:v1/BuildStep/volumes/volume": volume
7719277196
"/cloudbuild:v1/BuildStep/waitFor": wait_for
7719377197
"/cloudbuild:v1/BuildStep/waitFor/wait_for": wait_for
77198+
"/cloudbuild:v1/BuildStepResults": build_step_results
77199+
"/cloudbuild:v1/BuildStepResults/results": results
77200+
"/cloudbuild:v1/BuildStepResults/results/result": result
7719477201
"/cloudbuild:v1/BuildTrigger": build_trigger
7719577202
"/cloudbuild:v1/BuildTrigger/approvalConfig": approval_config
7719677203
"/cloudbuild:v1/BuildTrigger/autodetect": autodetect
@@ -77286,6 +77293,7 @@
7728677293
"/cloudbuild:v1/DeleteWorkerPoolOperationMetadata/workerPool": worker_pool
7728777294
"/cloudbuild:v1/Dependency": dependency
7728877295
"/cloudbuild:v1/Dependency/empty": empty
77296+
"/cloudbuild:v1/Dependency/genericArtifact": generic_artifact
7728977297
"/cloudbuild:v1/Dependency/gitSource": git_source
7729077298
"/cloudbuild:v1/DeveloperConnectConfig": developer_connect_config
7729177299
"/cloudbuild:v1/DeveloperConnectConfig/dir": dir
@@ -77307,6 +77315,12 @@
7730777315
"/cloudbuild:v1/GCSLocation/bucket": bucket
7730877316
"/cloudbuild:v1/GCSLocation/generation": generation
7730977317
"/cloudbuild:v1/GCSLocation/object": object
77318+
"/cloudbuild:v1/GenericArtifact": generic_artifact
77319+
"/cloudbuild:v1/GenericArtifact/folder": folder
77320+
"/cloudbuild:v1/GenericArtifact/registryPath": registry_path
77321+
"/cloudbuild:v1/GenericArtifactDependency": generic_artifact_dependency
77322+
"/cloudbuild:v1/GenericArtifactDependency/destPath": dest_path
77323+
"/cloudbuild:v1/GenericArtifactDependency/resource": resource
7731077324
"/cloudbuild:v1/GitConfig": git_config
7731177325
"/cloudbuild:v1/GitConfig/http": http
7731277326
"/cloudbuild:v1/GitFileSource": git_file_source
@@ -77598,6 +77612,10 @@
7759877612
"/cloudbuild:v1/Results/buildStepImages/build_step_image": build_step_image
7759977613
"/cloudbuild:v1/Results/buildStepOutputs": build_step_outputs
7760077614
"/cloudbuild:v1/Results/buildStepOutputs/build_step_output": build_step_output
77615+
"/cloudbuild:v1/Results/buildStepResults": build_step_results
77616+
"/cloudbuild:v1/Results/buildStepResults/build_step_result": build_step_result
77617+
"/cloudbuild:v1/Results/genericArtifacts": generic_artifacts
77618+
"/cloudbuild:v1/Results/genericArtifacts/generic_artifact": generic_artifact
7760177619
"/cloudbuild:v1/Results/goModules": go_modules
7760277620
"/cloudbuild:v1/Results/goModules/go_module": go_module
7760377621
"/cloudbuild:v1/Results/images": images
@@ -77670,6 +77688,10 @@
7767077688
"/cloudbuild:v1/Status/details/detail": detail
7767177689
"/cloudbuild:v1/Status/details/detail/detail": detail
7767277690
"/cloudbuild:v1/Status/message": message
77691+
"/cloudbuild:v1/StepResult": step_result
77692+
"/cloudbuild:v1/StepResult/attestationContent": attestation_content
77693+
"/cloudbuild:v1/StepResult/attestationType": attestation_type
77694+
"/cloudbuild:v1/StepResult/name": name
7767377695
"/cloudbuild:v1/StorageSource": storage_source
7767477696
"/cloudbuild:v1/StorageSource/bucket": bucket
7767577697
"/cloudbuild:v1/StorageSource/generation": generation
@@ -77698,6 +77720,13 @@
7769877720
"/cloudbuild:v1/UpdateWorkerPoolOperationMetadata/completeTime": complete_time
7769977721
"/cloudbuild:v1/UpdateWorkerPoolOperationMetadata/createTime": create_time
7770077722
"/cloudbuild:v1/UpdateWorkerPoolOperationMetadata/workerPool": worker_pool
77723+
"/cloudbuild:v1/UploadedGenericArtifact": uploaded_generic_artifact
77724+
"/cloudbuild:v1/UploadedGenericArtifact/artifactFingerprint": artifact_fingerprint
77725+
"/cloudbuild:v1/UploadedGenericArtifact/artifactRegistryPackage": artifact_registry_package
77726+
"/cloudbuild:v1/UploadedGenericArtifact/fileHashes": file_hashes
77727+
"/cloudbuild:v1/UploadedGenericArtifact/fileHashes/file_hash": file_hash
77728+
"/cloudbuild:v1/UploadedGenericArtifact/pushTiming": push_timing
77729+
"/cloudbuild:v1/UploadedGenericArtifact/uri": uri
7770177730
"/cloudbuild:v1/UploadedGoModule": uploaded_go_module
7770277731
"/cloudbuild:v1/UploadedGoModule/artifactRegistryPackage": artifact_registry_package
7770377732
"/cloudbuild:v1/UploadedGoModule/fileHashes": file_hashes

generated/google-apis-cloudbuild_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-cloudbuild_v1
22

3+
### v0.80.0 (2026-06-10)
4+
5+
* Regenerated from discovery document revision 20260511
6+
* Regenerated using generator version 0.19.0
7+
38
### v0.79.0 (2026-03-15)
49

510
* Regenerated from discovery document revision 20260309

generated/google-apis-cloudbuild_v1/OVERVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/cloud-build/docs/) may prov
8383

8484
## Supported Ruby versions
8585

86-
This library is supported on Ruby 3.1+.
86+
This library is supported on Ruby 3.2+.
8787

8888
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
8989

generated/google-apis-cloudbuild_v1/google-apis-cloudbuild_v1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Gem::Specification.new do |gem|
2828
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("*.md") + [".yardopts"]
2929
gem.require_paths = ["lib"]
3030

31-
gem.required_ruby_version = '>= 3.1'
31+
gem.required_ruby_version = '>= 3.2'
3232
gem.add_runtime_dependency "google-apis-core", ">= 0.15.0", "< 2.a"
3333
end

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

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,13 @@ def update!(**args)
178178
class Artifacts
179179
include Google::Apis::Core::Hashable
180180

181+
# Optional. A list of generic artifacts to be uploaded to Artifact Registry upon
182+
# successful completion of all build steps. If any artifacts fail to be pushed,
183+
# the build is marked FAILURE.
184+
# Corresponds to the JSON property `genericArtifacts`
185+
# @return [Array<Google::Apis::CloudbuildV1::GenericArtifact>]
186+
attr_accessor :generic_artifacts
187+
181188
# Optional. A list of Go modules to be uploaded to Artifact Registry upon
182189
# successful completion of all build steps. If any objects fail to be pushed,
183190
# the build is marked FAILURE.
@@ -241,6 +248,7 @@ def initialize(**args)
241248

242249
# Update properties of this object
243250
def update!(**args)
251+
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
244252
@go_modules = args[:go_modules] if args.key?(:go_modules)
245253
@images = args[:images] if args.key?(:images)
246254
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
@@ -1234,6 +1242,11 @@ class BuildStep
12341242
# @return [Google::Apis::CloudbuildV1::TimeSpan]
12351243
attr_accessor :pull_timing
12361244

1245+
# Declaration of results for this build step.
1246+
# Corresponds to the JSON property `results`
1247+
# @return [Array<Google::Apis::CloudbuildV1::StepResult>]
1248+
attr_accessor :results
1249+
12371250
# A shell script to be executed in the step. When script is provided, the user
12381251
# cannot specify the entrypoint or args.
12391252
# Corresponds to the JSON property `script`
@@ -1300,6 +1313,7 @@ def update!(**args)
13001313
@id = args[:id] if args.key?(:id)
13011314
@name = args[:name] if args.key?(:name)
13021315
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
1316+
@results = args[:results] if args.key?(:results)
13031317
@script = args[:script] if args.key?(:script)
13041318
@secret_env = args[:secret_env] if args.key?(:secret_env)
13051319
@status = args[:status] if args.key?(:status)
@@ -1310,6 +1324,25 @@ def update!(**args)
13101324
end
13111325
end
13121326

1327+
# Results for a build step.
1328+
class BuildStepResults
1329+
include Google::Apis::Core::Hashable
1330+
1331+
# Results for a build step.
1332+
# Corresponds to the JSON property `results`
1333+
# @return [Hash<String,String>]
1334+
attr_accessor :results
1335+
1336+
def initialize(**args)
1337+
update!(**args)
1338+
end
1339+
1340+
# Update properties of this object
1341+
def update!(**args)
1342+
@results = args[:results] if args.key?(:results)
1343+
end
1344+
end
1345+
13131346
# Configuration for an automated build in response to source repository changes.
13141347
class BuildTrigger
13151348
include Google::Apis::Core::Hashable
@@ -2018,6 +2051,11 @@ class Dependency
20182051
attr_accessor :empty
20192052
alias_method :empty?, :empty
20202053

2054+
# Represents a generic artifact as a build dependency.
2055+
# Corresponds to the JSON property `genericArtifact`
2056+
# @return [Google::Apis::CloudbuildV1::GenericArtifactDependency]
2057+
attr_accessor :generic_artifact
2058+
20212059
# Represents a git repository as a build dependency.
20222060
# Corresponds to the JSON property `gitSource`
20232061
# @return [Google::Apis::CloudbuildV1::GitSourceDependency]
@@ -2030,6 +2068,7 @@ def initialize(**args)
20302068
# Update properties of this object
20312069
def update!(**args)
20322070
@empty = args[:empty] if args.key?(:empty)
2071+
@generic_artifact = args[:generic_artifact] if args.key?(:generic_artifact)
20332072
@git_source = args[:git_source] if args.key?(:git_source)
20342073
end
20352074
end
@@ -2167,6 +2206,61 @@ def update!(**args)
21672206
end
21682207
end
21692208

2209+
# Generic artifact to upload to Artifact Registry upon successful completion of
2210+
# all build steps.
2211+
class GenericArtifact
2212+
include Google::Apis::Core::Hashable
2213+
2214+
# Required. Path to the generic artifact in the build's workspace to be uploaded
2215+
# to Artifact Registry.
2216+
# Corresponds to the JSON property `folder`
2217+
# @return [String]
2218+
attr_accessor :folder
2219+
2220+
# Required. Registry path to upload the generic artifact to, in the form
2221+
# projects/$PROJECT/locations/$LOCATION/repositories/$REPO/packages/$PACKAGE/
2222+
# versions/$VERSION
2223+
# Corresponds to the JSON property `registryPath`
2224+
# @return [String]
2225+
attr_accessor :registry_path
2226+
2227+
def initialize(**args)
2228+
update!(**args)
2229+
end
2230+
2231+
# Update properties of this object
2232+
def update!(**args)
2233+
@folder = args[:folder] if args.key?(:folder)
2234+
@registry_path = args[:registry_path] if args.key?(:registry_path)
2235+
end
2236+
end
2237+
2238+
# Represents a generic artifact as a build dependency.
2239+
class GenericArtifactDependency
2240+
include Google::Apis::Core::Hashable
2241+
2242+
# Required. Where the artifact files should be placed on the worker.
2243+
# Corresponds to the JSON property `destPath`
2244+
# @return [String]
2245+
attr_accessor :dest_path
2246+
2247+
# Required. The location to download the artifact files from. Ex: projects/p1/
2248+
# locations/us/repositories/r1/packages/p1/versions/v1
2249+
# Corresponds to the JSON property `resource`
2250+
# @return [String]
2251+
attr_accessor :resource
2252+
2253+
def initialize(**args)
2254+
update!(**args)
2255+
end
2256+
2257+
# Update properties of this object
2258+
def update!(**args)
2259+
@dest_path = args[:dest_path] if args.key?(:dest_path)
2260+
@resource = args[:resource] if args.key?(:resource)
2261+
end
2262+
end
2263+
21702264
# GitConfig is a configuration for git operations.
21712265
class GitConfig
21722266
include Google::Apis::Core::Hashable
@@ -4043,6 +4137,17 @@ class Results
40434137
# @return [Array<String>]
40444138
attr_accessor :build_step_outputs
40454139

4140+
# Results for build steps. step_id ->
4141+
# Corresponds to the JSON property `buildStepResults`
4142+
# @return [Hash<String,Google::Apis::CloudbuildV1::BuildStepResults>]
4143+
attr_accessor :build_step_results
4144+
4145+
# Output only. Generic artifacts uploaded to Artifact Registry at the end of the
4146+
# build.
4147+
# Corresponds to the JSON property `genericArtifacts`
4148+
# @return [Array<Google::Apis::CloudbuildV1::UploadedGenericArtifact>]
4149+
attr_accessor :generic_artifacts
4150+
40464151
# Optional. Go module artifacts uploaded to Artifact Registry at the end of the
40474152
# build.
40484153
# Corresponds to the JSON property `goModules`
@@ -4085,6 +4190,8 @@ def update!(**args)
40854190
@artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
40864191
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
40874192
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
4193+
@build_step_results = args[:build_step_results] if args.key?(:build_step_results)
4194+
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
40884195
@go_modules = args[:go_modules] if args.key?(:go_modules)
40894196
@images = args[:images] if args.key?(:images)
40904197
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
@@ -4410,6 +4517,37 @@ def update!(**args)
44104517
end
44114518
end
44124519

4520+
# StepResult is the declaration of a result for a build step.
4521+
class StepResult
4522+
include Google::Apis::Core::Hashable
4523+
4524+
# Optional. The content of the attestation to be generated.
4525+
# Corresponds to the JSON property `attestationContent`
4526+
# @return [String]
4527+
attr_accessor :attestation_content
4528+
4529+
# Optional. The type of attestation to be generated.
4530+
# Corresponds to the JSON property `attestationType`
4531+
# @return [String]
4532+
attr_accessor :attestation_type
4533+
4534+
# Required. The name of the result.
4535+
# Corresponds to the JSON property `name`
4536+
# @return [String]
4537+
attr_accessor :name
4538+
4539+
def initialize(**args)
4540+
update!(**args)
4541+
end
4542+
4543+
# Update properties of this object
4544+
def update!(**args)
4545+
@attestation_content = args[:attestation_content] if args.key?(:attestation_content)
4546+
@attestation_type = args[:attestation_type] if args.key?(:attestation_type)
4547+
@name = args[:name] if args.key?(:name)
4548+
end
4549+
end
4550+
44134551
# Location of the source in an archive file in Cloud Storage.
44144552
class StorageSource
44154553
include Google::Apis::Core::Hashable
@@ -4640,6 +4778,52 @@ def update!(**args)
46404778
end
46414779
end
46424780

4781+
# A generic artifact uploaded to Artifact Registry using the GenericArtifact
4782+
# directive.
4783+
class UploadedGenericArtifact
4784+
include Google::Apis::Core::Hashable
4785+
4786+
# Container message for hashes of byte content of files, used in
4787+
# SourceProvenance messages to verify integrity of source input to the build.
4788+
# Corresponds to the JSON property `artifactFingerprint`
4789+
# @return [Google::Apis::CloudbuildV1::FileHashes]
4790+
attr_accessor :artifact_fingerprint
4791+
4792+
# Output only. Path to the artifact in Artifact Registry.
4793+
# Corresponds to the JSON property `artifactRegistryPackage`
4794+
# @return [String]
4795+
attr_accessor :artifact_registry_package
4796+
4797+
# Output only. The file hashes that make up the generic artifact.
4798+
# Corresponds to the JSON property `fileHashes`
4799+
# @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
4800+
attr_accessor :file_hashes
4801+
4802+
# Start and end times for a build execution phase.
4803+
# Corresponds to the JSON property `pushTiming`
4804+
# @return [Google::Apis::CloudbuildV1::TimeSpan]
4805+
attr_accessor :push_timing
4806+
4807+
# Output only. URI of the uploaded artifact. Ex: projects/p1/locations/us/
4808+
# repositories/r1/packages/p1/versions/v1
4809+
# Corresponds to the JSON property `uri`
4810+
# @return [String]
4811+
attr_accessor :uri
4812+
4813+
def initialize(**args)
4814+
update!(**args)
4815+
end
4816+
4817+
# Update properties of this object
4818+
def update!(**args)
4819+
@artifact_fingerprint = args[:artifact_fingerprint] if args.key?(:artifact_fingerprint)
4820+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
4821+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
4822+
@push_timing = args[:push_timing] if args.key?(:push_timing)
4823+
@uri = args[:uri] if args.key?(:uri)
4824+
end
4825+
end
4826+
46434827
# A Go module artifact uploaded to Artifact Registry using the GoModule
46444828
# directive.
46454829
class UploadedGoModule

generated/google-apis-cloudbuild_v1/lib/google/apis/cloudbuild_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 CloudbuildV1
1818
# Version of the google-apis-cloudbuild_v1 gem
19-
GEM_VERSION = "0.79.0"
19+
GEM_VERSION = "0.80.0"
2020

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

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

0 commit comments

Comments
 (0)