google-apis-run_v2 0.123.0 → 0.124.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d001b63154abe6b33d7649dd8a41c6f545fbef56ad7e516521d27cb32bc1f3fb
4
- data.tar.gz: fcfa7dfdb77b5f82edb765ba04ef91d53c3778dde94727a7d0668455ccff0fd6
3
+ metadata.gz: 2d74210e3b4d62003ee54f991b8fc230ac5400168e81c46feb668a11f8e8fcfb
4
+ data.tar.gz: 75005150f7b9b0b1b162c64b0e2842c17a35aeb0f3ca551fc1e1da3a9e147e14
5
5
  SHA512:
6
- metadata.gz: a51123ba0ddcb434f8287c4ffc7731b47f23428ff90a6c672f1349d83384d881276f2b161ac760185b24cbe49700555f13e73f03dcae3380692161c609f6db43
7
- data.tar.gz: 58514023ee329b7cf4021c8d01edb66122066d4f0fafe935e76e7234b433895ca37fb6b5949cbb8d3c28bb552c91a355b8f8efb8a338ed3969e2b2b565d941d3
6
+ metadata.gz: ec9c115334635120449630b190e8ca210a0f1ac535c52fe25579f4866d669b6233953301058f6b19cafce3b7a931bd7644df7414f1173cb28c2f00b14a1dc700
7
+ data.tar.gz: 7611c4b0768ee18b2f9d10a0b5a23a98afd6a7ef54808ab0e4448a5a77cef4d53afc08a3d383404b5f227ea098d21750d5b4fa0cd934b1bbb506b060cf86703a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.124.0 (2026-11-01)
4
+
5
+ * Regenerated from discovery document revision 20261023
6
+
3
7
  ### v0.123.0 (2026-10-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20261016
@@ -1169,7 +1169,8 @@ module Google
1169
1169
  end
1170
1170
  end
1171
1171
 
1172
- # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE.
1172
+ # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud
1173
+ # Storage FUSE or as a block device disk).
1173
1174
  class GoogleCloudRunV2GcsVolumeSource
1174
1175
  include Google::Apis::Core::Hashable
1175
1176
 
@@ -1551,6 +1552,11 @@ module Google
1551
1552
  # @return [String]
1552
1553
  attr_accessor :restart_policy
1553
1554
 
1555
+ # Configuration for sandboxes.
1556
+ # Corresponds to the JSON property `sandboxes`
1557
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
1558
+ attr_accessor :sandboxes
1559
+
1554
1560
  # Output only. Reserved for future use.
1555
1561
  # Corresponds to the JSON property `satisfiesPzs`
1556
1562
  # @return [Boolean]
@@ -1637,6 +1643,7 @@ module Google
1637
1643
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
1638
1644
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1639
1645
  @restart_policy = args[:restart_policy] if args.key?(:restart_policy)
1646
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
1640
1647
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
1641
1648
  @service_account = args[:service_account] if args.key?(:service_account)
1642
1649
  @ssh_enabled = args[:ssh_enabled] if args.key?(:ssh_enabled)
@@ -2572,6 +2579,11 @@ module Google
2572
2579
  attr_accessor :reconciling
2573
2580
  alias_method :reconciling?, :reconciling
2574
2581
 
2582
+ # Configuration for sandboxes.
2583
+ # Corresponds to the JSON property `sandboxes`
2584
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
2585
+ attr_accessor :sandboxes
2586
+
2575
2587
  # Output only. Reserved for future use.
2576
2588
  # Corresponds to the JSON property `satisfiesPzs`
2577
2589
  # @return [Boolean]
@@ -2676,6 +2688,7 @@ module Google
2676
2688
  @node_selector = args[:node_selector] if args.key?(:node_selector)
2677
2689
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
2678
2690
  @reconciling = args[:reconciling] if args.key?(:reconciling)
2691
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
2679
2692
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
2680
2693
  @scaling = args[:scaling] if args.key?(:scaling)
2681
2694
  @scaling_status = args[:scaling_status] if args.key?(:scaling_status)
@@ -2859,6 +2872,11 @@ module Google
2859
2872
  # @return [String]
2860
2873
  attr_accessor :revision
2861
2874
 
2875
+ # Configuration for sandboxes.
2876
+ # Corresponds to the JSON property `sandboxes`
2877
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
2878
+ attr_accessor :sandboxes
2879
+
2862
2880
  # Settings for revision-level scaling settings.
2863
2881
  # Corresponds to the JSON property `scaling`
2864
2882
  # @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
@@ -2926,6 +2944,7 @@ module Google
2926
2944
  @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
2927
2945
  @node_selector = args[:node_selector] if args.key?(:node_selector)
2928
2946
  @revision = args[:revision] if args.key?(:revision)
2947
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
2929
2948
  @scaling = args[:scaling] if args.key?(:scaling)
2930
2949
  @service_account = args[:service_account] if args.key?(:service_account)
2931
2950
  @service_mesh = args[:service_mesh] if args.key?(:service_mesh)
@@ -2971,6 +2990,85 @@ module Google
2971
2990
  end
2972
2991
  end
2973
2992
 
2993
+ # Configuration for sandboxes.
2994
+ class GoogleCloudRunV2SandboxConfiguration
2995
+ include Google::Apis::Core::Hashable
2996
+
2997
+ # Required. Sandbox templates that can be launched through the `sandbox` CLI.
2998
+ # Corresponds to the JSON property `templates`
2999
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2SandboxTemplate>]
3000
+ attr_accessor :templates
3001
+
3002
+ def initialize(**args)
3003
+ update!(**args)
3004
+ end
3005
+
3006
+ # Update properties of this object
3007
+ def update!(**args)
3008
+ @templates = args[:templates] if args.key?(:templates)
3009
+ end
3010
+ end
3011
+
3012
+ # Template for a single sandbox.
3013
+ class GoogleCloudRunV2SandboxTemplate
3014
+ include Google::Apis::Core::Hashable
3015
+
3016
+ # Optional. Arguments to the entrypoint. The docker image's CMD is used if this
3017
+ # is not provided.
3018
+ # Corresponds to the JSON property `args`
3019
+ # @return [Array<String>]
3020
+ attr_accessor :args
3021
+
3022
+ # Optional. Entrypoint array. Not executed within a shell. The docker image's
3023
+ # ENTRYPOINT is used if this is not provided.
3024
+ # Corresponds to the JSON property `command`
3025
+ # @return [Array<String>]
3026
+ attr_accessor :command
3027
+
3028
+ # Optional. List of environment variables to set in the sandbox.
3029
+ # Corresponds to the JSON property `env`
3030
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2EnvVar>]
3031
+ attr_accessor :env
3032
+
3033
+ # Required. Name of the container image in Dockerhub or Artifact Registry. If
3034
+ # the host is not provided, Dockerhub is assumed.
3035
+ # Corresponds to the JSON property `image`
3036
+ # @return [String]
3037
+ attr_accessor :image
3038
+
3039
+ # Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).
3040
+ # Corresponds to the JSON property `name`
3041
+ # @return [String]
3042
+ attr_accessor :name
3043
+
3044
+ # Optional. Volume to mount into the container's filesystem.
3045
+ # Corresponds to the JSON property `volumeMounts`
3046
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2VolumeMount>]
3047
+ attr_accessor :volume_mounts
3048
+
3049
+ # Optional. Container's working directory. If not specified, the container
3050
+ # runtime's default will be used, which might be configured in the container
3051
+ # image.
3052
+ # Corresponds to the JSON property `workingDir`
3053
+ # @return [String]
3054
+ attr_accessor :working_dir
3055
+
3056
+ def initialize(**args)
3057
+ update!(**args)
3058
+ end
3059
+
3060
+ # Update properties of this object
3061
+ def update!(**args)
3062
+ @args = args[:args] if args.key?(:args)
3063
+ @command = args[:command] if args.key?(:command)
3064
+ @env = args[:env] if args.key?(:env)
3065
+ @image = args[:image] if args.key?(:image)
3066
+ @name = args[:name] if args.key?(:name)
3067
+ @volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
3068
+ @working_dir = args[:working_dir] if args.key?(:working_dir)
3069
+ end
3070
+ end
3071
+
2974
3072
  # SecretEnvVarSource represents a source for the value of an EnvVar.
2975
3073
  class GoogleCloudRunV2SecretKeySelector
2976
3074
  include Google::Apis::Core::Hashable
@@ -3879,6 +3977,11 @@ module Google
3879
3977
  # @return [Fixnum]
3880
3978
  attr_accessor :retried
3881
3979
 
3980
+ # Configuration for sandboxes.
3981
+ # Corresponds to the JSON property `sandboxes`
3982
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
3983
+ attr_accessor :sandboxes
3984
+
3882
3985
  # Output only. Reserved for future use.
3883
3986
  # Corresponds to the JSON property `satisfiesPzs`
3884
3987
  # @return [Boolean]
@@ -3970,6 +4073,7 @@ module Google
3970
4073
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
3971
4074
  @reconciling = args[:reconciling] if args.key?(:reconciling)
3972
4075
  @retried = args[:retried] if args.key?(:retried)
4076
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
3973
4077
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
3974
4078
  @scheduled_time = args[:scheduled_time] if args.key?(:scheduled_time)
3975
4079
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -4063,6 +4167,11 @@ module Google
4063
4167
  # @return [Google::Apis::RunV2::GoogleCloudRunV2NodeSelector]
4064
4168
  attr_accessor :node_selector
4065
4169
 
4170
+ # Configuration for sandboxes.
4171
+ # Corresponds to the JSON property `sandboxes`
4172
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
4173
+ attr_accessor :sandboxes
4174
+
4066
4175
  # Optional. Email address of the IAM service account associated with the Task of
4067
4176
  # a Job. The service account represents the identity of the running task, and
4068
4177
  # determines what permissions the task has. If not provided, the task will use
@@ -4107,6 +4216,7 @@ module Google
4107
4216
  @gpu_zonal_redundancy_disabled = args[:gpu_zonal_redundancy_disabled] if args.key?(:gpu_zonal_redundancy_disabled)
4108
4217
  @max_retries = args[:max_retries] if args.key?(:max_retries)
4109
4218
  @node_selector = args[:node_selector] if args.key?(:node_selector)
4219
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
4110
4220
  @service_account = args[:service_account] if args.key?(:service_account)
4111
4221
  @timeout = args[:timeout] if args.key?(:timeout)
4112
4222
  @volumes = args[:volumes] if args.key?(:volumes)
@@ -4295,7 +4405,8 @@ module Google
4295
4405
  # @return [Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource]
4296
4406
  attr_accessor :empty_dir
4297
4407
 
4298
- # Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE.
4408
+ # Represents a volume backed by a Cloud Storage bucket (mounted via Cloud
4409
+ # Storage FUSE or as a block device disk).
4299
4410
  # Corresponds to the JSON property `gcs`
4300
4411
  # @return [Google::Apis::RunV2::GoogleCloudRunV2GcsVolumeSource]
4301
4412
  attr_accessor :gcs
@@ -4753,6 +4864,11 @@ module Google
4753
4864
  # @return [String]
4754
4865
  attr_accessor :revision
4755
4866
 
4867
+ # Configuration for sandboxes.
4868
+ # Corresponds to the JSON property `sandboxes`
4869
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
4870
+ attr_accessor :sandboxes
4871
+
4756
4872
  # Optional. Email address of the IAM service account associated with the
4757
4873
  # revision of the service. The service account represents the identity of the
4758
4874
  # running revision, and determines what permissions the revision has. If not
@@ -4795,6 +4911,7 @@ module Google
4795
4911
  @labels = args[:labels] if args.key?(:labels)
4796
4912
  @node_selector = args[:node_selector] if args.key?(:node_selector)
4797
4913
  @revision = args[:revision] if args.key?(:revision)
4914
+ @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
4798
4915
  @service_account = args[:service_account] if args.key?(:service_account)
4799
4916
  @service_mesh = args[:service_mesh] if args.key?(:service_mesh)
4800
4917
  @volumes = args[:volumes] if args.key?(:volumes)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV2
18
18
  # Version of the google-apis-run_v2 gem
19
- GEM_VERSION = "0.123.0"
19
+ GEM_VERSION = "0.124.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20261016"
25
+ REVISION = "20261023"
26
26
  end
27
27
  end
28
28
  end
@@ -340,6 +340,18 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class GoogleCloudRunV2SandboxConfiguration
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GoogleCloudRunV2SandboxTemplate
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
343
355
  class GoogleCloudRunV2SecretKeySelector
344
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
357
 
@@ -1262,6 +1274,8 @@ module Google
1262
1274
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
1263
1275
  property :reconciling, as: 'reconciling'
1264
1276
  property :restart_policy, as: 'restartPolicy'
1277
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1278
+
1265
1279
  property :satisfies_pzs, as: 'satisfiesPzs'
1266
1280
  property :service_account, as: 'serviceAccount'
1267
1281
  property :ssh_enabled, as: 'sshEnabled'
@@ -1505,6 +1519,8 @@ module Google
1505
1519
 
1506
1520
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
1507
1521
  property :reconciling, as: 'reconciling'
1522
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1523
+
1508
1524
  property :satisfies_pzs, as: 'satisfiesPzs'
1509
1525
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
1510
1526
 
@@ -1565,6 +1581,8 @@ module Google
1565
1581
  property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1566
1582
 
1567
1583
  property :revision, as: 'revision'
1584
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1585
+
1568
1586
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
1569
1587
 
1570
1588
  property :service_account, as: 'serviceAccount'
@@ -1591,6 +1609,29 @@ module Google
1591
1609
  end
1592
1610
  end
1593
1611
 
1612
+ class GoogleCloudRunV2SandboxConfiguration
1613
+ # @private
1614
+ class Representation < Google::Apis::Core::JsonRepresentation
1615
+ collection :templates, as: 'templates', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxTemplate::Representation
1616
+
1617
+ end
1618
+ end
1619
+
1620
+ class GoogleCloudRunV2SandboxTemplate
1621
+ # @private
1622
+ class Representation < Google::Apis::Core::JsonRepresentation
1623
+ collection :args, as: 'args'
1624
+ collection :command, as: 'command'
1625
+ collection :env, as: 'env', class: Google::Apis::RunV2::GoogleCloudRunV2EnvVar, decorator: Google::Apis::RunV2::GoogleCloudRunV2EnvVar::Representation
1626
+
1627
+ property :image, as: 'image'
1628
+ property :name, as: 'name'
1629
+ collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount, decorator: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount::Representation
1630
+
1631
+ property :working_dir, as: 'workingDir'
1632
+ end
1633
+ end
1634
+
1594
1635
  class GoogleCloudRunV2SecretKeySelector
1595
1636
  # @private
1596
1637
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1791,6 +1832,8 @@ module Google
1791
1832
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
1792
1833
  property :reconciling, as: 'reconciling'
1793
1834
  property :retried, as: 'retried'
1835
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1836
+
1794
1837
  property :satisfies_pzs, as: 'satisfiesPzs'
1795
1838
  property :scheduled_time, as: 'scheduledTime'
1796
1839
  property :service_account, as: 'serviceAccount'
@@ -1828,6 +1871,8 @@ module Google
1828
1871
  property :max_retries, as: 'maxRetries'
1829
1872
  property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1830
1873
 
1874
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1875
+
1831
1876
  property :service_account, as: 'serviceAccount'
1832
1877
  property :timeout, as: 'timeout'
1833
1878
  collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
@@ -1979,6 +2024,8 @@ module Google
1979
2024
  property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1980
2025
 
1981
2026
  property :revision, as: 'revision'
2027
+ property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
2028
+
1982
2029
  property :service_account, as: 'serviceAccount'
1983
2030
  property :service_mesh, as: 'serviceMesh', class: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh, decorator: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh::Representation
1984
2031
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.123.0
4
+ version: 0.124.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.123.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.124.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
62
62
  rdoc_options: []
63
63
  require_paths: