google-cloud-functions-v2 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b774495f1d693997cfe10fb31d663a4f128548802cb3449d9fcdfe5079b4f93a
4
- data.tar.gz: 9a1da3a2ea879170c4fef77f910fbc15bb1ee12b363b088d8424fdfb224b2d9b
3
+ metadata.gz: 94af809b6fbfd2471a273179cfff57284e30f5f54e549f0b025196e8d48143f9
4
+ data.tar.gz: 8d7a368139ba75ce443b37fa6027f67a5be05630a62258832294d7d30b3fcd3c
5
5
  SHA512:
6
- metadata.gz: 93323a90fc85d1530179779c211e528ca42988943811e315a8814f77a4969d463405b3afbbb7477ffd84575b7cdce8f444cd3a482f16d96d552a23c8c290a1f2
7
- data.tar.gz: f25ca9d159ad902b113ecf73afee53f410ff9f05770d0ee209d3f6b28a9605c7d7160cfcb27e1867aa1aa21fd709f436131f7be71479a61a2e2d8013ddde4475
6
+ metadata.gz: 7e1946c13545565e568e22ac652fc9067495c572820841e06cc4b2b4fdcc3f74a4dfc6677e2b9905832c9173f190844020a96d65bd38979cf93dab93e857f0cb
7
+ data.tar.gz: 83b91773f278b68b533a8a08d51e03b0dfaea565ce340d9fed0e835147dc6aafff887279839da4a07fca27d2d5db5bd6053dc783dba4b3eccb73e5ca7371b93e
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 2.7+.
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
@@ -1089,6 +1089,13 @@ module Google
1089
1089
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1090
1090
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1091
1091
  # * (`nil`) indicating no credentials
1092
+ #
1093
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1094
+ # external source for authentication to Google Cloud, you must validate it before
1095
+ # providing it to a Google API client library. Providing an unvalidated credential
1096
+ # configuration to Google APIs can compromise the security of your systems and data.
1097
+ # For more information, refer to [Validate credential configurations from external
1098
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1092
1099
  # @return [::Object]
1093
1100
  # @!attribute [rw] scope
1094
1101
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -1024,6 +1024,13 @@ module Google
1024
1024
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1025
1025
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1026
1026
  # * (`nil`) indicating no credentials
1027
+ #
1028
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1029
+ # external source for authentication to Google Cloud, you must validate it before
1030
+ # providing it to a Google API client library. Providing an unvalidated credential
1031
+ # configuration to Google APIs can compromise the security of your systems and data.
1032
+ # For more information, refer to [Validate credential configurations from external
1033
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1027
1034
  # @return [::Object]
1028
1035
  # @!attribute [rw] scope
1029
1036
  # 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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Functions
23
23
  module V2
24
- VERSION = "0.9.0"
24
+ VERSION = "0.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -173,15 +173,21 @@ module Google
173
173
  #
174
174
  # The syntax of the regular expressions accepted is the syntax accepted by
175
175
  # RE2 and described at https://github.com/google/re2/wiki/Syntax
176
+ #
177
+ # Note: The following fields are mutually exclusive: `branch_name`, `tag_name`, `commit_sha`. If a field in that set is populated, all other fields in the set will automatically be cleared.
176
178
  # @!attribute [rw] tag_name
177
179
  # @return [::String]
178
180
  # Regex matching tags to build.
179
181
  #
180
182
  # The syntax of the regular expressions accepted is the syntax accepted by
181
183
  # RE2 and described at https://github.com/google/re2/wiki/Syntax
184
+ #
185
+ # Note: The following fields are mutually exclusive: `tag_name`, `branch_name`, `commit_sha`. If a field in that set is populated, all other fields in the set will automatically be cleared.
182
186
  # @!attribute [rw] commit_sha
183
187
  # @return [::String]
184
188
  # Explicit commit SHA to build.
189
+ #
190
+ # Note: The following fields are mutually exclusive: `commit_sha`, `branch_name`, `tag_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
185
191
  # @!attribute [rw] project_id
186
192
  # @return [::String]
187
193
  # ID of the project that owns the Cloud Source Repository. If omitted, the
@@ -209,15 +215,21 @@ module Google
209
215
  # @!attribute [rw] storage_source
210
216
  # @return [::Google::Cloud::Functions::V2::StorageSource]
211
217
  # If provided, get the source from this location in Google Cloud Storage.
218
+ #
219
+ # Note: The following fields are mutually exclusive: `storage_source`, `repo_source`, `git_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
212
220
  # @!attribute [rw] repo_source
213
221
  # @return [::Google::Cloud::Functions::V2::RepoSource]
214
222
  # If provided, get the source from this location in a Cloud Source
215
223
  # Repository.
224
+ #
225
+ # Note: The following fields are mutually exclusive: `repo_source`, `storage_source`, `git_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
216
226
  # @!attribute [rw] git_uri
217
227
  # @return [::String]
218
228
  # If provided, get the source from GitHub repository. This option is valid
219
229
  # only for GCF 1st Gen function.
220
230
  # Example: https://github.com/<user>/<repo>/blob/<commit>/<path-to-code>
231
+ #
232
+ # Note: The following fields are mutually exclusive: `git_uri`, `storage_source`, `repo_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
221
233
  class Source
222
234
  include ::Google::Protobuf::MessageExts
223
235
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -246,8 +258,10 @@ module Google
246
258
  # given source.
247
259
  # @!attribute [rw] automatic_update_policy
248
260
  # @return [::Google::Cloud::Functions::V2::AutomaticUpdatePolicy]
261
+ # 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.
249
262
  # @!attribute [rw] on_deploy_update_policy
250
263
  # @return [::Google::Cloud::Functions::V2::OnDeployUpdatePolicy]
264
+ # 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.
251
265
  # @!attribute [r] build
252
266
  # @return [::String]
253
267
  # Output only. The Cloud Build name of the latest successful deployment 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-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
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.24.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.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -132,7 +131,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
132
131
  licenses:
133
132
  - Apache-2.0
134
133
  metadata: {}
135
- post_install_message:
136
134
  rdoc_options: []
137
135
  require_paths:
138
136
  - lib
@@ -140,15 +138,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
138
  requirements:
141
139
  - - ">="
142
140
  - !ruby/object:Gem::Version
143
- version: '2.7'
141
+ version: '3.0'
144
142
  required_rubygems_version: !ruby/object:Gem::Requirement
145
143
  requirements:
146
144
  - - ">="
147
145
  - !ruby/object:Gem::Version
148
146
  version: '0'
149
147
  requirements: []
150
- rubygems_version: 3.5.23
151
- signing_key:
148
+ rubygems_version: 3.6.2
152
149
  specification_version: 4
153
150
  summary: Manages lightweight user-provided functions executed in response to events.
154
151
  test_files: []