Skip to content

Commit 34250d7

Browse files
feat: Automated regeneration of cloudbuild v1 client (#25925)
Auto-created at 2026-03-15 10:10:18 +0000 using the toys pull request generator.
1 parent 68cadbd commit 34250d7

File tree

5 files changed

+83
-2
lines changed

5 files changed

+83
-2
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73516,6 +73516,8 @@
7351673516
"/cloudbuild:v1/Artifacts/npmPackages": npm_packages
7351773517
"/cloudbuild:v1/Artifacts/npmPackages/npm_package": npm_package
7351873518
"/cloudbuild:v1/Artifacts/objects": objects
73519+
"/cloudbuild:v1/Artifacts/oci": oci
73520+
"/cloudbuild:v1/Artifacts/oci/oci": oci
7351973521
"/cloudbuild:v1/Artifacts/pythonPackages": python_packages
7352073522
"/cloudbuild:v1/Artifacts/pythonPackages/python_package": python_package
7352173523
"/cloudbuild:v1/BatchCreateBitbucketServerConnectedRepositoriesRequest": batch_create_bitbucket_server_connected_repositories_request
@@ -73707,6 +73709,7 @@
7370773709
"/cloudbuild:v1/BuiltImage/artifactRegistryPackage": artifact_registry_package
7370873710
"/cloudbuild:v1/BuiltImage/digest": digest
7370973711
"/cloudbuild:v1/BuiltImage/name": name
73712+
"/cloudbuild:v1/BuiltImage/ociMediaType": oci_media_type
7371073713
"/cloudbuild:v1/BuiltImage/pushTiming": push_timing
7371173714
"/cloudbuild:v1/CancelBuildRequest": cancel_build_request
7371273715
"/cloudbuild:v1/CancelBuildRequest/id": id
@@ -73996,6 +73999,11 @@
7399673999
"/cloudbuild:v1/NpmPackage": npm_package
7399774000
"/cloudbuild:v1/NpmPackage/packagePath": package_path
7399874001
"/cloudbuild:v1/NpmPackage/repository": repository
74002+
"/cloudbuild:v1/Oci": oci
74003+
"/cloudbuild:v1/Oci/file": file
74004+
"/cloudbuild:v1/Oci/registryPath": registry_path
74005+
"/cloudbuild:v1/Oci/tags": tags
74006+
"/cloudbuild:v1/Oci/tags/tag": tag
7399974007
"/cloudbuild:v1/Operation": operation
7400074008
"/cloudbuild:v1/Operation/done": done
7400174009
"/cloudbuild:v1/Operation/error": error

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

3+
### v0.79.0 (2026-03-15)
4+
5+
* Regenerated from discovery document revision 20260309
6+
37
### v0.78.0 (2026-01-11)
48

59
* Regenerated from discovery document revision 20260106

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,15 @@ class Artifacts
218218
# @return [Google::Apis::CloudbuildV1::ArtifactObjects]
219219
attr_accessor :objects
220220

221+
# Optional. A list of OCI images to be uploaded to Artifact Registry upon
222+
# successful completion of all build steps. OCI images in the specified paths
223+
# will be uploaded to the specified Artifact Registry repository using the
224+
# builder service account's credentials. If any images fail to be pushed, the
225+
# build is marked FAILURE.
226+
# Corresponds to the JSON property `oci`
227+
# @return [Array<Google::Apis::CloudbuildV1::Oci>]
228+
attr_accessor :oci
229+
221230
# A list of Python packages to be uploaded to Artifact Registry upon successful
222231
# completion of all build steps. The build service account credentials will be
223232
# used to perform the upload. If any objects fail to be pushed, the build is
@@ -237,6 +246,7 @@ def update!(**args)
237246
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
238247
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
239248
@objects = args[:objects] if args.key?(:objects)
249+
@oci = args[:oci] if args.key?(:oci)
240250
@python_packages = args[:python_packages] if args.key?(:python_packages)
241251
end
242252
end
@@ -1550,6 +1560,12 @@ class BuiltImage
15501560
# @return [String]
15511561
attr_accessor :name
15521562

1563+
# Output only. The OCI media type of the artifact. Non-OCI images, such as
1564+
# Docker images, will have an unspecified value.
1565+
# Corresponds to the JSON property `ociMediaType`
1566+
# @return [String]
1567+
attr_accessor :oci_media_type
1568+
15531569
# Start and end times for a build execution phase.
15541570
# Corresponds to the JSON property `pushTiming`
15551571
# @return [Google::Apis::CloudbuildV1::TimeSpan]
@@ -1564,6 +1580,7 @@ def update!(**args)
15641580
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
15651581
@digest = args[:digest] if args.key?(:digest)
15661582
@name = args[:name] if args.key?(:name)
1583+
@oci_media_type = args[:oci_media_type] if args.key?(:oci_media_type)
15671584
@push_timing = args[:push_timing] if args.key?(:push_timing)
15681585
end
15691586
end
@@ -3398,6 +3415,40 @@ def update!(**args)
33983415
end
33993416
end
34003417

3418+
# OCI image to upload to Artifact Registry upon successful completion of all
3419+
# build steps.
3420+
class Oci
3421+
include Google::Apis::Core::Hashable
3422+
3423+
# Required. Path on the local file system where to find the container to upload.
3424+
# e.g. /workspace/my-image.tar
3425+
# Corresponds to the JSON property `file`
3426+
# @return [String]
3427+
attr_accessor :file
3428+
3429+
# Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.
3430+
# dev/my-project/my-repo/my-image
3431+
# Corresponds to the JSON property `registryPath`
3432+
# @return [String]
3433+
attr_accessor :registry_path
3434+
3435+
# Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
3436+
# Corresponds to the JSON property `tags`
3437+
# @return [Array<String>]
3438+
attr_accessor :tags
3439+
3440+
def initialize(**args)
3441+
update!(**args)
3442+
end
3443+
3444+
# Update properties of this object
3445+
def update!(**args)
3446+
@file = args[:file] if args.key?(:file)
3447+
@registry_path = args[:registry_path] if args.key?(:registry_path)
3448+
@tags = args[:tags] if args.key?(:tags)
3449+
end
3450+
end
3451+
34013452
# This resource represents a long-running operation that is the result of a
34023453
# network API call.
34033454
class Operation

generated/google-apis-cloudbuild_v1/lib/google/apis/cloudbuild_v1/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 CloudbuildV1
1818
# Version of the google-apis-cloudbuild_v1 gem
19-
GEM_VERSION = "0.78.0"
19+
GEM_VERSION = "0.79.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 = "20260106"
25+
REVISION = "20260309"
2626
end
2727
end
2828
end

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
484484
include Google::Apis::Core::JsonObjectSupport
485485
end
486486

487+
class Oci
488+
class Representation < Google::Apis::Core::JsonRepresentation; end
489+
490+
include Google::Apis::Core::JsonObjectSupport
491+
end
492+
487493
class Operation
488494
class Representation < Google::Apis::Core::JsonRepresentation; end
489495

@@ -787,6 +793,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
787793

788794
property :objects, as: 'objects', class: Google::Apis::CloudbuildV1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1::ArtifactObjects::Representation
789795

796+
collection :oci, as: 'oci', class: Google::Apis::CloudbuildV1::Oci, decorator: Google::Apis::CloudbuildV1::Oci::Representation
797+
790798
collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::PythonPackage, decorator: Google::Apis::CloudbuildV1::PythonPackage::Representation
791799

792800
end
@@ -1091,6 +1099,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
10911099
property :artifact_registry_package, as: 'artifactRegistryPackage'
10921100
property :digest, as: 'digest'
10931101
property :name, as: 'name'
1102+
property :oci_media_type, as: 'ociMediaType'
10941103
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
10951104

10961105
end
@@ -1601,6 +1610,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
16011610
end
16021611
end
16031612

1613+
class Oci
1614+
# @private
1615+
class Representation < Google::Apis::Core::JsonRepresentation
1616+
property :file, as: 'file'
1617+
property :registry_path, as: 'registryPath'
1618+
collection :tags, as: 'tags'
1619+
end
1620+
end
1621+
16041622
class Operation
16051623
# @private
16061624
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)