google-apis-cloudfunctions_v2beta 0.15.0 → 0.17.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: 1b955982992f9971c017725f08684e3b2cd6b0a3ace637a8f12b4e20f6f32e97
4
- data.tar.gz: 3aa76540e32168a12b48320e71f369f09579af7f8d33d06e62ecdb06247faf66
3
+ metadata.gz: 410e6a9e438b03ef1d0ae193f91a1a5c4e7bdd2d67b84aa6bd9aeb0969aed841
4
+ data.tar.gz: 267d72d66b3aad802719e1ba57dac8fc61c649ae0b91fbc8c81071ecbe389bd7
5
5
  SHA512:
6
- metadata.gz: eabeb0694119b55d48f58fef5cb646ef77868c76d6cab2b268bdcec86a1e775cc9741cf3ed20ba020d7ac1ef32259957a26f2d4bafa42876163376be0b990910
7
- data.tar.gz: 87f55d77124ac6179490a28b20cb9e0a2b50b8dcd3180604875dc10aa55e44655b689a1bb742a86c6525d96d9076e46d9b8b368331263c94eba6f454a62a4740
6
+ metadata.gz: c640115b63671986c51bf020832329479653abfc994cfb596fd2aade0bdf432c2cfbcc859d2646e85cbb60cc80fa93c3836bac88d0097accf450a748da7011df
7
+ data.tar.gz: '08c0b80bb09f92b3449969a101152a93e32953aa30dcb72fcfd8cf31ccb86e1caa921c2d81052b43c2aa455a4d6c3bd88a60c73af1ef25d5821a05e25b829cb8'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudfunctions_v2beta
2
2
 
3
+ ### v0.17.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230202
6
+ * Regenerated using generator version 0.11.1
7
+
8
+ ### v0.16.0 (2022-12-10)
9
+
10
+ * Regenerated from discovery document revision 20221207
11
+
3
12
  ### v0.15.0 (2022-11-01)
4
13
 
5
14
  * Regenerated from discovery document revision 20221027
@@ -131,22 +131,22 @@ module Google
131
131
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
132
132
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
133
133
  # email address that represents a Google group. For example, `admins@example.com`
134
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
135
- # identifier) representing a user that has been recently deleted. For example, `
136
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
137
- # value reverts to `user:`emailid`` and the recovered user retains the role in
138
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
139
- # address (plus unique identifier) representing a service account that has been
140
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
134
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
135
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
136
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
137
+ # representing a user that has been recently deleted. For example, `alice@
138
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
139
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
140
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
141
+ # (plus unique identifier) representing a service account that has been recently
142
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
141
143
  # 123456789012345678901`. If the service account is undeleted, this value
142
144
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
143
145
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
144
146
  # An email address (plus unique identifier) representing a Google group that has
145
147
  # been recently deleted. For example, `admins@example.com?uid=
146
148
  # 123456789012345678901`. If the group is recovered, this value reverts to `
147
- # group:`emailid`` and the recovered group retains the role in the binding. * `
148
- # domain:`domain``: The G Suite domain (primary) that represents all the users
149
- # of that domain. For example, `google.com` or `example.com`.
149
+ # group:`emailid`` and the recovered group retains the role in the binding.
150
150
  # Corresponds to the JSON property `members`
151
151
  # @return [Array<String>]
152
152
  attr_accessor :members
@@ -451,7 +451,7 @@ module Google
451
451
  # @return [String]
452
452
  attr_accessor :description
453
453
 
454
- # Describe whether the function is gen1 or gen2.
454
+ # Describe whether the function is 1st Gen or 2nd Gen.
455
455
  # Corresponds to the JSON property `environment`
456
456
  # @return [String]
457
457
  attr_accessor :environment
@@ -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::CloudfunctionsV2beta::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 CloudfunctionsV2beta
18
18
  # Version of the google-apis-cloudfunctions_v2beta 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
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221027"
25
+ REVISION = "20230202"
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::CloudfunctionsV2beta::SecretEnvVar, decorator: Google::Apis::CloudfunctionsV2beta::SecretEnvVar::Representation
@@ -339,7 +339,10 @@ module Google
339
339
  # list of fields. The default sorting oder is ascending. See https://google.aip.
340
340
  # dev/132#ordering.
341
341
  # @param [Fixnum] page_size
342
- # Maximum number of functions to return per call.
342
+ # Maximum number of functions to return per call. The largest allowed page_size
343
+ # is 1,000, if the page_size is omitted or specified as greater than 1,000 then
344
+ # it will be replaced as 1,000. The size of the list response can be less than
345
+ # specified when used with filters.
343
346
  # @param [String] page_token
344
347
  # The value returned by the last `ListFunctionsResponse`; indicates that this is
345
348
  # a continuation of a prior `ListFunctions` call, and that the system should
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudfunctions_v2beta
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-11-07 00:00:00.000000000 Z
11
+ date: 2023-02-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_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2beta/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2beta/v0.17.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2beta
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Functions API V2beta