google-apis-cloudfunctions_v2alpha 0.58.0 → 0.59.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: eaf47d06a8a31b520ef37da9f1db349093ec04aa891e26350ade6b0b55773427
4
- data.tar.gz: f4908e77c72c02d6c324b1797d6289e5183853fb8d981649609a885d375af090
3
+ metadata.gz: 65ba01ca5f8658854a540215929d87323638511b09015a0e651fcb331d991d57
4
+ data.tar.gz: 1a9abfa3d4620bd46af2525b391e648567f865474c9d9dece7c35381818144e7
5
5
  SHA512:
6
- metadata.gz: dffe4fa91f3ec5f11af48f0c5e36ad0526cdb9926d1ffca8c4fb123f29178b361b8aa08868efde82ae74c33f8e56691fdfd14b69ec3ccc1357efd4ced3f307e4
7
- data.tar.gz: f8971be1d76084840bb132d8a5b8e633722b8003ab71a82773d4a0bf9a93ff3ee955523f7252f2b42eb1145eed5b01ee667625c3481a5c8d4a764bb31459055b
6
+ metadata.gz: 0c818e42f3ac30e20b7e548fb982a8b97de455c87eef9ca449856ee79231a9a38154ff0b927b0985b5355b2d97ac24ced6903240901bf2f9eefa04bc677202af
7
+ data.tar.gz: 434545630725d21134548838b652cef175575ebce94c44bd83ed2de1489742b34ebd22df30ac4da579202f60dad88c0d4cc1a2625e97426d6f4fa89d5b8284a3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.59.0 (2026-01-11)
4
+
5
+ * Regenerated from discovery document revision 20260101
6
+
3
7
  ### v0.58.0 (2025-12-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20251204
@@ -344,6 +344,31 @@ module Google
344
344
  end
345
345
  end
346
346
 
347
+ # Contains overrides related to the function's build configuration.
348
+ class BuildConfigOverrides
349
+ include Google::Apis::Core::Hashable
350
+
351
+ # Optional. Specifies the desired runtime for the new Cloud Run function. (e.g.,
352
+ # `"nodejs20"`, `"python312"`). Constraints: 1. This field CANNOT be used to
353
+ # change the runtime language (e.g., from `NODEJS` to `PYTHON`). The backend
354
+ # will enforce this. 2. This field can ONLY be used to upgrade the runtime
355
+ # version (e.g., `nodejs18` to `nodejs20`). Downgrading the version is not
356
+ # permitted. The backend will validate the version change. If provided and valid,
357
+ # this overrides the runtime of the Gen1 function.
358
+ # Corresponds to the JSON property `runtime`
359
+ # @return [String]
360
+ attr_accessor :runtime
361
+
362
+ def initialize(**args)
363
+ update!(**args)
364
+ end
365
+
366
+ # Update properties of this object
367
+ def update!(**args)
368
+ @runtime = args[:runtime] if args.key?(:runtime)
369
+ end
370
+ end
371
+
347
372
  # Request for the `CommitFunctionUpgradeAsGen2` method.
348
373
  class CommitFunctionUpgradeAsGen2Request
349
374
  include Google::Apis::Core::Hashable
@@ -1896,6 +1921,27 @@ module Google
1896
1921
  end
1897
1922
  end
1898
1923
 
1924
+ # Contains overrides related to the function's service configuration.
1925
+ class ServiceConfigOverrides
1926
+ include Google::Apis::Core::Hashable
1927
+
1928
+ # Optional. Specifies the maximum number of instances for the new Cloud Run
1929
+ # function. If provided, this overrides the max_instance_count setting of the
1930
+ # Gen1 function.
1931
+ # Corresponds to the JSON property `maxInstanceCount`
1932
+ # @return [Fixnum]
1933
+ attr_accessor :max_instance_count
1934
+
1935
+ def initialize(**args)
1936
+ update!(**args)
1937
+ end
1938
+
1939
+ # Update properties of this object
1940
+ def update!(**args)
1941
+ @max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
1942
+ end
1943
+ end
1944
+
1899
1945
  # Request message for `SetIamPolicy` method.
1900
1946
  class SetIamPolicyRequest
1901
1947
  include Google::Apis::Core::Hashable
@@ -1953,6 +1999,16 @@ module Google
1953
1999
  class SetupFunctionUpgradeConfigRequest
1954
2000
  include Google::Apis::Core::Hashable
1955
2001
 
2002
+ # Contains overrides related to the function's build configuration.
2003
+ # Corresponds to the JSON property `buildConfigOverrides`
2004
+ # @return [Google::Apis::CloudfunctionsV2alpha::BuildConfigOverrides]
2005
+ attr_accessor :build_config_overrides
2006
+
2007
+ # Contains overrides related to the function's service configuration.
2008
+ # Corresponds to the JSON property `serviceConfigOverrides`
2009
+ # @return [Google::Apis::CloudfunctionsV2alpha::ServiceConfigOverrides]
2010
+ attr_accessor :service_config_overrides
2011
+
1956
2012
  # Optional. The trigger's service account. The service account must have
1957
2013
  # permission to invoke Cloud Run services, the permission is `run.routes.invoke`.
1958
2014
  # If empty, defaults to the Compute Engine default service account: ``
@@ -1967,6 +2023,8 @@ module Google
1967
2023
 
1968
2024
  # Update properties of this object
1969
2025
  def update!(**args)
2026
+ @build_config_overrides = args[:build_config_overrides] if args.key?(:build_config_overrides)
2027
+ @service_config_overrides = args[:service_config_overrides] if args.key?(:service_config_overrides)
1970
2028
  @trigger_service_account = args[:trigger_service_account] if args.key?(:trigger_service_account)
1971
2029
  end
1972
2030
  end
@@ -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.58.0"
19
+ GEM_VERSION = "0.59.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 = "20251204"
25
+ REVISION = "20260101"
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 BuildConfigOverrides
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class CommitFunctionUpgradeAsGen2Request
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -262,6 +268,12 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class ServiceConfigOverrides
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class SetIamPolicyRequest
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -378,6 +390,13 @@ module Google
378
390
  end
379
391
  end
380
392
 
393
+ class BuildConfigOverrides
394
+ # @private
395
+ class Representation < Google::Apis::Core::JsonRepresentation
396
+ property :runtime, as: 'runtime'
397
+ end
398
+ end
399
+
381
400
  class CommitFunctionUpgradeAsGen2Request
382
401
  # @private
383
402
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -746,6 +765,13 @@ module Google
746
765
  end
747
766
  end
748
767
 
768
+ class ServiceConfigOverrides
769
+ # @private
770
+ class Representation < Google::Apis::Core::JsonRepresentation
771
+ property :max_instance_count, as: 'maxInstanceCount'
772
+ end
773
+ end
774
+
749
775
  class SetIamPolicyRequest
750
776
  # @private
751
777
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -758,6 +784,10 @@ module Google
758
784
  class SetupFunctionUpgradeConfigRequest
759
785
  # @private
760
786
  class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :build_config_overrides, as: 'buildConfigOverrides', class: Google::Apis::CloudfunctionsV2alpha::BuildConfigOverrides, decorator: Google::Apis::CloudfunctionsV2alpha::BuildConfigOverrides::Representation
788
+
789
+ property :service_config_overrides, as: 'serviceConfigOverrides', class: Google::Apis::CloudfunctionsV2alpha::ServiceConfigOverrides, decorator: Google::Apis::CloudfunctionsV2alpha::ServiceConfigOverrides::Representation
790
+
761
791
  property :trigger_service_account, as: 'triggerServiceAccount'
762
792
  end
763
793
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudfunctions_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.59.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_v2alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.58.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.59.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2alpha
62
62
  rdoc_options: []
63
63
  require_paths: