Skip to content

Commit 5866351

Browse files
feat: Automated regeneration of run v1 client (#25460)
Auto-created at 2026-01-25 09:57:35 +0000 using the toys pull request generator.
1 parent 5611f99 commit 5866351

File tree

6 files changed

+709
-2
lines changed

6 files changed

+709
-2
lines changed

api_names_out.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346746,10 +346746,29 @@
346746346746
"/run:v1/HTTPHeader": http_header
346747346747
"/run:v1/HTTPHeader/name": name
346748346748
"/run:v1/HTTPHeader/value": value
346749+
"/run:v1/Instance": instance
346750+
"/run:v1/Instance/apiVersion": api_version
346751+
"/run:v1/Instance/kind": kind
346752+
"/run:v1/Instance/metadata": metadata
346753+
"/run:v1/Instance/spec": spec
346754+
"/run:v1/Instance/status": status
346755+
"/run:v1/InstanceSpec": instance_spec
346756+
"/run:v1/InstanceSpec/containers": containers
346757+
"/run:v1/InstanceSpec/containers/container": container
346758+
"/run:v1/InstanceSpec/nodeSelector": node_selector
346759+
"/run:v1/InstanceSpec/nodeSelector/node_selector": node_selector
346760+
"/run:v1/InstanceSpec/serviceAccountName": service_account_name
346761+
"/run:v1/InstanceSpec/volumes": volumes
346762+
"/run:v1/InstanceSpec/volumes/volume": volume
346749346763
"/run:v1/InstanceSplit": instance_split
346750346764
"/run:v1/InstanceSplit/latestRevision": latest_revision
346751346765
"/run:v1/InstanceSplit/percent": percent
346752346766
"/run:v1/InstanceSplit/revisionName": revision_name
346767+
"/run:v1/InstanceStatus": instance_status
346768+
"/run:v1/InstanceStatus/conditions": conditions
346769+
"/run:v1/InstanceStatus/conditions/condition": condition
346770+
"/run:v1/InstanceStatus/logUri": log_uri
346771+
"/run:v1/InstanceStatus/observedGeneration": observed_generation
346753346772
"/run:v1/Job": job
346754346773
"/run:v1/Job/apiVersion": api_version
346755346774
"/run:v1/Job/kind": kind
@@ -346800,6 +346819,14 @@
346800346819
"/run:v1/ListExecutionsResponse/metadata": metadata
346801346820
"/run:v1/ListExecutionsResponse/unreachable": unreachable
346802346821
"/run:v1/ListExecutionsResponse/unreachable/unreachable": unreachable
346822+
"/run:v1/ListInstancesResponse": list_instances_response
346823+
"/run:v1/ListInstancesResponse/apiVersion": api_version
346824+
"/run:v1/ListInstancesResponse/items": items
346825+
"/run:v1/ListInstancesResponse/items/item": item
346826+
"/run:v1/ListInstancesResponse/kind": kind
346827+
"/run:v1/ListInstancesResponse/metadata": metadata
346828+
"/run:v1/ListInstancesResponse/unreachable": unreachable
346829+
"/run:v1/ListInstancesResponse/unreachable/unreachable": unreachable
346803346830
"/run:v1/ListJobsResponse": list_jobs_response
346804346831
"/run:v1/ListJobsResponse/apiVersion": api_version
346805346832
"/run:v1/ListJobsResponse/items": items
@@ -347034,6 +347061,7 @@
347034347061
"/run:v1/SetIamPolicyRequest": set_iam_policy_request
347035347062
"/run:v1/SetIamPolicyRequest/policy": policy
347036347063
"/run:v1/SetIamPolicyRequest/updateMask": update_mask
347064+
"/run:v1/StartInstanceRequest": start_instance_request
347037347065
"/run:v1/Status": status
347038347066
"/run:v1/Status/code": code
347039347067
"/run:v1/Status/details": details
@@ -347053,6 +347081,7 @@
347053347081
"/run:v1/StatusDetails/name": name
347054347082
"/run:v1/StatusDetails/retryAfterSeconds": retry_after_seconds
347055347083
"/run:v1/StatusDetails/uid": uid
347084+
"/run:v1/StopInstanceRequest": stop_instance_request
347056347085
"/run:v1/TCPSocketAction": tcp_socket_action
347057347086
"/run:v1/TCPSocketAction/host": host
347058347087
"/run:v1/TCPSocketAction/port": port
@@ -347198,6 +347227,28 @@
347198347227
"/run:v1/run.namespaces.executions.list/parent": parent
347199347228
"/run:v1/run.namespaces.executions.list/resourceVersion": resource_version
347200347229
"/run:v1/run.namespaces.executions.list/watch": watch
347230+
"/run:v1/run.namespaces.instances.create": create_namespace_instance
347231+
"/run:v1/run.namespaces.instances.create/parent": parent
347232+
"/run:v1/run.namespaces.instances.delete": delete_namespace_instance
347233+
"/run:v1/run.namespaces.instances.delete/apiVersion": api_version
347234+
"/run:v1/run.namespaces.instances.delete/kind": kind
347235+
"/run:v1/run.namespaces.instances.delete/name": name
347236+
"/run:v1/run.namespaces.instances.delete/propagationPolicy": propagation_policy
347237+
"/run:v1/run.namespaces.instances.get": get_namespace_instance
347238+
"/run:v1/run.namespaces.instances.get/name": name
347239+
"/run:v1/run.namespaces.instances.list": list_namespace_instances
347240+
"/run:v1/run.namespaces.instances.list/continue": continue
347241+
"/run:v1/run.namespaces.instances.list/fieldSelector": field_selector
347242+
"/run:v1/run.namespaces.instances.list/includeUninitialized": include_uninitialized
347243+
"/run:v1/run.namespaces.instances.list/labelSelector": label_selector
347244+
"/run:v1/run.namespaces.instances.list/limit": limit
347245+
"/run:v1/run.namespaces.instances.list/parent": parent
347246+
"/run:v1/run.namespaces.instances.list/resourceVersion": resource_version
347247+
"/run:v1/run.namespaces.instances.list/watch": watch
347248+
"/run:v1/run.namespaces.instances.start": start_instance
347249+
"/run:v1/run.namespaces.instances.start/name": name
347250+
"/run:v1/run.namespaces.instances.stop": stop_instance
347251+
"/run:v1/run.namespaces.instances.stop/name": name
347201347252
"/run:v1/run.namespaces.jobs.create": create_namespace_job
347202347253
"/run:v1/run.namespaces.jobs.create/parent": parent
347203347254
"/run:v1/run.namespaces.jobs.delete": delete_namespace_job
@@ -347341,6 +347392,13 @@
347341347392
"/run:v1/run.projects.locations.domainmappings.list/watch": watch
347342347393
"/run:v1/run.projects.locations.get": get_project_location
347343347394
"/run:v1/run.projects.locations.get/name": name
347395+
"/run:v1/run.projects.locations.instances.getIamPolicy": get_project_location_instance_iam_policy
347396+
"/run:v1/run.projects.locations.instances.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version
347397+
"/run:v1/run.projects.locations.instances.getIamPolicy/resource": resource
347398+
"/run:v1/run.projects.locations.instances.setIamPolicy": set_instance_iam_policy
347399+
"/run:v1/run.projects.locations.instances.setIamPolicy/resource": resource
347400+
"/run:v1/run.projects.locations.instances.testIamPermissions": test_instance_iam_permissions
347401+
"/run:v1/run.projects.locations.instances.testIamPermissions/resource": resource
347344347402
"/run:v1/run.projects.locations.jobs.getIamPolicy": get_project_location_job_iam_policy
347345347403
"/run:v1/run.projects.locations.jobs.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version
347346347404
"/run:v1/run.projects.locations.jobs.getIamPolicy/resource": resource

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.98.0 (2026-01-25)
4+
5+
* Regenerated from discovery document revision 20260117
6+
37
### v0.97.0 (2026-01-18)
48

59
* Regenerated from discovery document revision 20260109

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

Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3688,6 +3688,98 @@ def update!(**args)
36883688
end
36893689
end
36903690

3691+
# Instance represents the configuration of a single Instance, which references a
3692+
# container image which is run to completion.
3693+
class Instance
3694+
include Google::Apis::Core::Hashable
3695+
3696+
# Optional. APIVersion defines the versioned schema of this representation of an
3697+
# object. Servers should convert recognized schemas to the latest internal value,
3698+
# and may reject unrecognized values.
3699+
# Corresponds to the JSON property `apiVersion`
3700+
# @return [String]
3701+
attr_accessor :api_version
3702+
3703+
# Optional. Kind is a string value representing the REST resource this object
3704+
# represents. Servers may infer this from the endpoint the client submits
3705+
# requests to. Cannot be updated. In CamelCase.
3706+
# Corresponds to the JSON property `kind`
3707+
# @return [String]
3708+
attr_accessor :kind
3709+
3710+
# google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources
3711+
# must have, which includes all objects users must create.
3712+
# Corresponds to the JSON property `metadata`
3713+
# @return [Google::Apis::RunV1::ObjectMeta]
3714+
attr_accessor :metadata
3715+
3716+
# InstanceSpec describes how the Instance will look.
3717+
# Corresponds to the JSON property `spec`
3718+
# @return [Google::Apis::RunV1::InstanceSpec]
3719+
attr_accessor :spec
3720+
3721+
# InstanceStatus represents the current state of a Instance.
3722+
# Corresponds to the JSON property `status`
3723+
# @return [Google::Apis::RunV1::InstanceStatus]
3724+
attr_accessor :status
3725+
3726+
def initialize(**args)
3727+
update!(**args)
3728+
end
3729+
3730+
# Update properties of this object
3731+
def update!(**args)
3732+
@api_version = args[:api_version] if args.key?(:api_version)
3733+
@kind = args[:kind] if args.key?(:kind)
3734+
@metadata = args[:metadata] if args.key?(:metadata)
3735+
@spec = args[:spec] if args.key?(:spec)
3736+
@status = args[:status] if args.key?(:status)
3737+
end
3738+
end
3739+
3740+
# InstanceSpec describes how the Instance will look.
3741+
class InstanceSpec
3742+
include Google::Apis::Core::Hashable
3743+
3744+
# Optional. List of containers belonging to the Instance. We disallow a number
3745+
# of fields on this Container.
3746+
# Corresponds to the JSON property `containers`
3747+
# @return [Array<Google::Apis::RunV1::Container>]
3748+
attr_accessor :containers
3749+
3750+
# Optional. The Node Selector configuration. Map of selector key to a value
3751+
# which matches a node.
3752+
# Corresponds to the JSON property `nodeSelector`
3753+
# @return [Hash<String,String>]
3754+
attr_accessor :node_selector
3755+
3756+
# Optional. Email address of the IAM service account associated with the
3757+
# Instance. The service account represents the identity of the running container,
3758+
# and determines what permissions the Instance has. If not provided, the
3759+
# Instance will use the project's default service account.
3760+
# Corresponds to the JSON property `serviceAccountName`
3761+
# @return [String]
3762+
attr_accessor :service_account_name
3763+
3764+
# Optional. List of volumes that can be mounted by containers belonging to the
3765+
# Instance.
3766+
# Corresponds to the JSON property `volumes`
3767+
# @return [Array<Google::Apis::RunV1::Volume>]
3768+
attr_accessor :volumes
3769+
3770+
def initialize(**args)
3771+
update!(**args)
3772+
end
3773+
3774+
# Update properties of this object
3775+
def update!(**args)
3776+
@containers = args[:containers] if args.key?(:containers)
3777+
@node_selector = args[:node_selector] if args.key?(:node_selector)
3778+
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
3779+
@volumes = args[:volumes] if args.key?(:volumes)
3780+
end
3781+
end
3782+
36913783
# Holds a single instance split entry for the Worker. Allocations can be done to
36923784
# a specific Revision name, or pointing to the latest Ready Revision.
36933785
class InstanceSplit
@@ -3724,6 +3816,41 @@ def update!(**args)
37243816
end
37253817
end
37263818

3819+
# InstanceStatus represents the current state of a Instance.
3820+
class InstanceStatus
3821+
include Google::Apis::Core::Hashable
3822+
3823+
# Output only. Conditions communicate information about ongoing/complete
3824+
# reconciliation processes that bring the "spec" inline with the observed state
3825+
# of the world. Instance-specific conditions include: * `Ready`: `True` when the
3826+
# Instance is ready to be executed.
3827+
# Corresponds to the JSON property `conditions`
3828+
# @return [Array<Google::Apis::RunV1::GoogleCloudRunV1Condition>]
3829+
attr_accessor :conditions
3830+
3831+
# Optional. URI where logs for this execution can be found in Cloud Console.
3832+
# Corresponds to the JSON property `logUri`
3833+
# @return [String]
3834+
attr_accessor :log_uri
3835+
3836+
# Output only. The 'generation' of the Instance that was last processed by the
3837+
# controller.
3838+
# Corresponds to the JSON property `observedGeneration`
3839+
# @return [Fixnum]
3840+
attr_accessor :observed_generation
3841+
3842+
def initialize(**args)
3843+
update!(**args)
3844+
end
3845+
3846+
# Update properties of this object
3847+
def update!(**args)
3848+
@conditions = args[:conditions] if args.key?(:conditions)
3849+
@log_uri = args[:log_uri] if args.key?(:log_uri)
3850+
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
3851+
end
3852+
end
3853+
37273854
# Job represents the configuration of a single job, which references a container
37283855
# image which is run to completion.
37293856
class Job
@@ -4049,6 +4176,50 @@ def update!(**args)
40494176
end
40504177
end
40514178

4179+
# ListInstancesResponse is a list of Instances resources.
4180+
class ListInstancesResponse
4181+
include Google::Apis::Core::Hashable
4182+
4183+
# The API version for this call such as "run.googleapis.com/v1".
4184+
# Corresponds to the JSON property `apiVersion`
4185+
# @return [String]
4186+
attr_accessor :api_version
4187+
4188+
# List of Instances.
4189+
# Corresponds to the JSON property `items`
4190+
# @return [Array<Google::Apis::RunV1::Instance>]
4191+
attr_accessor :items
4192+
4193+
# The kind of this resource, in this case "InstancesList".
4194+
# Corresponds to the JSON property `kind`
4195+
# @return [String]
4196+
attr_accessor :kind
4197+
4198+
# Metadata for synthetic resources like List. In Cloud Run, all List Resources
4199+
# Responses will have a ListMeta instead of ObjectMeta.
4200+
# Corresponds to the JSON property `metadata`
4201+
# @return [Google::Apis::RunV1::ListMeta]
4202+
attr_accessor :metadata
4203+
4204+
# Locations that could not be reached.
4205+
# Corresponds to the JSON property `unreachable`
4206+
# @return [Array<String>]
4207+
attr_accessor :unreachable
4208+
4209+
def initialize(**args)
4210+
update!(**args)
4211+
end
4212+
4213+
# Update properties of this object
4214+
def update!(**args)
4215+
@api_version = args[:api_version] if args.key?(:api_version)
4216+
@items = args[:items] if args.key?(:items)
4217+
@kind = args[:kind] if args.key?(:kind)
4218+
@metadata = args[:metadata] if args.key?(:metadata)
4219+
@unreachable = args[:unreachable] if args.key?(:unreachable)
4220+
end
4221+
end
4222+
40524223
# ListJobsResponse is a list of Jobs resources.
40534224
class ListJobsResponse
40544225
include Google::Apis::Core::Hashable
@@ -5683,6 +5854,19 @@ def update!(**args)
56835854
end
56845855
end
56855856

5857+
# Request message for starting a stopped Instance.
5858+
class StartInstanceRequest
5859+
include Google::Apis::Core::Hashable
5860+
5861+
def initialize(**args)
5862+
update!(**args)
5863+
end
5864+
5865+
# Update properties of this object
5866+
def update!(**args)
5867+
end
5868+
end
5869+
56865870
# Status is a return value for calls that don't return other objects.
56875871
class Status
56885872
include Google::Apis::Core::Hashable
@@ -5837,6 +6021,19 @@ def update!(**args)
58376021
end
58386022
end
58396023

6024+
# Request message for stopping a running Instance.
6025+
class StopInstanceRequest
6026+
include Google::Apis::Core::Hashable
6027+
6028+
def initialize(**args)
6029+
update!(**args)
6030+
end
6031+
6032+
# Update properties of this object
6033+
def update!(**args)
6034+
end
6035+
end
6036+
58406037
# TCPSocketAction describes an action based on opening a socket
58416038
class TcpSocketAction
58426039
include Google::Apis::Core::Hashable

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.97.0"
19+
GEM_VERSION = "0.98.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 = "20260109"
25+
REVISION = "20260117"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)