google-apis-cloudfunctions_v2alpha 0.1.0 → 0.4.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: f4695037ca1a896897e2add6fa08748c1e7c18604e15fcefdd57579a47e90f0c
4
- data.tar.gz: '08f15656488774ca267a3e66730d3e321c875174fd6ea1b81707f6879f778ffd'
3
+ metadata.gz: 73cce0bd244739423eeea760eb0a74ef110c8abfd34bd00d8509c71a1096c172
4
+ data.tar.gz: 7a5881a332c96250f2d9aec28e72d80754cff340bfdfea178974bcb865fb2ad4
5
5
  SHA512:
6
- metadata.gz: 1e6a13d4239dc68984f4925d9220eba6f4478154d28d81e84a66c6da1443f845c92554d1d9f1cc66925537e58676653b9375c63912c8947d8d79c2c704081c94
7
- data.tar.gz: a4b5e946a018a34e4c7a06dff9e0a11532310111e68787eb4192d8e018ee8493e0f2daf8b77a8aea9280b68b6f17bf67009d83c14f9b8e2f30799c17efb017ea
6
+ metadata.gz: 83a872db351de228258a355b7ffd986323399ddff75cbc34b4bf01fcdf95edbf545c8ebd3fc75514aee2c39000e8dd46c0a8653fc71c1421a091ba9f8f920c07
7
+ data.tar.gz: e1cbf92b21d1768d808cf1fe9de4eefdf2ff7d41993f2bea281d53f0ff9b7a2923c6584d684908beb596aa07f2fa041524fee358d2703bd2f4914cb98b5d4feb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.4.0 (2022-04-22)
4
+
5
+ * Regenerated from discovery document revision 20220413
6
+
7
+ ### v0.3.0 (2022-04-09)
8
+
9
+ * Regenerated from discovery document revision 20220331
10
+
11
+ ### v0.2.0 (2022-03-25)
12
+
13
+ * Regenerated from discovery document revision 20220317
14
+
3
15
  ### v0.1.0 (2022-02-15)
4
16
 
5
17
  * Regenerated from discovery document revision 20220203
@@ -116,7 +116,7 @@ module Google
116
116
  # @return [Google::Apis::CloudfunctionsV2alpha::Expr]
117
117
  attr_accessor :condition
118
118
 
119
- # Specifies the principals requesting access for a Cloud Platform resource. `
119
+ # Specifies the principals requesting access for a Google Cloud resource. `
120
120
  # members` can have the following values: * `allUsers`: A special identifier
121
121
  # that represents anyone who is on the internet; with or without a Google
122
122
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -258,6 +258,14 @@ module Google
258
258
  # @return [String]
259
259
  attr_accessor :attribute
260
260
 
261
+ # Optional. The operator used for matching the events with the value of the
262
+ # filter. If not specified, only events that have an exact key-value pair
263
+ # specified in the filter are matched. The only allowed value is `match-path-
264
+ # pattern`.
265
+ # Corresponds to the JSON property `operator`
266
+ # @return [String]
267
+ attr_accessor :operator
268
+
261
269
  # Required. The value for the attribute.
262
270
  # Corresponds to the JSON property `value`
263
271
  # @return [String]
@@ -270,6 +278,7 @@ module Google
270
278
  # Update properties of this object
271
279
  def update!(**args)
272
280
  @attribute = args[:attribute] if args.key?(:attribute)
281
+ @operator = args[:operator] if args.key?(:operator)
273
282
  @value = args[:value] if args.key?(:value)
274
283
  end
275
284
  end
@@ -1326,6 +1335,50 @@ module Google
1326
1335
  end
1327
1336
  end
1328
1337
 
1338
+ # Configuration for a secret environment variable. It has the information
1339
+ # necessary to fetch the secret value from secret manager and expose it as an
1340
+ # environment variable.
1341
+ class SecretEnvVar
1342
+ include Google::Apis::Core::Hashable
1343
+
1344
+ # Name of the environment variable.
1345
+ # Corresponds to the JSON property `key`
1346
+ # @return [String]
1347
+ attr_accessor :key
1348
+
1349
+ # Project identifier (preferably project number but can also be the project ID)
1350
+ # of the project that contains the secret. If not set, it will be populated with
1351
+ # the function's project assuming that the secret exists in the same project as
1352
+ # of the function.
1353
+ # Corresponds to the JSON property `projectId`
1354
+ # @return [String]
1355
+ attr_accessor :project_id
1356
+
1357
+ # Name of the secret in secret manager (not the full resource name).
1358
+ # Corresponds to the JSON property `secret`
1359
+ # @return [String]
1360
+ attr_accessor :secret
1361
+
1362
+ # Version of the secret (version number or the string 'latest'). It is
1363
+ # recommended to use a numeric version for secret environment variables as any
1364
+ # updates to the secret value is not reflected until new instances start.
1365
+ # Corresponds to the JSON property `version`
1366
+ # @return [String]
1367
+ attr_accessor :version
1368
+
1369
+ def initialize(**args)
1370
+ update!(**args)
1371
+ end
1372
+
1373
+ # Update properties of this object
1374
+ def update!(**args)
1375
+ @key = args[:key] if args.key?(:key)
1376
+ @project_id = args[:project_id] if args.key?(:project_id)
1377
+ @secret = args[:secret] if args.key?(:secret)
1378
+ @version = args[:version] if args.key?(:version)
1379
+ end
1380
+ end
1381
+
1329
1382
  # Describes the Service being deployed. Currently Supported : Cloud Run (fully
1330
1383
  # managed).
1331
1384
  class ServiceConfig
@@ -1380,6 +1433,16 @@ module Google
1380
1433
  # @return [Fixnum]
1381
1434
  attr_accessor :min_instance_count
1382
1435
 
1436
+ # Output only. The name of service revision.
1437
+ # Corresponds to the JSON property `revision`
1438
+ # @return [String]
1439
+ attr_accessor :revision
1440
+
1441
+ # Secret environment variables configuration.
1442
+ # Corresponds to the JSON property `secretEnvironmentVariables`
1443
+ # @return [Array<Google::Apis::CloudfunctionsV2alpha::SecretEnvVar>]
1444
+ attr_accessor :secret_environment_variables
1445
+
1383
1446
  # Output only. Name of the service associated with a Function. The format of
1384
1447
  # this field is `projects/`project`/locations/`region`/services/`service``
1385
1448
  # Corresponds to the JSON property `service`
@@ -1428,6 +1491,8 @@ module Google
1428
1491
  @ingress_settings = args[:ingress_settings] if args.key?(:ingress_settings)
1429
1492
  @max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
1430
1493
  @min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
1494
+ @revision = args[:revision] if args.key?(:revision)
1495
+ @secret_environment_variables = args[:secret_environment_variables] if args.key?(:secret_environment_variables)
1431
1496
  @service = args[:service] if args.key?(:service)
1432
1497
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
1433
1498
  @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
@@ -1620,7 +1685,7 @@ module Google
1620
1685
  include Google::Apis::Core::Hashable
1621
1686
 
1622
1687
  # The set of permissions to check for the `resource`. Permissions with wildcards
1623
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1688
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
1624
1689
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1625
1690
  # Corresponds to the JSON property `permissions`
1626
1691
  # @return [Array<String>]
@@ -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.1.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220203"
25
+ REVISION = "20220413"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class SecretEnvVar
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class ServiceConfig
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -285,6 +291,7 @@ module Google
285
291
  # @private
286
292
  class Representation < Google::Apis::Core::JsonRepresentation
287
293
  property :attribute, as: 'attribute'
294
+ property :operator, as: 'operator'
288
295
  property :value, as: 'value'
289
296
  end
290
297
  end
@@ -546,6 +553,16 @@ module Google
546
553
  end
547
554
  end
548
555
 
556
+ class SecretEnvVar
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ property :key, as: 'key'
560
+ property :project_id, as: 'projectId'
561
+ property :secret, as: 'secret'
562
+ property :version, as: 'version'
563
+ end
564
+ end
565
+
549
566
  class ServiceConfig
550
567
  # @private
551
568
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -555,6 +572,9 @@ module Google
555
572
  property :ingress_settings, as: 'ingressSettings'
556
573
  property :max_instance_count, as: 'maxInstanceCount'
557
574
  property :min_instance_count, as: 'minInstanceCount'
575
+ property :revision, as: 'revision'
576
+ collection :secret_environment_variables, as: 'secretEnvironmentVariables', class: Google::Apis::CloudfunctionsV2alpha::SecretEnvVar, decorator: Google::Apis::CloudfunctionsV2alpha::SecretEnvVar::Representation
577
+
558
578
  property :service, as: 'service'
559
579
  property :service_account_email, as: 'serviceAccountEmail'
560
580
  property :timeout_seconds, as: 'timeoutSeconds'
@@ -54,8 +54,8 @@ module Google
54
54
  # The resource that owns the locations collection, if applicable.
55
55
  # @param [String] filter
56
56
  # A filter to narrow down results to a preferred subset. The filtering language
57
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
58
- # AIP-160](https://google.aip.dev/160).
57
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
58
+ # in [AIP-160](https://google.aip.dev/160).
59
59
  # @param [Fixnum] page_size
60
60
  # The maximum number of results to return. If not set, the service selects a
61
61
  # default.
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.1.0
4
+ version: 0.4.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-02-21 00:00:00.000000000 Z
11
+ date: 2022-04-25 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.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.4.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: []