google-apis-run_v2 0.115.0 → 0.117.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/run_v2/classes.rb +35 -22
- data/lib/google/apis/run_v2/gem_version.rb +3 -3
- data/lib/google/apis/run_v2/representations.rb +2 -0
- data/lib/google/apis/run_v2/service.rb +14 -17
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5d0a21a137448bd6286a71cf23aa8eeefeb6e5450750636e1b2c01e3a261d31
|
|
4
|
+
data.tar.gz: 7e03007387a60a4e31d769cf7244d2d5800b565ade9c3a6bcd1c995c1bfa5c2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d708107519e0349e77fe33178b905e7c6ad1489857e22704df4e85a0f67545e38c23dfd99a648d4967caf6b51535ec067bdc9e7245842b74bb1398737b8a611a
|
|
7
|
+
data.tar.gz: ad3e9f0a9c3fea3e5e5e85ce305a87bbe2170bea7715c9fd27ced7f3685b9fb7227475e7adf684c75daf982d8f9294f5bb4261fb6d87afaf04a07cf45a696e2b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-run_v2
|
|
2
2
|
|
|
3
|
+
### v0.117.0 (2026-07-05)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260619
|
|
6
|
+
|
|
7
|
+
### v0.116.0 (2026-06-14)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260603
|
|
10
|
+
* Regenerated using generator version 0.19.0
|
|
11
|
+
|
|
3
12
|
### v0.115.0 (2026-05-31)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260522
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/run/) may provide guidance
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -457,6 +457,13 @@ module Google
|
|
|
457
457
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements]
|
|
458
458
|
attr_accessor :resources
|
|
459
459
|
|
|
460
|
+
# Optional. Indicates that this container can act as a sandbox supervisor and
|
|
461
|
+
# launch sandboxes.
|
|
462
|
+
# Corresponds to the JSON property `sandboxLauncher`
|
|
463
|
+
# @return [Boolean]
|
|
464
|
+
attr_accessor :sandbox_launcher
|
|
465
|
+
alias_method :sandbox_launcher?, :sandbox_launcher
|
|
466
|
+
|
|
460
467
|
# Source type for the container.
|
|
461
468
|
# Corresponds to the JSON property `sourceCode`
|
|
462
469
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2SourceCode]
|
|
@@ -497,6 +504,7 @@ module Google
|
|
|
497
504
|
@ports = args[:ports] if args.key?(:ports)
|
|
498
505
|
@readiness_probe = args[:readiness_probe] if args.key?(:readiness_probe)
|
|
499
506
|
@resources = args[:resources] if args.key?(:resources)
|
|
507
|
+
@sandbox_launcher = args[:sandbox_launcher] if args.key?(:sandbox_launcher)
|
|
500
508
|
@source_code = args[:source_code] if args.key?(:source_code)
|
|
501
509
|
@startup_probe = args[:startup_probe] if args.key?(:startup_probe)
|
|
502
510
|
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
|
@@ -1383,8 +1391,8 @@ module Google
|
|
|
1383
1391
|
# @return [String]
|
|
1384
1392
|
attr_accessor :encryption_key_revocation_action
|
|
1385
1393
|
|
|
1386
|
-
# If encryption_key_revocation_action is SHUTDOWN
|
|
1387
|
-
# down all instances. The minimum increment is 1 hour.
|
|
1394
|
+
# If `encryption_key_revocation_action` is `SHUTDOWN`, the duration before
|
|
1395
|
+
# shutting down all instances. The minimum increment is 1 hour.
|
|
1388
1396
|
# Corresponds to the JSON property `encryptionKeyShutdownDuration`
|
|
1389
1397
|
# @return [String]
|
|
1390
1398
|
attr_accessor :encryption_key_shutdown_duration
|
|
@@ -1402,9 +1410,9 @@ module Google
|
|
|
1402
1410
|
attr_accessor :expire_time
|
|
1403
1411
|
|
|
1404
1412
|
# Output only. A number that monotonically increases every time the user
|
|
1405
|
-
# modifies the desired state. Please note that unlike v1, this is an int64
|
|
1406
|
-
# As with most Google APIs, its JSON representation will be a `string`
|
|
1407
|
-
# of an `integer`.
|
|
1413
|
+
# modifies the desired state. Please note that unlike v1, this is an `int64`
|
|
1414
|
+
# value. As with most Google APIs, its JSON representation will be a `string`
|
|
1415
|
+
# instead of an `integer`.
|
|
1408
1416
|
# Corresponds to the JSON property `generation`
|
|
1409
1417
|
# @return [Fixnum]
|
|
1410
1418
|
attr_accessor :generation
|
|
@@ -1422,13 +1430,13 @@ module Google
|
|
|
1422
1430
|
alias_method :iap_enabled?, :iap_enabled
|
|
1423
1431
|
|
|
1424
1432
|
# Optional. Provides the ingress settings for this Instance. On output, returns
|
|
1425
|
-
# the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if
|
|
1426
|
-
# revision is active.
|
|
1433
|
+
# the currently observed ingress settings, or `INGRESS_TRAFFIC_UNSPECIFIED` if
|
|
1434
|
+
# no revision is active.
|
|
1427
1435
|
# Corresponds to the JSON property `ingress`
|
|
1428
1436
|
# @return [String]
|
|
1429
1437
|
attr_accessor :ingress
|
|
1430
1438
|
|
|
1431
|
-
# Optional. Disables IAM permission check for run.routes.invoke for callers of
|
|
1439
|
+
# Optional. Disables IAM permission check for `run.routes.invoke` for callers of
|
|
1432
1440
|
# this Instance. For more information, visit https://cloud.google.com/run/docs/
|
|
1433
1441
|
# securing/managing-access#invoker_check.
|
|
1434
1442
|
# Corresponds to the JSON property `invokerIamDisabled`
|
|
@@ -1448,11 +1456,11 @@ module Google
|
|
|
1448
1456
|
|
|
1449
1457
|
# The launch stage as defined by [Google Cloud Platform Launch Stages](https://
|
|
1450
1458
|
# cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and
|
|
1451
|
-
# `GA`. If no value is specified, GA is assumed. Set the launch stage to a
|
|
1459
|
+
# `GA`. If no value is specified, `GA` is assumed. Set the launch stage to a
|
|
1452
1460
|
# preview stage on input to allow use of preview features in that stage. On read
|
|
1453
1461
|
# (or output), describes whether the resource uses preview features. For example,
|
|
1454
|
-
# if ALPHA is provided as input, but only BETA and GA
|
|
1455
|
-
# this field will be BETA on output.
|
|
1462
|
+
# if `ALPHA` is provided as input, but only `BETA` and `GA`-level features are
|
|
1463
|
+
# used, this field will be `BETA` on output.
|
|
1456
1464
|
# Corresponds to the JSON property `launchStage`
|
|
1457
1465
|
# @return [String]
|
|
1458
1466
|
attr_accessor :launch_stage
|
|
@@ -1462,10 +1470,9 @@ module Google
|
|
|
1462
1470
|
# @return [String]
|
|
1463
1471
|
attr_accessor :log_uri
|
|
1464
1472
|
|
|
1465
|
-
# The fully qualified name of this Instance. In CreateInstanceRequest
|
|
1466
|
-
# field is ignored, and instead composed from CreateInstanceRequest.parent and
|
|
1467
|
-
# CreateInstanceRequest.instance_id
|
|
1468
|
-
# location`/instances/`instance_id`
|
|
1473
|
+
# The fully qualified name of this Instance. In `CreateInstanceRequest`, this
|
|
1474
|
+
# field is ignored, and instead composed from `CreateInstanceRequest.parent` and
|
|
1475
|
+
# `CreateInstanceRequest.instance_id`.
|
|
1469
1476
|
# Corresponds to the JSON property `name`
|
|
1470
1477
|
# @return [String]
|
|
1471
1478
|
attr_accessor :name
|
|
@@ -1477,20 +1484,20 @@ module Google
|
|
|
1477
1484
|
|
|
1478
1485
|
# Output only. The generation of this Instance currently serving traffic. See
|
|
1479
1486
|
# comments in `reconciling` for additional information on reconciliation process
|
|
1480
|
-
# in Cloud Run. Please note that unlike v1, this is an int64 value. As with
|
|
1481
|
-
# Google APIs, its JSON representation will be a `string` instead of an `
|
|
1482
|
-
#
|
|
1487
|
+
# in Cloud Run. Please note that unlike v1, this is an `int64` value. As with
|
|
1488
|
+
# most Google APIs, its JSON representation will be a `string` instead of an `
|
|
1489
|
+
# integer`.
|
|
1483
1490
|
# Corresponds to the JSON property `observedGeneration`
|
|
1484
1491
|
# @return [Fixnum]
|
|
1485
1492
|
attr_accessor :observed_generation
|
|
1486
1493
|
|
|
1487
|
-
# Output only. Returns true if the Instance is currently being acted upon by
|
|
1488
|
-
# system to bring it into the desired state. When a new Instance is created,
|
|
1489
|
-
# an existing one is updated, Cloud Run will asynchronously perform all
|
|
1494
|
+
# Output only. Returns `true` if the Instance is currently being acted upon by
|
|
1495
|
+
# the system to bring it into the desired state. When a new Instance is created,
|
|
1496
|
+
# or an existing one is updated, Cloud Run will asynchronously perform all
|
|
1490
1497
|
# necessary steps to bring the Instance to the desired serving state. This
|
|
1491
1498
|
# process is called reconciliation. While reconciliation is in process, `
|
|
1492
1499
|
# observed_generation` will have a transient value that might mismatch the
|
|
1493
|
-
# intended state. Once reconciliation is over (and this field is false), there
|
|
1500
|
+
# intended state. Once reconciliation is over (and this field is `false`), there
|
|
1494
1501
|
# are two possible outcomes: reconciliation succeeded and the serving state
|
|
1495
1502
|
# matches the Instance, or there was an error, and reconciliation failed. This
|
|
1496
1503
|
# state can be found in `terminal_condition.state`.
|
|
@@ -1499,6 +1506,11 @@ module Google
|
|
|
1499
1506
|
attr_accessor :reconciling
|
|
1500
1507
|
alias_method :reconciling?, :reconciling
|
|
1501
1508
|
|
|
1509
|
+
# Optional. Restart policy for the Instance.
|
|
1510
|
+
# Corresponds to the JSON property `restartPolicy`
|
|
1511
|
+
# @return [String]
|
|
1512
|
+
attr_accessor :restart_policy
|
|
1513
|
+
|
|
1502
1514
|
# Output only. Reserved for future use.
|
|
1503
1515
|
# Corresponds to the JSON property `satisfiesPzs`
|
|
1504
1516
|
# @return [Boolean]
|
|
@@ -1578,6 +1590,7 @@ module Google
|
|
|
1578
1590
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
1579
1591
|
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
|
1580
1592
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
|
1593
|
+
@restart_policy = args[:restart_policy] if args.key?(:restart_policy)
|
|
1581
1594
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
1582
1595
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
1583
1596
|
@terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.117.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260619"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -972,6 +972,7 @@ module Google
|
|
|
972
972
|
|
|
973
973
|
property :resources, as: 'resources', class: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements, decorator: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements::Representation
|
|
974
974
|
|
|
975
|
+
property :sandbox_launcher, as: 'sandboxLauncher'
|
|
975
976
|
property :source_code, as: 'sourceCode', class: Google::Apis::RunV2::GoogleCloudRunV2SourceCode, decorator: Google::Apis::RunV2::GoogleCloudRunV2SourceCode::Representation
|
|
976
977
|
|
|
977
978
|
property :startup_probe, as: 'startupProbe', class: Google::Apis::RunV2::GoogleCloudRunV2Probe, decorator: Google::Apis::RunV2::GoogleCloudRunV2Probe::Representation
|
|
@@ -1220,6 +1221,7 @@ module Google
|
|
|
1220
1221
|
|
|
1221
1222
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
|
1222
1223
|
property :reconciling, as: 'reconciling'
|
|
1224
|
+
property :restart_policy, as: 'restartPolicy'
|
|
1223
1225
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
1224
1226
|
property :service_account, as: 'serviceAccount'
|
|
1225
1227
|
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
|
@@ -227,6 +227,7 @@ module Google
|
|
|
227
227
|
|
|
228
228
|
# Creates an Instance.
|
|
229
229
|
# @param [String] parent
|
|
230
|
+
# Required. The location and project in which this Instance should be created.
|
|
230
231
|
# @param [Google::Apis::RunV2::GoogleCloudRunV2Instance] google_cloud_run_v2_instance_object
|
|
231
232
|
# @param [String] instance_id
|
|
232
233
|
# Optional. The unique identifier for the Instance. It must begin with letter,
|
|
@@ -267,8 +268,9 @@ module Google
|
|
|
267
268
|
execute_or_queue_command(command, &block)
|
|
268
269
|
end
|
|
269
270
|
|
|
270
|
-
# Deletes
|
|
271
|
+
# Deletes an Instance
|
|
271
272
|
# @param [String] name
|
|
273
|
+
# Required. The name of the Instance to delete.
|
|
272
274
|
# @param [String] etag
|
|
273
275
|
# Optional. A system-generated fingerprint for this version of the resource. May
|
|
274
276
|
# be used to detect modification conflict during updates.
|
|
@@ -304,8 +306,9 @@ module Google
|
|
|
304
306
|
execute_or_queue_command(command, &block)
|
|
305
307
|
end
|
|
306
308
|
|
|
307
|
-
# Gets
|
|
309
|
+
# Gets an Instance
|
|
308
310
|
# @param [String] name
|
|
311
|
+
# Required. The name of the Instance to retrieve.
|
|
309
312
|
# @param [String] fields
|
|
310
313
|
# Selector specifying which fields to include in a partial response.
|
|
311
314
|
# @param [String] quota_user
|
|
@@ -380,8 +383,7 @@ module Google
|
|
|
380
383
|
|
|
381
384
|
# Lists Instances. Results are sorted by creation time, descending.
|
|
382
385
|
# @param [String] parent
|
|
383
|
-
# Required. The location and project to list resources on.
|
|
384
|
-
# project`/locations/`location`, where `project` can be project id or number.
|
|
386
|
+
# Required. The location and project to list resources on.
|
|
385
387
|
# @param [Fixnum] page_size
|
|
386
388
|
# Optional. Maximum number of Instances to return in this call.
|
|
387
389
|
# @param [String] page_token
|
|
@@ -422,15 +424,14 @@ module Google
|
|
|
422
424
|
|
|
423
425
|
# Updates an Instance.
|
|
424
426
|
# @param [String] name
|
|
425
|
-
# The fully qualified name of this Instance. In CreateInstanceRequest
|
|
426
|
-
# field is ignored, and instead composed from CreateInstanceRequest.parent and
|
|
427
|
-
# CreateInstanceRequest.instance_id
|
|
428
|
-
# location`/instances/`instance_id`
|
|
427
|
+
# The fully qualified name of this Instance. In `CreateInstanceRequest`, this
|
|
428
|
+
# field is ignored, and instead composed from `CreateInstanceRequest.parent` and
|
|
429
|
+
# `CreateInstanceRequest.instance_id`.
|
|
429
430
|
# @param [Google::Apis::RunV2::GoogleCloudRunV2Instance] google_cloud_run_v2_instance_object
|
|
430
431
|
# @param [Boolean] allow_missing
|
|
431
|
-
# Optional. If set to true
|
|
432
|
-
# new one. The caller must have
|
|
433
|
-
# set to true and the Instance does not exist.
|
|
432
|
+
# Optional. If set to `true`, and if the Instance does not exist, it will create
|
|
433
|
+
# a new one. The caller must have `run.instances.create` permissions if this is
|
|
434
|
+
# set to `true` and the Instance does not exist.
|
|
434
435
|
# @param [String] update_mask
|
|
435
436
|
# Optional. The list of fields to be updated.
|
|
436
437
|
# @param [Boolean] validate_only
|
|
@@ -506,9 +507,7 @@ module Google
|
|
|
506
507
|
|
|
507
508
|
# Starts an Instance.
|
|
508
509
|
# @param [String] name
|
|
509
|
-
# Required. The name of the Instance to
|
|
510
|
-
# locations/`location`/instances/`instance``, where ``project`` can be project
|
|
511
|
-
# id or number.
|
|
510
|
+
# Required. The name of the Instance to start.
|
|
512
511
|
# @param [Google::Apis::RunV2::GoogleCloudRunV2StartInstanceRequest] google_cloud_run_v2_start_instance_request_object
|
|
513
512
|
# @param [String] fields
|
|
514
513
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -541,9 +540,7 @@ module Google
|
|
|
541
540
|
|
|
542
541
|
# Stops an Instance.
|
|
543
542
|
# @param [String] name
|
|
544
|
-
# Required. The name of the Instance to stop.
|
|
545
|
-
# locations/`location`/instances/`instance``, where ``project`` can be project
|
|
546
|
-
# id or number.
|
|
543
|
+
# Required. The name of the Instance to stop.
|
|
547
544
|
# @param [Google::Apis::RunV2::GoogleCloudRunV2StopInstanceRequest] google_cloud_run_v2_stop_instance_request_object
|
|
548
545
|
# @param [String] fields
|
|
549
546
|
# Selector specifying which fields to include in a partial response.
|
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.
|
|
4
|
+
version: 0.117.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.117.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:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|