google-apis-run_v2 0.69.0 → 0.71.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/run_v2/classes.rb +200 -7
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +83 -0
- data/lib/google/apis/run_v2/service.rb +35 -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: 8263234c4b1c1e05e7e070e9a10103eb3442101745c6d25190fbc9ed36557f65
|
4
|
+
data.tar.gz: 0a6744676f163adc7cfaafa126d8db2238de0d959f7b56ecf4d9deea971995d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a59ed3b00d96d59af71bc3290fcf78a63acef012cac00a619fdb60103fddb04c15784277c8057d64343231c32f527de5bd9c796be654f7af5fc59ea7f27d31a7
|
7
|
+
data.tar.gz: 1193421a05d8aa2c204d3178e59edbb4295375cedc6a5bdbb5cb4a57f48a4c2fbe9c37f02b0cdf1dc39cfabab06cdd55e1972f52d4247dcf54e80ddac73306c8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.71.0 (2024-08-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240816
|
6
|
+
|
7
|
+
### v0.70.0 (2024-08-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240809
|
10
|
+
|
3
11
|
### v0.69.0 (2024-08-11)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240802
|
@@ -59,6 +59,63 @@ module Google
|
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
62
|
+
# Build the source using Buildpacks.
|
63
|
+
class GoogleCloudRunV2BuildpacksBuild
|
64
|
+
include Google::Apis::Core::Hashable
|
65
|
+
|
66
|
+
# Optional. The base image used to opt into automatic base image updates.
|
67
|
+
# Corresponds to the JSON property `baseImage`
|
68
|
+
# @return [String]
|
69
|
+
attr_accessor :base_image
|
70
|
+
|
71
|
+
# Optional. cache_image_uri is the GCR/AR URL where the cache image will be
|
72
|
+
# stored. cache_image_uri is optional and omitting it will disable caching. This
|
73
|
+
# URL must be stable across builds. It is used to derive a build-specific
|
74
|
+
# temporary URL by substituting the tag with the build ID. The build will clean
|
75
|
+
# up the temporary image on a best-effort basis.
|
76
|
+
# Corresponds to the JSON property `cacheImageUri`
|
77
|
+
# @return [String]
|
78
|
+
attr_accessor :cache_image_uri
|
79
|
+
|
80
|
+
# Optional. Whether or not the application container will be enrolled in
|
81
|
+
# automatic base image updates. When true, the application will be built on a
|
82
|
+
# scratch base image, so the base layers can be appended at run time.
|
83
|
+
# Corresponds to the JSON property `enableAutomaticUpdates`
|
84
|
+
# @return [Boolean]
|
85
|
+
attr_accessor :enable_automatic_updates
|
86
|
+
alias_method :enable_automatic_updates?, :enable_automatic_updates
|
87
|
+
|
88
|
+
# Optional. User-provided build-time environment variables.
|
89
|
+
# Corresponds to the JSON property `environmentVariables`
|
90
|
+
# @return [Hash<String,String>]
|
91
|
+
attr_accessor :environment_variables
|
92
|
+
|
93
|
+
# Optional. Name of the function target if the source is a function source.
|
94
|
+
# Required for function builds.
|
95
|
+
# Corresponds to the JSON property `functionTarget`
|
96
|
+
# @return [String]
|
97
|
+
attr_accessor :function_target
|
98
|
+
|
99
|
+
# The runtime name, e.g. 'go113'. Leave blank for generic builds.
|
100
|
+
# Corresponds to the JSON property `runtime`
|
101
|
+
# @return [String]
|
102
|
+
attr_accessor :runtime
|
103
|
+
|
104
|
+
def initialize(**args)
|
105
|
+
update!(**args)
|
106
|
+
end
|
107
|
+
|
108
|
+
# Update properties of this object
|
109
|
+
def update!(**args)
|
110
|
+
@base_image = args[:base_image] if args.key?(:base_image)
|
111
|
+
@cache_image_uri = args[:cache_image_uri] if args.key?(:cache_image_uri)
|
112
|
+
@enable_automatic_updates = args[:enable_automatic_updates] if args.key?(:enable_automatic_updates)
|
113
|
+
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
114
|
+
@function_target = args[:function_target] if args.key?(:function_target)
|
115
|
+
@runtime = args[:runtime] if args.key?(:runtime)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
62
119
|
# Request message for deleting an Execution.
|
63
120
|
class GoogleCloudRunV2CancelExecutionRequest
|
64
121
|
include Google::Apis::Core::Hashable
|
@@ -339,6 +396,19 @@ module Google
|
|
339
396
|
end
|
340
397
|
end
|
341
398
|
|
399
|
+
# Build the source using Docker. This means the source has a Dockerfile.
|
400
|
+
class GoogleCloudRunV2DockerBuild
|
401
|
+
include Google::Apis::Core::Hashable
|
402
|
+
|
403
|
+
def initialize(**args)
|
404
|
+
update!(**args)
|
405
|
+
end
|
406
|
+
|
407
|
+
# Update properties of this object
|
408
|
+
def update!(**args)
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
342
412
|
# In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when
|
343
413
|
# the sandbox is taken down, the data is destroyed with it (it does not persist
|
344
414
|
# across sandbox runs).
|
@@ -383,13 +453,8 @@ module Google
|
|
383
453
|
# @return [String]
|
384
454
|
attr_accessor :name
|
385
455
|
|
386
|
-
#
|
387
|
-
#
|
388
|
-
# a variable cannot be resolved, the reference in the input string will be
|
389
|
-
# unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(
|
390
|
-
# VAR_NAME). Escaped references will never be expanded, regardless of whether
|
391
|
-
# the variable exists or not. Defaults to "", and the maximum length is 32768
|
392
|
-
# bytes.
|
456
|
+
# Literal value of the environment variable. Defaults to "", and the maximum
|
457
|
+
# length is 32768 bytes. Variable references are not supported in Cloud Run.
|
393
458
|
# Corresponds to the JSON property `value`
|
394
459
|
# @return [String]
|
395
460
|
attr_accessor :value
|
@@ -2350,6 +2415,11 @@ module Google
|
|
2350
2415
|
# @return [String]
|
2351
2416
|
attr_accessor :uri
|
2352
2417
|
|
2418
|
+
# Output only. All URLs serving traffic for this Service.
|
2419
|
+
# Corresponds to the JSON property `urls`
|
2420
|
+
# @return [Array<String>]
|
2421
|
+
attr_accessor :urls
|
2422
|
+
|
2353
2423
|
def initialize(**args)
|
2354
2424
|
update!(**args)
|
2355
2425
|
end
|
@@ -2388,6 +2458,7 @@ module Google
|
|
2388
2458
|
@uid = args[:uid] if args.key?(:uid)
|
2389
2459
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2390
2460
|
@uri = args[:uri] if args.key?(:uri)
|
2461
|
+
@urls = args[:urls] if args.key?(:urls)
|
2391
2462
|
end
|
2392
2463
|
end
|
2393
2464
|
|
@@ -2433,6 +2504,128 @@ module Google
|
|
2433
2504
|
end
|
2434
2505
|
end
|
2435
2506
|
|
2507
|
+
# Location of the source in an archive file in Google Cloud Storage.
|
2508
|
+
class GoogleCloudRunV2StorageSource
|
2509
|
+
include Google::Apis::Core::Hashable
|
2510
|
+
|
2511
|
+
# Required. Google Cloud Storage bucket containing the source (see [Bucket Name
|
2512
|
+
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
2513
|
+
# ).
|
2514
|
+
# Corresponds to the JSON property `bucket`
|
2515
|
+
# @return [String]
|
2516
|
+
attr_accessor :bucket
|
2517
|
+
|
2518
|
+
# Optional. Google Cloud Storage generation for the object. If the generation is
|
2519
|
+
# omitted, the latest generation will be used.
|
2520
|
+
# Corresponds to the JSON property `generation`
|
2521
|
+
# @return [Fixnum]
|
2522
|
+
attr_accessor :generation
|
2523
|
+
|
2524
|
+
# Required. Google Cloud Storage object containing the source. This object must
|
2525
|
+
# be a gzipped archive file (`.tar.gz`) containing source to build.
|
2526
|
+
# Corresponds to the JSON property `object`
|
2527
|
+
# @return [String]
|
2528
|
+
attr_accessor :object
|
2529
|
+
|
2530
|
+
def initialize(**args)
|
2531
|
+
update!(**args)
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
# Update properties of this object
|
2535
|
+
def update!(**args)
|
2536
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
2537
|
+
@generation = args[:generation] if args.key?(:generation)
|
2538
|
+
@object = args[:object] if args.key?(:object)
|
2539
|
+
end
|
2540
|
+
end
|
2541
|
+
|
2542
|
+
# Request message for submitting a Build.
|
2543
|
+
class GoogleCloudRunV2SubmitBuildRequest
|
2544
|
+
include Google::Apis::Core::Hashable
|
2545
|
+
|
2546
|
+
# Build the source using Buildpacks.
|
2547
|
+
# Corresponds to the JSON property `buildpackBuild`
|
2548
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2BuildpacksBuild]
|
2549
|
+
attr_accessor :buildpack_build
|
2550
|
+
|
2551
|
+
# Build the source using Docker. This means the source has a Dockerfile.
|
2552
|
+
# Corresponds to the JSON property `dockerBuild`
|
2553
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2DockerBuild]
|
2554
|
+
attr_accessor :docker_build
|
2555
|
+
|
2556
|
+
# Required. Artifact Registry URI to store the built image.
|
2557
|
+
# Corresponds to the JSON property `imageUri`
|
2558
|
+
# @return [String]
|
2559
|
+
attr_accessor :image_uri
|
2560
|
+
|
2561
|
+
# Optional. The service account to use for the build. If not set, the default
|
2562
|
+
# Cloud Build service account for the project will be used.
|
2563
|
+
# Corresponds to the JSON property `serviceAccount`
|
2564
|
+
# @return [String]
|
2565
|
+
attr_accessor :service_account
|
2566
|
+
|
2567
|
+
# Location of the source in an archive file in Google Cloud Storage.
|
2568
|
+
# Corresponds to the JSON property `storageSource`
|
2569
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2StorageSource]
|
2570
|
+
attr_accessor :storage_source
|
2571
|
+
|
2572
|
+
# Optional. Additional tags to annotate the build.
|
2573
|
+
# Corresponds to the JSON property `tags`
|
2574
|
+
# @return [Array<String>]
|
2575
|
+
attr_accessor :tags
|
2576
|
+
|
2577
|
+
# Optional. Name of the Cloud Build Custom Worker Pool that should be used to
|
2578
|
+
# build the function. The format of this field is `projects/`project`/locations/`
|
2579
|
+
# region`/workerPools/`workerPool`` where `project` and `region` are the project
|
2580
|
+
# id and region respectively where the worker pool is defined and `workerPool`
|
2581
|
+
# is the short name of the worker pool.
|
2582
|
+
# Corresponds to the JSON property `workerPool`
|
2583
|
+
# @return [String]
|
2584
|
+
attr_accessor :worker_pool
|
2585
|
+
|
2586
|
+
def initialize(**args)
|
2587
|
+
update!(**args)
|
2588
|
+
end
|
2589
|
+
|
2590
|
+
# Update properties of this object
|
2591
|
+
def update!(**args)
|
2592
|
+
@buildpack_build = args[:buildpack_build] if args.key?(:buildpack_build)
|
2593
|
+
@docker_build = args[:docker_build] if args.key?(:docker_build)
|
2594
|
+
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
2595
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
2596
|
+
@storage_source = args[:storage_source] if args.key?(:storage_source)
|
2597
|
+
@tags = args[:tags] if args.key?(:tags)
|
2598
|
+
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
|
2599
|
+
end
|
2600
|
+
end
|
2601
|
+
|
2602
|
+
# Response message for submitting a Build.
|
2603
|
+
class GoogleCloudRunV2SubmitBuildResponse
|
2604
|
+
include Google::Apis::Core::Hashable
|
2605
|
+
|
2606
|
+
# URI of the base builder image in Artifact Registry being used in the build.
|
2607
|
+
# Used to opt into automatic base image updates.
|
2608
|
+
# Corresponds to the JSON property `baseImageUri`
|
2609
|
+
# @return [String]
|
2610
|
+
attr_accessor :base_image_uri
|
2611
|
+
|
2612
|
+
# This resource represents a long-running operation that is the result of a
|
2613
|
+
# network API call.
|
2614
|
+
# Corresponds to the JSON property `buildOperation`
|
2615
|
+
# @return [Google::Apis::RunV2::GoogleLongrunningOperation]
|
2616
|
+
attr_accessor :build_operation
|
2617
|
+
|
2618
|
+
def initialize(**args)
|
2619
|
+
update!(**args)
|
2620
|
+
end
|
2621
|
+
|
2622
|
+
# Update properties of this object
|
2623
|
+
def update!(**args)
|
2624
|
+
@base_image_uri = args[:base_image_uri] if args.key?(:base_image_uri)
|
2625
|
+
@build_operation = args[:build_operation] if args.key?(:build_operation)
|
2626
|
+
end
|
2627
|
+
end
|
2628
|
+
|
2436
2629
|
# TCPSocketAction describes an action based on opening a socket
|
2437
2630
|
class GoogleCloudRunV2TcpSocketAction
|
2438
2631
|
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.
|
19
|
+
GEM_VERSION = "0.71.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240816"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class GoogleCloudRunV2BuildpacksBuild
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class GoogleCloudRunV2CancelExecutionRequest
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -64,6 +70,12 @@ module Google
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
65
71
|
end
|
66
72
|
|
73
|
+
class GoogleCloudRunV2DockerBuild
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
67
79
|
class GoogleCloudRunV2EmptyDirVolumeSource
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
81
|
|
@@ -286,6 +298,24 @@ module Google
|
|
286
298
|
include Google::Apis::Core::JsonObjectSupport
|
287
299
|
end
|
288
300
|
|
301
|
+
class GoogleCloudRunV2StorageSource
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class GoogleCloudRunV2SubmitBuildRequest
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class GoogleCloudRunV2SubmitBuildResponse
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
289
319
|
class GoogleCloudRunV2TcpSocketAction
|
290
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
321
|
|
@@ -673,6 +703,18 @@ module Google
|
|
673
703
|
end
|
674
704
|
end
|
675
705
|
|
706
|
+
class GoogleCloudRunV2BuildpacksBuild
|
707
|
+
# @private
|
708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
709
|
+
property :base_image, as: 'baseImage'
|
710
|
+
property :cache_image_uri, as: 'cacheImageUri'
|
711
|
+
property :enable_automatic_updates, as: 'enableAutomaticUpdates'
|
712
|
+
hash :environment_variables, as: 'environmentVariables'
|
713
|
+
property :function_target, as: 'functionTarget'
|
714
|
+
property :runtime, as: 'runtime'
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
676
718
|
class GoogleCloudRunV2CancelExecutionRequest
|
677
719
|
# @private
|
678
720
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -745,6 +787,12 @@ module Google
|
|
745
787
|
end
|
746
788
|
end
|
747
789
|
|
790
|
+
class GoogleCloudRunV2DockerBuild
|
791
|
+
# @private
|
792
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
793
|
+
end
|
794
|
+
end
|
795
|
+
|
748
796
|
class GoogleCloudRunV2EmptyDirVolumeSource
|
749
797
|
# @private
|
750
798
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1206,6 +1254,7 @@ module Google
|
|
1206
1254
|
property :uid, as: 'uid'
|
1207
1255
|
property :update_time, as: 'updateTime'
|
1208
1256
|
property :uri, as: 'uri'
|
1257
|
+
collection :urls, as: 'urls'
|
1209
1258
|
end
|
1210
1259
|
end
|
1211
1260
|
|
@@ -1223,6 +1272,40 @@ module Google
|
|
1223
1272
|
end
|
1224
1273
|
end
|
1225
1274
|
|
1275
|
+
class GoogleCloudRunV2StorageSource
|
1276
|
+
# @private
|
1277
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1278
|
+
property :bucket, as: 'bucket'
|
1279
|
+
property :generation, :numeric_string => true, as: 'generation'
|
1280
|
+
property :object, as: 'object'
|
1281
|
+
end
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
class GoogleCloudRunV2SubmitBuildRequest
|
1285
|
+
# @private
|
1286
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1287
|
+
property :buildpack_build, as: 'buildpackBuild', class: Google::Apis::RunV2::GoogleCloudRunV2BuildpacksBuild, decorator: Google::Apis::RunV2::GoogleCloudRunV2BuildpacksBuild::Representation
|
1288
|
+
|
1289
|
+
property :docker_build, as: 'dockerBuild', class: Google::Apis::RunV2::GoogleCloudRunV2DockerBuild, decorator: Google::Apis::RunV2::GoogleCloudRunV2DockerBuild::Representation
|
1290
|
+
|
1291
|
+
property :image_uri, as: 'imageUri'
|
1292
|
+
property :service_account, as: 'serviceAccount'
|
1293
|
+
property :storage_source, as: 'storageSource', class: Google::Apis::RunV2::GoogleCloudRunV2StorageSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2StorageSource::Representation
|
1294
|
+
|
1295
|
+
collection :tags, as: 'tags'
|
1296
|
+
property :worker_pool, as: 'workerPool'
|
1297
|
+
end
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
class GoogleCloudRunV2SubmitBuildResponse
|
1301
|
+
# @private
|
1302
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1303
|
+
property :base_image_uri, as: 'baseImageUri'
|
1304
|
+
property :build_operation, as: 'buildOperation', class: Google::Apis::RunV2::GoogleLongrunningOperation, decorator: Google::Apis::RunV2::GoogleLongrunningOperation::Representation
|
1305
|
+
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1226
1309
|
class GoogleCloudRunV2TcpSocketAction
|
1227
1310
|
# @private
|
1228
1311
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -190,6 +190,41 @@ module Google
|
|
190
190
|
execute_or_queue_command(command, &block)
|
191
191
|
end
|
192
192
|
|
193
|
+
# Submits a build in a given project.
|
194
|
+
# @param [String] parent
|
195
|
+
# Required. The project and location to build in. Location must be a region, e.g.
|
196
|
+
# , 'us-central1' or 'global' if the global builder is to be used. Format:
|
197
|
+
# projects/`project`/locations/`location`
|
198
|
+
# @param [Google::Apis::RunV2::GoogleCloudRunV2SubmitBuildRequest] google_cloud_run_v2_submit_build_request_object
|
199
|
+
# @param [String] fields
|
200
|
+
# Selector specifying which fields to include in a partial response.
|
201
|
+
# @param [String] quota_user
|
202
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
203
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
204
|
+
# @param [Google::Apis::RequestOptions] options
|
205
|
+
# Request-specific options
|
206
|
+
#
|
207
|
+
# @yield [result, err] Result & error if block supplied
|
208
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2SubmitBuildResponse] parsed result object
|
209
|
+
# @yieldparam err [StandardError] error object if request failed
|
210
|
+
#
|
211
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2SubmitBuildResponse]
|
212
|
+
#
|
213
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
214
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
215
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
216
|
+
def submit_project_location_build(parent, google_cloud_run_v2_submit_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
217
|
+
command = make_simple_command(:post, 'v2/{+parent}/builds:submit', options)
|
218
|
+
command.request_representation = Google::Apis::RunV2::GoogleCloudRunV2SubmitBuildRequest::Representation
|
219
|
+
command.request_object = google_cloud_run_v2_submit_build_request_object
|
220
|
+
command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2SubmitBuildResponse::Representation
|
221
|
+
command.response_class = Google::Apis::RunV2::GoogleCloudRunV2SubmitBuildResponse
|
222
|
+
command.params['parent'] = parent unless parent.nil?
|
223
|
+
command.query['fields'] = fields unless fields.nil?
|
224
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
225
|
+
execute_or_queue_command(command, &block)
|
226
|
+
end
|
227
|
+
|
193
228
|
# Creates a Job.
|
194
229
|
# @param [String] parent
|
195
230
|
# Required. The location and project in which this Job should be created. Format:
|
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.
|
4
|
+
version: 0.71.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-08-
|
11
|
+
date: 2024-08-25 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.71.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: []
|