google-cloud-functions-v1 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/functions/v1/cloud_functions_service/client.rb +7 -0
- data/lib/google/cloud/functions/v1/cloud_functions_service/operations.rb +7 -0
- data/lib/google/cloud/functions/v1/cloud_functions_service/rest/client.rb +7 -0
- data/lib/google/cloud/functions/v1/cloud_functions_service/rest/operations.rb +7 -0
- data/lib/google/cloud/functions/v1/version.rb +1 -1
- data/proto_docs/google/cloud/functions/v1/functions.rb +12 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc10263e2a4fe9e1b2808a8e311ceed76bf036e1147bc50ad061a2e6dbc6a364
|
4
|
+
data.tar.gz: 6f332a7413d64ad66929d797f5d1018d3a77e11afa91df240af8b8c7e92ddeab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6ddf5372eed2d429664574004d6874398642c12a5fe5be618cec2a421a1ab3c316f68404be01f6af3e30890c63029cad3079dd7fe4c76720839222b145d5b05
|
7
|
+
data.tar.gz: '07597d5f217eeeaf2d423c81d98dc616a858dd8c39c2759e5b59d57b04bdbb673c00523e689e038010f0b3cd77fc2f802076aca84985e229ba42447bc494c1c8'
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -1377,6 +1377,13 @@ module Google
|
|
1377
1377
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1378
1378
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1379
1379
|
# * (`nil`) indicating no credentials
|
1380
|
+
#
|
1381
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1382
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1383
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1384
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1385
|
+
# For more information, refer to [Validate credential configurations from external
|
1386
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1380
1387
|
# @return [::Object]
|
1381
1388
|
# @!attribute [rw] scope
|
1382
1389
|
# The OAuth scopes
|
@@ -632,6 +632,13 @@ module Google
|
|
632
632
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
633
633
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
634
634
|
# * (`nil`) indicating no credentials
|
635
|
+
#
|
636
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
637
|
+
# external source for authentication to Google Cloud, you must validate it before
|
638
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
639
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
640
|
+
# For more information, refer to [Validate credential configurations from external
|
641
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
635
642
|
# @return [::Object]
|
636
643
|
# @!attribute [rw] scope
|
637
644
|
# The OAuth scopes
|
@@ -1290,6 +1290,13 @@ module Google
|
|
1290
1290
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1291
1291
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1292
1292
|
# * (`nil`) indicating no credentials
|
1293
|
+
#
|
1294
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1295
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1296
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1297
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1298
|
+
# For more information, refer to [Validate credential configurations from external
|
1299
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1293
1300
|
# @return [::Object]
|
1294
1301
|
# @!attribute [rw] scope
|
1295
1302
|
# The OAuth scopes
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -34,11 +34,15 @@ module Google
|
|
34
34
|
# @return [::String]
|
35
35
|
# The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
|
36
36
|
# archive which contains the function.
|
37
|
+
#
|
38
|
+
# Note: The following fields are mutually exclusive: `source_archive_url`, `source_repository`, `source_upload_url`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
37
39
|
# @!attribute [rw] source_repository
|
38
40
|
# @return [::Google::Cloud::Functions::V1::SourceRepository]
|
39
41
|
# **Beta Feature**
|
40
42
|
#
|
41
43
|
# The source repository where a function is hosted.
|
44
|
+
#
|
45
|
+
# Note: The following fields are mutually exclusive: `source_repository`, `source_archive_url`, `source_upload_url`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
42
46
|
# @!attribute [rw] source_upload_url
|
43
47
|
# @return [::String]
|
44
48
|
# The Google Cloud Storage signed URL used for source uploading, generated
|
@@ -47,12 +51,18 @@ module Google
|
|
47
51
|
# The signature is validated on write methods (Create, Update)
|
48
52
|
# The signature is stripped from the Function object on read methods (Get,
|
49
53
|
# List)
|
54
|
+
#
|
55
|
+
# Note: The following fields are mutually exclusive: `source_upload_url`, `source_archive_url`, `source_repository`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
50
56
|
# @!attribute [rw] https_trigger
|
51
57
|
# @return [::Google::Cloud::Functions::V1::HttpsTrigger]
|
52
58
|
# An HTTPS endpoint type of source that can be triggered via URL.
|
59
|
+
#
|
60
|
+
# Note: The following fields are mutually exclusive: `https_trigger`, `event_trigger`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
61
|
# @!attribute [rw] event_trigger
|
54
62
|
# @return [::Google::Cloud::Functions::V1::EventTrigger]
|
55
63
|
# A source that fires events in response to a condition in another service.
|
64
|
+
#
|
65
|
+
# Note: The following fields are mutually exclusive: `event_trigger`, `https_trigger`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
56
66
|
# @!attribute [r] status
|
57
67
|
# @return [::Google::Cloud::Functions::V1::CloudFunctionStatus]
|
58
68
|
# Output only. Status of the function deployment.
|
@@ -226,8 +236,10 @@ module Google
|
|
226
236
|
# unspecified or set to `ARTIFACT_REGISTRY`.
|
227
237
|
# @!attribute [rw] automatic_update_policy
|
228
238
|
# @return [::Google::Cloud::Functions::V1::CloudFunction::AutomaticUpdatePolicy]
|
239
|
+
# Note: The following fields are mutually exclusive: `automatic_update_policy`, `on_deploy_update_policy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
229
240
|
# @!attribute [rw] on_deploy_update_policy
|
230
241
|
# @return [::Google::Cloud::Functions::V1::CloudFunction::OnDeployUpdatePolicy]
|
242
|
+
# Note: The following fields are mutually exclusive: `on_deploy_update_policy`, `automatic_update_policy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
231
243
|
# @!attribute [rw] build_service_account
|
232
244
|
# @return [::String]
|
233
245
|
# A service account the user provides for use with Cloud Build. The format of
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-functions-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -133,7 +132,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
133
132
|
licenses:
|
134
133
|
- Apache-2.0
|
135
134
|
metadata: {}
|
136
|
-
post_install_message:
|
137
135
|
rdoc_options: []
|
138
136
|
require_paths:
|
139
137
|
- lib
|
@@ -141,15 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
139
|
requirements:
|
142
140
|
- - ">="
|
143
141
|
- !ruby/object:Gem::Version
|
144
|
-
version: '
|
142
|
+
version: '3.0'
|
145
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
144
|
requirements:
|
147
145
|
- - ">="
|
148
146
|
- !ruby/object:Gem::Version
|
149
147
|
version: '0'
|
150
148
|
requirements: []
|
151
|
-
rubygems_version: 3.
|
152
|
-
signing_key:
|
149
|
+
rubygems_version: 3.6.2
|
153
150
|
specification_version: 4
|
154
151
|
summary: Manages lightweight user-provided functions executed in response to events.
|
155
152
|
test_files: []
|