google-apis-run_v2 0.101.0 → 0.102.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 +4 -0
- data/lib/google/apis/run_v2/classes.rb +86 -0
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +36 -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: 1a35bd9f7467be9c965a29b7e8109170e8bc2badbb2332b9f60a0004e95ec249
|
|
4
|
+
data.tar.gz: 63574035b5ebbb65691c8f9bd66d73b39b33f00b8ae1179db1362a22a6b8b423
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e13d1b1c17d761ee1a76c8c7cd11cdf4925f776acd5f4140562d4ac839bd98045d09e103c8478123eb5b1dcc6000716f113e625c278946c932009a67754c8302
|
|
7
|
+
data.tar.gz: 5ee3db8306f5fc6c87cbf67ddb053b51e00976cd75b9b944e09878bbb732b784bdd8574be6e448529534890a6def282333b1fd43cf3ade4b18583dbe40f3c865
|
data/CHANGELOG.md
CHANGED
|
@@ -279,6 +279,37 @@ module Google
|
|
|
279
279
|
end
|
|
280
280
|
end
|
|
281
281
|
|
|
282
|
+
# Cloud Storage source.
|
|
283
|
+
class GoogleCloudRunV2CloudStorageSource
|
|
284
|
+
include Google::Apis::Core::Hashable
|
|
285
|
+
|
|
286
|
+
# Required. The Cloud Storage bucket name.
|
|
287
|
+
# Corresponds to the JSON property `bucket`
|
|
288
|
+
# @return [String]
|
|
289
|
+
attr_accessor :bucket
|
|
290
|
+
|
|
291
|
+
# Optional. The Cloud Storage object generation.
|
|
292
|
+
# Corresponds to the JSON property `generation`
|
|
293
|
+
# @return [Fixnum]
|
|
294
|
+
attr_accessor :generation
|
|
295
|
+
|
|
296
|
+
# Required. The Cloud Storage object name.
|
|
297
|
+
# Corresponds to the JSON property `object`
|
|
298
|
+
# @return [String]
|
|
299
|
+
attr_accessor :object
|
|
300
|
+
|
|
301
|
+
def initialize(**args)
|
|
302
|
+
update!(**args)
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
# Update properties of this object
|
|
306
|
+
def update!(**args)
|
|
307
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
|
308
|
+
@generation = args[:generation] if args.key?(:generation)
|
|
309
|
+
@object = args[:object] if args.key?(:object)
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
|
|
282
313
|
# Defines a status condition for a resource.
|
|
283
314
|
class GoogleCloudRunV2Condition
|
|
284
315
|
include Google::Apis::Core::Hashable
|
|
@@ -414,6 +445,11 @@ module Google
|
|
|
414
445
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements]
|
|
415
446
|
attr_accessor :resources
|
|
416
447
|
|
|
448
|
+
# Source type for the container.
|
|
449
|
+
# Corresponds to the JSON property `sourceCode`
|
|
450
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2SourceCode]
|
|
451
|
+
attr_accessor :source_code
|
|
452
|
+
|
|
417
453
|
# Probe describes a health check to be performed against a container to
|
|
418
454
|
# determine whether it is alive or ready to receive traffic.
|
|
419
455
|
# Corresponds to the JSON property `startupProbe`
|
|
@@ -448,6 +484,7 @@ module Google
|
|
|
448
484
|
@name = args[:name] if args.key?(:name)
|
|
449
485
|
@ports = args[:ports] if args.key?(:ports)
|
|
450
486
|
@resources = args[:resources] if args.key?(:resources)
|
|
487
|
+
@source_code = args[:source_code] if args.key?(:source_code)
|
|
451
488
|
@startup_probe = args[:startup_probe] if args.key?(:startup_probe)
|
|
452
489
|
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
|
453
490
|
@working_dir = args[:working_dir] if args.key?(:working_dir)
|
|
@@ -2857,6 +2894,25 @@ module Google
|
|
|
2857
2894
|
end
|
|
2858
2895
|
end
|
|
2859
2896
|
|
|
2897
|
+
# Source type for the container.
|
|
2898
|
+
class GoogleCloudRunV2SourceCode
|
|
2899
|
+
include Google::Apis::Core::Hashable
|
|
2900
|
+
|
|
2901
|
+
# Cloud Storage source.
|
|
2902
|
+
# Corresponds to the JSON property `cloudStorageSource`
|
|
2903
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource]
|
|
2904
|
+
attr_accessor :cloud_storage_source
|
|
2905
|
+
|
|
2906
|
+
def initialize(**args)
|
|
2907
|
+
update!(**args)
|
|
2908
|
+
end
|
|
2909
|
+
|
|
2910
|
+
# Update properties of this object
|
|
2911
|
+
def update!(**args)
|
|
2912
|
+
@cloud_storage_source = args[:cloud_storage_source] if args.key?(:cloud_storage_source)
|
|
2913
|
+
end
|
|
2914
|
+
end
|
|
2915
|
+
|
|
2860
2916
|
# Location of the source in an archive file in Google Cloud Storage.
|
|
2861
2917
|
class GoogleCloudRunV2StorageSource
|
|
2862
2918
|
include Google::Apis::Core::Hashable
|
|
@@ -4833,6 +4889,11 @@ module Google
|
|
|
4833
4889
|
class GoogleDevtoolsCloudbuildV1BuiltImage
|
|
4834
4890
|
include Google::Apis::Core::Hashable
|
|
4835
4891
|
|
|
4892
|
+
# Output only. Path to the artifact in Artifact Registry.
|
|
4893
|
+
# Corresponds to the JSON property `artifactRegistryPackage`
|
|
4894
|
+
# @return [String]
|
|
4895
|
+
attr_accessor :artifact_registry_package
|
|
4896
|
+
|
|
4836
4897
|
# Docker Registry 2.0 digest.
|
|
4837
4898
|
# Corresponds to the JSON property `digest`
|
|
4838
4899
|
# @return [String]
|
|
@@ -4855,6 +4916,7 @@ module Google
|
|
|
4855
4916
|
|
|
4856
4917
|
# Update properties of this object
|
|
4857
4918
|
def update!(**args)
|
|
4919
|
+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
4858
4920
|
@digest = args[:digest] if args.key?(:digest)
|
|
4859
4921
|
@name = args[:name] if args.key?(:name)
|
|
4860
4922
|
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
@@ -5848,6 +5910,11 @@ module Google
|
|
|
5848
5910
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
5849
5911
|
include Google::Apis::Core::Hashable
|
|
5850
5912
|
|
|
5913
|
+
# Output only. Path to the artifact in Artifact Registry.
|
|
5914
|
+
# Corresponds to the JSON property `artifactRegistryPackage`
|
|
5915
|
+
# @return [String]
|
|
5916
|
+
attr_accessor :artifact_registry_package
|
|
5917
|
+
|
|
5851
5918
|
# Container message for hashes of byte content of files, used in
|
|
5852
5919
|
# SourceProvenance messages to verify integrity of source input to the build.
|
|
5853
5920
|
# Corresponds to the JSON property `fileHashes`
|
|
@@ -5870,6 +5937,7 @@ module Google
|
|
|
5870
5937
|
|
|
5871
5938
|
# Update properties of this object
|
|
5872
5939
|
def update!(**args)
|
|
5940
|
+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
5873
5941
|
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
|
5874
5942
|
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
5875
5943
|
@uri = args[:uri] if args.key?(:uri)
|
|
@@ -5880,6 +5948,11 @@ module Google
|
|
|
5880
5948
|
class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact
|
|
5881
5949
|
include Google::Apis::Core::Hashable
|
|
5882
5950
|
|
|
5951
|
+
# Output only. Path to the artifact in Artifact Registry.
|
|
5952
|
+
# Corresponds to the JSON property `artifactRegistryPackage`
|
|
5953
|
+
# @return [String]
|
|
5954
|
+
attr_accessor :artifact_registry_package
|
|
5955
|
+
|
|
5883
5956
|
# Container message for hashes of byte content of files, used in
|
|
5884
5957
|
# SourceProvenance messages to verify integrity of source input to the build.
|
|
5885
5958
|
# Corresponds to the JSON property `fileHashes`
|
|
@@ -5902,6 +5975,7 @@ module Google
|
|
|
5902
5975
|
|
|
5903
5976
|
# Update properties of this object
|
|
5904
5977
|
def update!(**args)
|
|
5978
|
+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
5905
5979
|
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
|
5906
5980
|
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
5907
5981
|
@uri = args[:uri] if args.key?(:uri)
|
|
@@ -5912,6 +5986,11 @@ module Google
|
|
|
5912
5986
|
class GoogleDevtoolsCloudbuildV1UploadedNpmPackage
|
|
5913
5987
|
include Google::Apis::Core::Hashable
|
|
5914
5988
|
|
|
5989
|
+
# Output only. Path to the artifact in Artifact Registry.
|
|
5990
|
+
# Corresponds to the JSON property `artifactRegistryPackage`
|
|
5991
|
+
# @return [String]
|
|
5992
|
+
attr_accessor :artifact_registry_package
|
|
5993
|
+
|
|
5915
5994
|
# Container message for hashes of byte content of files, used in
|
|
5916
5995
|
# SourceProvenance messages to verify integrity of source input to the build.
|
|
5917
5996
|
# Corresponds to the JSON property `fileHashes`
|
|
@@ -5934,6 +6013,7 @@ module Google
|
|
|
5934
6013
|
|
|
5935
6014
|
# Update properties of this object
|
|
5936
6015
|
def update!(**args)
|
|
6016
|
+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
5937
6017
|
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
|
5938
6018
|
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
5939
6019
|
@uri = args[:uri] if args.key?(:uri)
|
|
@@ -5944,6 +6024,11 @@ module Google
|
|
|
5944
6024
|
class GoogleDevtoolsCloudbuildV1UploadedPythonPackage
|
|
5945
6025
|
include Google::Apis::Core::Hashable
|
|
5946
6026
|
|
|
6027
|
+
# Output only. Path to the artifact in Artifact Registry.
|
|
6028
|
+
# Corresponds to the JSON property `artifactRegistryPackage`
|
|
6029
|
+
# @return [String]
|
|
6030
|
+
attr_accessor :artifact_registry_package
|
|
6031
|
+
|
|
5947
6032
|
# Container message for hashes of byte content of files, used in
|
|
5948
6033
|
# SourceProvenance messages to verify integrity of source input to the build.
|
|
5949
6034
|
# Corresponds to the JSON property `fileHashes`
|
|
@@ -5966,6 +6051,7 @@ module Google
|
|
|
5966
6051
|
|
|
5967
6052
|
# Update properties of this object
|
|
5968
6053
|
def update!(**args)
|
|
6054
|
+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
5969
6055
|
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
|
5970
6056
|
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
5971
6057
|
@uri = args[:uri] if args.key?(:uri)
|
|
@@ -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.102.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 = "20251031"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -58,6 +58,12 @@ module Google
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
+
class GoogleCloudRunV2CloudStorageSource
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
61
67
|
class GoogleCloudRunV2Condition
|
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
69
|
|
|
@@ -334,6 +340,12 @@ module Google
|
|
|
334
340
|
include Google::Apis::Core::JsonObjectSupport
|
|
335
341
|
end
|
|
336
342
|
|
|
343
|
+
class GoogleCloudRunV2SourceCode
|
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
|
+
|
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
347
|
+
end
|
|
348
|
+
|
|
337
349
|
class GoogleCloudRunV2StorageSource
|
|
338
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
351
|
|
|
@@ -838,6 +850,15 @@ module Google
|
|
|
838
850
|
end
|
|
839
851
|
end
|
|
840
852
|
|
|
853
|
+
class GoogleCloudRunV2CloudStorageSource
|
|
854
|
+
# @private
|
|
855
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
856
|
+
property :bucket, as: 'bucket'
|
|
857
|
+
property :generation, :numeric_string => true, as: 'generation'
|
|
858
|
+
property :object, as: 'object'
|
|
859
|
+
end
|
|
860
|
+
end
|
|
861
|
+
|
|
841
862
|
class GoogleCloudRunV2Condition
|
|
842
863
|
# @private
|
|
843
864
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -871,6 +892,8 @@ module Google
|
|
|
871
892
|
|
|
872
893
|
property :resources, as: 'resources', class: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements, decorator: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements::Representation
|
|
873
894
|
|
|
895
|
+
property :source_code, as: 'sourceCode', class: Google::Apis::RunV2::GoogleCloudRunV2SourceCode, decorator: Google::Apis::RunV2::GoogleCloudRunV2SourceCode::Representation
|
|
896
|
+
|
|
874
897
|
property :startup_probe, as: 'startupProbe', class: Google::Apis::RunV2::GoogleCloudRunV2Probe, decorator: Google::Apis::RunV2::GoogleCloudRunV2Probe::Representation
|
|
875
898
|
|
|
876
899
|
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount, decorator: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount::Representation
|
|
@@ -1435,6 +1458,14 @@ module Google
|
|
|
1435
1458
|
end
|
|
1436
1459
|
end
|
|
1437
1460
|
|
|
1461
|
+
class GoogleCloudRunV2SourceCode
|
|
1462
|
+
# @private
|
|
1463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1464
|
+
property :cloud_storage_source, as: 'cloudStorageSource', class: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource::Representation
|
|
1465
|
+
|
|
1466
|
+
end
|
|
1467
|
+
end
|
|
1468
|
+
|
|
1438
1469
|
class GoogleCloudRunV2StorageSource
|
|
1439
1470
|
# @private
|
|
1440
1471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1864,6 +1895,7 @@ module Google
|
|
|
1864
1895
|
class GoogleDevtoolsCloudbuildV1BuiltImage
|
|
1865
1896
|
# @private
|
|
1866
1897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1898
|
+
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
1867
1899
|
property :digest, as: 'digest'
|
|
1868
1900
|
property :name, as: 'name'
|
|
1869
1901
|
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
@@ -2148,6 +2180,7 @@ module Google
|
|
|
2148
2180
|
class GoogleDevtoolsCloudbuildV1UploadedGoModule
|
|
2149
2181
|
# @private
|
|
2150
2182
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2183
|
+
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
2151
2184
|
property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation
|
|
2152
2185
|
|
|
2153
2186
|
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
@@ -2159,6 +2192,7 @@ module Google
|
|
|
2159
2192
|
class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact
|
|
2160
2193
|
# @private
|
|
2161
2194
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2195
|
+
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
2162
2196
|
property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation
|
|
2163
2197
|
|
|
2164
2198
|
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
@@ -2170,6 +2204,7 @@ module Google
|
|
|
2170
2204
|
class GoogleDevtoolsCloudbuildV1UploadedNpmPackage
|
|
2171
2205
|
# @private
|
|
2172
2206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2207
|
+
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
2173
2208
|
property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation
|
|
2174
2209
|
|
|
2175
2210
|
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
@@ -2181,6 +2216,7 @@ module Google
|
|
|
2181
2216
|
class GoogleDevtoolsCloudbuildV1UploadedPythonPackage
|
|
2182
2217
|
# @private
|
|
2183
2218
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2219
|
+
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
2184
2220
|
property :file_hashes, as: 'fileHashes', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1FileHashes::Representation
|
|
2185
2221
|
|
|
2186
2222
|
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
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.102.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.102.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:
|