google-apis-cloudfunctions_v2 0.56.0 → 0.57.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: b0dbff813840c41ff14e5c4c94c009d1ae486e198b713cdda97ef70a13be6a0d
4
- data.tar.gz: 11d7a290ce520571296dbdfeea78abdecca0678261a6c760093392757297f1cf
3
+ metadata.gz: ebc7360a56fb75a86497ff1b08e4a38e17119c5a801ec188bfc8340861ba2f6f
4
+ data.tar.gz: 72d789aa4f627754e56fc724e04cb84c56fb142f5e837d9072f1cc6e5501ad90
5
5
  SHA512:
6
- metadata.gz: 5438a1bbf0390238bf16bb5ae50dded3b736722f778ee39be30747fb106ce6c9e7845b55ecbdcabee8bc03d99a7550907e802304671b44ba99606f2099f12524
7
- data.tar.gz: 0e6ad6f5e89b7e7804798545ae9b460516af823c75bebcd810e157d7746f574fa5d2da564c87dcbada4acc3c9232c81d188d225bfd849f44c0d9f77751c427b3
6
+ metadata.gz: 79d30f59358928ca1988dfb206b024c06a0ea0b3ca3b667eb3ab8172f26eb760b8ad34f4e924205f742f2baec285141058aea0e75339c2454797c7b6baf2a265
7
+ data.tar.gz: 63c55b4897165c0c70c4313bfa2deb69aa243727a850af496546ab3e0766d0a5e2e9f64ff2bbf4ad9c3678c5925e08f32c61815b71caa786fe57738a8434199b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudfunctions_v2
2
2
 
3
+ ### v0.57.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251204
6
+
3
7
  ### v0.56.0 (2025-11-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20251023
@@ -344,6 +344,19 @@ module Google
344
344
  end
345
345
  end
346
346
 
347
+ # Request for the `CommitFunctionUpgradeAsGen2` method.
348
+ class CommitFunctionUpgradeAsGen2Request
349
+ include Google::Apis::Core::Hashable
350
+
351
+ def initialize(**args)
352
+ update!(**args)
353
+ end
354
+
355
+ # Update properties of this object
356
+ def update!(**args)
357
+ end
358
+ end
359
+
347
360
  # Request for the `CommitFunctionUpgrade` method.
348
361
  class CommitFunctionUpgradeRequest
349
362
  include Google::Apis::Core::Hashable
@@ -1070,8 +1083,9 @@ module Google
1070
1083
  attr_accessor :operations
1071
1084
 
1072
1085
  # Unordered list. Unreachable resources. Populated when the request sets `
1073
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1074
- # when attempting to list all resources across all supported locations.
1086
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1087
+ # For example, when attempting to list all resources across all supported
1088
+ # locations.
1075
1089
  # Corresponds to the JSON property `unreachable`
1076
1090
  # @return [Array<String>]
1077
1091
  attr_accessor :unreachable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudfunctionsV2
18
18
  # Version of the google-apis-cloudfunctions_v2 gem
19
- GEM_VERSION = "0.56.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251023"
25
+ REVISION = "20251204"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class CommitFunctionUpgradeAsGen2Request
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class CommitFunctionUpgradeRequest
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -366,6 +372,12 @@ module Google
366
372
  end
367
373
  end
368
374
 
375
+ class CommitFunctionUpgradeAsGen2Request
376
+ # @private
377
+ class Representation < Google::Apis::Core::JsonRepresentation
378
+ end
379
+ end
380
+
369
381
  class CommitFunctionUpgradeRequest
370
382
  # @private
371
383
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -168,6 +168,42 @@ module Google
168
168
  execute_or_queue_command(command, &block)
169
169
  end
170
170
 
171
+ # Commits a function upgrade from GCF Gen1 to GCF Gen2. This action deletes the
172
+ # Gen1 function, leaving the Gen2 function active and manageable by the GCFv2
173
+ # API.
174
+ # @param [String] name
175
+ # Required. The name of the function for which upgrade should be committed to
176
+ # Gen2.
177
+ # @param [Google::Apis::CloudfunctionsV2::CommitFunctionUpgradeAsGen2Request] commit_function_upgrade_as_gen2_request_object
178
+ # @param [String] fields
179
+ # Selector specifying which fields to include in a partial response.
180
+ # @param [String] quota_user
181
+ # Available to use for quota purposes for server-side applications. Can be any
182
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
183
+ # @param [Google::Apis::RequestOptions] options
184
+ # Request-specific options
185
+ #
186
+ # @yield [result, err] Result & error if block supplied
187
+ # @yieldparam result [Google::Apis::CloudfunctionsV2::Operation] parsed result object
188
+ # @yieldparam err [StandardError] error object if request failed
189
+ #
190
+ # @return [Google::Apis::CloudfunctionsV2::Operation]
191
+ #
192
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
193
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
194
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
195
+ def commit_function_upgrade_as_gen2(name, commit_function_upgrade_as_gen2_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
196
+ command = make_simple_command(:post, 'v2/{+name}:commitFunctionUpgradeAsGen2', options)
197
+ command.request_representation = Google::Apis::CloudfunctionsV2::CommitFunctionUpgradeAsGen2Request::Representation
198
+ command.request_object = commit_function_upgrade_as_gen2_request_object
199
+ command.response_representation = Google::Apis::CloudfunctionsV2::Operation::Representation
200
+ command.response_class = Google::Apis::CloudfunctionsV2::Operation
201
+ command.params['name'] = name unless name.nil?
202
+ command.query['fields'] = fields unless fields.nil?
203
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
204
+ execute_or_queue_command(command, &block)
205
+ end
206
+
171
207
  # Creates a new function. If a function with the given name already exists in
172
208
  # the specified project, the long running operation will return `ALREADY_EXISTS`
173
209
  # error.
@@ -761,11 +797,12 @@ module Google
761
797
  # The standard list page token.
762
798
  # @param [Boolean] return_partial_success
763
799
  # When set to `true`, operations that are reachable are returned as normal, and
764
- # those that are unreachable are returned in the [ListOperationsResponse.
765
- # unreachable] field. This can only be `true` when reading across collections e.
766
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
767
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
768
- # explicitly documented otherwise in service or product specific documentation.
800
+ # those that are unreachable are returned in the ListOperationsResponse.
801
+ # unreachable field. This can only be `true` when reading across collections.
802
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
803
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
804
+ # if set unless explicitly documented otherwise in service or product specific
805
+ # documentation.
769
806
  # @param [String] fields
770
807
  # Selector specifying which fields to include in a partial response.
771
808
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudfunctions_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2/v0.56.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2/v0.57.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2
62
62
  rdoc_options: []
63
63
  require_paths: