google-apis-cloudfunctions_v2alpha 0.15.0 → 0.17.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: f169c3d15b52f7fc202faf7ea74ec0ffcf099fca9d5f0ddcc956cc3b8e47ff7c
4
- data.tar.gz: b8260bf2e985967a1c7fbbc5390b36a98478e7ad54713c180ade8c328c10883e
3
+ metadata.gz: f1e629798c28745966fc43cf241f624dba32152f8a91d98838377f07475e6fca
4
+ data.tar.gz: 748812426d65a05be2fd5a0a942729c6c4ebbb035129f4e44b23b9ec713b6222
5
5
  SHA512:
6
- metadata.gz: 36827b317684a55779f3b9684a9840d6f7002483c6f284a53b99c37f8b421a8d146c4d9a3bd911ff9cfc81ea304f4c8409e4fff99ff9458a7c98457a5fe416e4
7
- data.tar.gz: 5e639a45d6ed8260c576a188eb845e4f0387ef5fa80104064fecc39aa991049d12110f26b8ce1eeb23f91b9fa5664c5c63f1eb8961f0f7d4937baa2e75cb6bef
6
+ metadata.gz: c063bd87aa7f90271419ef9e74415686b61b2cad25cb982d9f36aacaf1e3ee848605c8f2ad7c352a12b9665c256a91446f20d64ee37aae34ac4f2499cd0640a6
7
+ data.tar.gz: a9642f0503e4907eb5ccb45452d2f850f1ff4fd06dd736db7c2444084bf85e0972b7dd72055e69578cc4ff6ddaf28d67d32d2952382c24c0073980d6a1b8197e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.17.0 (2022-12-05)
4
+
5
+ * Regenerated from discovery document revision 20221129
6
+
7
+ ### v0.16.0 (2022-11-02)
8
+
9
+ * Regenerated from discovery document revision 20221027
10
+
3
11
  ### v0.15.0 (2022-10-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20221020
@@ -473,7 +473,7 @@ module Google
473
473
  attr_accessor :name
474
474
 
475
475
  # Describes the Service being deployed. Currently Supported : Cloud Run (fully
476
- # managed).
476
+ # managed). Next tag: 23
477
477
  # Corresponds to the JSON property `serviceConfig`
478
478
  # @return [Google::Apis::CloudfunctionsV2alpha::ServiceConfig]
479
479
  attr_accessor :service_config
@@ -1635,7 +1635,7 @@ module Google
1635
1635
  end
1636
1636
 
1637
1637
  # Describes the Service being deployed. Currently Supported : Cloud Run (fully
1638
- # managed).
1638
+ # managed). Next tag: 23
1639
1639
  class ServiceConfig
1640
1640
  include Google::Apis::Core::Hashable
1641
1641
 
@@ -1648,6 +1648,14 @@ module Google
1648
1648
  attr_accessor :all_traffic_on_latest_revision
1649
1649
  alias_method :all_traffic_on_latest_revision?, :all_traffic_on_latest_revision
1650
1650
 
1651
+ # The number of CPUs used in a single container instance. Default value is
1652
+ # calculated from available memory. Supports the same values as Cloud Run, see
1653
+ # https://cloud.google.com/run/docs/reference/rest/v1/Container#
1654
+ # resourcerequirements Example: "1" indicates 1 vCPU
1655
+ # Corresponds to the JSON property `availableCpu`
1656
+ # @return [String]
1657
+ attr_accessor :available_cpu
1658
+
1651
1659
  # The amount of memory available for a function. Defaults to 256M. Supported
1652
1660
  # units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as
1653
1661
  # bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/
@@ -1677,6 +1685,12 @@ module Google
1677
1685
  # @return [Fixnum]
1678
1686
  attr_accessor :max_instance_count
1679
1687
 
1688
+ # Sets the maximum number of concurrent requests that each instance can receive.
1689
+ # Defaults to 1.
1690
+ # Corresponds to the JSON property `maxInstanceRequestConcurrency`
1691
+ # @return [Fixnum]
1692
+ attr_accessor :max_instance_request_concurrency
1693
+
1680
1694
  # The limit on the minimum number of function instances that may coexist at a
1681
1695
  # given time. Function instances are kept in idle state for a short period after
1682
1696
  # they finished executing the request to reduce cold start time for subsequent
@@ -1703,10 +1717,10 @@ module Google
1703
1717
  # @return [Array<Google::Apis::CloudfunctionsV2alpha::SecretVolume>]
1704
1718
  attr_accessor :secret_volumes
1705
1719
 
1706
- # Optional. Security level configure whether the function only accepts https.
1707
- # This configuration is only applicable to 1st Gen functions with Http trigger.
1708
- # By default https is optional for 1st Gen functions; 2nd Gen functions are
1709
- # https ONLY.
1720
+ # Security level configure whether the function only accepts https. This
1721
+ # configuration is only applicable to 1st Gen functions with Http trigger. By
1722
+ # default https is optional for 1st Gen functions; 2nd Gen functions are https
1723
+ # ONLY.
1710
1724
  # Corresponds to the JSON property `securityLevel`
1711
1725
  # @return [String]
1712
1726
  attr_accessor :security_level
@@ -1754,10 +1768,12 @@ module Google
1754
1768
  # Update properties of this object
1755
1769
  def update!(**args)
1756
1770
  @all_traffic_on_latest_revision = args[:all_traffic_on_latest_revision] if args.key?(:all_traffic_on_latest_revision)
1771
+ @available_cpu = args[:available_cpu] if args.key?(:available_cpu)
1757
1772
  @available_memory = args[:available_memory] if args.key?(:available_memory)
1758
1773
  @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
1759
1774
  @ingress_settings = args[:ingress_settings] if args.key?(:ingress_settings)
1760
1775
  @max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
1776
+ @max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
1761
1777
  @min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
1762
1778
  @revision = args[:revision] if args.key?(:revision)
1763
1779
  @secret_environment_variables = args[:secret_environment_variables] if args.key?(:secret_environment_variables)
@@ -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.15.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221020"
25
+ REVISION = "20221129"
26
26
  end
27
27
  end
28
28
  end
@@ -657,10 +657,12 @@ module Google
657
657
  # @private
658
658
  class Representation < Google::Apis::Core::JsonRepresentation
659
659
  property :all_traffic_on_latest_revision, as: 'allTrafficOnLatestRevision'
660
+ property :available_cpu, as: 'availableCpu'
660
661
  property :available_memory, as: 'availableMemory'
661
662
  hash :environment_variables, as: 'environmentVariables'
662
663
  property :ingress_settings, as: 'ingressSettings'
663
664
  property :max_instance_count, as: 'maxInstanceCount'
665
+ property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
664
666
  property :min_instance_count, as: 'minInstanceCount'
665
667
  property :revision, as: 'revision'
666
668
  collection :secret_environment_variables, as: 'secretEnvironmentVariables', class: Google::Apis::CloudfunctionsV2alpha::SecretEnvVar, decorator: Google::Apis::CloudfunctionsV2alpha::SecretEnvVar::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudfunctions_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2alpha
63
63
  post_install_message:
64
64
  rdoc_options: []