google-apis-cloudfunctions_v2 0.57.0 → 0.58.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: ebc7360a56fb75a86497ff1b08e4a38e17119c5a801ec188bfc8340861ba2f6f
4
- data.tar.gz: 72d789aa4f627754e56fc724e04cb84c56fb142f5e837d9072f1cc6e5501ad90
3
+ metadata.gz: b77d16f7448559f5e543c4ac1d57f6b9833d9878e1a2bd54b8de57a1c5366bc1
4
+ data.tar.gz: '0428835a7096c6b7bc88980c4f0eb40c3f11716b23aa51a2d79c8714eef18271'
5
5
  SHA512:
6
- metadata.gz: 79d30f59358928ca1988dfb206b024c06a0ea0b3ca3b667eb3ab8172f26eb760b8ad34f4e924205f742f2baec285141058aea0e75339c2454797c7b6baf2a265
7
- data.tar.gz: 63c55b4897165c0c70c4313bfa2deb69aa243727a850af496546ab3e0766d0a5e2e9f64ff2bbf4ad9c3678c5925e08f32c61815b71caa786fe57738a8434199b
6
+ metadata.gz: 595ee62eeb27173ed37c5361d7bed2184b890c91f50c5d022645be94f8f85c3b0546c303fd1c3a610445f8fa9e97145294d157d86465f32325313c7f7aefeeac
7
+ data.tar.gz: 9b4f62044e61a2df104ae8b09d7c5acf4450c7ef7f4e6bb06fcadc82ae5f1bd178b18e1d38efa5cd7957fb2412876bdc09e908a1038f799b05a56dba31ee6dbc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudfunctions_v2
2
2
 
3
+ ### v0.58.0 (2026-01-11)
4
+
5
+ * Regenerated from discovery document revision 20260101
6
+
3
7
  ### v0.57.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
@@ -1844,6 +1869,27 @@ module Google
1844
1869
  end
1845
1870
  end
1846
1871
 
1872
+ # Contains overrides related to the function's service configuration.
1873
+ class ServiceConfigOverrides
1874
+ include Google::Apis::Core::Hashable
1875
+
1876
+ # Optional. Specifies the maximum number of instances for the new Cloud Run
1877
+ # function. If provided, this overrides the max_instance_count setting of the
1878
+ # Gen1 function.
1879
+ # Corresponds to the JSON property `maxInstanceCount`
1880
+ # @return [Fixnum]
1881
+ attr_accessor :max_instance_count
1882
+
1883
+ def initialize(**args)
1884
+ update!(**args)
1885
+ end
1886
+
1887
+ # Update properties of this object
1888
+ def update!(**args)
1889
+ @max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
1890
+ end
1891
+ end
1892
+
1847
1893
  # Request message for `SetIamPolicy` method.
1848
1894
  class SetIamPolicyRequest
1849
1895
  include Google::Apis::Core::Hashable
@@ -1901,6 +1947,16 @@ module Google
1901
1947
  class SetupFunctionUpgradeConfigRequest
1902
1948
  include Google::Apis::Core::Hashable
1903
1949
 
1950
+ # Contains overrides related to the function's build configuration.
1951
+ # Corresponds to the JSON property `buildConfigOverrides`
1952
+ # @return [Google::Apis::CloudfunctionsV2::BuildConfigOverrides]
1953
+ attr_accessor :build_config_overrides
1954
+
1955
+ # Contains overrides related to the function's service configuration.
1956
+ # Corresponds to the JSON property `serviceConfigOverrides`
1957
+ # @return [Google::Apis::CloudfunctionsV2::ServiceConfigOverrides]
1958
+ attr_accessor :service_config_overrides
1959
+
1904
1960
  # Optional. The trigger's service account. The service account must have
1905
1961
  # permission to invoke Cloud Run services, the permission is `run.routes.invoke`.
1906
1962
  # If empty, defaults to the Compute Engine default service account: ``
@@ -1915,6 +1971,8 @@ module Google
1915
1971
 
1916
1972
  # Update properties of this object
1917
1973
  def update!(**args)
1974
+ @build_config_overrides = args[:build_config_overrides] if args.key?(:build_config_overrides)
1975
+ @service_config_overrides = args[:service_config_overrides] if args.key?(:service_config_overrides)
1918
1976
  @trigger_service_account = args[:trigger_service_account] if args.key?(:trigger_service_account)
1919
1977
  end
1920
1978
  end
@@ -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.57.0"
19
+ GEM_VERSION = "0.58.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
 
@@ -256,6 +262,12 @@ module Google
256
262
  include Google::Apis::Core::JsonObjectSupport
257
263
  end
258
264
 
265
+ class ServiceConfigOverrides
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
259
271
  class SetIamPolicyRequest
260
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
273
 
@@ -372,6 +384,13 @@ module Google
372
384
  end
373
385
  end
374
386
 
387
+ class BuildConfigOverrides
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :runtime, as: 'runtime'
391
+ end
392
+ end
393
+
375
394
  class CommitFunctionUpgradeAsGen2Request
376
395
  # @private
377
396
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -728,6 +747,13 @@ module Google
728
747
  end
729
748
  end
730
749
 
750
+ class ServiceConfigOverrides
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ property :max_instance_count, as: 'maxInstanceCount'
754
+ end
755
+ end
756
+
731
757
  class SetIamPolicyRequest
732
758
  # @private
733
759
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -740,6 +766,10 @@ module Google
740
766
  class SetupFunctionUpgradeConfigRequest
741
767
  # @private
742
768
  class Representation < Google::Apis::Core::JsonRepresentation
769
+ property :build_config_overrides, as: 'buildConfigOverrides', class: Google::Apis::CloudfunctionsV2::BuildConfigOverrides, decorator: Google::Apis::CloudfunctionsV2::BuildConfigOverrides::Representation
770
+
771
+ property :service_config_overrides, as: 'serviceConfigOverrides', class: Google::Apis::CloudfunctionsV2::ServiceConfigOverrides, decorator: Google::Apis::CloudfunctionsV2::ServiceConfigOverrides::Representation
772
+
743
773
  property :trigger_service_account, as: 'triggerServiceAccount'
744
774
  end
745
775
  end
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.57.0
4
+ version: 0.58.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.57.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2/v0.58.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: