google-apis-run_v1 0.74.0 → 0.76.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: 560cffc99faa8bb1c5b25d1f70d191fe8f94df9d4bff3a4a3b80bfa32a9f4477
4
- data.tar.gz: a183e8bcb43fe7cdfd9c046b5bfac3dc6089e4c5da47bc8e5aecbd1a36d7dc5a
3
+ metadata.gz: 44c76ea2c873e5d1310b4285a2b3a13dc821d75cb7a39f161afeaa546d6863f6
4
+ data.tar.gz: 27b41e240f4ee4784bba42c243af6f7eb07e5f7cad55b8ec1d02eaa13b6f7791
5
5
  SHA512:
6
- metadata.gz: 01726c033edd523db761ccecbde9ed1b12a0323d246cbf58b608780dc43dc4778591458393d2c8e6958e111166828dfaa8b42c2875bd5e9b3427ee1f5a769239
7
- data.tar.gz: 9baf68da75694de91e76ec3ed6652851cecdbe5ae5784645de9fb6ae88b5db634728e6edb268a47ca8453973dc882d663727fe85ad934c3450194906c77bd0bc
6
+ metadata.gz: 64f694bd98cbbeea686315824cc967ce574f3ed15f2d2df4ac15605272bdafce862f4f92fb3aee4dfc58f3423f43675563c964fd35a1ce5992fd58d6d35d0c41
7
+ data.tar.gz: 5d2e93c3af91d9dc08c0c87aa29b6aadc033c9336f6c982ecb11018205658053134177b69ecc84a2280fc79df96bfad1bcb327eb22a8b69143aca651476317ff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.76.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240510
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.75.0 (2024-05-05)
9
+
10
+ * Regenerated from discovery document revision 20240426
11
+
3
12
  ### v0.74.0 (2024-04-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20240412
@@ -1649,6 +1649,11 @@ module Google
1649
1649
  # @return [String]
1650
1650
  attr_accessor :finish_time
1651
1651
 
1652
+ # GitConfig is a configuration for git operations.
1653
+ # Corresponds to the JSON property `gitConfig`
1654
+ # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitConfig]
1655
+ attr_accessor :git_config
1656
+
1652
1657
  # Output only. Unique identifier of the build.
1653
1658
  # Corresponds to the JSON property `id`
1654
1659
  # @return [String]
@@ -1796,6 +1801,7 @@ module Google
1796
1801
  @create_time = args[:create_time] if args.key?(:create_time)
1797
1802
  @failure_info = args[:failure_info] if args.key?(:failure_info)
1798
1803
  @finish_time = args[:finish_time] if args.key?(:finish_time)
1804
+ @git_config = args[:git_config] if args.key?(:git_config)
1799
1805
  @id = args[:id] if args.key?(:id)
1800
1806
  @images = args[:images] if args.key?(:images)
1801
1807
  @log_url = args[:log_url] if args.key?(:log_url)
@@ -2244,6 +2250,39 @@ module Google
2244
2250
  end
2245
2251
  end
2246
2252
 
2253
+ # This config defines the location of a source through Developer Connect.
2254
+ class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig
2255
+ include Google::Apis::Core::Hashable
2256
+
2257
+ # Required. Directory, relative to the source root, in which to run the build.
2258
+ # Corresponds to the JSON property `dir`
2259
+ # @return [String]
2260
+ attr_accessor :dir
2261
+
2262
+ # Required. The Developer Connect Git repository link, formatted as `projects/*/
2263
+ # locations/*/connections/*/gitRepositoryLink/*`.
2264
+ # Corresponds to the JSON property `gitRepositoryLink`
2265
+ # @return [String]
2266
+ attr_accessor :git_repository_link
2267
+
2268
+ # Required. The revision to fetch from the Git repository such as a branch, a
2269
+ # tag, a commit SHA, or any Git ref.
2270
+ # Corresponds to the JSON property `revision`
2271
+ # @return [String]
2272
+ attr_accessor :revision
2273
+
2274
+ def initialize(**args)
2275
+ update!(**args)
2276
+ end
2277
+
2278
+ # Update properties of this object
2279
+ def update!(**args)
2280
+ @dir = args[:dir] if args.key?(:dir)
2281
+ @git_repository_link = args[:git_repository_link] if args.key?(:git_repository_link)
2282
+ @revision = args[:revision] if args.key?(:revision)
2283
+ end
2284
+ end
2285
+
2247
2286
  # A fatal problem encountered during the execution of the build.
2248
2287
  class GoogleDevtoolsCloudbuildV1FailureInfo
2249
2288
  include Google::Apis::Core::Hashable
@@ -2289,6 +2328,59 @@ module Google
2289
2328
  end
2290
2329
  end
2291
2330
 
2331
+ # Represents a storage location in Cloud Storage
2332
+ class GoogleDevtoolsCloudbuildV1GcsLocation
2333
+ include Google::Apis::Core::Hashable
2334
+
2335
+ # Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#
2336
+ # requirements
2337
+ # Corresponds to the JSON property `bucket`
2338
+ # @return [String]
2339
+ attr_accessor :bucket
2340
+
2341
+ # Cloud Storage generation for the object. If the generation is omitted, the
2342
+ # latest generation will be used.
2343
+ # Corresponds to the JSON property `generation`
2344
+ # @return [Fixnum]
2345
+ attr_accessor :generation
2346
+
2347
+ # Cloud Storage object. See https://cloud.google.com/storage/docs/naming#
2348
+ # objectnames
2349
+ # Corresponds to the JSON property `object`
2350
+ # @return [String]
2351
+ attr_accessor :object
2352
+
2353
+ def initialize(**args)
2354
+ update!(**args)
2355
+ end
2356
+
2357
+ # Update properties of this object
2358
+ def update!(**args)
2359
+ @bucket = args[:bucket] if args.key?(:bucket)
2360
+ @generation = args[:generation] if args.key?(:generation)
2361
+ @object = args[:object] if args.key?(:object)
2362
+ end
2363
+ end
2364
+
2365
+ # GitConfig is a configuration for git operations.
2366
+ class GoogleDevtoolsCloudbuildV1GitConfig
2367
+ include Google::Apis::Core::Hashable
2368
+
2369
+ # HttpConfig is a configuration for HTTP related git operations.
2370
+ # Corresponds to the JSON property `http`
2371
+ # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1HttpConfig]
2372
+ attr_accessor :http
2373
+
2374
+ def initialize(**args)
2375
+ update!(**args)
2376
+ end
2377
+
2378
+ # Update properties of this object
2379
+ def update!(**args)
2380
+ @http = args[:http] if args.key?(:http)
2381
+ end
2382
+ end
2383
+
2292
2384
  # Location of the source in any accessible Git repository.
2293
2385
  class GoogleDevtoolsCloudbuildV1GitSource
2294
2386
  include Google::Apis::Core::Hashable
@@ -2355,6 +2447,32 @@ module Google
2355
2447
  end
2356
2448
  end
2357
2449
 
2450
+ # HttpConfig is a configuration for HTTP related git operations.
2451
+ class GoogleDevtoolsCloudbuildV1HttpConfig
2452
+ include Google::Apis::Core::Hashable
2453
+
2454
+ # SecretVersion resource of the HTTP proxy URL. The proxy URL should be in
2455
+ # format protocol://@]proxyhost[:port].
2456
+ # Corresponds to the JSON property `proxySecretVersionName`
2457
+ # @return [String]
2458
+ attr_accessor :proxy_secret_version_name
2459
+
2460
+ # Represents a storage location in Cloud Storage
2461
+ # Corresponds to the JSON property `proxySslCaInfo`
2462
+ # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GcsLocation]
2463
+ attr_accessor :proxy_ssl_ca_info
2464
+
2465
+ def initialize(**args)
2466
+ update!(**args)
2467
+ end
2468
+
2469
+ # Update properties of this object
2470
+ def update!(**args)
2471
+ @proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
2472
+ @proxy_ssl_ca_info = args[:proxy_ssl_ca_info] if args.key?(:proxy_ssl_ca_info)
2473
+ end
2474
+ end
2475
+
2358
2476
  # Pairs a set of secret environment variables mapped to encrypted values with
2359
2477
  # the Cloud KMS key to use to decrypt the value.
2360
2478
  class GoogleDevtoolsCloudbuildV1InlineSecret
@@ -2608,7 +2726,8 @@ module Google
2608
2726
  # List of build step outputs, produced by builder images, in the order
2609
2727
  # corresponding to build step indices. [Cloud Builders](https://cloud.google.com/
2610
2728
  # cloud-build/docs/cloud-builders) can produce this output by writing to `$
2611
- # BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.
2729
+ # BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$
2730
+ # BUILDER_OUTPUT` variable is read-only and can't be substituted.
2612
2731
  # Corresponds to the JSON property `buildStepOutputs`
2613
2732
  # @return [Array<String>]
2614
2733
  attr_accessor :build_step_outputs
@@ -2750,6 +2869,11 @@ module Google
2750
2869
  # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ConnectedRepository]
2751
2870
  attr_accessor :connected_repository
2752
2871
 
2872
+ # This config defines the location of a source through Developer Connect.
2873
+ # Corresponds to the JSON property `developerConnectConfig`
2874
+ # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig]
2875
+ attr_accessor :developer_connect_config
2876
+
2753
2877
  # Location of the source in any accessible Git repository.
2754
2878
  # Corresponds to the JSON property `gitSource`
2755
2879
  # @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSource]
@@ -2779,6 +2903,7 @@ module Google
2779
2903
  # Update properties of this object
2780
2904
  def update!(**args)
2781
2905
  @connected_repository = args[:connected_repository] if args.key?(:connected_repository)
2906
+ @developer_connect_config = args[:developer_connect_config] if args.key?(:developer_connect_config)
2782
2907
  @git_source = args[:git_source] if args.key?(:git_source)
2783
2908
  @repo_source = args[:repo_source] if args.key?(:repo_source)
2784
2909
  @storage_source = args[:storage_source] if args.key?(:storage_source)
@@ -4561,6 +4686,17 @@ module Google
4561
4686
  # @return [Array<Google::Apis::RunV1::LocalObjectReference>]
4562
4687
  attr_accessor :image_pull_secrets
4563
4688
 
4689
+ # Optional. The Node Selector configuration. Map of selector key to a value
4690
+ # which matches a node.
4691
+ # Corresponds to the JSON property `nodeSelector`
4692
+ # @return [Hash<String,String>]
4693
+ attr_accessor :node_selector
4694
+
4695
+ # Runtime. Leave unset for default.
4696
+ # Corresponds to the JSON property `runtimeClassName`
4697
+ # @return [String]
4698
+ attr_accessor :runtime_class_name
4699
+
4564
4700
  # Email address of the IAM service account associated with the revision of the
4565
4701
  # service. The service account represents the identity of the running revision,
4566
4702
  # and determines what permissions the revision has. If not provided, the
@@ -4591,6 +4727,8 @@ module Google
4591
4727
  @containers = args[:containers] if args.key?(:containers)
4592
4728
  @enable_service_links = args[:enable_service_links] if args.key?(:enable_service_links)
4593
4729
  @image_pull_secrets = args[:image_pull_secrets] if args.key?(:image_pull_secrets)
4730
+ @node_selector = args[:node_selector] if args.key?(:node_selector)
4731
+ @runtime_class_name = args[:runtime_class_name] if args.key?(:runtime_class_name)
4594
4732
  @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
4595
4733
  @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
4596
4734
  @volumes = args[:volumes] if args.key?(:volumes)
@@ -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.74.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240412"
25
+ REVISION = "20240510"
26
26
  end
27
27
  end
28
28
  end
@@ -286,6 +286,12 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
289
295
  class GoogleDevtoolsCloudbuildV1FailureInfo
290
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
297
 
@@ -298,6 +304,18 @@ module Google
298
304
  include Google::Apis::Core::JsonObjectSupport
299
305
  end
300
306
 
307
+ class GoogleDevtoolsCloudbuildV1GcsLocation
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleDevtoolsCloudbuildV1GitConfig
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
301
319
  class GoogleDevtoolsCloudbuildV1GitSource
302
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
321
 
@@ -310,6 +328,12 @@ module Google
310
328
  include Google::Apis::Core::JsonObjectSupport
311
329
  end
312
330
 
331
+ class GoogleDevtoolsCloudbuildV1HttpConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
313
337
  class GoogleDevtoolsCloudbuildV1InlineSecret
314
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
339
 
@@ -1205,6 +1229,8 @@ module Google
1205
1229
  property :failure_info, as: 'failureInfo', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FailureInfo, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FailureInfo::Representation
1206
1230
 
1207
1231
  property :finish_time, as: 'finishTime'
1232
+ property :git_config, as: 'gitConfig', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitConfig, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitConfig::Representation
1233
+
1208
1234
  property :id, as: 'id'
1209
1235
  collection :images, as: 'images'
1210
1236
  property :log_url, as: 'logUrl'
@@ -1326,6 +1352,15 @@ module Google
1326
1352
  end
1327
1353
  end
1328
1354
 
1355
+ class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig
1356
+ # @private
1357
+ class Representation < Google::Apis::Core::JsonRepresentation
1358
+ property :dir, as: 'dir'
1359
+ property :git_repository_link, as: 'gitRepositoryLink'
1360
+ property :revision, as: 'revision'
1361
+ end
1362
+ end
1363
+
1329
1364
  class GoogleDevtoolsCloudbuildV1FailureInfo
1330
1365
  # @private
1331
1366
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1342,6 +1377,23 @@ module Google
1342
1377
  end
1343
1378
  end
1344
1379
 
1380
+ class GoogleDevtoolsCloudbuildV1GcsLocation
1381
+ # @private
1382
+ class Representation < Google::Apis::Core::JsonRepresentation
1383
+ property :bucket, as: 'bucket'
1384
+ property :generation, :numeric_string => true, as: 'generation'
1385
+ property :object, as: 'object'
1386
+ end
1387
+ end
1388
+
1389
+ class GoogleDevtoolsCloudbuildV1GitConfig
1390
+ # @private
1391
+ class Representation < Google::Apis::Core::JsonRepresentation
1392
+ property :http, as: 'http', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1HttpConfig, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1HttpConfig::Representation
1393
+
1394
+ end
1395
+ end
1396
+
1345
1397
  class GoogleDevtoolsCloudbuildV1GitSource
1346
1398
  # @private
1347
1399
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1359,6 +1411,15 @@ module Google
1359
1411
  end
1360
1412
  end
1361
1413
 
1414
+ class GoogleDevtoolsCloudbuildV1HttpConfig
1415
+ # @private
1416
+ class Representation < Google::Apis::Core::JsonRepresentation
1417
+ property :proxy_secret_version_name, as: 'proxySecretVersionName'
1418
+ property :proxy_ssl_ca_info, as: 'proxySslCaInfo', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GcsLocation, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GcsLocation::Representation
1419
+
1420
+ end
1421
+ end
1422
+
1362
1423
  class GoogleDevtoolsCloudbuildV1InlineSecret
1363
1424
  # @private
1364
1425
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1466,6 +1527,8 @@ module Google
1466
1527
  class Representation < Google::Apis::Core::JsonRepresentation
1467
1528
  property :connected_repository, as: 'connectedRepository', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ConnectedRepository, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ConnectedRepository::Representation
1468
1529
 
1530
+ property :developer_connect_config, as: 'developerConnectConfig', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig::Representation
1531
+
1469
1532
  property :git_source, as: 'gitSource', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSource::Representation
1470
1533
 
1471
1534
  property :repo_source, as: 'repoSource', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1RepoSource::Representation
@@ -1946,6 +2009,8 @@ module Google
1946
2009
  property :enable_service_links, as: 'enableServiceLinks'
1947
2010
  collection :image_pull_secrets, as: 'imagePullSecrets', class: Google::Apis::RunV1::LocalObjectReference, decorator: Google::Apis::RunV1::LocalObjectReference::Representation
1948
2011
 
2012
+ hash :node_selector, as: 'nodeSelector'
2013
+ property :runtime_class_name, as: 'runtimeClassName'
1949
2014
  property :service_account_name, as: 'serviceAccountName'
1950
2015
  property :timeout_seconds, as: 'timeoutSeconds'
1951
2016
  collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.74.0
4
+ version: 0.76.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-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.74.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.76.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
63
63
  post_install_message:
64
64
  rdoc_options: []