google-apis-cloudfunctions_v2alpha 0.48.0 → 0.49.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 +5 -0
- data/lib/google/apis/cloudfunctions_v2alpha/classes.rb +26 -5
- data/lib/google/apis/cloudfunctions_v2alpha/gem_version.rb +3 -3
- data/lib/google/apis/cloudfunctions_v2alpha/representations.rb +13 -0
- data/lib/google/apis/cloudfunctions_v2alpha/service.rb +34 -1
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92b1688bd1241bae85748d964b96739ed69485a8c0f79240f8f1fde633e16423
|
4
|
+
data.tar.gz: 8b605bd4e2c56a10ce067cc5595f1c9137364c65c72ace84eef00a7ae1580996
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2b3649317029dfd04d6dacdee30f03c3078b8080239563cdab1059a17d93caa22d723ad5abb46cc8afd3d1c27a15337c789edb2a9f0378ae3cef2d0e560f28b
|
7
|
+
data.tar.gz: 7c88e7777759fcc81c70029e3b91ba349377e5a98ac0234a13b6fd00028095c42e381232a2b6356fa55c7c3be4f4443e5123a65ea37ad56dbeb1fac55d320ee2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-cloudfunctions_v2alpha
|
2
2
|
|
3
|
+
### v0.49.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250130
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.48.0 (2024-12-02)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241117
|
@@ -240,7 +240,10 @@ module Google
|
|
240
240
|
|
241
241
|
# Docker Registry to use for this deployment. This configuration is only
|
242
242
|
# applicable to 1st Gen functions, 2nd Gen functions can only use Artifact
|
243
|
-
# Registry.
|
243
|
+
# Registry. Deprecated: Container Registry option will no longer be available
|
244
|
+
# after March 2025: https://cloud.google.com/artifact-registry/docs/transition/
|
245
|
+
# transition-from-gcr Please use Artifact Registry instead, which is the default
|
246
|
+
# choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `
|
244
247
|
# docker_repository` field is specified, this field should either be left
|
245
248
|
# unspecified or set to `ARTIFACT_REGISTRY`.
|
246
249
|
# Corresponds to the JSON property `dockerRegistry`
|
@@ -395,6 +398,19 @@ module Google
|
|
395
398
|
end
|
396
399
|
end
|
397
400
|
|
401
|
+
# Request for the `DetachFunction` method.
|
402
|
+
class DetachFunctionRequest
|
403
|
+
include Google::Apis::Core::Hashable
|
404
|
+
|
405
|
+
def initialize(**args)
|
406
|
+
update!(**args)
|
407
|
+
end
|
408
|
+
|
409
|
+
# Update properties of this object
|
410
|
+
def update!(**args)
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
398
414
|
# Filters events based on exact matches on the CloudEvents attributes.
|
399
415
|
class EventFilter
|
400
416
|
include Google::Apis::Core::Hashable
|
@@ -619,6 +635,12 @@ module Google
|
|
619
635
|
# @return [String]
|
620
636
|
attr_accessor :name
|
621
637
|
|
638
|
+
# Output only. Reserved for future use.
|
639
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
640
|
+
# @return [Boolean]
|
641
|
+
attr_accessor :satisfies_pzi
|
642
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
643
|
+
|
622
644
|
# Output only. Reserved for future use.
|
623
645
|
# Corresponds to the JSON property `satisfiesPzs`
|
624
646
|
# @return [Boolean]
|
@@ -647,8 +669,7 @@ module Google
|
|
647
669
|
attr_accessor :update_time
|
648
670
|
|
649
671
|
# Information related to: * A function's eligibility for 1st Gen to 2nd Gen
|
650
|
-
# migration
|
651
|
-
# undergoing migration/detach.
|
672
|
+
# migration. * Current state of migration for function undergoing migration.
|
652
673
|
# Corresponds to the JSON property `upgradeInfo`
|
653
674
|
# @return [Google::Apis::CloudfunctionsV2alpha::UpgradeInfo]
|
654
675
|
attr_accessor :upgrade_info
|
@@ -672,6 +693,7 @@ module Google
|
|
672
693
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
673
694
|
@labels = args[:labels] if args.key?(:labels)
|
674
695
|
@name = args[:name] if args.key?(:name)
|
696
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
675
697
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
676
698
|
@service_config = args[:service_config] if args.key?(:service_config)
|
677
699
|
@state = args[:state] if args.key?(:state)
|
@@ -2045,8 +2067,7 @@ module Google
|
|
2045
2067
|
end
|
2046
2068
|
|
2047
2069
|
# Information related to: * A function's eligibility for 1st Gen to 2nd Gen
|
2048
|
-
# migration
|
2049
|
-
# undergoing migration/detach.
|
2070
|
+
# migration. * Current state of migration for function undergoing migration.
|
2050
2071
|
class UpgradeInfo
|
2051
2072
|
include Google::Apis::Core::Hashable
|
2052
2073
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudfunctionsV2alpha
|
18
18
|
# Version of the google-apis-cloudfunctions_v2alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class DetachFunctionRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class EventFilter
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -375,6 +381,12 @@ module Google
|
|
375
381
|
end
|
376
382
|
end
|
377
383
|
|
384
|
+
class DetachFunctionRequest
|
385
|
+
# @private
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
378
390
|
class EventFilter
|
379
391
|
# @private
|
380
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -423,6 +435,7 @@ module Google
|
|
423
435
|
property :kms_key_name, as: 'kmsKeyName'
|
424
436
|
hash :labels, as: 'labels'
|
425
437
|
property :name, as: 'name'
|
438
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
426
439
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
427
440
|
property :service_config, as: 'serviceConfig', class: Google::Apis::CloudfunctionsV2alpha::ServiceConfig, decorator: Google::Apis::CloudfunctionsV2alpha::ServiceConfig::Representation
|
428
441
|
|
@@ -237,6 +237,39 @@ module Google
|
|
237
237
|
execute_or_queue_command(command, &block)
|
238
238
|
end
|
239
239
|
|
240
|
+
# Detaches 2nd Gen function to Cloud Run function.
|
241
|
+
# @param [String] name
|
242
|
+
# Required. The name of the function for which should be detached.
|
243
|
+
# @param [Google::Apis::CloudfunctionsV2alpha::DetachFunctionRequest] detach_function_request_object
|
244
|
+
# @param [String] fields
|
245
|
+
# Selector specifying which fields to include in a partial response.
|
246
|
+
# @param [String] quota_user
|
247
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
248
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
249
|
+
# @param [Google::Apis::RequestOptions] options
|
250
|
+
# Request-specific options
|
251
|
+
#
|
252
|
+
# @yield [result, err] Result & error if block supplied
|
253
|
+
# @yieldparam result [Google::Apis::CloudfunctionsV2alpha::Operation] parsed result object
|
254
|
+
# @yieldparam err [StandardError] error object if request failed
|
255
|
+
#
|
256
|
+
# @return [Google::Apis::CloudfunctionsV2alpha::Operation]
|
257
|
+
#
|
258
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
259
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
260
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
261
|
+
def detach_function(name, detach_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
262
|
+
command = make_simple_command(:post, 'v2alpha/{+name}:detachFunction', options)
|
263
|
+
command.request_representation = Google::Apis::CloudfunctionsV2alpha::DetachFunctionRequest::Representation
|
264
|
+
command.request_object = detach_function_request_object
|
265
|
+
command.response_representation = Google::Apis::CloudfunctionsV2alpha::Operation::Representation
|
266
|
+
command.response_class = Google::Apis::CloudfunctionsV2alpha::Operation
|
267
|
+
command.params['name'] = name unless name.nil?
|
268
|
+
command.query['fields'] = fields unless fields.nil?
|
269
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
270
|
+
execute_or_queue_command(command, &block)
|
271
|
+
end
|
272
|
+
|
240
273
|
# Returns a signed URL for downloading deployed function source code. The URL is
|
241
274
|
# only valid for a limited period and should be used within 30 minutes of
|
242
275
|
# generation. For more information about the signed URL usage see: https://cloud.
|
@@ -415,7 +448,7 @@ module Google
|
|
415
448
|
# syntax outlined in https://google.aip.dev/160.
|
416
449
|
# @param [String] order_by
|
417
450
|
# The sorting order of the resources returned. Value should be a comma separated
|
418
|
-
# list of fields. The default sorting
|
451
|
+
# list of fields. The default sorting order is ascending. See https://google.aip.
|
419
452
|
# dev/132#ordering.
|
420
453
|
# @param [Fixnum] page_size
|
421
454
|
# Maximum number of functions to return per call. The largest allowed page_size
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudfunctions_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.49.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-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.49.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2alpha
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Cloud Functions API V2alpha
|
82
79
|
test_files: []
|