google-apis-run_v1 0.51.0 → 0.52.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_v1/classes.rb +46 -0
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +16 -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: f162b791c276f964a9967dfb918a4f0f20eef365c285529011441a5d461e061d
|
4
|
+
data.tar.gz: b0da0954724cf1f20007fb48b7651920bec03e3cf5450994553f63168705a129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 831f35271c25e0608752bfbf0654eee21a9f2688e0673446ec3a33c150c94a2bb6b52958acc5ea0d4e0a8503ceee42ec9f2aca167e48b9a21b08cd30a0662e84
|
7
|
+
data.tar.gz: 498bd1f0f35d826a02912d5dbba617dc43d539b16fde28ec3d800641ed074a73f4827c07c6291697ff8900d4f935e138d38441c0278fcb89ddff199a4155a76b
|
data/CHANGELOG.md
CHANGED
@@ -820,6 +820,43 @@ module Google
|
|
820
820
|
end
|
821
821
|
end
|
822
822
|
|
823
|
+
# Ephemeral storage which can be backed by real disks (HD, SSD), network storage
|
824
|
+
# or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is
|
825
|
+
# ephemeral in the sense that when the sandbox is taken down, the data is
|
826
|
+
# destroyed with it (it does not persist across sandbox runs).
|
827
|
+
class EmptyDirVolumeSource
|
828
|
+
include Google::Apis::Core::Hashable
|
829
|
+
|
830
|
+
# The medium on which the data is stored. The default is "" which means to use
|
831
|
+
# the node's default medium. Must be an empty string (default) or Memory. More
|
832
|
+
# info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
|
833
|
+
# Corresponds to the JSON property `medium`
|
834
|
+
# @return [String]
|
835
|
+
attr_accessor :medium
|
836
|
+
|
837
|
+
# Limit on the storage usable by this EmptyDir volume. The size limit is also
|
838
|
+
# applicable for memory medium. The maximum usage on memory medium EmptyDir
|
839
|
+
# would be the minimum value between the SizeLimit specified here and the sum of
|
840
|
+
# memory limits of all containers in a pod. This field's values are of the '
|
841
|
+
# Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-
|
842
|
+
# definitions/quantity/. The default is nil which means that the limit is
|
843
|
+
# undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir +
|
844
|
+
# optional
|
845
|
+
# Corresponds to the JSON property `sizeLimit`
|
846
|
+
# @return [String]
|
847
|
+
attr_accessor :size_limit
|
848
|
+
|
849
|
+
def initialize(**args)
|
850
|
+
update!(**args)
|
851
|
+
end
|
852
|
+
|
853
|
+
# Update properties of this object
|
854
|
+
def update!(**args)
|
855
|
+
@medium = args[:medium] if args.key?(:medium)
|
856
|
+
@size_limit = args[:size_limit] if args.key?(:size_limit)
|
857
|
+
end
|
858
|
+
end
|
859
|
+
|
823
860
|
# Not supported by Cloud Run. EnvFromSource represents the source of a set of
|
824
861
|
# ConfigMaps
|
825
862
|
class EnvFromSource
|
@@ -3759,6 +3796,14 @@ module Google
|
|
3759
3796
|
# @return [Google::Apis::RunV1::ConfigMapVolumeSource]
|
3760
3797
|
attr_accessor :config_map
|
3761
3798
|
|
3799
|
+
# Ephemeral storage which can be backed by real disks (HD, SSD), network storage
|
3800
|
+
# or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is
|
3801
|
+
# ephemeral in the sense that when the sandbox is taken down, the data is
|
3802
|
+
# destroyed with it (it does not persist across sandbox runs).
|
3803
|
+
# Corresponds to the JSON property `emptyDir`
|
3804
|
+
# @return [Google::Apis::RunV1::EmptyDirVolumeSource]
|
3805
|
+
attr_accessor :empty_dir
|
3806
|
+
|
3762
3807
|
# Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' is reserved.
|
3763
3808
|
# Corresponds to the JSON property `name`
|
3764
3809
|
# @return [String]
|
@@ -3780,6 +3825,7 @@ module Google
|
|
3780
3825
|
# Update properties of this object
|
3781
3826
|
def update!(**args)
|
3782
3827
|
@config_map = args[:config_map] if args.key?(:config_map)
|
3828
|
+
@empty_dir = args[:empty_dir] if args.key?(:empty_dir)
|
3783
3829
|
@name = args[:name] if args.key?(:name)
|
3784
3830
|
@secret = args[:secret] if args.key?(:secret)
|
3785
3831
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RunV1
|
18
18
|
# Version of the google-apis-run_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.52.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 = "20230430"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,6 +130,12 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class EmptyDirVolumeSource
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
133
139
|
class EnvFromSource
|
134
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
141
|
|
@@ -744,6 +750,14 @@ module Google
|
|
744
750
|
end
|
745
751
|
end
|
746
752
|
|
753
|
+
class EmptyDirVolumeSource
|
754
|
+
# @private
|
755
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
756
|
+
property :medium, as: 'medium'
|
757
|
+
property :size_limit, as: 'sizeLimit'
|
758
|
+
end
|
759
|
+
end
|
760
|
+
|
747
761
|
class EnvFromSource
|
748
762
|
# @private
|
749
763
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1504,6 +1518,8 @@ module Google
|
|
1504
1518
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1505
1519
|
property :config_map, as: 'configMap', class: Google::Apis::RunV1::ConfigMapVolumeSource, decorator: Google::Apis::RunV1::ConfigMapVolumeSource::Representation
|
1506
1520
|
|
1521
|
+
property :empty_dir, as: 'emptyDir', class: Google::Apis::RunV1::EmptyDirVolumeSource, decorator: Google::Apis::RunV1::EmptyDirVolumeSource::Representation
|
1522
|
+
|
1507
1523
|
property :name, as: 'name'
|
1508
1524
|
property :secret, as: 'secret', class: Google::Apis::RunV1::SecretVolumeSource, decorator: Google::Apis::RunV1::SecretVolumeSource::Representation
|
1509
1525
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-run_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.52.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-05-14 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.52.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|