google-apis-run_v2 0.116.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 +4 -0
- data/lib/google/apis/run_v2/classes.rb +21 -53
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +0 -18
- data/lib/google/apis/run_v2/service.rb +14 -17
- metadata +2 -2
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
|
@@ -1391,8 +1391,8 @@ module Google
|
|
|
1391
1391
|
# @return [String]
|
|
1392
1392
|
attr_accessor :encryption_key_revocation_action
|
|
1393
1393
|
|
|
1394
|
-
# If encryption_key_revocation_action is SHUTDOWN
|
|
1395
|
-
# 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.
|
|
1396
1396
|
# Corresponds to the JSON property `encryptionKeyShutdownDuration`
|
|
1397
1397
|
# @return [String]
|
|
1398
1398
|
attr_accessor :encryption_key_shutdown_duration
|
|
@@ -1410,9 +1410,9 @@ module Google
|
|
|
1410
1410
|
attr_accessor :expire_time
|
|
1411
1411
|
|
|
1412
1412
|
# Output only. A number that monotonically increases every time the user
|
|
1413
|
-
# modifies the desired state. Please note that unlike v1, this is an int64
|
|
1414
|
-
# As with most Google APIs, its JSON representation will be a `string`
|
|
1415
|
-
# 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`.
|
|
1416
1416
|
# Corresponds to the JSON property `generation`
|
|
1417
1417
|
# @return [Fixnum]
|
|
1418
1418
|
attr_accessor :generation
|
|
@@ -1430,13 +1430,13 @@ module Google
|
|
|
1430
1430
|
alias_method :iap_enabled?, :iap_enabled
|
|
1431
1431
|
|
|
1432
1432
|
# Optional. Provides the ingress settings for this Instance. On output, returns
|
|
1433
|
-
# the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if
|
|
1434
|
-
# revision is active.
|
|
1433
|
+
# the currently observed ingress settings, or `INGRESS_TRAFFIC_UNSPECIFIED` if
|
|
1434
|
+
# no revision is active.
|
|
1435
1435
|
# Corresponds to the JSON property `ingress`
|
|
1436
1436
|
# @return [String]
|
|
1437
1437
|
attr_accessor :ingress
|
|
1438
1438
|
|
|
1439
|
-
# 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
|
|
1440
1440
|
# this Instance. For more information, visit https://cloud.google.com/run/docs/
|
|
1441
1441
|
# securing/managing-access#invoker_check.
|
|
1442
1442
|
# Corresponds to the JSON property `invokerIamDisabled`
|
|
@@ -1456,11 +1456,11 @@ module Google
|
|
|
1456
1456
|
|
|
1457
1457
|
# The launch stage as defined by [Google Cloud Platform Launch Stages](https://
|
|
1458
1458
|
# cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and
|
|
1459
|
-
# `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
|
|
1460
1460
|
# preview stage on input to allow use of preview features in that stage. On read
|
|
1461
1461
|
# (or output), describes whether the resource uses preview features. For example,
|
|
1462
|
-
# if ALPHA is provided as input, but only BETA and GA
|
|
1463
|
-
# 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.
|
|
1464
1464
|
# Corresponds to the JSON property `launchStage`
|
|
1465
1465
|
# @return [String]
|
|
1466
1466
|
attr_accessor :launch_stage
|
|
@@ -1470,10 +1470,9 @@ module Google
|
|
|
1470
1470
|
# @return [String]
|
|
1471
1471
|
attr_accessor :log_uri
|
|
1472
1472
|
|
|
1473
|
-
# The fully qualified name of this Instance. In CreateInstanceRequest
|
|
1474
|
-
# field is ignored, and instead composed from CreateInstanceRequest.parent and
|
|
1475
|
-
# CreateInstanceRequest.instance_id
|
|
1476
|
-
# 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`.
|
|
1477
1476
|
# Corresponds to the JSON property `name`
|
|
1478
1477
|
# @return [String]
|
|
1479
1478
|
attr_accessor :name
|
|
@@ -1485,20 +1484,20 @@ module Google
|
|
|
1485
1484
|
|
|
1486
1485
|
# Output only. The generation of this Instance currently serving traffic. See
|
|
1487
1486
|
# comments in `reconciling` for additional information on reconciliation process
|
|
1488
|
-
# in Cloud Run. Please note that unlike v1, this is an int64 value. As with
|
|
1489
|
-
# Google APIs, its JSON representation will be a `string` instead of an `
|
|
1490
|
-
#
|
|
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`.
|
|
1491
1490
|
# Corresponds to the JSON property `observedGeneration`
|
|
1492
1491
|
# @return [Fixnum]
|
|
1493
1492
|
attr_accessor :observed_generation
|
|
1494
1493
|
|
|
1495
|
-
# Output only. Returns true if the Instance is currently being acted upon by
|
|
1496
|
-
# system to bring it into the desired state. When a new Instance is created,
|
|
1497
|
-
# 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
|
|
1498
1497
|
# necessary steps to bring the Instance to the desired serving state. This
|
|
1499
1498
|
# process is called reconciliation. While reconciliation is in process, `
|
|
1500
1499
|
# observed_generation` will have a transient value that might mismatch the
|
|
1501
|
-
# 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
|
|
1502
1501
|
# are two possible outcomes: reconciliation succeeded and the serving state
|
|
1503
1502
|
# matches the Instance, or there was an error, and reconciliation failed. This
|
|
1504
1503
|
# state can be found in `terminal_condition.state`.
|
|
@@ -2507,11 +2506,6 @@ module Google
|
|
|
2507
2506
|
attr_accessor :reconciling
|
|
2508
2507
|
alias_method :reconciling?, :reconciling
|
|
2509
2508
|
|
|
2510
|
-
# Configuration for sandboxes.
|
|
2511
|
-
# Corresponds to the JSON property `sandboxes`
|
|
2512
|
-
# @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
|
|
2513
|
-
attr_accessor :sandboxes
|
|
2514
|
-
|
|
2515
2509
|
# Output only. Reserved for future use.
|
|
2516
2510
|
# Corresponds to the JSON property `satisfiesPzs`
|
|
2517
2511
|
# @return [Boolean]
|
|
@@ -2610,7 +2604,6 @@ module Google
|
|
|
2610
2604
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
2611
2605
|
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
|
2612
2606
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
|
2613
|
-
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
|
|
2614
2607
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
2615
2608
|
@scaling = args[:scaling] if args.key?(:scaling)
|
|
2616
2609
|
@scaling_status = args[:scaling_status] if args.key?(:scaling_status)
|
|
@@ -2788,11 +2781,6 @@ module Google
|
|
|
2788
2781
|
# @return [String]
|
|
2789
2782
|
attr_accessor :revision
|
|
2790
2783
|
|
|
2791
|
-
# Configuration for sandboxes.
|
|
2792
|
-
# Corresponds to the JSON property `sandboxes`
|
|
2793
|
-
# @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
|
|
2794
|
-
attr_accessor :sandboxes
|
|
2795
|
-
|
|
2796
2784
|
# Settings for revision-level scaling settings.
|
|
2797
2785
|
# Corresponds to the JSON property `scaling`
|
|
2798
2786
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
|
|
@@ -2854,7 +2842,6 @@ module Google
|
|
|
2854
2842
|
@max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
|
|
2855
2843
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
2856
2844
|
@revision = args[:revision] if args.key?(:revision)
|
|
2857
|
-
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
|
|
2858
2845
|
@scaling = args[:scaling] if args.key?(:scaling)
|
|
2859
2846
|
@service_account = args[:service_account] if args.key?(:service_account)
|
|
2860
2847
|
@service_mesh = args[:service_mesh] if args.key?(:service_mesh)
|
|
@@ -2899,25 +2886,6 @@ module Google
|
|
|
2899
2886
|
end
|
|
2900
2887
|
end
|
|
2901
2888
|
|
|
2902
|
-
# Configuration for sandboxes.
|
|
2903
|
-
class GoogleCloudRunV2SandboxConfiguration
|
|
2904
|
-
include Google::Apis::Core::Hashable
|
|
2905
|
-
|
|
2906
|
-
# Required. Container templates that can be launched through the `sandbox` CLI.
|
|
2907
|
-
# Corresponds to the JSON property `templates`
|
|
2908
|
-
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Container>]
|
|
2909
|
-
attr_accessor :templates
|
|
2910
|
-
|
|
2911
|
-
def initialize(**args)
|
|
2912
|
-
update!(**args)
|
|
2913
|
-
end
|
|
2914
|
-
|
|
2915
|
-
# Update properties of this object
|
|
2916
|
-
def update!(**args)
|
|
2917
|
-
@templates = args[:templates] if args.key?(:templates)
|
|
2918
|
-
end
|
|
2919
|
-
end
|
|
2920
|
-
|
|
2921
2889
|
# SecretEnvVarSource represents a source for the value of an EnvVar.
|
|
2922
2890
|
class GoogleCloudRunV2SecretKeySelector
|
|
2923
2891
|
include Google::Apis::Core::Hashable
|
|
@@ -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
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
|
|
@@ -334,12 +334,6 @@ module Google
|
|
|
334
334
|
include Google::Apis::Core::JsonObjectSupport
|
|
335
335
|
end
|
|
336
336
|
|
|
337
|
-
class GoogleCloudRunV2SandboxConfiguration
|
|
338
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
|
-
|
|
340
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
341
|
-
end
|
|
342
|
-
|
|
343
337
|
class GoogleCloudRunV2SecretKeySelector
|
|
344
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
339
|
|
|
@@ -1466,8 +1460,6 @@ module Google
|
|
|
1466
1460
|
|
|
1467
1461
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
|
1468
1462
|
property :reconciling, as: 'reconciling'
|
|
1469
|
-
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
|
|
1470
|
-
|
|
1471
1463
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
1472
1464
|
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
|
|
1473
1465
|
|
|
@@ -1524,8 +1516,6 @@ module Google
|
|
|
1524
1516
|
property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
|
|
1525
1517
|
|
|
1526
1518
|
property :revision, as: 'revision'
|
|
1527
|
-
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
|
|
1528
|
-
|
|
1529
1519
|
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
|
|
1530
1520
|
|
|
1531
1521
|
property :service_account, as: 'serviceAccount'
|
|
@@ -1550,14 +1540,6 @@ module Google
|
|
|
1550
1540
|
end
|
|
1551
1541
|
end
|
|
1552
1542
|
|
|
1553
|
-
class GoogleCloudRunV2SandboxConfiguration
|
|
1554
|
-
# @private
|
|
1555
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1556
|
-
collection :templates, as: 'templates', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
|
1557
|
-
|
|
1558
|
-
end
|
|
1559
|
-
end
|
|
1560
|
-
|
|
1561
1543
|
class GoogleCloudRunV2SecretKeySelector
|
|
1562
1544
|
# @private
|
|
1563
1545
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -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:
|