google-apis-run_v1 0.73.0 → 0.75.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/run_v1/classes.rb +107 -0
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +49 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a14be47728b1c47d561b733f082abfa8e7d0eb41db96055e70a2edcd526a88de
|
4
|
+
data.tar.gz: d879fd1ebee7b9c543fe8a106f5b9c2f00c35abe87120764b8e4f811f5bd4761
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6c7e90ac0c954c80382001132a147830edaac1117997c733f8749261b970a3fbd83c4677f31555776a14a3cd190d9b0915be35fa4e2a7462e275d133c0fdde8
|
7
|
+
data.tar.gz: 4f5add552c9d1d11a693221e7c148f4f016d23bcca1bd8a25bb4744c06e4c4bef8a7a0c23e74e948e30b0a3f8552f4450a2329d2f5818e6e43de78cbe6cfa94e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-run_v1
|
2
2
|
|
3
|
+
### v0.75.0 (2024-05-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240426
|
6
|
+
|
7
|
+
### v0.74.0 (2024-04-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240412
|
10
|
+
|
3
11
|
### v0.73.0 (2024-03-31)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240322
|
@@ -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,25 @@ module Google
|
|
2289
2328
|
end
|
2290
2329
|
end
|
2291
2330
|
|
2331
|
+
# GitConfig is a configuration for git operations.
|
2332
|
+
class GoogleDevtoolsCloudbuildV1GitConfig
|
2333
|
+
include Google::Apis::Core::Hashable
|
2334
|
+
|
2335
|
+
# HttpConfig is a configuration for HTTP related git operations.
|
2336
|
+
# Corresponds to the JSON property `http`
|
2337
|
+
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1HttpConfig]
|
2338
|
+
attr_accessor :http
|
2339
|
+
|
2340
|
+
def initialize(**args)
|
2341
|
+
update!(**args)
|
2342
|
+
end
|
2343
|
+
|
2344
|
+
# Update properties of this object
|
2345
|
+
def update!(**args)
|
2346
|
+
@http = args[:http] if args.key?(:http)
|
2347
|
+
end
|
2348
|
+
end
|
2349
|
+
|
2292
2350
|
# Location of the source in any accessible Git repository.
|
2293
2351
|
class GoogleDevtoolsCloudbuildV1GitSource
|
2294
2352
|
include Google::Apis::Core::Hashable
|
@@ -2355,6 +2413,26 @@ module Google
|
|
2355
2413
|
end
|
2356
2414
|
end
|
2357
2415
|
|
2416
|
+
# HttpConfig is a configuration for HTTP related git operations.
|
2417
|
+
class GoogleDevtoolsCloudbuildV1HttpConfig
|
2418
|
+
include Google::Apis::Core::Hashable
|
2419
|
+
|
2420
|
+
# SecretVersion resource of the HTTP proxy URL. The proxy URL should be in
|
2421
|
+
# format protocol://@]proxyhost[:port].
|
2422
|
+
# Corresponds to the JSON property `proxySecretVersionName`
|
2423
|
+
# @return [String]
|
2424
|
+
attr_accessor :proxy_secret_version_name
|
2425
|
+
|
2426
|
+
def initialize(**args)
|
2427
|
+
update!(**args)
|
2428
|
+
end
|
2429
|
+
|
2430
|
+
# Update properties of this object
|
2431
|
+
def update!(**args)
|
2432
|
+
@proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
|
2433
|
+
end
|
2434
|
+
end
|
2435
|
+
|
2358
2436
|
# Pairs a set of secret environment variables mapped to encrypted values with
|
2359
2437
|
# the Cloud KMS key to use to decrypt the value.
|
2360
2438
|
class GoogleDevtoolsCloudbuildV1InlineSecret
|
@@ -2750,6 +2828,11 @@ module Google
|
|
2750
2828
|
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ConnectedRepository]
|
2751
2829
|
attr_accessor :connected_repository
|
2752
2830
|
|
2831
|
+
# This config defines the location of a source through Developer Connect.
|
2832
|
+
# Corresponds to the JSON property `developerConnectConfig`
|
2833
|
+
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig]
|
2834
|
+
attr_accessor :developer_connect_config
|
2835
|
+
|
2753
2836
|
# Location of the source in any accessible Git repository.
|
2754
2837
|
# Corresponds to the JSON property `gitSource`
|
2755
2838
|
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSource]
|
@@ -2779,6 +2862,7 @@ module Google
|
|
2779
2862
|
# Update properties of this object
|
2780
2863
|
def update!(**args)
|
2781
2864
|
@connected_repository = args[:connected_repository] if args.key?(:connected_repository)
|
2865
|
+
@developer_connect_config = args[:developer_connect_config] if args.key?(:developer_connect_config)
|
2782
2866
|
@git_source = args[:git_source] if args.key?(:git_source)
|
2783
2867
|
@repo_source = args[:repo_source] if args.key?(:repo_source)
|
2784
2868
|
@storage_source = args[:storage_source] if args.key?(:storage_source)
|
@@ -3365,6 +3449,20 @@ module Google
|
|
3365
3449
|
class JobSpec
|
3366
3450
|
include Google::Apis::Core::Hashable
|
3367
3451
|
|
3452
|
+
# A unique string used as a suffix for creating a new execution. The Job will
|
3453
|
+
# become ready when the execution is successfully completed. The sum of job name
|
3454
|
+
# and token length must be fewer than 63 characters.
|
3455
|
+
# Corresponds to the JSON property `runExecutionToken`
|
3456
|
+
# @return [String]
|
3457
|
+
attr_accessor :run_execution_token
|
3458
|
+
|
3459
|
+
# A unique string used as a suffix for creating a new execution. The Job will
|
3460
|
+
# become ready when the execution is successfully started. The sum of job name
|
3461
|
+
# and token length must be fewer than 63 characters.
|
3462
|
+
# Corresponds to the JSON property `startExecutionToken`
|
3463
|
+
# @return [String]
|
3464
|
+
attr_accessor :start_execution_token
|
3465
|
+
|
3368
3466
|
# ExecutionTemplateSpec describes the metadata and spec an Execution should have
|
3369
3467
|
# when created from a job.
|
3370
3468
|
# Corresponds to the JSON property `template`
|
@@ -3377,6 +3475,8 @@ module Google
|
|
3377
3475
|
|
3378
3476
|
# Update properties of this object
|
3379
3477
|
def update!(**args)
|
3478
|
+
@run_execution_token = args[:run_execution_token] if args.key?(:run_execution_token)
|
3479
|
+
@start_execution_token = args[:start_execution_token] if args.key?(:start_execution_token)
|
3380
3480
|
@template = args[:template] if args.key?(:template)
|
3381
3481
|
end
|
3382
3482
|
end
|
@@ -4545,6 +4645,12 @@ module Google
|
|
4545
4645
|
# @return [Array<Google::Apis::RunV1::LocalObjectReference>]
|
4546
4646
|
attr_accessor :image_pull_secrets
|
4547
4647
|
|
4648
|
+
# Optional. The Node Selector configuration. Map of selector key to a value
|
4649
|
+
# which matches a node.
|
4650
|
+
# Corresponds to the JSON property `nodeSelector`
|
4651
|
+
# @return [Hash<String,String>]
|
4652
|
+
attr_accessor :node_selector
|
4653
|
+
|
4548
4654
|
# Email address of the IAM service account associated with the revision of the
|
4549
4655
|
# service. The service account represents the identity of the running revision,
|
4550
4656
|
# and determines what permissions the revision has. If not provided, the
|
@@ -4575,6 +4681,7 @@ module Google
|
|
4575
4681
|
@containers = args[:containers] if args.key?(:containers)
|
4576
4682
|
@enable_service_links = args[:enable_service_links] if args.key?(:enable_service_links)
|
4577
4683
|
@image_pull_secrets = args[:image_pull_secrets] if args.key?(:image_pull_secrets)
|
4684
|
+
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
4578
4685
|
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
4579
4686
|
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
4580
4687
|
@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.
|
19
|
+
GEM_VERSION = "0.75.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 = "
|
25
|
+
REVISION = "20240426"
|
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,12 @@ module Google
|
|
298
304
|
include Google::Apis::Core::JsonObjectSupport
|
299
305
|
end
|
300
306
|
|
307
|
+
class GoogleDevtoolsCloudbuildV1GitConfig
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
301
313
|
class GoogleDevtoolsCloudbuildV1GitSource
|
302
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
315
|
|
@@ -310,6 +322,12 @@ module Google
|
|
310
322
|
include Google::Apis::Core::JsonObjectSupport
|
311
323
|
end
|
312
324
|
|
325
|
+
class GoogleDevtoolsCloudbuildV1HttpConfig
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
313
331
|
class GoogleDevtoolsCloudbuildV1InlineSecret
|
314
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
333
|
|
@@ -1205,6 +1223,8 @@ module Google
|
|
1205
1223
|
property :failure_info, as: 'failureInfo', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FailureInfo, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1FailureInfo::Representation
|
1206
1224
|
|
1207
1225
|
property :finish_time, as: 'finishTime'
|
1226
|
+
property :git_config, as: 'gitConfig', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitConfig, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitConfig::Representation
|
1227
|
+
|
1208
1228
|
property :id, as: 'id'
|
1209
1229
|
collection :images, as: 'images'
|
1210
1230
|
property :log_url, as: 'logUrl'
|
@@ -1326,6 +1346,15 @@ module Google
|
|
1326
1346
|
end
|
1327
1347
|
end
|
1328
1348
|
|
1349
|
+
class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig
|
1350
|
+
# @private
|
1351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1352
|
+
property :dir, as: 'dir'
|
1353
|
+
property :git_repository_link, as: 'gitRepositoryLink'
|
1354
|
+
property :revision, as: 'revision'
|
1355
|
+
end
|
1356
|
+
end
|
1357
|
+
|
1329
1358
|
class GoogleDevtoolsCloudbuildV1FailureInfo
|
1330
1359
|
# @private
|
1331
1360
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1342,6 +1371,14 @@ module Google
|
|
1342
1371
|
end
|
1343
1372
|
end
|
1344
1373
|
|
1374
|
+
class GoogleDevtoolsCloudbuildV1GitConfig
|
1375
|
+
# @private
|
1376
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1377
|
+
property :http, as: 'http', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1HttpConfig, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1HttpConfig::Representation
|
1378
|
+
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1345
1382
|
class GoogleDevtoolsCloudbuildV1GitSource
|
1346
1383
|
# @private
|
1347
1384
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1359,6 +1396,13 @@ module Google
|
|
1359
1396
|
end
|
1360
1397
|
end
|
1361
1398
|
|
1399
|
+
class GoogleDevtoolsCloudbuildV1HttpConfig
|
1400
|
+
# @private
|
1401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1402
|
+
property :proxy_secret_version_name, as: 'proxySecretVersionName'
|
1403
|
+
end
|
1404
|
+
end
|
1405
|
+
|
1362
1406
|
class GoogleDevtoolsCloudbuildV1InlineSecret
|
1363
1407
|
# @private
|
1364
1408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1466,6 +1510,8 @@ module Google
|
|
1466
1510
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1467
1511
|
property :connected_repository, as: 'connectedRepository', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ConnectedRepository, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1ConnectedRepository::Representation
|
1468
1512
|
|
1513
|
+
property :developer_connect_config, as: 'developerConnectConfig', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1DeveloperConnectConfig::Representation
|
1514
|
+
|
1469
1515
|
property :git_source, as: 'gitSource', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1GitSource::Representation
|
1470
1516
|
|
1471
1517
|
property :repo_source, as: 'repoSource', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1RepoSource::Representation
|
@@ -1645,6 +1691,8 @@ module Google
|
|
1645
1691
|
class JobSpec
|
1646
1692
|
# @private
|
1647
1693
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1694
|
+
property :run_execution_token, as: 'runExecutionToken'
|
1695
|
+
property :start_execution_token, as: 'startExecutionToken'
|
1648
1696
|
property :template, as: 'template', class: Google::Apis::RunV1::ExecutionTemplateSpec, decorator: Google::Apis::RunV1::ExecutionTemplateSpec::Representation
|
1649
1697
|
|
1650
1698
|
end
|
@@ -1944,6 +1992,7 @@ module Google
|
|
1944
1992
|
property :enable_service_links, as: 'enableServiceLinks'
|
1945
1993
|
collection :image_pull_secrets, as: 'imagePullSecrets', class: Google::Apis::RunV1::LocalObjectReference, decorator: Google::Apis::RunV1::LocalObjectReference::Representation
|
1946
1994
|
|
1995
|
+
hash :node_selector, as: 'nodeSelector'
|
1947
1996
|
property :service_account_name, as: 'serviceAccountName'
|
1948
1997
|
property :timeout_seconds, as: 'timeoutSeconds'
|
1949
1998
|
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.
|
4
|
+
version: 0.75.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-
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.75.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: []
|