google-apis-run_v2 0.53.0 → 0.55.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 +78 -6
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +33 -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: e5c2629a81e7d761b1ce8a6821aaaa94de3a711f2921aaed78300aee58ea1c01
|
4
|
+
data.tar.gz: '04419d28ba30906e1c2b0b44a6c48ccbb5da357324dc89a3dc88791198a3df70'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40fa58bbda27da73c98f41902a0ff279f74a0f1c49368f196b6d70e5e3be02e921557b1c4e2d12419f43fc8068940da627b26b7972a9366215abb95ba83d45c5
|
7
|
+
data.tar.gz: 4ae137bedbec471f5abad8091ff30d6c5f62fc28560479046419cc63f6d93a4bf89e3193dff3ba1cb4cd6fa69fa12f1345606eb8282c71ac30d46e00c9fdc1ce
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.55.0 (2023-12-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231210
|
6
|
+
|
7
|
+
### v0.54.0 (2023-12-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231203
|
10
|
+
|
3
11
|
### v0.53.0 (2023-11-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231112
|
@@ -733,6 +733,32 @@ module Google
|
|
733
733
|
end
|
734
734
|
end
|
735
735
|
|
736
|
+
# Represents a GCS Bucket mounted as a volume.
|
737
|
+
class GoogleCloudRunV2GcsVolumeSource
|
738
|
+
include Google::Apis::Core::Hashable
|
739
|
+
|
740
|
+
# GCS Bucket name
|
741
|
+
# Corresponds to the JSON property `bucket`
|
742
|
+
# @return [String]
|
743
|
+
attr_accessor :bucket
|
744
|
+
|
745
|
+
# If true, mount the GCS bucket as read-only
|
746
|
+
# Corresponds to the JSON property `readOnly`
|
747
|
+
# @return [Boolean]
|
748
|
+
attr_accessor :read_only
|
749
|
+
alias_method :read_only?, :read_only
|
750
|
+
|
751
|
+
def initialize(**args)
|
752
|
+
update!(**args)
|
753
|
+
end
|
754
|
+
|
755
|
+
# Update properties of this object
|
756
|
+
def update!(**args)
|
757
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
758
|
+
@read_only = args[:read_only] if args.key?(:read_only)
|
759
|
+
end
|
760
|
+
end
|
761
|
+
|
736
762
|
# GRPCAction describes an action involving a GRPC port.
|
737
763
|
class GoogleCloudRunV2GrpcAction
|
738
764
|
include Google::Apis::Core::Hashable
|
@@ -1157,6 +1183,38 @@ module Google
|
|
1157
1183
|
end
|
1158
1184
|
end
|
1159
1185
|
|
1186
|
+
# Represents an NFS mount.
|
1187
|
+
class GoogleCloudRunV2NfsVolumeSource
|
1188
|
+
include Google::Apis::Core::Hashable
|
1189
|
+
|
1190
|
+
# Path that is exported by the NFS server.
|
1191
|
+
# Corresponds to the JSON property `path`
|
1192
|
+
# @return [String]
|
1193
|
+
attr_accessor :path
|
1194
|
+
|
1195
|
+
# If true, mount the NFS volume as read only
|
1196
|
+
# Corresponds to the JSON property `readOnly`
|
1197
|
+
# @return [Boolean]
|
1198
|
+
attr_accessor :read_only
|
1199
|
+
alias_method :read_only?, :read_only
|
1200
|
+
|
1201
|
+
# Hostname or IP address of the NFS server
|
1202
|
+
# Corresponds to the JSON property `server`
|
1203
|
+
# @return [String]
|
1204
|
+
attr_accessor :server
|
1205
|
+
|
1206
|
+
def initialize(**args)
|
1207
|
+
update!(**args)
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
# Update properties of this object
|
1211
|
+
def update!(**args)
|
1212
|
+
@path = args[:path] if args.key?(:path)
|
1213
|
+
@read_only = args[:read_only] if args.key?(:read_only)
|
1214
|
+
@server = args[:server] if args.key?(:server)
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
|
1160
1218
|
# Direct VPC egress settings.
|
1161
1219
|
class GoogleCloudRunV2NetworkInterface
|
1162
1220
|
include Google::Apis::Core::Hashable
|
@@ -1296,17 +1354,19 @@ module Google
|
|
1296
1354
|
class GoogleCloudRunV2ResourceRequirements
|
1297
1355
|
include Google::Apis::Core::Hashable
|
1298
1356
|
|
1299
|
-
# Determines whether CPU
|
1357
|
+
# Determines whether CPU is only allocated during requests (true by default).
|
1358
|
+
# However, if ResourceRequirements is set, the caller must explicitly set this
|
1359
|
+
# field to true to preserve the default behavior.
|
1300
1360
|
# Corresponds to the JSON property `cpuIdle`
|
1301
1361
|
# @return [Boolean]
|
1302
1362
|
attr_accessor :cpu_idle
|
1303
1363
|
alias_method :cpu_idle?, :cpu_idle
|
1304
1364
|
|
1305
|
-
# Only
|
1306
|
-
# CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at
|
1307
|
-
# For more information, go to https://cloud.google.com/run/
|
1308
|
-
# * For supported 'memory' values and syntax, go to https
|
1309
|
-
# docs/configuring/memory-limits
|
1365
|
+
# Only `memory` and `cpu` keys in the map are supported. Notes: * The only
|
1366
|
+
# supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at
|
1367
|
+
# least 2Gi of memory. For more information, go to https://cloud.google.com/run/
|
1368
|
+
# docs/configuring/cpu. * For supported 'memory' values and syntax, go to https:/
|
1369
|
+
# /cloud.google.com/run/docs/configuring/memory-limits
|
1310
1370
|
# Corresponds to the JSON property `limits`
|
1311
1371
|
# @return [Hash<String,String>]
|
1312
1372
|
attr_accessor :limits
|
@@ -2624,11 +2684,21 @@ module Google
|
|
2624
2684
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource]
|
2625
2685
|
attr_accessor :empty_dir
|
2626
2686
|
|
2687
|
+
# Represents a GCS Bucket mounted as a volume.
|
2688
|
+
# Corresponds to the JSON property `gcs`
|
2689
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2GcsVolumeSource]
|
2690
|
+
attr_accessor :gcs
|
2691
|
+
|
2627
2692
|
# Required. Volume's name.
|
2628
2693
|
# Corresponds to the JSON property `name`
|
2629
2694
|
# @return [String]
|
2630
2695
|
attr_accessor :name
|
2631
2696
|
|
2697
|
+
# Represents an NFS mount.
|
2698
|
+
# Corresponds to the JSON property `nfs`
|
2699
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2NfsVolumeSource]
|
2700
|
+
attr_accessor :nfs
|
2701
|
+
|
2632
2702
|
# The secret's value will be presented as the content of a file whose name is
|
2633
2703
|
# defined in the item path. If no items are defined, the name of the file is the
|
2634
2704
|
# secret.
|
@@ -2644,7 +2714,9 @@ module Google
|
|
2644
2714
|
def update!(**args)
|
2645
2715
|
@cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
|
2646
2716
|
@empty_dir = args[:empty_dir] if args.key?(:empty_dir)
|
2717
|
+
@gcs = args[:gcs] if args.key?(:gcs)
|
2647
2718
|
@name = args[:name] if args.key?(:name)
|
2719
|
+
@nfs = args[:nfs] if args.key?(:nfs)
|
2648
2720
|
@secret = args[:secret] if args.key?(:secret)
|
2649
2721
|
end
|
2650
2722
|
end
|
@@ -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.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231210"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class GoogleCloudRunV2GcsVolumeSource
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class GoogleCloudRunV2GrpcAction
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -154,6 +160,12 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class GoogleCloudRunV2NfsVolumeSource
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class GoogleCloudRunV2NetworkInterface
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -532,6 +544,14 @@ module Google
|
|
532
544
|
end
|
533
545
|
end
|
534
546
|
|
547
|
+
class GoogleCloudRunV2GcsVolumeSource
|
548
|
+
# @private
|
549
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
550
|
+
property :bucket, as: 'bucket'
|
551
|
+
property :read_only, as: 'readOnly'
|
552
|
+
end
|
553
|
+
end
|
554
|
+
|
535
555
|
class GoogleCloudRunV2GrpcAction
|
536
556
|
# @private
|
537
557
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -638,6 +658,15 @@ module Google
|
|
638
658
|
end
|
639
659
|
end
|
640
660
|
|
661
|
+
class GoogleCloudRunV2NfsVolumeSource
|
662
|
+
# @private
|
663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
664
|
+
property :path, as: 'path'
|
665
|
+
property :read_only, as: 'readOnly'
|
666
|
+
property :server, as: 'server'
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
641
670
|
class GoogleCloudRunV2NetworkInterface
|
642
671
|
# @private
|
643
672
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -953,7 +982,11 @@ module Google
|
|
953
982
|
|
954
983
|
property :empty_dir, as: 'emptyDir', class: Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2EmptyDirVolumeSource::Representation
|
955
984
|
|
985
|
+
property :gcs, as: 'gcs', class: Google::Apis::RunV2::GoogleCloudRunV2GcsVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2GcsVolumeSource::Representation
|
986
|
+
|
956
987
|
property :name, as: 'name'
|
988
|
+
property :nfs, as: 'nfs', class: Google::Apis::RunV2::GoogleCloudRunV2NfsVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2NfsVolumeSource::Representation
|
989
|
+
|
957
990
|
property :secret, as: 'secret', class: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource::Representation
|
958
991
|
|
959
992
|
end
|
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.55.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: 2023-
|
11
|
+
date: 2023-12-17 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.55.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: []
|