Skip to content

Commit c73702c

Browse files
feat: Automated regeneration of run v2 client (googleapis#26390)
Auto-created at 2026-05-03 11:38:30 +0000 using the toys pull request generator.
1 parent 44976c8 commit c73702c

6 files changed

Lines changed: 235 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363197,6 +363197,8 @@
363197363197
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/id": id
363198363198
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/name": name
363199363199
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/pullTiming": pull_timing
363200+
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/results": results
363201+
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/results/result": result
363200363202
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/script": script
363201363203
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/secretEnv": secret_env
363202363204
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/secretEnv/secret_env": secret_env
@@ -363207,6 +363209,9 @@
363207363209
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/volumes/volume": volume
363208363210
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/waitFor": wait_for
363209363211
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStep/waitFor/wait_for": wait_for
363212+
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStepResults": google_devtools_cloudbuild_v1_build_step_results
363213+
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStepResults/results": results
363214+
"/run:v2/GoogleDevtoolsCloudbuildV1BuildStepResults/results/result": result
363210363215
"/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage": google_devtools_cloudbuild_v1_built_image
363211363216
"/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage/artifactRegistryPackage": artifact_registry_package
363212363217
"/run:v2/GoogleDevtoolsCloudbuildV1BuiltImage/digest": digest
@@ -363311,6 +363316,8 @@
363311363316
"/run:v2/GoogleDevtoolsCloudbuildV1Results/buildStepImages/build_step_image": build_step_image
363312363317
"/run:v2/GoogleDevtoolsCloudbuildV1Results/buildStepOutputs": build_step_outputs
363313363318
"/run:v2/GoogleDevtoolsCloudbuildV1Results/buildStepOutputs/build_step_output": build_step_output
363319+
"/run:v2/GoogleDevtoolsCloudbuildV1Results/buildStepResults": build_step_results
363320+
"/run:v2/GoogleDevtoolsCloudbuildV1Results/buildStepResults/build_step_result": build_step_result
363314363321
"/run:v2/GoogleDevtoolsCloudbuildV1Results/genericArtifacts": generic_artifacts
363315363322
"/run:v2/GoogleDevtoolsCloudbuildV1Results/genericArtifacts/generic_artifact": generic_artifact
363316363323
"/run:v2/GoogleDevtoolsCloudbuildV1Results/goModules": go_modules
@@ -363351,6 +363358,10 @@
363351363358
"/run:v2/GoogleDevtoolsCloudbuildV1SourceProvenance/resolvedRepoSource": resolved_repo_source
363352363359
"/run:v2/GoogleDevtoolsCloudbuildV1SourceProvenance/resolvedStorageSource": resolved_storage_source
363353363360
"/run:v2/GoogleDevtoolsCloudbuildV1SourceProvenance/resolvedStorageSourceManifest": resolved_storage_source_manifest
363361+
"/run:v2/GoogleDevtoolsCloudbuildV1StepResult": google_devtools_cloudbuild_v1_step_result
363362+
"/run:v2/GoogleDevtoolsCloudbuildV1StepResult/attestationContent": attestation_content
363363+
"/run:v2/GoogleDevtoolsCloudbuildV1StepResult/attestationType": attestation_type
363364+
"/run:v2/GoogleDevtoolsCloudbuildV1StepResult/name": name
363354363365
"/run:v2/GoogleDevtoolsCloudbuildV1StorageSource": google_devtools_cloudbuild_v1_storage_source
363355363366
"/run:v2/GoogleDevtoolsCloudbuildV1StorageSource/bucket": bucket
363356363367
"/run:v2/GoogleDevtoolsCloudbuildV1StorageSource/generation": generation
@@ -363483,6 +363494,9 @@
363483363494
"/run:v2/run.projects.locations.instances.delete/validateOnly": validate_only
363484363495
"/run:v2/run.projects.locations.instances.get": get_project_location_instance
363485363496
"/run:v2/run.projects.locations.instances.get/name": name
363497+
"/run:v2/run.projects.locations.instances.getIamPolicy": get_project_location_instance_iam_policy
363498+
"/run:v2/run.projects.locations.instances.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version
363499+
"/run:v2/run.projects.locations.instances.getIamPolicy/resource": resource
363486363500
"/run:v2/run.projects.locations.instances.list": list_project_location_instances
363487363501
"/run:v2/run.projects.locations.instances.list/pageSize": page_size
363488363502
"/run:v2/run.projects.locations.instances.list/pageToken": page_token
@@ -363493,10 +363507,14 @@
363493363507
"/run:v2/run.projects.locations.instances.patch/name": name
363494363508
"/run:v2/run.projects.locations.instances.patch/updateMask": update_mask
363495363509
"/run:v2/run.projects.locations.instances.patch/validateOnly": validate_only
363510+
"/run:v2/run.projects.locations.instances.setIamPolicy": set_project_location_instance_iam_policy
363511+
"/run:v2/run.projects.locations.instances.setIamPolicy/resource": resource
363496363512
"/run:v2/run.projects.locations.instances.start": start_project_location_instance
363497363513
"/run:v2/run.projects.locations.instances.start/name": name
363498363514
"/run:v2/run.projects.locations.instances.stop": stop_project_location_instance
363499363515
"/run:v2/run.projects.locations.instances.stop/name": name
363516+
"/run:v2/run.projects.locations.instances.testIamPermissions": test_project_location_instance_iam_permissions
363517+
"/run:v2/run.projects.locations.instances.testIamPermissions/resource": resource
363500363518
"/run:v2/run.projects.locations.jobs.create": create_project_location_job
363501363519
"/run:v2/run.projects.locations.jobs.create/jobId": job_id
363502363520
"/run:v2/run.projects.locations.jobs.create/parent": parent

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

3+
### v0.113.0 (2026-05-03)
4+
5+
* Regenerated from discovery document revision 20260427
6+
37
### v0.112.0 (2026-04-19)
48

59
* Regenerated from discovery document revision 20260403

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

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5384,6 +5384,11 @@ class GoogleDevtoolsCloudbuildV1BuildStep
53845384
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan]
53855385
attr_accessor :pull_timing
53865386

5387+
# Declaration of results for this build step.
5388+
# Corresponds to the JSON property `results`
5389+
# @return [Array<Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1StepResult>]
5390+
attr_accessor :results
5391+
53875392
# A shell script to be executed in the step. When script is provided, the user
53885393
# cannot specify the entrypoint or args.
53895394
# Corresponds to the JSON property `script`
@@ -5450,6 +5455,7 @@ def update!(**args)
54505455
@id = args[:id] if args.key?(:id)
54515456
@name = args[:name] if args.key?(:name)
54525457
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
5458+
@results = args[:results] if args.key?(:results)
54535459
@script = args[:script] if args.key?(:script)
54545460
@secret_env = args[:secret_env] if args.key?(:secret_env)
54555461
@status = args[:status] if args.key?(:status)
@@ -5460,6 +5466,25 @@ def update!(**args)
54605466
end
54615467
end
54625468

5469+
# Results for a build step.
5470+
class GoogleDevtoolsCloudbuildV1BuildStepResults
5471+
include Google::Apis::Core::Hashable
5472+
5473+
# Results for a build step.
5474+
# Corresponds to the JSON property `results`
5475+
# @return [Hash<String,String>]
5476+
attr_accessor :results
5477+
5478+
def initialize(**args)
5479+
update!(**args)
5480+
end
5481+
5482+
# Update properties of this object
5483+
def update!(**args)
5484+
@results = args[:results] if args.key?(:results)
5485+
end
5486+
end
5487+
54635488
# An image built by the pipeline.
54645489
class GoogleDevtoolsCloudbuildV1BuiltImage
54655490
include Google::Apis::Core::Hashable
@@ -6245,6 +6270,11 @@ class GoogleDevtoolsCloudbuildV1Results
62456270
# @return [Array<String>]
62466271
attr_accessor :build_step_outputs
62476272

6273+
# Results for build steps. step_id ->
6274+
# Corresponds to the JSON property `buildStepResults`
6275+
# @return [Hash<String,Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildStepResults>]
6276+
attr_accessor :build_step_results
6277+
62486278
# Output only. Generic artifacts uploaded to Artifact Registry at the end of the
62496279
# build.
62506280
# Corresponds to the JSON property `genericArtifacts`
@@ -6293,6 +6323,7 @@ def update!(**args)
62936323
@artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
62946324
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
62956325
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
6326+
@build_step_results = args[:build_step_results] if args.key?(:build_step_results)
62966327
@generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
62976328
@go_modules = args[:go_modules] if args.key?(:go_modules)
62986329
@images = args[:images] if args.key?(:images)
@@ -6496,6 +6527,37 @@ def update!(**args)
64966527
end
64976528
end
64986529

6530+
# StepResult is the declaration of a result for a build step.
6531+
class GoogleDevtoolsCloudbuildV1StepResult
6532+
include Google::Apis::Core::Hashable
6533+
6534+
# Optional. The content of the attestation to be generated.
6535+
# Corresponds to the JSON property `attestationContent`
6536+
# @return [String]
6537+
attr_accessor :attestation_content
6538+
6539+
# Optional. The type of attestation to be generated.
6540+
# Corresponds to the JSON property `attestationType`
6541+
# @return [String]
6542+
attr_accessor :attestation_type
6543+
6544+
# Required. The name of the result.
6545+
# Corresponds to the JSON property `name`
6546+
# @return [String]
6547+
attr_accessor :name
6548+
6549+
def initialize(**args)
6550+
update!(**args)
6551+
end
6552+
6553+
# Update properties of this object
6554+
def update!(**args)
6555+
@attestation_content = args[:attestation_content] if args.key?(:attestation_content)
6556+
@attestation_type = args[:attestation_type] if args.key?(:attestation_type)
6557+
@name = args[:name] if args.key?(:name)
6558+
end
6559+
end
6560+
64996561
# Location of the source in an archive file in Cloud Storage.
65006562
class GoogleDevtoolsCloudbuildV1StorageSource
65016563
include Google::Apis::Core::Hashable

generated/google-apis-run_v2/lib/google/apis/run_v2/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 RunV2
1818
# Version of the google-apis-run_v2 gem
19-
GEM_VERSION = "0.112.0"
19+
GEM_VERSION = "0.113.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 = "20260403"
25+
REVISION = "20260427"
2626
end
2727
end
2828
end

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
538538
include Google::Apis::Core::JsonObjectSupport
539539
end
540540

541+
class GoogleDevtoolsCloudbuildV1BuildStepResults
542+
class Representation < Google::Apis::Core::JsonRepresentation; end
543+
544+
include Google::Apis::Core::JsonObjectSupport
545+
end
546+
541547
class GoogleDevtoolsCloudbuildV1BuiltImage
542548
class Representation < Google::Apis::Core::JsonRepresentation; end
543549

@@ -706,6 +712,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
706712
include Google::Apis::Core::JsonObjectSupport
707713
end
708714

715+
class GoogleDevtoolsCloudbuildV1StepResult
716+
class Representation < Google::Apis::Core::JsonRepresentation; end
717+
718+
include Google::Apis::Core::JsonObjectSupport
719+
end
720+
709721
class GoogleDevtoolsCloudbuildV1StorageSource
710722
class Representation < Google::Apis::Core::JsonRepresentation; end
711723

@@ -2069,6 +2081,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
20692081
property :name, as: 'name'
20702082
property :pull_timing, as: 'pullTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
20712083

2084+
collection :results, as: 'results', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1StepResult, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1StepResult::Representation
2085+
20722086
property :script, as: 'script'
20732087
collection :secret_env, as: 'secretEnv'
20742088
property :status, as: 'status'
@@ -2081,6 +2095,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
20812095
end
20822096
end
20832097

2098+
class GoogleDevtoolsCloudbuildV1BuildStepResults
2099+
# @private
2100+
class Representation < Google::Apis::Core::JsonRepresentation
2101+
hash :results, as: 'results'
2102+
end
2103+
end
2104+
20842105
class GoogleDevtoolsCloudbuildV1BuiltImage
20852106
# @private
20862107
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2292,6 +2313,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
22922313

22932314
collection :build_step_images, as: 'buildStepImages'
22942315
collection :build_step_outputs, as: 'buildStepOutputs'
2316+
hash :build_step_results, as: 'buildStepResults', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildStepResults, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildStepResults::Representation
2317+
22952318
collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact::Representation
22962319

22972320
collection :go_modules, as: 'goModules', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGoModule, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGoModule::Representation
@@ -2370,6 +2393,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
23702393
end
23712394
end
23722395

2396+
class GoogleDevtoolsCloudbuildV1StepResult
2397+
# @private
2398+
class Representation < Google::Apis::Core::JsonRepresentation
2399+
property :attestation_content, as: 'attestationContent'
2400+
property :attestation_type, as: 'attestationType'
2401+
property :name, as: 'name'
2402+
end
2403+
end
2404+
23732405
class GoogleDevtoolsCloudbuildV1StorageSource
23742406
# @private
23752407
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)