google-apis-run_v2 0.112.0 → 0.113.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: ef027c6a76ca6e4e054eb4bb34abadebc347e619bf9dcff272b8b20047423190
4
- data.tar.gz: 42063399c028c86cbb75414b1f07ff32f6b97743109042e567b53f6c1cd77034
3
+ metadata.gz: 3815a6bf0be1e60dc016ef519a82f2c76cac8304573a06e39a8fbe2f46a07069
4
+ data.tar.gz: 344c63910d608596fdf4db7e98aea61076d19db7de3a7d70941c414fdddd9c85
5
5
  SHA512:
6
- metadata.gz: 45ff68c1304b7b407901de52d6740c29c7d2188f1c6df24118fd2a1e555c14ecde39a38078c36fbfcc9ae5fe42981ddf2fe612c7e42ed027f094fce013f6be57
7
- data.tar.gz: f1451e85c253ca9774c8f29c81869fdeb190072d7a3fbd2e3c0cee4be83bf5a617d46bad4958baf345a2738af7d03b29c075ba61092f0e97f759008f125e387b
6
+ metadata.gz: 5d13eedbc84bbd5f68b276e30a667994a2384fdbf3f5e7175fe67705473c6343a006d946253656e433092e4faa9ee53656f2c3d18d44b49ef49dab1d95e16a0d
7
+ data.tar.gz: d9131bc885b45647e26caba45946283c08e84065dfaf3979ffb2464ebffeb490cd405f517feaa268cb3599232632da4b4aabc40962e6e62506f8ec7ee69abe1d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.113.0 (2026-05-10)
4
+
5
+ * Regenerated from discovery document revision 20260501
6
+
3
7
  ### v0.112.0 (2026-04-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20260403
@@ -1354,6 +1354,12 @@ module Google
1354
1354
  # @return [String]
1355
1355
  attr_accessor :creator
1356
1356
 
1357
+ # Optional. Disables public resolution of the default URI of this Instance.
1358
+ # Corresponds to the JSON property `defaultUriDisabled`
1359
+ # @return [Boolean]
1360
+ attr_accessor :default_uri_disabled
1361
+ alias_method :default_uri_disabled?, :default_uri_disabled
1362
+
1357
1363
  # Output only. The deletion time.
1358
1364
  # Corresponds to the JSON property `deleteTime`
1359
1365
  # @return [String]
@@ -1557,6 +1563,7 @@ module Google
1557
1563
  @containers = args[:containers] if args.key?(:containers)
1558
1564
  @create_time = args[:create_time] if args.key?(:create_time)
1559
1565
  @creator = args[:creator] if args.key?(:creator)
1566
+ @default_uri_disabled = args[:default_uri_disabled] if args.key?(:default_uri_disabled)
1560
1567
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1561
1568
  @description = args[:description] if args.key?(:description)
1562
1569
  @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
@@ -5384,6 +5391,11 @@ module Google
5384
5391
  # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan]
5385
5392
  attr_accessor :pull_timing
5386
5393
 
5394
+ # Output only. Declaration of results for this build step.
5395
+ # Corresponds to the JSON property `results`
5396
+ # @return [Array<Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1StepResult>]
5397
+ attr_accessor :results
5398
+
5387
5399
  # A shell script to be executed in the step. When script is provided, the user
5388
5400
  # cannot specify the entrypoint or args.
5389
5401
  # Corresponds to the JSON property `script`
@@ -5450,6 +5462,7 @@ module Google
5450
5462
  @id = args[:id] if args.key?(:id)
5451
5463
  @name = args[:name] if args.key?(:name)
5452
5464
  @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
5465
+ @results = args[:results] if args.key?(:results)
5453
5466
  @script = args[:script] if args.key?(:script)
5454
5467
  @secret_env = args[:secret_env] if args.key?(:secret_env)
5455
5468
  @status = args[:status] if args.key?(:status)
@@ -5460,6 +5473,25 @@ module Google
5460
5473
  end
5461
5474
  end
5462
5475
 
5476
+ # Results for a build step.
5477
+ class GoogleDevtoolsCloudbuildV1BuildStepResults
5478
+ include Google::Apis::Core::Hashable
5479
+
5480
+ # Results for a build step.
5481
+ # Corresponds to the JSON property `results`
5482
+ # @return [Hash<String,String>]
5483
+ attr_accessor :results
5484
+
5485
+ def initialize(**args)
5486
+ update!(**args)
5487
+ end
5488
+
5489
+ # Update properties of this object
5490
+ def update!(**args)
5491
+ @results = args[:results] if args.key?(:results)
5492
+ end
5493
+ end
5494
+
5463
5495
  # An image built by the pipeline.
5464
5496
  class GoogleDevtoolsCloudbuildV1BuiltImage
5465
5497
  include Google::Apis::Core::Hashable
@@ -6245,6 +6277,11 @@ module Google
6245
6277
  # @return [Array<String>]
6246
6278
  attr_accessor :build_step_outputs
6247
6279
 
6280
+ # Results for build steps. step_id ->
6281
+ # Corresponds to the JSON property `buildStepResults`
6282
+ # @return [Hash<String,Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildStepResults>]
6283
+ attr_accessor :build_step_results
6284
+
6248
6285
  # Output only. Generic artifacts uploaded to Artifact Registry at the end of the
6249
6286
  # build.
6250
6287
  # Corresponds to the JSON property `genericArtifacts`
@@ -6293,6 +6330,7 @@ module Google
6293
6330
  @artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
6294
6331
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
6295
6332
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
6333
+ @build_step_results = args[:build_step_results] if args.key?(:build_step_results)
6296
6334
  @generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
6297
6335
  @go_modules = args[:go_modules] if args.key?(:go_modules)
6298
6336
  @images = args[:images] if args.key?(:images)
@@ -6496,6 +6534,37 @@ module Google
6496
6534
  end
6497
6535
  end
6498
6536
 
6537
+ # StepResult is the declaration of a result for a build step.
6538
+ class GoogleDevtoolsCloudbuildV1StepResult
6539
+ include Google::Apis::Core::Hashable
6540
+
6541
+ # Optional. The content of the attestation to be generated.
6542
+ # Corresponds to the JSON property `attestationContent`
6543
+ # @return [String]
6544
+ attr_accessor :attestation_content
6545
+
6546
+ # Optional. The type of attestation to be generated.
6547
+ # Corresponds to the JSON property `attestationType`
6548
+ # @return [String]
6549
+ attr_accessor :attestation_type
6550
+
6551
+ # Required. The name of the result.
6552
+ # Corresponds to the JSON property `name`
6553
+ # @return [String]
6554
+ attr_accessor :name
6555
+
6556
+ def initialize(**args)
6557
+ update!(**args)
6558
+ end
6559
+
6560
+ # Update properties of this object
6561
+ def update!(**args)
6562
+ @attestation_content = args[:attestation_content] if args.key?(:attestation_content)
6563
+ @attestation_type = args[:attestation_type] if args.key?(:attestation_type)
6564
+ @name = args[:name] if args.key?(:name)
6565
+ end
6566
+ end
6567
+
6499
6568
  # Location of the source in an archive file in Cloud Storage.
6500
6569
  class GoogleDevtoolsCloudbuildV1StorageSource
6501
6570
  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.112.0"
19
+ GEM_VERSION = "0.113.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260403"
25
+ REVISION = "20260501"
26
26
  end
27
27
  end
28
28
  end
@@ -538,6 +538,12 @@ module Google
538
538
  include Google::Apis::Core::JsonObjectSupport
539
539
  end
540
540
 
541
+ class GoogleDevtoolsCloudbuildV1BuildStepResults
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
541
547
  class GoogleDevtoolsCloudbuildV1BuiltImage
542
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
549
 
@@ -706,6 +712,12 @@ module Google
706
712
  include Google::Apis::Core::JsonObjectSupport
707
713
  end
708
714
 
715
+ class GoogleDevtoolsCloudbuildV1StepResult
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
709
721
  class GoogleDevtoolsCloudbuildV1StorageSource
710
722
  class Representation < Google::Apis::Core::JsonRepresentation; end
711
723
 
@@ -1186,6 +1198,7 @@ module Google
1186
1198
 
1187
1199
  property :create_time, as: 'createTime'
1188
1200
  property :creator, as: 'creator'
1201
+ property :default_uri_disabled, as: 'defaultUriDisabled'
1189
1202
  property :delete_time, as: 'deleteTime'
1190
1203
  property :description, as: 'description'
1191
1204
  property :encryption_key, as: 'encryptionKey'
@@ -2069,6 +2082,8 @@ module Google
2069
2082
  property :name, as: 'name'
2070
2083
  property :pull_timing, as: 'pullTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
2071
2084
 
2085
+ collection :results, as: 'results', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1StepResult, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1StepResult::Representation
2086
+
2072
2087
  property :script, as: 'script'
2073
2088
  collection :secret_env, as: 'secretEnv'
2074
2089
  property :status, as: 'status'
@@ -2081,6 +2096,13 @@ module Google
2081
2096
  end
2082
2097
  end
2083
2098
 
2099
+ class GoogleDevtoolsCloudbuildV1BuildStepResults
2100
+ # @private
2101
+ class Representation < Google::Apis::Core::JsonRepresentation
2102
+ hash :results, as: 'results'
2103
+ end
2104
+ end
2105
+
2084
2106
  class GoogleDevtoolsCloudbuildV1BuiltImage
2085
2107
  # @private
2086
2108
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2292,6 +2314,8 @@ module Google
2292
2314
 
2293
2315
  collection :build_step_images, as: 'buildStepImages'
2294
2316
  collection :build_step_outputs, as: 'buildStepOutputs'
2317
+ hash :build_step_results, as: 'buildStepResults', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildStepResults, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1BuildStepResults::Representation
2318
+
2295
2319
  collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact::Representation
2296
2320
 
2297
2321
  collection :go_modules, as: 'goModules', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGoModule, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1UploadedGoModule::Representation
@@ -2370,6 +2394,15 @@ module Google
2370
2394
  end
2371
2395
  end
2372
2396
 
2397
+ class GoogleDevtoolsCloudbuildV1StepResult
2398
+ # @private
2399
+ class Representation < Google::Apis::Core::JsonRepresentation
2400
+ property :attestation_content, as: 'attestationContent'
2401
+ property :attestation_type, as: 'attestationType'
2402
+ property :name, as: 'name'
2403
+ end
2404
+ end
2405
+
2373
2406
  class GoogleDevtoolsCloudbuildV1StorageSource
2374
2407
  # @private
2375
2408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -333,6 +333,51 @@ module Google
333
333
  execute_or_queue_command(command, &block)
334
334
  end
335
335
 
336
+ # Gets the IAM Access Control policy currently in effect for the given Instance.
337
+ # This result does not include any inherited policies.
338
+ # @param [String] resource
339
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
340
+ # names](https://cloud.google.com/apis/design/resource_names) for the
341
+ # appropriate value for this field.
342
+ # @param [Fixnum] options_requested_policy_version
343
+ # Optional. The maximum policy version that will be used to format the policy.
344
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
345
+ # rejected. Requests for policies with any conditional role bindings must
346
+ # specify version 3. Policies with no conditional role bindings may specify any
347
+ # valid value or leave the field unset. The policy in the response might use the
348
+ # policy version that you specified, or it might use a lower policy version. For
349
+ # example, if you specify version 3, but the policy has no conditional role
350
+ # bindings, the response uses version 1. To learn which resources support
351
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
352
+ # google.com/iam/help/conditions/resource-policies).
353
+ # @param [String] fields
354
+ # Selector specifying which fields to include in a partial response.
355
+ # @param [String] quota_user
356
+ # Available to use for quota purposes for server-side applications. Can be any
357
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
358
+ # @param [Google::Apis::RequestOptions] options
359
+ # Request-specific options
360
+ #
361
+ # @yield [result, err] Result & error if block supplied
362
+ # @yieldparam result [Google::Apis::RunV2::GoogleIamV1Policy] parsed result object
363
+ # @yieldparam err [StandardError] error object if request failed
364
+ #
365
+ # @return [Google::Apis::RunV2::GoogleIamV1Policy]
366
+ #
367
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
368
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
369
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
370
+ def get_project_location_instance_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
371
+ command = make_simple_command(:get, 'v2/{+resource}:getIamPolicy', options)
372
+ command.response_representation = Google::Apis::RunV2::GoogleIamV1Policy::Representation
373
+ command.response_class = Google::Apis::RunV2::GoogleIamV1Policy
374
+ command.params['resource'] = resource unless resource.nil?
375
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
376
+ command.query['fields'] = fields unless fields.nil?
377
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
378
+ execute_or_queue_command(command, &block)
379
+ end
380
+
336
381
  # Lists Instances. Results are sorted by creation time, descending.
337
382
  # @param [String] parent
338
383
  # Required. The location and project to list resources on. Format: projects/`
@@ -423,6 +468,42 @@ module Google
423
468
  execute_or_queue_command(command, &block)
424
469
  end
425
470
 
471
+ # Sets the IAM Access control policy for the specified Instance. Overwrites any
472
+ # existing policy.
473
+ # @param [String] resource
474
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
475
+ # names](https://cloud.google.com/apis/design/resource_names) for the
476
+ # appropriate value for this field.
477
+ # @param [Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
478
+ # @param [String] fields
479
+ # Selector specifying which fields to include in a partial response.
480
+ # @param [String] quota_user
481
+ # Available to use for quota purposes for server-side applications. Can be any
482
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
483
+ # @param [Google::Apis::RequestOptions] options
484
+ # Request-specific options
485
+ #
486
+ # @yield [result, err] Result & error if block supplied
487
+ # @yieldparam result [Google::Apis::RunV2::GoogleIamV1Policy] parsed result object
488
+ # @yieldparam err [StandardError] error object if request failed
489
+ #
490
+ # @return [Google::Apis::RunV2::GoogleIamV1Policy]
491
+ #
492
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
493
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
494
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
495
+ def set_project_location_instance_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
496
+ command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
497
+ command.request_representation = Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest::Representation
498
+ command.request_object = google_iam_v1_set_iam_policy_request_object
499
+ command.response_representation = Google::Apis::RunV2::GoogleIamV1Policy::Representation
500
+ command.response_class = Google::Apis::RunV2::GoogleIamV1Policy
501
+ command.params['resource'] = resource unless resource.nil?
502
+ command.query['fields'] = fields unless fields.nil?
503
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
504
+ execute_or_queue_command(command, &block)
505
+ end
506
+
426
507
  # Starts an Instance.
427
508
  # @param [String] name
428
509
  # Required. The name of the Instance to stop. Format: `projects/`project`/
@@ -493,6 +574,42 @@ module Google
493
574
  execute_or_queue_command(command, &block)
494
575
  end
495
576
 
577
+ # Returns permissions that a caller has on the specified Project. There are no
578
+ # permissions required for making this API call.
579
+ # @param [String] resource
580
+ # REQUIRED: The resource for which the policy detail is being requested. See [
581
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
582
+ # appropriate value for this field.
583
+ # @param [Google::Apis::RunV2::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
584
+ # @param [String] fields
585
+ # Selector specifying which fields to include in a partial response.
586
+ # @param [String] quota_user
587
+ # Available to use for quota purposes for server-side applications. Can be any
588
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
589
+ # @param [Google::Apis::RequestOptions] options
590
+ # Request-specific options
591
+ #
592
+ # @yield [result, err] Result & error if block supplied
593
+ # @yieldparam result [Google::Apis::RunV2::GoogleIamV1TestIamPermissionsResponse] parsed result object
594
+ # @yieldparam err [StandardError] error object if request failed
595
+ #
596
+ # @return [Google::Apis::RunV2::GoogleIamV1TestIamPermissionsResponse]
597
+ #
598
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
599
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
600
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
601
+ def test_project_location_instance_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
602
+ command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
603
+ command.request_representation = Google::Apis::RunV2::GoogleIamV1TestIamPermissionsRequest::Representation
604
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
605
+ command.response_representation = Google::Apis::RunV2::GoogleIamV1TestIamPermissionsResponse::Representation
606
+ command.response_class = Google::Apis::RunV2::GoogleIamV1TestIamPermissionsResponse
607
+ command.params['resource'] = resource unless resource.nil?
608
+ command.query['fields'] = fields unless fields.nil?
609
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
610
+ execute_or_queue_command(command, &block)
611
+ end
612
+
496
613
  # Creates a Job.
497
614
  # @param [String] parent
498
615
  # Required. The location and project in which this Job should be created. Format:
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.112.0
4
+ version: 0.113.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.112.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.113.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: