google-apis-run_v2 0.109.0 → 0.111.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 +110 -1
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +48 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e025f36c94b84f46949d2e69cafa4597aa530ce88c79c2a1c76e80ef969a821
|
|
4
|
+
data.tar.gz: ce218f4071e6e8f395ead103c94578dcc61f5df3478dac111ec56bbb9fb2e6e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f16553b14a8f11a34585dbed4edc42cab4e3bef3141000e5a1e634d323aa461dbe080c51855529e3c7be0c641475df25371d4017f24fa4a07e53e9a007682c4
|
|
7
|
+
data.tar.gz: 99ad72f192b1defbdf20861a195758fcafe3a002f1ecaf036c14c535bd35e7110314e03b8220ad432295173d0b57418783285438148531246de1cbe5da05c6cc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-run_v2
|
|
2
2
|
|
|
3
|
+
### v0.111.0 (2026-03-22)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260313
|
|
6
|
+
|
|
7
|
+
### v0.110.0 (2026-03-15)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260306
|
|
10
|
+
|
|
3
11
|
### v0.109.0 (2026-03-08)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260227
|
|
@@ -1280,6 +1280,25 @@ module Google
|
|
|
1280
1280
|
end
|
|
1281
1281
|
end
|
|
1282
1282
|
|
|
1283
|
+
# Inlined source.
|
|
1284
|
+
class GoogleCloudRunV2InlinedSource
|
|
1285
|
+
include Google::Apis::Core::Hashable
|
|
1286
|
+
|
|
1287
|
+
# Required. Input only. The source code.
|
|
1288
|
+
# Corresponds to the JSON property `sources`
|
|
1289
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2SourceFile>]
|
|
1290
|
+
attr_accessor :sources
|
|
1291
|
+
|
|
1292
|
+
def initialize(**args)
|
|
1293
|
+
update!(**args)
|
|
1294
|
+
end
|
|
1295
|
+
|
|
1296
|
+
# Update properties of this object
|
|
1297
|
+
def update!(**args)
|
|
1298
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
1299
|
+
end
|
|
1300
|
+
end
|
|
1301
|
+
|
|
1283
1302
|
# A Cloud Run Instance represents a single group of containers running in a
|
|
1284
1303
|
# region.
|
|
1285
1304
|
class GoogleCloudRunV2Instance
|
|
@@ -3328,6 +3347,11 @@ module Google
|
|
|
3328
3347
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource]
|
|
3329
3348
|
attr_accessor :cloud_storage_source
|
|
3330
3349
|
|
|
3350
|
+
# Inlined source.
|
|
3351
|
+
# Corresponds to the JSON property `inlinedSource`
|
|
3352
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2InlinedSource]
|
|
3353
|
+
attr_accessor :inlined_source
|
|
3354
|
+
|
|
3331
3355
|
def initialize(**args)
|
|
3332
3356
|
update!(**args)
|
|
3333
3357
|
end
|
|
@@ -3335,6 +3359,39 @@ module Google
|
|
|
3335
3359
|
# Update properties of this object
|
|
3336
3360
|
def update!(**args)
|
|
3337
3361
|
@cloud_storage_source = args[:cloud_storage_source] if args.key?(:cloud_storage_source)
|
|
3362
|
+
@inlined_source = args[:inlined_source] if args.key?(:inlined_source)
|
|
3363
|
+
end
|
|
3364
|
+
end
|
|
3365
|
+
|
|
3366
|
+
# Source file.
|
|
3367
|
+
class GoogleCloudRunV2SourceFile
|
|
3368
|
+
include Google::Apis::Core::Hashable
|
|
3369
|
+
|
|
3370
|
+
# Required. Input only. Represents the exact, literal, and complete source code
|
|
3371
|
+
# of the file. Placeholders like `...` or comments such as `# [rest of code]`
|
|
3372
|
+
# should NEVER be used as omission. Every character in this field will be built
|
|
3373
|
+
# into the final container. Any omission will result in a broken application.
|
|
3374
|
+
# Corresponds to the JSON property `content`
|
|
3375
|
+
# @return [String]
|
|
3376
|
+
attr_accessor :content
|
|
3377
|
+
|
|
3378
|
+
# Required. Input only. The file name for the source code. e.g., `"index.js"` or
|
|
3379
|
+
# `"node_modules/dependency.js"`. The filename must be less than 255 characters
|
|
3380
|
+
# and cannot contain `..`, `./`, `//`, or end with a `/`. Cloud Run will place
|
|
3381
|
+
# the files in the container subdirectories, please use relative path to access
|
|
3382
|
+
# the file.
|
|
3383
|
+
# Corresponds to the JSON property `filename`
|
|
3384
|
+
# @return [String]
|
|
3385
|
+
attr_accessor :filename
|
|
3386
|
+
|
|
3387
|
+
def initialize(**args)
|
|
3388
|
+
update!(**args)
|
|
3389
|
+
end
|
|
3390
|
+
|
|
3391
|
+
# Update properties of this object
|
|
3392
|
+
def update!(**args)
|
|
3393
|
+
@content = args[:content] if args.key?(:content)
|
|
3394
|
+
@filename = args[:filename] if args.key?(:filename)
|
|
3338
3395
|
end
|
|
3339
3396
|
end
|
|
3340
3397
|
|
|
@@ -4131,7 +4188,8 @@ module Google
|
|
|
4131
4188
|
attr_accessor :name
|
|
4132
4189
|
|
|
4133
4190
|
# Optional. Path within the volume from which the container's volume should be
|
|
4134
|
-
# mounted. Defaults to "" (volume's root).
|
|
4191
|
+
# mounted. Defaults to "" (volume's root). This field is currently ignored for
|
|
4192
|
+
# Secret volumes.
|
|
4135
4193
|
# Corresponds to the JSON property `subPath`
|
|
4136
4194
|
# @return [String]
|
|
4137
4195
|
attr_accessor :sub_path
|
|
@@ -4749,6 +4807,15 @@ module Google
|
|
|
4749
4807
|
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ArtifactObjects]
|
|
4750
4808
|
attr_accessor :objects
|
|
4751
4809
|
|
|
4810
|
+
# Optional. A list of OCI images to be uploaded to Artifact Registry upon
|
|
4811
|
+
# successful completion of all build steps. OCI images in the specified paths
|
|
4812
|
+
# will be uploaded to the specified Artifact Registry repository using the
|
|
4813
|
+
# builder service account's credentials. If any images fail to be pushed, the
|
|
4814
|
+
# build is marked FAILURE.
|
|
4815
|
+
# Corresponds to the JSON property `oci`
|
|
4816
|
+
# @return [Array<Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Oci>]
|
|
4817
|
+
attr_accessor :oci
|
|
4818
|
+
|
|
4752
4819
|
# A list of Python packages to be uploaded to Artifact Registry upon successful
|
|
4753
4820
|
# completion of all build steps. The build service account credentials will be
|
|
4754
4821
|
# used to perform the upload. If any objects fail to be pushed, the build is
|
|
@@ -4768,6 +4835,7 @@ module Google
|
|
|
4768
4835
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
4769
4836
|
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
|
4770
4837
|
@objects = args[:objects] if args.key?(:objects)
|
|
4838
|
+
@oci = args[:oci] if args.key?(:oci)
|
|
4771
4839
|
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
|
4772
4840
|
end
|
|
4773
4841
|
end
|
|
@@ -5402,6 +5470,12 @@ module Google
|
|
|
5402
5470
|
# @return [String]
|
|
5403
5471
|
attr_accessor :name
|
|
5404
5472
|
|
|
5473
|
+
# Output only. The OCI media type of the artifact. Non-OCI images, such as
|
|
5474
|
+
# Docker images, will have an unspecified value.
|
|
5475
|
+
# Corresponds to the JSON property `ociMediaType`
|
|
5476
|
+
# @return [String]
|
|
5477
|
+
attr_accessor :oci_media_type
|
|
5478
|
+
|
|
5405
5479
|
# Start and end times for a build execution phase.
|
|
5406
5480
|
# Corresponds to the JSON property `pushTiming`
|
|
5407
5481
|
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan]
|
|
@@ -5416,6 +5490,7 @@ module Google
|
|
|
5416
5490
|
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
5417
5491
|
@digest = args[:digest] if args.key?(:digest)
|
|
5418
5492
|
@name = args[:name] if args.key?(:name)
|
|
5493
|
+
@oci_media_type = args[:oci_media_type] if args.key?(:oci_media_type)
|
|
5419
5494
|
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
5420
5495
|
end
|
|
5421
5496
|
end
|
|
@@ -5912,6 +5987,40 @@ module Google
|
|
|
5912
5987
|
end
|
|
5913
5988
|
end
|
|
5914
5989
|
|
|
5990
|
+
# OCI image to upload to Artifact Registry upon successful completion of all
|
|
5991
|
+
# build steps.
|
|
5992
|
+
class GoogleDevtoolsCloudbuildV1Oci
|
|
5993
|
+
include Google::Apis::Core::Hashable
|
|
5994
|
+
|
|
5995
|
+
# Required. Path on the local file system where to find the container to upload.
|
|
5996
|
+
# e.g. /workspace/my-image.tar
|
|
5997
|
+
# Corresponds to the JSON property `file`
|
|
5998
|
+
# @return [String]
|
|
5999
|
+
attr_accessor :file
|
|
6000
|
+
|
|
6001
|
+
# Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.
|
|
6002
|
+
# dev/my-project/my-repo/my-image
|
|
6003
|
+
# Corresponds to the JSON property `registryPath`
|
|
6004
|
+
# @return [String]
|
|
6005
|
+
attr_accessor :registry_path
|
|
6006
|
+
|
|
6007
|
+
# Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
|
|
6008
|
+
# Corresponds to the JSON property `tags`
|
|
6009
|
+
# @return [Array<String>]
|
|
6010
|
+
attr_accessor :tags
|
|
6011
|
+
|
|
6012
|
+
def initialize(**args)
|
|
6013
|
+
update!(**args)
|
|
6014
|
+
end
|
|
6015
|
+
|
|
6016
|
+
# Update properties of this object
|
|
6017
|
+
def update!(**args)
|
|
6018
|
+
@file = args[:file] if args.key?(:file)
|
|
6019
|
+
@registry_path = args[:registry_path] if args.key?(:registry_path)
|
|
6020
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
6021
|
+
end
|
|
6022
|
+
end
|
|
6023
|
+
|
|
5915
6024
|
# Details about how a build should be executed on a `WorkerPool`. See [running
|
|
5916
6025
|
# builds in a private pool](https://cloud.google.com/build/docs/private-pools/
|
|
5917
6026
|
# run-builds-in-private-pool) for more information.
|
|
@@ -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.111.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260313"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -184,6 +184,12 @@ module Google
|
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
|
185
185
|
end
|
|
186
186
|
|
|
187
|
+
class GoogleCloudRunV2InlinedSource
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
+
end
|
|
192
|
+
|
|
187
193
|
class GoogleCloudRunV2Instance
|
|
188
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
195
|
|
|
@@ -364,6 +370,12 @@ module Google
|
|
|
364
370
|
include Google::Apis::Core::JsonObjectSupport
|
|
365
371
|
end
|
|
366
372
|
|
|
373
|
+
class GoogleCloudRunV2SourceFile
|
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
|
+
|
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
377
|
+
end
|
|
378
|
+
|
|
367
379
|
class GoogleCloudRunV2StartInstanceRequest
|
|
368
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
381
|
|
|
@@ -622,6 +634,12 @@ module Google
|
|
|
622
634
|
include Google::Apis::Core::JsonObjectSupport
|
|
623
635
|
end
|
|
624
636
|
|
|
637
|
+
class GoogleDevtoolsCloudbuildV1Oci
|
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
639
|
+
|
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
641
|
+
end
|
|
642
|
+
|
|
625
643
|
class GoogleDevtoolsCloudbuildV1PoolOption
|
|
626
644
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
627
645
|
|
|
@@ -1126,6 +1144,14 @@ module Google
|
|
|
1126
1144
|
end
|
|
1127
1145
|
end
|
|
1128
1146
|
|
|
1147
|
+
class GoogleCloudRunV2InlinedSource
|
|
1148
|
+
# @private
|
|
1149
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1150
|
+
collection :sources, as: 'sources', class: Google::Apis::RunV2::GoogleCloudRunV2SourceFile, decorator: Google::Apis::RunV2::GoogleCloudRunV2SourceFile::Representation
|
|
1151
|
+
|
|
1152
|
+
end
|
|
1153
|
+
end
|
|
1154
|
+
|
|
1129
1155
|
class GoogleCloudRunV2Instance
|
|
1130
1156
|
# @private
|
|
1131
1157
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1575,6 +1601,16 @@ module Google
|
|
|
1575
1601
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1576
1602
|
property :cloud_storage_source, as: 'cloudStorageSource', class: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource::Representation
|
|
1577
1603
|
|
|
1604
|
+
property :inlined_source, as: 'inlinedSource', class: Google::Apis::RunV2::GoogleCloudRunV2InlinedSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2InlinedSource::Representation
|
|
1605
|
+
|
|
1606
|
+
end
|
|
1607
|
+
end
|
|
1608
|
+
|
|
1609
|
+
class GoogleCloudRunV2SourceFile
|
|
1610
|
+
# @private
|
|
1611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1612
|
+
property :content, as: 'content'
|
|
1613
|
+
property :filename, as: 'filename'
|
|
1578
1614
|
end
|
|
1579
1615
|
end
|
|
1580
1616
|
|
|
@@ -1896,6 +1932,8 @@ module Google
|
|
|
1896
1932
|
|
|
1897
1933
|
property :objects, as: 'objects', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ArtifactObjects, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ArtifactObjects::Representation
|
|
1898
1934
|
|
|
1935
|
+
collection :oci, as: 'oci', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Oci, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Oci::Representation
|
|
1936
|
+
|
|
1899
1937
|
collection :python_packages, as: 'pythonPackages', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1PythonPackage, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1PythonPackage::Representation
|
|
1900
1938
|
|
|
1901
1939
|
end
|
|
@@ -2029,6 +2067,7 @@ module Google
|
|
|
2029
2067
|
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
2030
2068
|
property :digest, as: 'digest'
|
|
2031
2069
|
property :name, as: 'name'
|
|
2070
|
+
property :oci_media_type, as: 'ociMediaType'
|
|
2032
2071
|
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
2033
2072
|
|
|
2034
2073
|
end
|
|
@@ -2169,6 +2208,15 @@ module Google
|
|
|
2169
2208
|
end
|
|
2170
2209
|
end
|
|
2171
2210
|
|
|
2211
|
+
class GoogleDevtoolsCloudbuildV1Oci
|
|
2212
|
+
# @private
|
|
2213
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2214
|
+
property :file, as: 'file'
|
|
2215
|
+
property :registry_path, as: 'registryPath'
|
|
2216
|
+
collection :tags, as: 'tags'
|
|
2217
|
+
end
|
|
2218
|
+
end
|
|
2219
|
+
|
|
2172
2220
|
class GoogleDevtoolsCloudbuildV1PoolOption
|
|
2173
2221
|
# @private
|
|
2174
2222
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.111.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.111.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|