google-apis-run_v2 0.116.0 → 0.118.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: bb5605b60717e5a3a92b0e78032eb20ac06c1f536122fa44c85a3f06a37c4bf9
4
- data.tar.gz: d5b7b4a051f0c6e8d65d1dabab89138555be5e36679ef7ce7f5673b43d420997
3
+ metadata.gz: ef37677506246933875973fa04d1986fb242ad0bf31b1573fd6d594b28226ae0
4
+ data.tar.gz: 32b7c16eba1e116655ab512f19250835af7f265dcbe9167aebc69563827045e2
5
5
  SHA512:
6
- metadata.gz: cfcd380b0a110c91aead7858e1d32f83a5c296800e018766663b2c7e64b94d10f61efd48e24dee79df73291ff05d2781fa76947f3f65bca31438583a3debac15
7
- data.tar.gz: ab8fdfd8c6e506e6287d8e4bc787aec09d847aa43b4710b3c9976d85ab5e10f56af7004f9e9d8d64ae1c59d83b5f214be73fb35de1bf5c4d05c113f58290c7c6
6
+ metadata.gz: 7bae70a61d2530ca0e5d8bea62b8bca287534bd378a7a14711ae90a16bb9e763262ddcbafb71acb3271e1513cf68936feb2b5c696793fc98ef7875a8d7b36ca5
7
+ data.tar.gz: a56c13e66124f953d0a771bc7cfc812419689fa080b3929cd23a2b1d5302d2fbef94594a6d47f26570817e4166f2c00cf11f3b131f818b4b4eb063639f7762b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.118.0 (2026-07-19)
4
+
5
+ * Regenerated from discovery document revision 20260713
6
+
7
+ ### v0.117.0 (2026-07-05)
8
+
9
+ * Regenerated from discovery document revision 20260619
10
+
3
11
  ### v0.116.0 (2026-06-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20260603
@@ -325,6 +325,11 @@ module Google
325
325
  # @return [String]
326
326
  attr_accessor :execution_reason
327
327
 
328
+ # Output only. A reason for the instance condition.
329
+ # Corresponds to the JSON property `instanceReason`
330
+ # @return [String]
331
+ attr_accessor :instance_reason
332
+
328
333
  # Last time the condition transitioned from one status to another.
329
334
  # Corresponds to the JSON property `lastTransitionTime`
330
335
  # @return [String]
@@ -370,6 +375,7 @@ module Google
370
375
  # Update properties of this object
371
376
  def update!(**args)
372
377
  @execution_reason = args[:execution_reason] if args.key?(:execution_reason)
378
+ @instance_reason = args[:instance_reason] if args.key?(:instance_reason)
373
379
  @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
374
380
  @message = args[:message] if args.key?(:message)
375
381
  @reason = args[:reason] if args.key?(:reason)
@@ -1391,8 +1397,8 @@ module Google
1391
1397
  # @return [String]
1392
1398
  attr_accessor :encryption_key_revocation_action
1393
1399
 
1394
- # If encryption_key_revocation_action is SHUTDOWN, the duration before shutting
1395
- # down all instances. The minimum increment is 1 hour.
1400
+ # If `encryption_key_revocation_action` is `SHUTDOWN`, the duration before
1401
+ # shutting down all instances. The minimum increment is 1 hour.
1396
1402
  # Corresponds to the JSON property `encryptionKeyShutdownDuration`
1397
1403
  # @return [String]
1398
1404
  attr_accessor :encryption_key_shutdown_duration
@@ -1410,9 +1416,9 @@ module Google
1410
1416
  attr_accessor :expire_time
1411
1417
 
1412
1418
  # 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 value.
1414
- # As with most Google APIs, its JSON representation will be a `string` instead
1415
- # of an `integer`.
1419
+ # modifies the desired state. Please note that unlike v1, this is an `int64`
1420
+ # value. As with most Google APIs, its JSON representation will be a `string`
1421
+ # instead of an `integer`.
1416
1422
  # Corresponds to the JSON property `generation`
1417
1423
  # @return [Fixnum]
1418
1424
  attr_accessor :generation
@@ -1430,13 +1436,13 @@ module Google
1430
1436
  alias_method :iap_enabled?, :iap_enabled
1431
1437
 
1432
1438
  # Optional. Provides the ingress settings for this Instance. On output, returns
1433
- # the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
1434
- # revision is active.
1439
+ # the currently observed ingress settings, or `INGRESS_TRAFFIC_UNSPECIFIED` if
1440
+ # no revision is active.
1435
1441
  # Corresponds to the JSON property `ingress`
1436
1442
  # @return [String]
1437
1443
  attr_accessor :ingress
1438
1444
 
1439
- # Optional. Disables IAM permission check for run.routes.invoke for callers of
1445
+ # Optional. Disables IAM permission check for `run.routes.invoke` for callers of
1440
1446
  # this Instance. For more information, visit https://cloud.google.com/run/docs/
1441
1447
  # securing/managing-access#invoker_check.
1442
1448
  # Corresponds to the JSON property `invokerIamDisabled`
@@ -1456,11 +1462,11 @@ module Google
1456
1462
 
1457
1463
  # The launch stage as defined by [Google Cloud Platform Launch Stages](https://
1458
1464
  # 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
1465
+ # `GA`. If no value is specified, `GA` is assumed. Set the launch stage to a
1460
1466
  # preview stage on input to allow use of preview features in that stage. On read
1461
1467
  # (or output), describes whether the resource uses preview features. For example,
1462
- # if ALPHA is provided as input, but only BETA and GA-level features are used,
1463
- # this field will be BETA on output.
1468
+ # if `ALPHA` is provided as input, but only `BETA` and `GA`-level features are
1469
+ # used, this field will be `BETA` on output.
1464
1470
  # Corresponds to the JSON property `launchStage`
1465
1471
  # @return [String]
1466
1472
  attr_accessor :launch_stage
@@ -1470,10 +1476,9 @@ module Google
1470
1476
  # @return [String]
1471
1477
  attr_accessor :log_uri
1472
1478
 
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. Format: projects/`project`/locations/`
1476
- # location`/instances/`instance_id`
1479
+ # The fully qualified name of this Instance. In `CreateInstanceRequest`, this
1480
+ # field is ignored, and instead composed from `CreateInstanceRequest.parent` and
1481
+ # `CreateInstanceRequest.instance_id`.
1477
1482
  # Corresponds to the JSON property `name`
1478
1483
  # @return [String]
1479
1484
  attr_accessor :name
@@ -1485,20 +1490,20 @@ module Google
1485
1490
 
1486
1491
  # Output only. The generation of this Instance currently serving traffic. See
1487
1492
  # 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 most
1489
- # Google APIs, its JSON representation will be a `string` instead of an `integer`
1490
- # .
1493
+ # in Cloud Run. Please note that unlike v1, this is an `int64` value. As with
1494
+ # most Google APIs, its JSON representation will be a `string` instead of an `
1495
+ # integer`.
1491
1496
  # Corresponds to the JSON property `observedGeneration`
1492
1497
  # @return [Fixnum]
1493
1498
  attr_accessor :observed_generation
1494
1499
 
1495
- # Output only. Returns true if the Instance is currently being acted upon by the
1496
- # system to bring it into the desired state. When a new Instance is created, or
1497
- # an existing one is updated, Cloud Run will asynchronously perform all
1500
+ # Output only. Returns `true` if the Instance is currently being acted upon by
1501
+ # the system to bring it into the desired state. When a new Instance is created,
1502
+ # or an existing one is updated, Cloud Run will asynchronously perform all
1498
1503
  # necessary steps to bring the Instance to the desired serving state. This
1499
1504
  # process is called reconciliation. While reconciliation is in process, `
1500
1505
  # observed_generation` will have a transient value that might mismatch the
1501
- # intended state. Once reconciliation is over (and this field is false), there
1506
+ # intended state. Once reconciliation is over (and this field is `false`), there
1502
1507
  # are two possible outcomes: reconciliation succeeded and the serving state
1503
1508
  # matches the Instance, or there was an error, and reconciliation failed. This
1504
1509
  # state can be found in `terminal_condition.state`.
@@ -2507,11 +2512,6 @@ module Google
2507
2512
  attr_accessor :reconciling
2508
2513
  alias_method :reconciling?, :reconciling
2509
2514
 
2510
- # Configuration for sandboxes.
2511
- # Corresponds to the JSON property `sandboxes`
2512
- # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
2513
- attr_accessor :sandboxes
2514
-
2515
2515
  # Output only. Reserved for future use.
2516
2516
  # Corresponds to the JSON property `satisfiesPzs`
2517
2517
  # @return [Boolean]
@@ -2610,7 +2610,6 @@ module Google
2610
2610
  @node_selector = args[:node_selector] if args.key?(:node_selector)
2611
2611
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
2612
2612
  @reconciling = args[:reconciling] if args.key?(:reconciling)
2613
- @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
2614
2613
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
2615
2614
  @scaling = args[:scaling] if args.key?(:scaling)
2616
2615
  @scaling_status = args[:scaling_status] if args.key?(:scaling_status)
@@ -2788,11 +2787,6 @@ module Google
2788
2787
  # @return [String]
2789
2788
  attr_accessor :revision
2790
2789
 
2791
- # Configuration for sandboxes.
2792
- # Corresponds to the JSON property `sandboxes`
2793
- # @return [Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration]
2794
- attr_accessor :sandboxes
2795
-
2796
2790
  # Settings for revision-level scaling settings.
2797
2791
  # Corresponds to the JSON property `scaling`
2798
2792
  # @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
@@ -2854,7 +2848,6 @@ module Google
2854
2848
  @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
2855
2849
  @node_selector = args[:node_selector] if args.key?(:node_selector)
2856
2850
  @revision = args[:revision] if args.key?(:revision)
2857
- @sandboxes = args[:sandboxes] if args.key?(:sandboxes)
2858
2851
  @scaling = args[:scaling] if args.key?(:scaling)
2859
2852
  @service_account = args[:service_account] if args.key?(:service_account)
2860
2853
  @service_mesh = args[:service_mesh] if args.key?(:service_mesh)
@@ -2899,25 +2892,6 @@ module Google
2899
2892
  end
2900
2893
  end
2901
2894
 
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
2895
  # SecretEnvVarSource represents a source for the value of an EnvVar.
2922
2896
  class GoogleCloudRunV2SecretKeySelector
2923
2897
  include Google::Apis::Core::Hashable
@@ -3220,6 +3194,12 @@ module Google
3220
3194
  # @return [Google::Apis::RunV2::GoogleCloudRunV2ServiceScaling]
3221
3195
  attr_accessor :scaling
3222
3196
 
3197
+ # Optional. Enables SSH access to the Service.
3198
+ # Corresponds to the JSON property `sshEnabled`
3199
+ # @return [Boolean]
3200
+ attr_accessor :ssh_enabled
3201
+ alias_method :ssh_enabled?, :ssh_enabled
3202
+
3223
3203
  # RevisionTemplate describes the data a revision should have when created from a
3224
3204
  # template.
3225
3205
  # Corresponds to the JSON property `template`
@@ -3308,6 +3288,7 @@ module Google
3308
3288
  @reconciling = args[:reconciling] if args.key?(:reconciling)
3309
3289
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
3310
3290
  @scaling = args[:scaling] if args.key?(:scaling)
3291
+ @ssh_enabled = args[:ssh_enabled] if args.key?(:ssh_enabled)
3311
3292
  @template = args[:template] if args.key?(:template)
3312
3293
  @terminal_condition = args[:terminal_condition] if args.key?(:terminal_condition)
3313
3294
  @threat_detection_enabled = args[:threat_detection_enabled] if args.key?(:threat_detection_enabled)
@@ -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.116.0"
19
+ GEM_VERSION = "0.118.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 = "20260603"
25
+ REVISION = "20260713"
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
 
@@ -947,6 +941,7 @@ module Google
947
941
  # @private
948
942
  class Representation < Google::Apis::Core::JsonRepresentation
949
943
  property :execution_reason, as: 'executionReason'
944
+ property :instance_reason, as: 'instanceReason'
950
945
  property :last_transition_time, as: 'lastTransitionTime'
951
946
  property :message, as: 'message'
952
947
  property :reason, as: 'reason'
@@ -1466,8 +1461,6 @@ module Google
1466
1461
 
1467
1462
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
1468
1463
  property :reconciling, as: 'reconciling'
1469
- property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1470
-
1471
1464
  property :satisfies_pzs, as: 'satisfiesPzs'
1472
1465
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
1473
1466
 
@@ -1524,8 +1517,6 @@ module Google
1524
1517
  property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1525
1518
 
1526
1519
  property :revision, as: 'revision'
1527
- property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration, decorator: Google::Apis::RunV2::GoogleCloudRunV2SandboxConfiguration::Representation
1528
-
1529
1520
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
1530
1521
 
1531
1522
  property :service_account, as: 'serviceAccount'
@@ -1550,14 +1541,6 @@ module Google
1550
1541
  end
1551
1542
  end
1552
1543
 
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
1544
  class GoogleCloudRunV2SecretKeySelector
1562
1545
  # @private
1563
1546
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1613,6 +1596,7 @@ module Google
1613
1596
  property :satisfies_pzs, as: 'satisfiesPzs'
1614
1597
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2ServiceScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2ServiceScaling::Representation
1615
1598
 
1599
+ property :ssh_enabled, as: 'sshEnabled'
1616
1600
  property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate::Representation
1617
1601
 
1618
1602
  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 a Instance
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 a Instance
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. Format: projects/`
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, this
426
- # field is ignored, and instead composed from CreateInstanceRequest.parent and
427
- # CreateInstanceRequest.instance_id. Format: projects/`project`/locations/`
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, and if the Instance does not exist, it will create a
432
- # new one. The caller must have 'run.instances.create' permissions if this is
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 stop. Format: `projects/`project`/
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. Format: `projects/`project`/
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.116.0
4
+ version: 0.118.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.116.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.118.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: