google-apis-run_v1 0.102.0 → 0.103.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: cc4053840c9692a1c845da1c2ed708a2eb5d8ff52c6f736d2fc1c748f665e8cc
4
- data.tar.gz: f6cc90697696c6c7161fa7af70cfea444909a3ee81434530c8f63a39be597eb2
3
+ metadata.gz: 5f687823c91598834dc7f992fac386745f20c312c48976cc43e137014ae9fc1d
4
+ data.tar.gz: baa5d86ebc05d810ddca3e147d50e5c57fa7fbb90f1d5fe19516df77aebb52a2
5
5
  SHA512:
6
- metadata.gz: de1923600829cbd133a052b047956c28179fbdfd6ef6657048195cbe929c300670f0fef21f06b4043e326fe633e9666d6514927f591e65f76c71e1fba27da861
7
- data.tar.gz: c831dc96e6b1ee1c32b93389d50e1eb4f793856c16678561a2ec682725d733c0bf81ff96d2e671ebcfe2fcfaa6ed9067f15ee135e1312d8879d2b68908e26114
6
+ metadata.gz: 65d5603b3f57c0d1486851ea3c6ef3807596ab73910f16107489a246129cb9793cb7ee5aeb3942a00a0b551ea85ebda15b9c685e51c232cd83c4a0cfcb4a9752
7
+ data.tar.gz: b296f266552e4c7fbbb9a7982c0901864ee492553fb41c0839406bd698982a6f3cc14457e3bf2fffa98afeffb88fa6d55e54d5ba9fcad82927cda8568d208226
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.103.0 (2026-04-19)
4
+
5
+ * Regenerated from discovery document revision 20260403
6
+
3
7
  ### v0.102.0 (2026-03-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20260313
@@ -1554,6 +1554,13 @@ module Google
1554
1554
  class GoogleDevtoolsCloudbuildV1Artifacts
1555
1555
  include Google::Apis::Core::Hashable
1556
1556
 
1557
+ # Optional. A list of generic artifacts to be uploaded to Artifact Registry upon
1558
+ # successful completion of all build steps. If any artifacts fail to be pushed,
1559
+ # the build is marked FAILURE.
1560
+ # Corresponds to the JSON property `genericArtifacts`
1561
+ # @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifact>]
1562
+ attr_accessor :generic_artifacts
1563
+
1557
1564
  # Optional. A list of Go modules to be uploaded to Artifact Registry upon
1558
1565
  # successful completion of all build steps. If any objects fail to be pushed,
1559
1566
  # the build is marked FAILURE.
@@ -1617,6 +1624,7 @@ module Google
1617
1624
 
1618
1625
  # Update properties of this object
1619
1626
  def update!(**args)
1627
+ @generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
1620
1628
  @go_modules = args[:go_modules] if args.key?(:go_modules)
1621
1629
  @images = args[:images] if args.key?(:images)
1622
1630
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
@@ -2327,6 +2335,11 @@ module Google
2327
2335
  attr_accessor :empty
2328
2336
  alias_method :empty?, :empty
2329
2337
 
2338
+ # Represents a generic artifact as a build dependency.
2339
+ # Corresponds to the JSON property `genericArtifact`
2340
+ # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifactDependency]
2341
+ attr_accessor :generic_artifact
2342
+
2330
2343
  # Represents a git repository as a build dependency.
2331
2344
  # Corresponds to the JSON property `gitSource`
2332
2345
  # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceDependency]
@@ -2339,6 +2352,7 @@ module Google
2339
2352
  # Update properties of this object
2340
2353
  def update!(**args)
2341
2354
  @empty = args[:empty] if args.key?(:empty)
2355
+ @generic_artifact = args[:generic_artifact] if args.key?(:generic_artifact)
2342
2356
  @git_source = args[:git_source] if args.key?(:git_source)
2343
2357
  end
2344
2358
  end
@@ -2421,6 +2435,61 @@ module Google
2421
2435
  end
2422
2436
  end
2423
2437
 
2438
+ # Generic artifact to upload to Artifact Registry upon successful completion of
2439
+ # all build steps.
2440
+ class GoogleDevtoolsCloudbuildV1GenericArtifact
2441
+ include Google::Apis::Core::Hashable
2442
+
2443
+ # Required. Path to the generic artifact in the build's workspace to be uploaded
2444
+ # to Artifact Registry.
2445
+ # Corresponds to the JSON property `folder`
2446
+ # @return [String]
2447
+ attr_accessor :folder
2448
+
2449
+ # Required. Registry path to upload the generic artifact to, in the form
2450
+ # projects/$PROJECT/locations/$LOCATION/repositories/$REPO/packages/$PACKAGE/
2451
+ # versions/$VERSION
2452
+ # Corresponds to the JSON property `registryPath`
2453
+ # @return [String]
2454
+ attr_accessor :registry_path
2455
+
2456
+ def initialize(**args)
2457
+ update!(**args)
2458
+ end
2459
+
2460
+ # Update properties of this object
2461
+ def update!(**args)
2462
+ @folder = args[:folder] if args.key?(:folder)
2463
+ @registry_path = args[:registry_path] if args.key?(:registry_path)
2464
+ end
2465
+ end
2466
+
2467
+ # Represents a generic artifact as a build dependency.
2468
+ class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
2469
+ include Google::Apis::Core::Hashable
2470
+
2471
+ # Required. Where the artifact files should be placed on the worker.
2472
+ # Corresponds to the JSON property `destPath`
2473
+ # @return [String]
2474
+ attr_accessor :dest_path
2475
+
2476
+ # Required. The location to download the artifact files from. Ex: projects/p1/
2477
+ # locations/us/repositories/r1/packages/p1/versions/v1
2478
+ # Corresponds to the JSON property `resource`
2479
+ # @return [String]
2480
+ attr_accessor :resource
2481
+
2482
+ def initialize(**args)
2483
+ update!(**args)
2484
+ end
2485
+
2486
+ # Update properties of this object
2487
+ def update!(**args)
2488
+ @dest_path = args[:dest_path] if args.key?(:dest_path)
2489
+ @resource = args[:resource] if args.key?(:resource)
2490
+ end
2491
+ end
2492
+
2424
2493
  # GitConfig is a configuration for git operations.
2425
2494
  class GoogleDevtoolsCloudbuildV1GitConfig
2426
2495
  include Google::Apis::Core::Hashable
@@ -2961,6 +3030,12 @@ module Google
2961
3030
  # @return [Array<String>]
2962
3031
  attr_accessor :build_step_outputs
2963
3032
 
3033
+ # Output only. Generic artifacts uploaded to Artifact Registry at the end of the
3034
+ # build.
3035
+ # Corresponds to the JSON property `genericArtifacts`
3036
+ # @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact>]
3037
+ attr_accessor :generic_artifacts
3038
+
2964
3039
  # Optional. Go module artifacts uploaded to Artifact Registry at the end of the
2965
3040
  # build.
2966
3041
  # Corresponds to the JSON property `goModules`
@@ -3003,6 +3078,7 @@ module Google
3003
3078
  @artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
3004
3079
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
3005
3080
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
3081
+ @generic_artifacts = args[:generic_artifacts] if args.key?(:generic_artifacts)
3006
3082
  @go_modules = args[:go_modules] if args.key?(:go_modules)
3007
3083
  @images = args[:images] if args.key?(:images)
3008
3084
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
@@ -3307,6 +3383,52 @@ module Google
3307
3383
  end
3308
3384
  end
3309
3385
 
3386
+ # A generic artifact uploaded to Artifact Registry using the GenericArtifact
3387
+ # directive.
3388
+ class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
3389
+ include Google::Apis::Core::Hashable
3390
+
3391
+ # Container message for hashes of byte content of files, used in
3392
+ # SourceProvenance messages to verify integrity of source input to the build.
3393
+ # Corresponds to the JSON property `artifactFingerprint`
3394
+ # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes]
3395
+ attr_accessor :artifact_fingerprint
3396
+
3397
+ # Output only. Path to the artifact in Artifact Registry.
3398
+ # Corresponds to the JSON property `artifactRegistryPackage`
3399
+ # @return [String]
3400
+ attr_accessor :artifact_registry_package
3401
+
3402
+ # Output only. The file hashes that make up the generic artifact.
3403
+ # Corresponds to the JSON property `fileHashes`
3404
+ # @return [Hash<String,Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes>]
3405
+ attr_accessor :file_hashes
3406
+
3407
+ # Start and end times for a build execution phase.
3408
+ # Corresponds to the JSON property `pushTiming`
3409
+ # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan]
3410
+ attr_accessor :push_timing
3411
+
3412
+ # Output only. URI of the uploaded artifact. Ex: projects/p1/locations/us/
3413
+ # repositories/r1/packages/p1/versions/v1
3414
+ # Corresponds to the JSON property `uri`
3415
+ # @return [String]
3416
+ attr_accessor :uri
3417
+
3418
+ def initialize(**args)
3419
+ update!(**args)
3420
+ end
3421
+
3422
+ # Update properties of this object
3423
+ def update!(**args)
3424
+ @artifact_fingerprint = args[:artifact_fingerprint] if args.key?(:artifact_fingerprint)
3425
+ @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
3426
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
3427
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
3428
+ @uri = args[:uri] if args.key?(:uri)
3429
+ end
3430
+ end
3431
+
3310
3432
  # A Go module artifact uploaded to Artifact Registry using the GoModule
3311
3433
  # directive.
3312
3434
  class GoogleDevtoolsCloudbuildV1UploadedGoModule
@@ -6546,8 +6668,8 @@ module Google
6546
6668
  alias_method :read_only?, :read_only
6547
6669
 
6548
6670
  # Path within the volume from which the container's volume should be mounted.
6549
- # Defaults to "" (volume's root). This field is currently ignored for Secret
6550
- # volumes.
6671
+ # Defaults to "" (volume's root). This field is currently rejected in Secret
6672
+ # volume mounts.
6551
6673
  # Corresponds to the JSON property `subPath`
6552
6674
  # @return [String]
6553
6675
  attr_accessor :sub_path
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1
18
18
  # Version of the google-apis-run_v1 gem
19
- GEM_VERSION = "0.102.0"
19
+ GEM_VERSION = "0.103.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 = "20260313"
25
+ REVISION = "20260403"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,18 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class GoogleDevtoolsCloudbuildV1GenericArtifact
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
313
325
  class GoogleDevtoolsCloudbuildV1GitConfig
314
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
327
 
@@ -448,6 +460,12 @@ module Google
448
460
  include Google::Apis::Core::JsonObjectSupport
449
461
  end
450
462
 
463
+ class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
451
469
  class GoogleDevtoolsCloudbuildV1UploadedGoModule
452
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
471
 
@@ -1301,6 +1319,8 @@ module Google
1301
1319
  class GoogleDevtoolsCloudbuildV1Artifacts
1302
1320
  # @private
1303
1321
  class Representation < Google::Apis::Core::JsonRepresentation
1322
+ collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifact, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifact::Representation
1323
+
1304
1324
  collection :go_modules, as: 'goModules', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GoModule, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GoModule::Representation
1305
1325
 
1306
1326
  collection :images, as: 'images'
@@ -1464,6 +1484,8 @@ module Google
1464
1484
  # @private
1465
1485
  class Representation < Google::Apis::Core::JsonRepresentation
1466
1486
  property :empty, as: 'empty'
1487
+ property :generic_artifact, as: 'genericArtifact', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifactDependency, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GenericArtifactDependency::Representation
1488
+
1467
1489
  property :git_source, as: 'gitSource', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceDependency, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSourceDependency::Representation
1468
1490
 
1469
1491
  end
@@ -1494,6 +1516,22 @@ module Google
1494
1516
  end
1495
1517
  end
1496
1518
 
1519
+ class GoogleDevtoolsCloudbuildV1GenericArtifact
1520
+ # @private
1521
+ class Representation < Google::Apis::Core::JsonRepresentation
1522
+ property :folder, as: 'folder'
1523
+ property :registry_path, as: 'registryPath'
1524
+ end
1525
+ end
1526
+
1527
+ class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
1528
+ # @private
1529
+ class Representation < Google::Apis::Core::JsonRepresentation
1530
+ property :dest_path, as: 'destPath'
1531
+ property :resource, as: 'resource'
1532
+ end
1533
+ end
1534
+
1497
1535
  class GoogleDevtoolsCloudbuildV1GitConfig
1498
1536
  # @private
1499
1537
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1632,6 +1670,8 @@ module Google
1632
1670
 
1633
1671
  collection :build_step_images, as: 'buildStepImages'
1634
1672
  collection :build_step_outputs, as: 'buildStepOutputs'
1673
+ collection :generic_artifacts, as: 'genericArtifacts', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGenericArtifact::Representation
1674
+
1635
1675
  collection :go_modules, as: 'goModules', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGoModule, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedGoModule::Representation
1636
1676
 
1637
1677
  collection :images, as: 'images', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuiltImage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuiltImage::Representation
@@ -1735,6 +1775,20 @@ module Google
1735
1775
  end
1736
1776
  end
1737
1777
 
1778
+ class GoogleDevtoolsCloudbuildV1UploadedGenericArtifact
1779
+ # @private
1780
+ class Representation < Google::Apis::Core::JsonRepresentation
1781
+ property :artifact_fingerprint, as: 'artifactFingerprint', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes::Representation
1782
+
1783
+ property :artifact_registry_package, as: 'artifactRegistryPackage'
1784
+ hash :file_hashes, as: 'fileHashes', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FileHashes::Representation
1785
+
1786
+ property :push_timing, as: 'pushTiming', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
1787
+
1788
+ property :uri, as: 'uri'
1789
+ end
1790
+ end
1791
+
1738
1792
  class GoogleDevtoolsCloudbuildV1UploadedGoModule
1739
1793
  # @private
1740
1794
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -677,6 +677,41 @@ module Google
677
677
  execute_or_queue_command(command, &block)
678
678
  end
679
679
 
680
+ # Replace an Instance.
681
+ # @param [String] name
682
+ # Required. The name of the Instance being replaced. Replace `namespace` with
683
+ # the project ID or number. It takes the form namespaces/`namespace`. For
684
+ # example: namespaces/PROJECT_ID
685
+ # @param [Google::Apis::RunV1::Instance] instance_object
686
+ # @param [String] fields
687
+ # Selector specifying which fields to include in a partial response.
688
+ # @param [String] quota_user
689
+ # Available to use for quota purposes for server-side applications. Can be any
690
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
691
+ # @param [Google::Apis::RequestOptions] options
692
+ # Request-specific options
693
+ #
694
+ # @yield [result, err] Result & error if block supplied
695
+ # @yieldparam result [Google::Apis::RunV1::Instance] parsed result object
696
+ # @yieldparam err [StandardError] error object if request failed
697
+ #
698
+ # @return [Google::Apis::RunV1::Instance]
699
+ #
700
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
701
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
702
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
703
+ def replace_namespace_instance_instance(name, instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
704
+ command = make_simple_command(:put, 'apis/run.googleapis.com/v1/{+name}', options)
705
+ command.request_representation = Google::Apis::RunV1::Instance::Representation
706
+ command.request_object = instance_object
707
+ command.response_representation = Google::Apis::RunV1::Instance::Representation
708
+ command.response_class = Google::Apis::RunV1::Instance
709
+ command.params['name'] = name unless name.nil?
710
+ command.query['fields'] = fields unless fields.nil?
711
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
712
+ execute_or_queue_command(command, &block)
713
+ end
714
+
680
715
  # Start an Instance which has been stopped.
681
716
  # @param [String] name
682
717
  # Required. The name of the Instance to run. Replace `namespace` with the
@@ -1773,10 +1808,15 @@ module Google
1773
1808
  end
1774
1809
 
1775
1810
  # Lists information about the supported locations for this service. This method
1776
- # can be called in two ways: * **List all public locations:** Use the path `GET /
1777
- # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
1778
- # projects/`project_id`/locations`. This may include public locations as well as
1779
- # private or other locations specifically visible to the project.
1811
+ # lists locations based on the resource scope provided in the [
1812
+ # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
1813
+ # the method lists the public locations available to all projects. * **Project-
1814
+ # specific locations**: If `name` follows the format `projects/`project``, the
1815
+ # method lists locations visible to that specific project. This includes public,
1816
+ # private, or other project-specific locations enabled for the project. For gRPC
1817
+ # and client library implementations, the resource name is passed as the `name`
1818
+ # field. For direct service calls, the resource name is incorporated into the
1819
+ # request path based on the specific service implementation and version.
1780
1820
  # @param [String] name
1781
1821
  # The resource that owns the locations collection, if applicable.
1782
1822
  # @param [Array<String>, String] extra_location_types
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.102.0
4
+ version: 0.103.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.102.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.103.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
62
62
  rdoc_options: []
63
63
  require_paths: