google-apis-run_v2 0.68.0 → 0.70.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86fc9e501e1d6f0682ab8a87dde73586092e2a99044ee506ae6fd18056222610
4
- data.tar.gz: a28b8e8d6d459032486be855851e8d617c3b6de7f14c5814dba1a70b1fe4c46d
3
+ metadata.gz: ae6b4cbe91a8c372bb5bb26949e9d414fc5ff88e283917e960c676a5f77e46af
4
+ data.tar.gz: 5bf3ee7a80d82495427382708d9ebae04c70f8b8fee977d6fe9efe0fe04e632c
5
5
  SHA512:
6
- metadata.gz: 644c5c9333fc86434e95631b049a23fcca4efed13e8084fc2b94dd49436c6b35448346bddc1e6e5ce0d27fce5964d8e02258a26b241c8cd28a8196fd07ba0d0c
7
- data.tar.gz: 1369b38756c13f9ef2b41e1913d1c71624a3119210b5a165a0e0ad21298456819b134635a6c198c59b67fa04b4d7922a67942a61be7557c55872e4a5902c44b6
6
+ metadata.gz: 822f9125ba646951cf5d7b59abd1bf189c6bfc94c6bce3d99486e77cec9379871706caa8471a20b2d874d70254b1f262b165c9539fcdcd98bc3a7e2e725fbc39
7
+ data.tar.gz: 3ded6720ab2ec1f0ca3ca2eff29d973e4ef9f9b36f1f5002a1c47669efc9e22e50e6fc7b05ad31f009f4db41c14d99c539594cddbaebbc6af16b736c6f2503af
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.70.0 (2024-08-18)
4
+
5
+ * Regenerated from discovery document revision 20240809
6
+
7
+ ### v0.69.0 (2024-08-11)
8
+
9
+ * Regenerated from discovery document revision 20240802
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.68.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240712
@@ -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
- # Variable references $(VAR_NAME) are expanded using the previous defined
387
- # environment variables in the container and any route environment variables. If
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
@@ -1738,6 +1803,11 @@ module Google
1738
1803
  # @return [String]
1739
1804
  attr_accessor :service_account
1740
1805
 
1806
+ # Service mesh configuration.
1807
+ # Corresponds to the JSON property `serviceMesh`
1808
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh]
1809
+ attr_accessor :service_mesh
1810
+
1741
1811
  # Enable session affinity.
1742
1812
  # Corresponds to the JSON property `sessionAffinity`
1743
1813
  # @return [Boolean]
@@ -1803,6 +1873,7 @@ module Google
1803
1873
  @scaling_status = args[:scaling_status] if args.key?(:scaling_status)
1804
1874
  @service = args[:service] if args.key?(:service)
1805
1875
  @service_account = args[:service_account] if args.key?(:service_account)
1876
+ @service_mesh = args[:service_mesh] if args.key?(:service_mesh)
1806
1877
  @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
1807
1878
  @timeout = args[:timeout] if args.key?(:timeout)
1808
1879
  @uid = args[:uid] if args.key?(:uid)
@@ -1940,6 +2011,11 @@ module Google
1940
2011
  # @return [String]
1941
2012
  attr_accessor :service_account
1942
2013
 
2014
+ # Service mesh configuration.
2015
+ # Corresponds to the JSON property `serviceMesh`
2016
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh]
2017
+ attr_accessor :service_mesh
2018
+
1943
2019
  # Optional. Enable session affinity.
1944
2020
  # Corresponds to the JSON property `sessionAffinity`
1945
2021
  # @return [Boolean]
@@ -1979,6 +2055,7 @@ module Google
1979
2055
  @revision = args[:revision] if args.key?(:revision)
1980
2056
  @scaling = args[:scaling] if args.key?(:scaling)
1981
2057
  @service_account = args[:service_account] if args.key?(:service_account)
2058
+ @service_mesh = args[:service_mesh] if args.key?(:service_mesh)
1982
2059
  @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
1983
2060
  @timeout = args[:timeout] if args.key?(:timeout)
1984
2061
  @volumes = args[:volumes] if args.key?(:volumes)
@@ -2379,6 +2456,26 @@ module Google
2379
2456
  end
2380
2457
  end
2381
2458
 
2459
+ # Service mesh configuration.
2460
+ class GoogleCloudRunV2ServiceMesh
2461
+ include Google::Apis::Core::Hashable
2462
+
2463
+ # The service mesh resource name. Format: projects/`project_number`/locations/
2464
+ # global/meshes/`mesh`.
2465
+ # Corresponds to the JSON property `mesh`
2466
+ # @return [String]
2467
+ attr_accessor :mesh
2468
+
2469
+ def initialize(**args)
2470
+ update!(**args)
2471
+ end
2472
+
2473
+ # Update properties of this object
2474
+ def update!(**args)
2475
+ @mesh = args[:mesh] if args.key?(:mesh)
2476
+ end
2477
+ end
2478
+
2382
2479
  # Scaling settings applied at the service level rather than at the revision
2383
2480
  # level.
2384
2481
  class GoogleCloudRunV2ServiceScaling
@@ -2401,6 +2498,128 @@ module Google
2401
2498
  end
2402
2499
  end
2403
2500
 
2501
+ # Location of the source in an archive file in Google Cloud Storage.
2502
+ class GoogleCloudRunV2StorageSource
2503
+ include Google::Apis::Core::Hashable
2504
+
2505
+ # Required. Google Cloud Storage bucket containing the source (see [Bucket Name
2506
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
2507
+ # ).
2508
+ # Corresponds to the JSON property `bucket`
2509
+ # @return [String]
2510
+ attr_accessor :bucket
2511
+
2512
+ # Optional. Google Cloud Storage generation for the object. If the generation is
2513
+ # omitted, the latest generation will be used.
2514
+ # Corresponds to the JSON property `generation`
2515
+ # @return [Fixnum]
2516
+ attr_accessor :generation
2517
+
2518
+ # Required. Google Cloud Storage object containing the source. This object must
2519
+ # be a gzipped archive file (`.tar.gz`) containing source to build.
2520
+ # Corresponds to the JSON property `object`
2521
+ # @return [String]
2522
+ attr_accessor :object
2523
+
2524
+ def initialize(**args)
2525
+ update!(**args)
2526
+ end
2527
+
2528
+ # Update properties of this object
2529
+ def update!(**args)
2530
+ @bucket = args[:bucket] if args.key?(:bucket)
2531
+ @generation = args[:generation] if args.key?(:generation)
2532
+ @object = args[:object] if args.key?(:object)
2533
+ end
2534
+ end
2535
+
2536
+ # Request message for submitting a Build.
2537
+ class GoogleCloudRunV2SubmitBuildRequest
2538
+ include Google::Apis::Core::Hashable
2539
+
2540
+ # Build the source using Buildpacks.
2541
+ # Corresponds to the JSON property `buildpackBuild`
2542
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2BuildpacksBuild]
2543
+ attr_accessor :buildpack_build
2544
+
2545
+ # Build the source using Docker. This means the source has a Dockerfile.
2546
+ # Corresponds to the JSON property `dockerBuild`
2547
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2DockerBuild]
2548
+ attr_accessor :docker_build
2549
+
2550
+ # Required. Artifact Registry URI to store the built image.
2551
+ # Corresponds to the JSON property `imageUri`
2552
+ # @return [String]
2553
+ attr_accessor :image_uri
2554
+
2555
+ # Optional. The service account to use for the build. If not set, the default
2556
+ # Cloud Build service account for the project will be used.
2557
+ # Corresponds to the JSON property `serviceAccount`
2558
+ # @return [String]
2559
+ attr_accessor :service_account
2560
+
2561
+ # Location of the source in an archive file in Google Cloud Storage.
2562
+ # Corresponds to the JSON property `storageSource`
2563
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2StorageSource]
2564
+ attr_accessor :storage_source
2565
+
2566
+ # Optional. Additional tags to annotate the build.
2567
+ # Corresponds to the JSON property `tags`
2568
+ # @return [Array<String>]
2569
+ attr_accessor :tags
2570
+
2571
+ # Optional. Name of the Cloud Build Custom Worker Pool that should be used to
2572
+ # build the function. The format of this field is `projects/`project`/locations/`
2573
+ # region`/workerPools/`workerPool`` where `project` and `region` are the project
2574
+ # id and region respectively where the worker pool is defined and `workerPool`
2575
+ # is the short name of the worker pool.
2576
+ # Corresponds to the JSON property `workerPool`
2577
+ # @return [String]
2578
+ attr_accessor :worker_pool
2579
+
2580
+ def initialize(**args)
2581
+ update!(**args)
2582
+ end
2583
+
2584
+ # Update properties of this object
2585
+ def update!(**args)
2586
+ @buildpack_build = args[:buildpack_build] if args.key?(:buildpack_build)
2587
+ @docker_build = args[:docker_build] if args.key?(:docker_build)
2588
+ @image_uri = args[:image_uri] if args.key?(:image_uri)
2589
+ @service_account = args[:service_account] if args.key?(:service_account)
2590
+ @storage_source = args[:storage_source] if args.key?(:storage_source)
2591
+ @tags = args[:tags] if args.key?(:tags)
2592
+ @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
2593
+ end
2594
+ end
2595
+
2596
+ # Response message for submitting a Build.
2597
+ class GoogleCloudRunV2SubmitBuildResponse
2598
+ include Google::Apis::Core::Hashable
2599
+
2600
+ # URI of the base builder image in Artifact Registry being used in the build.
2601
+ # Used to opt into automatic base image updates.
2602
+ # Corresponds to the JSON property `baseImageUri`
2603
+ # @return [String]
2604
+ attr_accessor :base_image_uri
2605
+
2606
+ # This resource represents a long-running operation that is the result of a
2607
+ # network API call.
2608
+ # Corresponds to the JSON property `buildOperation`
2609
+ # @return [Google::Apis::RunV2::GoogleLongrunningOperation]
2610
+ attr_accessor :build_operation
2611
+
2612
+ def initialize(**args)
2613
+ update!(**args)
2614
+ end
2615
+
2616
+ # Update properties of this object
2617
+ def update!(**args)
2618
+ @base_image_uri = args[:base_image_uri] if args.key?(:base_image_uri)
2619
+ @build_operation = args[:build_operation] if args.key?(:build_operation)
2620
+ end
2621
+ end
2622
+
2404
2623
  # TCPSocketAction describes an action based on opening a socket
2405
2624
  class GoogleCloudRunV2TcpSocketAction
2406
2625
  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.68.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240712"
25
+ REVISION = "20240809"
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
 
@@ -274,12 +286,36 @@ module Google
274
286
  include Google::Apis::Core::JsonObjectSupport
275
287
  end
276
288
 
289
+ class GoogleCloudRunV2ServiceMesh
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
277
295
  class GoogleCloudRunV2ServiceScaling
278
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
297
 
280
298
  include Google::Apis::Core::JsonObjectSupport
281
299
  end
282
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
+
283
319
  class GoogleCloudRunV2TcpSocketAction
284
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
321
 
@@ -667,6 +703,18 @@ module Google
667
703
  end
668
704
  end
669
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
+
670
718
  class GoogleCloudRunV2CancelExecutionRequest
671
719
  # @private
672
720
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -739,6 +787,12 @@ module Google
739
787
  end
740
788
  end
741
789
 
790
+ class GoogleCloudRunV2DockerBuild
791
+ # @private
792
+ class Representation < Google::Apis::Core::JsonRepresentation
793
+ end
794
+ end
795
+
742
796
  class GoogleCloudRunV2EmptyDirVolumeSource
743
797
  # @private
744
798
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1074,6 +1128,8 @@ module Google
1074
1128
 
1075
1129
  property :service, as: 'service'
1076
1130
  property :service_account, as: 'serviceAccount'
1131
+ property :service_mesh, as: 'serviceMesh', class: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh, decorator: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh::Representation
1132
+
1077
1133
  property :session_affinity, as: 'sessionAffinity'
1078
1134
  property :timeout, as: 'timeout'
1079
1135
  property :uid, as: 'uid'
@@ -1117,6 +1173,8 @@ module Google
1117
1173
  property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
1118
1174
 
1119
1175
  property :service_account, as: 'serviceAccount'
1176
+ property :service_mesh, as: 'serviceMesh', class: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh, decorator: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh::Representation
1177
+
1120
1178
  property :session_affinity, as: 'sessionAffinity'
1121
1179
  property :timeout, as: 'timeout'
1122
1180
  collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
@@ -1199,6 +1257,13 @@ module Google
1199
1257
  end
1200
1258
  end
1201
1259
 
1260
+ class GoogleCloudRunV2ServiceMesh
1261
+ # @private
1262
+ class Representation < Google::Apis::Core::JsonRepresentation
1263
+ property :mesh, as: 'mesh'
1264
+ end
1265
+ end
1266
+
1202
1267
  class GoogleCloudRunV2ServiceScaling
1203
1268
  # @private
1204
1269
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1206,6 +1271,40 @@ module Google
1206
1271
  end
1207
1272
  end
1208
1273
 
1274
+ class GoogleCloudRunV2StorageSource
1275
+ # @private
1276
+ class Representation < Google::Apis::Core::JsonRepresentation
1277
+ property :bucket, as: 'bucket'
1278
+ property :generation, :numeric_string => true, as: 'generation'
1279
+ property :object, as: 'object'
1280
+ end
1281
+ end
1282
+
1283
+ class GoogleCloudRunV2SubmitBuildRequest
1284
+ # @private
1285
+ class Representation < Google::Apis::Core::JsonRepresentation
1286
+ property :buildpack_build, as: 'buildpackBuild', class: Google::Apis::RunV2::GoogleCloudRunV2BuildpacksBuild, decorator: Google::Apis::RunV2::GoogleCloudRunV2BuildpacksBuild::Representation
1287
+
1288
+ property :docker_build, as: 'dockerBuild', class: Google::Apis::RunV2::GoogleCloudRunV2DockerBuild, decorator: Google::Apis::RunV2::GoogleCloudRunV2DockerBuild::Representation
1289
+
1290
+ property :image_uri, as: 'imageUri'
1291
+ property :service_account, as: 'serviceAccount'
1292
+ property :storage_source, as: 'storageSource', class: Google::Apis::RunV2::GoogleCloudRunV2StorageSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2StorageSource::Representation
1293
+
1294
+ collection :tags, as: 'tags'
1295
+ property :worker_pool, as: 'workerPool'
1296
+ end
1297
+ end
1298
+
1299
+ class GoogleCloudRunV2SubmitBuildResponse
1300
+ # @private
1301
+ class Representation < Google::Apis::Core::JsonRepresentation
1302
+ property :base_image_uri, as: 'baseImageUri'
1303
+ property :build_operation, as: 'buildOperation', class: Google::Apis::RunV2::GoogleLongrunningOperation, decorator: Google::Apis::RunV2::GoogleLongrunningOperation::Representation
1304
+
1305
+ end
1306
+ end
1307
+
1209
1308
  class GoogleCloudRunV2TcpSocketAction
1210
1309
  # @private
1211
1310
  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.68.0
4
+ version: 0.70.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-18 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.68.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.70.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: []