Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -398657,6 +398657,7 @@
"/run:v1/InstanceSpec/nodeSelector": node_selector
"/run:v1/InstanceSpec/nodeSelector/node_selector": node_selector
"/run:v1/InstanceSpec/restartPolicy": restart_policy
"/run:v1/InstanceSpec/sandboxes": sandboxes
"/run:v1/InstanceSpec/serviceAccountName": service_account_name
"/run:v1/InstanceSpec/timeout": timeout
"/run:v1/InstanceSpec/volumes": volumes
Expand Down Expand Up @@ -398920,6 +398921,21 @@
"/run:v1/RouteStatus/url": url
"/run:v1/RunJobRequest": run_job_request
"/run:v1/RunJobRequest/overrides": overrides
"/run:v1/SandboxConfiguration": sandbox_configuration
"/run:v1/SandboxConfiguration/templates": templates
"/run:v1/SandboxConfiguration/templates/template": template
"/run:v1/SandboxTemplate": sandbox_template
"/run:v1/SandboxTemplate/args": args
"/run:v1/SandboxTemplate/args/arg": arg
"/run:v1/SandboxTemplate/command": command
"/run:v1/SandboxTemplate/command/command": command
"/run:v1/SandboxTemplate/env": env
"/run:v1/SandboxTemplate/env/env": env
"/run:v1/SandboxTemplate/image": image
"/run:v1/SandboxTemplate/name": name
"/run:v1/SandboxTemplate/volumeMounts": volume_mounts
"/run:v1/SandboxTemplate/volumeMounts/volume_mount": volume_mount
"/run:v1/SandboxTemplate/workingDir": working_dir
"/run:v1/Secret": secret
"/run:v1/Secret/data": data
"/run:v1/Secret/data/datum": datum
Expand Down Expand Up @@ -399009,6 +399025,7 @@
"/run:v1/TaskSpec/maxRetries": max_retries
"/run:v1/TaskSpec/nodeSelector": node_selector
"/run:v1/TaskSpec/nodeSelector/node_selector": node_selector
"/run:v1/TaskSpec/sandboxes": sandboxes
"/run:v1/TaskSpec/serviceAccountName": service_account_name
"/run:v1/TaskSpec/timeoutSeconds": timeout_seconds
"/run:v1/TaskSpec/volumes": volumes
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-run_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-run_v1

### v0.116.0 (2026-11-01)

* Regenerated from discovery document revision 20261023

### v0.115.0 (2026-10-21)

* Regenerated from discovery document revision 20261016
Expand Down
4 changes: 2 additions & 2 deletions generated/google-apis-run_v1/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
google-apis-run_v1 (0.115.0)
google-apis-run_v1 (0.116.0)
google-apis-core (>= 0.15.0, < 2.a)

GEM
Expand Down Expand Up @@ -106,7 +106,7 @@ CHECKSUMS
faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad
faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588
google-apis-core (1.2.1) sha256=3739030455277e3be90f2d07321ad4d0bf0d6b1ed820b2d092916d6cdef05337
google-apis-run_v1 (0.115.0)
google-apis-run_v1 (0.116.0)
google-cloud-env (2.3.1) sha256=0faac01eb27be78c2591d64433663b1a114f8f7af55a4f819755426cac9178e7
google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b
googleauth (1.17.1) sha256=0f7e6fc70e204cee1b2d71f1e1de2d3b349d432404197fe68ebf7fa23d0821b9
Expand Down
97 changes: 97 additions & 0 deletions generated/google-apis-run_v1/lib/google/apis/run_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4111,6 +4111,11 @@ class InstanceSpec
# @return [String]
attr_accessor :restart_policy

# Configuration for sandboxes.
# Corresponds to the JSON property `sandboxes`
# @return [Google::Apis::RunV1::SandboxConfiguration]
attr_accessor :sandboxes

# Optional. Email address of the IAM service account associated with the
# Instance. The service account represents the identity of the running container,
# and determines what permissions the Instance has. If not provided, the
Expand All @@ -4134,6 +4139,7 @@ def update!(**args)
@containers = args[:containers] if args.key?(:containers)
@node_selector = args[:node_selector] if args.key?(:node_selector)
@restart_policy = args[:restart_policy] if args.key?(:restart_policy)
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
@volumes = args[:volumes] if args.key?(:volumes)
end
Expand Down Expand Up @@ -5587,6 +5593,11 @@ class RevisionSpec
# @return [String]
attr_accessor :runtime_class_name

# Configuration for sandboxes.
# Corresponds to the JSON property `sandboxes`
# @return [Google::Apis::RunV1::SandboxConfiguration]
attr_accessor :sandboxes

# Email address of the IAM service account associated with the revision of the
# service. The service account represents the identity of the running revision,
# and determines what permissions the revision has. If not provided, the
Expand Down Expand Up @@ -5619,6 +5630,7 @@ def update!(**args)
@image_pull_secrets = args[:image_pull_secrets] if args.key?(:image_pull_secrets)
@node_selector = args[:node_selector] if args.key?(:node_selector)
@runtime_class_name = args[:runtime_class_name] if args.key?(:runtime_class_name)
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
@volumes = args[:volumes] if args.key?(:volumes)
Expand Down Expand Up @@ -5861,6 +5873,85 @@ def update!(**args)
end
end

# Configuration for sandboxes.
class SandboxConfiguration
include Google::Apis::Core::Hashable

# Required. Sandbox templates that can be launched through the `sandbox` CLI.
# Corresponds to the JSON property `templates`
# @return [Array<Google::Apis::RunV1::SandboxTemplate>]
attr_accessor :templates

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@templates = args[:templates] if args.key?(:templates)
end
end

# Template for a single sandbox.
class SandboxTemplate
include Google::Apis::Core::Hashable

# Optional. Arguments to the entrypoint. The docker image's CMD is used if this
# is not provided.
# Corresponds to the JSON property `args`
# @return [Array<String>]
attr_accessor :args

# Optional. Entrypoint array. Not executed within a shell. The docker image's
# ENTRYPOINT is used if this is not provided.
# Corresponds to the JSON property `command`
# @return [Array<String>]
attr_accessor :command

# Optional. List of environment variables to set in the sandbox.
# Corresponds to the JSON property `env`
# @return [Array<Google::Apis::RunV1::EnvVar>]
attr_accessor :env

# Required. Name of the container image in Dockerhub or Artifact Registry. If
# the host is not provided, Dockerhub is assumed.
# Corresponds to the JSON property `image`
# @return [String]
attr_accessor :image

# Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

# Optional. Volume to mount into the container's filesystem.
# Corresponds to the JSON property `volumeMounts`
# @return [Array<Google::Apis::RunV1::VolumeMount>]
attr_accessor :volume_mounts

# Optional. Container's working directory. If not specified, the container
# runtime's default will be used, which might be configured in the container
# image.
# Corresponds to the JSON property `workingDir`
# @return [String]
attr_accessor :working_dir

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@args = args[:args] if args.key?(:args)
@command = args[:command] if args.key?(:command)
@env = args[:env] if args.key?(:env)
@image = args[:image] if args.key?(:image)
@name = args[:name] if args.key?(:name)
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
@working_dir = args[:working_dir] if args.key?(:working_dir)
end
end

# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
# environment variables with. The contents of the target Secret's Data field
# will represent the key-value pairs as environment variables.
Expand Down Expand Up @@ -6559,6 +6650,11 @@ class TaskSpec
# @return [Hash<String,String>]
attr_accessor :node_selector

# Configuration for sandboxes.
# Corresponds to the JSON property `sandboxes`
# @return [Google::Apis::RunV1::SandboxConfiguration]
attr_accessor :sandboxes

# Optional. Email address of the IAM service account associated with the task of
# a job execution. The service account represents the identity of the running
# task, and determines what permissions the task has. If not provided, the task
Expand Down Expand Up @@ -6590,6 +6686,7 @@ def update!(**args)
@containers = args[:containers] if args.key?(:containers)
@max_retries = args[:max_retries] if args.key?(:max_retries)
@node_selector = args[:node_selector] if args.key?(:node_selector)
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
@volumes = args[:volumes] if args.key?(:volumes)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module RunV1
# Version of the google-apis-run_v1 gem
GEM_VERSION = "0.115.0"
GEM_VERSION = "0.116.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.19.1"

# Revision of the discovery document this client was generated from
REVISION = "20261016"
REVISION = "20261023"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class SandboxConfiguration
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class SandboxTemplate
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class SecretEnvSource
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -1991,6 +2003,8 @@ class Representation < Google::Apis::Core::JsonRepresentation

hash :node_selector, as: 'nodeSelector'
property :restart_policy, as: 'restartPolicy'
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::SandboxConfiguration, decorator: Google::Apis::RunV1::SandboxConfiguration::Representation

property :service_account_name, as: 'serviceAccountName'
collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation

Expand Down Expand Up @@ -2364,6 +2378,8 @@ class Representation < Google::Apis::Core::JsonRepresentation

hash :node_selector, as: 'nodeSelector'
property :runtime_class_name, as: 'runtimeClassName'
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::SandboxConfiguration, decorator: Google::Apis::RunV1::SandboxConfiguration::Representation

property :service_account_name, as: 'serviceAccountName'
property :timeout_seconds, as: 'timeoutSeconds'
collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
Expand Down Expand Up @@ -2438,6 +2454,29 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class SandboxConfiguration
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :templates, as: 'templates', class: Google::Apis::RunV1::SandboxTemplate, decorator: Google::Apis::RunV1::SandboxTemplate::Representation

end
end

class SandboxTemplate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :args, as: 'args'
collection :command, as: 'command'
collection :env, as: 'env', class: Google::Apis::RunV1::EnvVar, decorator: Google::Apis::RunV1::EnvVar::Representation

property :image, as: 'image'
property :name, as: 'name'
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV1::VolumeMount, decorator: Google::Apis::RunV1::VolumeMount::Representation

property :working_dir, as: 'workingDir'
end
end

class SecretEnvSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -2615,6 +2654,8 @@ class Representation < Google::Apis::Core::JsonRepresentation

property :max_retries, as: 'maxRetries'
hash :node_selector, as: 'nodeSelector'
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::SandboxConfiguration, decorator: Google::Apis::RunV1::SandboxConfiguration::Representation

property :service_account_name, as: 'serviceAccountName'
property :timeout_seconds, :numeric_string => true, as: 'timeoutSeconds'
collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
Expand Down
Loading