google-cloud-functions-v1 0.3.3 → 0.4.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2cf74213fbdd2baf3be4bd28c3f06e11e4de253a168aa82e66fdcac81ff69dc
|
4
|
+
data.tar.gz: 3337f91356501519dec70e0be7b39467b3127a88334a1d0122a3ee761f961c4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3aec811f3bef44a7410fe1c6ca1401d30af6a498b3f977ccb7841627634e1ffe10b47c706c9966daa39dfbe8248a309510c76e3d9cb630b311aac131966f06c1
|
7
|
+
data.tar.gz: 1fc0ce81ced55bcbc461fa0760dc0c716076766ce88133a6ca4dcf199f3aea7e6bc9a813d96347a0ffabbc96622c13cc89f67e92582c058b627f57de1311ad73
|
@@ -61,6 +61,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
61
61
|
end
|
62
62
|
add_message "google.cloud.functions.v1.HttpsTrigger" do
|
63
63
|
optional :url, :string, 1
|
64
|
+
optional :security_level, :enum, 2, "google.cloud.functions.v1.HttpsTrigger.SecurityLevel"
|
65
|
+
end
|
66
|
+
add_enum "google.cloud.functions.v1.HttpsTrigger.SecurityLevel" do
|
67
|
+
value :SECURITY_LEVEL_UNSPECIFIED, 0
|
68
|
+
value :SECURE_ALWAYS, 1
|
69
|
+
value :SECURE_OPTIONAL, 2
|
64
70
|
end
|
65
71
|
add_message "google.cloud.functions.v1.EventTrigger" do
|
66
72
|
optional :event_type, :string, 1
|
@@ -141,6 +147,7 @@ module Google
|
|
141
147
|
CloudFunction::IngressSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.functions.v1.CloudFunction.IngressSettings").enummodule
|
142
148
|
SourceRepository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.functions.v1.SourceRepository").msgclass
|
143
149
|
HttpsTrigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.functions.v1.HttpsTrigger").msgclass
|
150
|
+
HttpsTrigger::SecurityLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.functions.v1.HttpsTrigger.SecurityLevel").enummodule
|
144
151
|
EventTrigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.functions.v1.EventTrigger").msgclass
|
145
152
|
FailurePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.functions.v1.FailurePolicy").msgclass
|
146
153
|
FailurePolicy::Retry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.functions.v1.FailurePolicy.Retry").msgclass
|
@@ -230,9 +230,32 @@ module Google
|
|
230
230
|
# @!attribute [r] url
|
231
231
|
# @return [::String]
|
232
232
|
# Output only. The deployed url for the function.
|
233
|
+
# @!attribute [rw] security_level
|
234
|
+
# @return [::Google::Cloud::Functions::V1::HttpsTrigger::SecurityLevel]
|
235
|
+
# The security level for the function.
|
233
236
|
class HttpsTrigger
|
234
237
|
include ::Google::Protobuf::MessageExts
|
235
238
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
239
|
+
|
240
|
+
# Available security level settings.
|
241
|
+
#
|
242
|
+
# This controls the methods to enforce security (HTTPS) on a URL.
|
243
|
+
#
|
244
|
+
# If unspecified, SECURE_OPTIONAL will be used.
|
245
|
+
module SecurityLevel
|
246
|
+
# Unspecified.
|
247
|
+
SECURITY_LEVEL_UNSPECIFIED = 0
|
248
|
+
|
249
|
+
# Requests for a URL that match this handler that do not use HTTPS are
|
250
|
+
# automatically redirected to the HTTPS URL with the same path. Query
|
251
|
+
# parameters are reserved for the redirect.
|
252
|
+
SECURE_ALWAYS = 1
|
253
|
+
|
254
|
+
# Both HTTP and HTTPS requests with URLs that match the handler succeed
|
255
|
+
# without redirects. The application can examine the request to determine
|
256
|
+
# which protocol was used and respond accordingly.
|
257
|
+
SECURE_OPTIONAL = 2
|
258
|
+
end
|
236
259
|
end
|
237
260
|
|
238
261
|
# Describes EventTrigger, used to request events be sent from another
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-functions-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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: 2021-
|
11
|
+
date: 2021-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|