Skip to content

Commit 6880a5b

Browse files
feat: Automated regeneration of run v1 client (#26031)
Auto-created at 2026-03-22 10:31:08 +0000 using the toys pull request generator.
1 parent 695b103 commit 6880a5b

5 files changed

Lines changed: 83 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354265,6 +354265,8 @@
354265354265
"/run:v1/GoogleDevtoolsCloudbuildV1Artifacts/npmPackages": npm_packages
354266354266
"/run:v1/GoogleDevtoolsCloudbuildV1Artifacts/npmPackages/npm_package": npm_package
354267354267
"/run:v1/GoogleDevtoolsCloudbuildV1Artifacts/objects": objects
354268+
"/run:v1/GoogleDevtoolsCloudbuildV1Artifacts/oci": oci
354269+
"/run:v1/GoogleDevtoolsCloudbuildV1Artifacts/oci/oci": oci
354268354270
"/run:v1/GoogleDevtoolsCloudbuildV1Artifacts/pythonPackages": python_packages
354269354271
"/run:v1/GoogleDevtoolsCloudbuildV1Artifacts/pythonPackages/python_package": python_package
354270354272
"/run:v1/GoogleDevtoolsCloudbuildV1Build": google_devtools_cloudbuild_v1_build
@@ -354364,6 +354366,7 @@
354364354366
"/run:v1/GoogleDevtoolsCloudbuildV1BuiltImage/artifactRegistryPackage": artifact_registry_package
354365354367
"/run:v1/GoogleDevtoolsCloudbuildV1BuiltImage/digest": digest
354366354368
"/run:v1/GoogleDevtoolsCloudbuildV1BuiltImage/name": name
354369+
"/run:v1/GoogleDevtoolsCloudbuildV1BuiltImage/ociMediaType": oci_media_type
354367354370
"/run:v1/GoogleDevtoolsCloudbuildV1BuiltImage/pushTiming": push_timing
354368354371
"/run:v1/GoogleDevtoolsCloudbuildV1ConnectedRepository": google_devtools_cloudbuild_v1_connected_repository
354369354372
"/run:v1/GoogleDevtoolsCloudbuildV1ConnectedRepository/dir": dir
@@ -354428,6 +354431,11 @@
354428354431
"/run:v1/GoogleDevtoolsCloudbuildV1NpmPackage": google_devtools_cloudbuild_v1_npm_package
354429354432
"/run:v1/GoogleDevtoolsCloudbuildV1NpmPackage/packagePath": package_path
354430354433
"/run:v1/GoogleDevtoolsCloudbuildV1NpmPackage/repository": repository
354434+
"/run:v1/GoogleDevtoolsCloudbuildV1Oci": google_devtools_cloudbuild_v1_oci
354435+
"/run:v1/GoogleDevtoolsCloudbuildV1Oci/file": file
354436+
"/run:v1/GoogleDevtoolsCloudbuildV1Oci/registryPath": registry_path
354437+
"/run:v1/GoogleDevtoolsCloudbuildV1Oci/tags": tags
354438+
"/run:v1/GoogleDevtoolsCloudbuildV1Oci/tags/tag": tag
354431354439
"/run:v1/GoogleDevtoolsCloudbuildV1PoolOption": google_devtools_cloudbuild_v1_pool_option
354432354440
"/run:v1/GoogleDevtoolsCloudbuildV1PoolOption/name": name
354433354441
"/run:v1/GoogleDevtoolsCloudbuildV1PythonPackage": google_devtools_cloudbuild_v1_python_package

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

3+
### v0.102.0 (2026-03-22)
4+
5+
* Regenerated from discovery document revision 20260313
6+
37
### v0.101.0 (2026-03-15)
48

59
* Regenerated from discovery document revision 20260306

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,15 @@ class GoogleDevtoolsCloudbuildV1Artifacts
15941594
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ArtifactObjects]
15951595
attr_accessor :objects
15961596

1597+
# Optional. A list of OCI images to be uploaded to Artifact Registry upon
1598+
# successful completion of all build steps. OCI images in the specified paths
1599+
# will be uploaded to the specified Artifact Registry repository using the
1600+
# builder service account's credentials. If any images fail to be pushed, the
1601+
# build is marked FAILURE.
1602+
# Corresponds to the JSON property `oci`
1603+
# @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1Oci>]
1604+
attr_accessor :oci
1605+
15971606
# A list of Python packages to be uploaded to Artifact Registry upon successful
15981607
# completion of all build steps. The build service account credentials will be
15991608
# used to perform the upload. If any objects fail to be pushed, the build is
@@ -1613,6 +1622,7 @@ def update!(**args)
16131622
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
16141623
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
16151624
@objects = args[:objects] if args.key?(:objects)
1625+
@oci = args[:oci] if args.key?(:oci)
16161626
@python_packages = args[:python_packages] if args.key?(:python_packages)
16171627
end
16181628
end
@@ -2247,6 +2257,12 @@ class GoogleDevtoolsCloudbuildV1BuiltImage
22472257
# @return [String]
22482258
attr_accessor :name
22492259

2260+
# Output only. The OCI media type of the artifact. Non-OCI images, such as
2261+
# Docker images, will have an unspecified value.
2262+
# Corresponds to the JSON property `ociMediaType`
2263+
# @return [String]
2264+
attr_accessor :oci_media_type
2265+
22502266
# Start and end times for a build execution phase.
22512267
# Corresponds to the JSON property `pushTiming`
22522268
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan]
@@ -2261,6 +2277,7 @@ def update!(**args)
22612277
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
22622278
@digest = args[:digest] if args.key?(:digest)
22632279
@name = args[:name] if args.key?(:name)
2280+
@oci_media_type = args[:oci_media_type] if args.key?(:oci_media_type)
22642281
@push_timing = args[:push_timing] if args.key?(:push_timing)
22652282
end
22662283
end
@@ -2757,6 +2774,40 @@ def update!(**args)
27572774
end
27582775
end
27592776

2777+
# OCI image to upload to Artifact Registry upon successful completion of all
2778+
# build steps.
2779+
class GoogleDevtoolsCloudbuildV1Oci
2780+
include Google::Apis::Core::Hashable
2781+
2782+
# Required. Path on the local file system where to find the container to upload.
2783+
# e.g. /workspace/my-image.tar
2784+
# Corresponds to the JSON property `file`
2785+
# @return [String]
2786+
attr_accessor :file
2787+
2788+
# Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.
2789+
# dev/my-project/my-repo/my-image
2790+
# Corresponds to the JSON property `registryPath`
2791+
# @return [String]
2792+
attr_accessor :registry_path
2793+
2794+
# Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
2795+
# Corresponds to the JSON property `tags`
2796+
# @return [Array<String>]
2797+
attr_accessor :tags
2798+
2799+
def initialize(**args)
2800+
update!(**args)
2801+
end
2802+
2803+
# Update properties of this object
2804+
def update!(**args)
2805+
@file = args[:file] if args.key?(:file)
2806+
@registry_path = args[:registry_path] if args.key?(:registry_path)
2807+
@tags = args[:tags] if args.key?(:tags)
2808+
end
2809+
end
2810+
27602811
# Details about how a build should be executed on a `WorkerPool`. See [running
27612812
# builds in a private pool](https://cloud.google.com/build/docs/private-pools/
27622813
# run-builds-in-private-pool) for more information.

generated/google-apis-run_v1/lib/google/apis/run_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 RunV1
1818
# Version of the google-apis-run_v1 gem
19-
GEM_VERSION = "0.101.0"
19+
GEM_VERSION = "0.102.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 = "20260306"
25+
REVISION = "20260313"
2626
end
2727
end
2828
end

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
370370
include Google::Apis::Core::JsonObjectSupport
371371
end
372372

373+
class GoogleDevtoolsCloudbuildV1Oci
374+
class Representation < Google::Apis::Core::JsonRepresentation; end
375+
376+
include Google::Apis::Core::JsonObjectSupport
377+
end
378+
373379
class GoogleDevtoolsCloudbuildV1PoolOption
374380
class Representation < Google::Apis::Core::JsonRepresentation; end
375381

@@ -1304,6 +1310,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
13041310

13051311
property :objects, as: 'objects', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ArtifactObjects, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ArtifactObjects::Representation
13061312

1313+
collection :oci, as: 'oci', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1Oci, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1Oci::Representation
1314+
13071315
collection :python_packages, as: 'pythonPackages', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1PythonPackage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1PythonPackage::Representation
13081316

13091317
end
@@ -1437,6 +1445,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
14371445
property :artifact_registry_package, as: 'artifactRegistryPackage'
14381446
property :digest, as: 'digest'
14391447
property :name, as: 'name'
1448+
property :oci_media_type, as: 'ociMediaType'
14401449
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
14411450

14421451
end
@@ -1577,6 +1586,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
15771586
end
15781587
end
15791588

1589+
class GoogleDevtoolsCloudbuildV1Oci
1590+
# @private
1591+
class Representation < Google::Apis::Core::JsonRepresentation
1592+
property :file, as: 'file'
1593+
property :registry_path, as: 'registryPath'
1594+
collection :tags, as: 'tags'
1595+
end
1596+
end
1597+
15801598
class GoogleDevtoolsCloudbuildV1PoolOption
15811599
# @private
15821600
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)