google-apis-run_v2 0.62.0 → 0.63.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: 7c24ca63a65a0b3947706fe0d5cb77ffbac1e4816e299c717c5d67e33490f5a8
4
- data.tar.gz: 77bbf6c55792308d06b3fbd09198696ba0a813829b871d17a2fc08e59b8e4447
3
+ metadata.gz: 470d3fa99f162988dfdf98434d395f96879579176557410d7bf89ceaa0ed6e0f
4
+ data.tar.gz: 90d6f79fae64bc0d9e36e6d81bb703796ce5900d2e102039ece8af88ecbc910d
5
5
  SHA512:
6
- metadata.gz: e38a56b4da03f4f4f536eb15e8eb7d64373cf82bb402ba7232f743b6e4699d5d2b492099c6e536ef4d6ce6ddac4cb3923e066c59fe2d3eb607a6d795262142f4
7
- data.tar.gz: e8ccc0c4f270ebc35ba2ded509b8ae815d52a24dabce9048582e61f9c84fb1557b58bc9e91586dafe99dc19423c81b74e39a1d795f455cd974c24fed18e0a76a
6
+ metadata.gz: e65055b407743ade759fa69e46c2b034d9437e1053bca41501963225bd67ad769ea7284e893467ba74998bf909baee2c79550c4f92378217d3dfe0542c56acb8
7
+ data.tar.gz: 2c6eba44a679b703c03aabcc71cdc458fecc289770815ca850997b78d95d3017b95fa3df6b8bbcbb16b92bbc37261b99693f2d2365ba49e7ba20dafd693ec18a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.63.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240426
6
+
3
7
  ### v0.62.0 (2024-04-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20240412
@@ -1399,6 +1399,25 @@ module Google
1399
1399
  end
1400
1400
  end
1401
1401
 
1402
+ # Hardware constraints configuration.
1403
+ class GoogleCloudRunV2NodeSelector
1404
+ include Google::Apis::Core::Hashable
1405
+
1406
+ # Required. GPU accelerator type to attach to an instance.
1407
+ # Corresponds to the JSON property `accelerator`
1408
+ # @return [String]
1409
+ attr_accessor :accelerator
1410
+
1411
+ def initialize(**args)
1412
+ update!(**args)
1413
+ end
1414
+
1415
+ # Update properties of this object
1416
+ def update!(**args)
1417
+ @accelerator = args[:accelerator] if args.key?(:accelerator)
1418
+ end
1419
+ end
1420
+
1402
1421
  # RunJob Overrides that contains Execution fields to be overridden.
1403
1422
  class GoogleCloudRunV2Overrides
1404
1423
  include Google::Apis::Core::Hashable
@@ -1649,6 +1668,11 @@ module Google
1649
1668
  # @return [String]
1650
1669
  attr_accessor :name
1651
1670
 
1671
+ # Hardware constraints configuration.
1672
+ # Corresponds to the JSON property `nodeSelector`
1673
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2NodeSelector]
1674
+ attr_accessor :node_selector
1675
+
1652
1676
  # Output only. The generation of this Revision currently serving traffic. See
1653
1677
  # comments in `reconciling` for additional information on reconciliation process
1654
1678
  # in Cloud Run.
@@ -1749,6 +1773,7 @@ module Google
1749
1773
  @log_uri = args[:log_uri] if args.key?(:log_uri)
1750
1774
  @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
1751
1775
  @name = args[:name] if args.key?(:name)
1776
+ @node_selector = args[:node_selector] if args.key?(:node_selector)
1752
1777
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
1753
1778
  @reconciling = args[:reconciling] if args.key?(:reconciling)
1754
1779
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@@ -1868,6 +1893,11 @@ module Google
1868
1893
  # @return [Fixnum]
1869
1894
  attr_accessor :max_instance_request_concurrency
1870
1895
 
1896
+ # Hardware constraints configuration.
1897
+ # Corresponds to the JSON property `nodeSelector`
1898
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2NodeSelector]
1899
+ attr_accessor :node_selector
1900
+
1871
1901
  # Optional. The unique name for the revision. If this field is omitted, it will
1872
1902
  # be automatically generated based on the Service name.
1873
1903
  # Corresponds to the JSON property `revision`
@@ -1922,6 +1952,7 @@ module Google
1922
1952
  @health_check_disabled = args[:health_check_disabled] if args.key?(:health_check_disabled)
1923
1953
  @labels = args[:labels] if args.key?(:labels)
1924
1954
  @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
1955
+ @node_selector = args[:node_selector] if args.key?(:node_selector)
1925
1956
  @revision = args[:revision] if args.key?(:revision)
1926
1957
  @scaling = args[:scaling] if args.key?(:scaling)
1927
1958
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -3165,6 +3196,11 @@ module Google
3165
3196
  # @return [String]
3166
3197
  attr_accessor :finish_time
3167
3198
 
3199
+ # GitConfig is a configuration for git operations.
3200
+ # Corresponds to the JSON property `gitConfig`
3201
+ # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitConfig]
3202
+ attr_accessor :git_config
3203
+
3168
3204
  # Output only. Unique identifier of the build.
3169
3205
  # Corresponds to the JSON property `id`
3170
3206
  # @return [String]
@@ -3312,6 +3348,7 @@ module Google
3312
3348
  @create_time = args[:create_time] if args.key?(:create_time)
3313
3349
  @failure_info = args[:failure_info] if args.key?(:failure_info)
3314
3350
  @finish_time = args[:finish_time] if args.key?(:finish_time)
3351
+ @git_config = args[:git_config] if args.key?(:git_config)
3315
3352
  @id = args[:id] if args.key?(:id)
3316
3353
  @images = args[:images] if args.key?(:images)
3317
3354
  @log_url = args[:log_url] if args.key?(:log_url)
@@ -3760,6 +3797,39 @@ module Google
3760
3797
  end
3761
3798
  end
3762
3799
 
3800
+ # This config defines the location of a source through Developer Connect.
3801
+ class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig
3802
+ include Google::Apis::Core::Hashable
3803
+
3804
+ # Required. Directory, relative to the source root, in which to run the build.
3805
+ # Corresponds to the JSON property `dir`
3806
+ # @return [String]
3807
+ attr_accessor :dir
3808
+
3809
+ # Required. The Developer Connect Git repository link, formatted as `projects/*/
3810
+ # locations/*/connections/*/gitRepositoryLink/*`.
3811
+ # Corresponds to the JSON property `gitRepositoryLink`
3812
+ # @return [String]
3813
+ attr_accessor :git_repository_link
3814
+
3815
+ # Required. The revision to fetch from the Git repository such as a branch, a
3816
+ # tag, a commit SHA, or any Git ref.
3817
+ # Corresponds to the JSON property `revision`
3818
+ # @return [String]
3819
+ attr_accessor :revision
3820
+
3821
+ def initialize(**args)
3822
+ update!(**args)
3823
+ end
3824
+
3825
+ # Update properties of this object
3826
+ def update!(**args)
3827
+ @dir = args[:dir] if args.key?(:dir)
3828
+ @git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
3829
+ @revision = args[:revision] if args.key?(:revision)
3830
+ end
3831
+ end
3832
+
3763
3833
  # A fatal problem encountered during the execution of the build.
3764
3834
  class GoogleDevtoolsCloudbuildV1FailureInfo
3765
3835
  include Google::Apis::Core::Hashable
@@ -3805,6 +3875,25 @@ module Google
3805
3875
  end
3806
3876
  end
3807
3877
 
3878
+ # GitConfig is a configuration for git operations.
3879
+ class GoogleDevtoolsCloudbuildV1GitConfig
3880
+ include Google::Apis::Core::Hashable
3881
+
3882
+ # HttpConfig is a configuration for HTTP related git operations.
3883
+ # Corresponds to the JSON property `http`
3884
+ # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1HttpConfig]
3885
+ attr_accessor :http
3886
+
3887
+ def initialize(**args)
3888
+ update!(**args)
3889
+ end
3890
+
3891
+ # Update properties of this object
3892
+ def update!(**args)
3893
+ @http = args[:http] if args.key?(:http)
3894
+ end
3895
+ end
3896
+
3808
3897
  # Location of the source in any accessible Git repository.
3809
3898
  class GoogleDevtoolsCloudbuildV1GitSource
3810
3899
  include Google::Apis::Core::Hashable
@@ -3871,6 +3960,26 @@ module Google
3871
3960
  end
3872
3961
  end
3873
3962
 
3963
+ # HttpConfig is a configuration for HTTP related git operations.
3964
+ class GoogleDevtoolsCloudbuildV1HttpConfig
3965
+ include Google::Apis::Core::Hashable
3966
+
3967
+ # SecretVersion resource of the HTTP proxy URL. The proxy URL should be in
3968
+ # format protocol://@]proxyhost[:port].
3969
+ # Corresponds to the JSON property `proxySecretVersionName`
3970
+ # @return [String]
3971
+ attr_accessor :proxy_secret_version_name
3972
+
3973
+ def initialize(**args)
3974
+ update!(**args)
3975
+ end
3976
+
3977
+ # Update properties of this object
3978
+ def update!(**args)
3979
+ @proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
3980
+ end
3981
+ end
3982
+
3874
3983
  # Pairs a set of secret environment variables mapped to encrypted values with
3875
3984
  # the Cloud KMS key to use to decrypt the value.
3876
3985
  class GoogleDevtoolsCloudbuildV1InlineSecret
@@ -4266,6 +4375,11 @@ module Google
4266
4375
  # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ConnectedRepository]
4267
4376
  attr_accessor :connected_repository
4268
4377
 
4378
+ # This config defines the location of a source through Developer Connect.
4379
+ # Corresponds to the JSON property `developerConnectConfig`
4380
+ # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig]
4381
+ attr_accessor :developer_connect_config
4382
+
4269
4383
  # Location of the source in any accessible Git repository.
4270
4384
  # Corresponds to the JSON property `gitSource`
4271
4385
  # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSource]
@@ -4295,6 +4409,7 @@ module Google
4295
4409
  # Update properties of this object
4296
4410
  def update!(**args)
4297
4411
  @connected_repository = args[:connected_repository] if args.key?(:connected_repository)
4412
+ @developer_connect_config = args[:developer_connect_config] if args.key?(:developer_connect_config)
4298
4413
  @git_source = args[:git_source] if args.key?(:git_source)
4299
4414
  @repo_source = args[:repo_source] if args.key?(:repo_source)
4300
4415
  @storage_source = args[:storage_source] if args.key?(:storage_source)
@@ -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.62.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240412"
25
+ REVISION = "20240426"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class GoogleCloudRunV2NodeSelector
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class GoogleCloudRunV2Overrides
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -400,6 +406,12 @@ module Google
400
406
  include Google::Apis::Core::JsonObjectSupport
401
407
  end
402
408
 
409
+ class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
403
415
  class GoogleDevtoolsCloudbuildV1FailureInfo
404
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
417
 
@@ -412,6 +424,12 @@ module Google
412
424
  include Google::Apis::Core::JsonObjectSupport
413
425
  end
414
426
 
427
+ class GoogleDevtoolsCloudbuildV1GitConfig
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
415
433
  class GoogleDevtoolsCloudbuildV1GitSource
416
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
435
 
@@ -424,6 +442,12 @@ module Google
424
442
  include Google::Apis::Core::JsonObjectSupport
425
443
  end
426
444
 
445
+ class GoogleDevtoolsCloudbuildV1HttpConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
427
451
  class GoogleDevtoolsCloudbuildV1InlineSecret
428
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
453
 
@@ -972,6 +996,13 @@ module Google
972
996
  end
973
997
  end
974
998
 
999
+ class GoogleCloudRunV2NodeSelector
1000
+ # @private
1001
+ class Representation < Google::Apis::Core::JsonRepresentation
1002
+ property :accelerator, as: 'accelerator'
1003
+ end
1004
+ end
1005
+
975
1006
  class GoogleCloudRunV2Overrides
976
1007
  # @private
977
1008
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1029,6 +1060,8 @@ module Google
1029
1060
  property :log_uri, as: 'logUri'
1030
1061
  property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
1031
1062
  property :name, as: 'name'
1063
+ property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1064
+
1032
1065
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
1033
1066
  property :reconciling, as: 'reconciling'
1034
1067
  property :satisfies_pzs, as: 'satisfiesPzs'
@@ -1075,6 +1108,8 @@ module Google
1075
1108
  property :health_check_disabled, as: 'healthCheckDisabled'
1076
1109
  hash :labels, as: 'labels'
1077
1110
  property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
1111
+ property :node_selector, as: 'nodeSelector', class: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2NodeSelector::Representation
1112
+
1078
1113
  property :revision, as: 'revision'
1079
1114
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
1080
1115
 
@@ -1365,6 +1400,8 @@ module Google
1365
1400
  property :failure_info, as: 'failureInfo', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FailureInfo, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FailureInfo::Representation
1366
1401
 
1367
1402
  property :finish_time, as: 'finishTime'
1403
+ property :git_config, as: 'gitConfig', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitConfig, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitConfig::Representation
1404
+
1368
1405
  property :id, as: 'id'
1369
1406
  collection :images, as: 'images'
1370
1407
  property :log_url, as: 'logUrl'
@@ -1486,6 +1523,15 @@ module Google
1486
1523
  end
1487
1524
  end
1488
1525
 
1526
+ class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig
1527
+ # @private
1528
+ class Representation < Google::Apis::Core::JsonRepresentation
1529
+ property :dir, as: 'dir'
1530
+ property :git_repository_link, as: 'gitRepositoryLink'
1531
+ property :revision, as: 'revision'
1532
+ end
1533
+ end
1534
+
1489
1535
  class GoogleDevtoolsCloudbuildV1FailureInfo
1490
1536
  # @private
1491
1537
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1502,6 +1548,14 @@ module Google
1502
1548
  end
1503
1549
  end
1504
1550
 
1551
+ class GoogleDevtoolsCloudbuildV1GitConfig
1552
+ # @private
1553
+ class Representation < Google::Apis::Core::JsonRepresentation
1554
+ property :http, as: 'http', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1HttpConfig, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1HttpConfig::Representation
1555
+
1556
+ end
1557
+ end
1558
+
1505
1559
  class GoogleDevtoolsCloudbuildV1GitSource
1506
1560
  # @private
1507
1561
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1519,6 +1573,13 @@ module Google
1519
1573
  end
1520
1574
  end
1521
1575
 
1576
+ class GoogleDevtoolsCloudbuildV1HttpConfig
1577
+ # @private
1578
+ class Representation < Google::Apis::Core::JsonRepresentation
1579
+ property :proxy_secret_version_name, as: 'proxySecretVersionName'
1580
+ end
1581
+ end
1582
+
1522
1583
  class GoogleDevtoolsCloudbuildV1InlineSecret
1523
1584
  # @private
1524
1585
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1626,6 +1687,8 @@ module Google
1626
1687
  class Representation < Google::Apis::Core::JsonRepresentation
1627
1688
  property :connected_repository, as: 'connectedRepository', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ConnectedRepository, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ConnectedRepository::Representation
1628
1689
 
1690
+ property :developer_connect_config, as: 'developerConnectConfig', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig::Representation
1691
+
1629
1692
  property :git_source, as: 'gitSource', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSource::Representation
1630
1693
 
1631
1694
  property :repo_source, as: 'repoSource', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1RepoSource::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.0
4
+ version: 0.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-21 00:00:00.000000000 Z
11
+ date: 2024-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.62.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.63.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
63
63
  post_install_message:
64
64
  rdoc_options: []