google-apis-cloudfunctions_v2alpha 0.2.0 → 0.5.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: df3b43ac023bacbfca2ec5887d3e5191b89e2527f39da92815613739816364c4
4
- data.tar.gz: c7348bd4d4e19d2dcd23e4baab170d30de1d539396f234ef8ce816537a52fbe6
3
+ metadata.gz: 76ce3edb9d85e6bfb5a98df41894cf79ed67a9ed82337fb1417d66d814ad6299
4
+ data.tar.gz: 75c81c3384df69c8fa0427f178743f76a479f7b96fa43aa077b0304df645c516
5
5
  SHA512:
6
- metadata.gz: 37abba3148d01d0cc424fd514e336b6612d145b978259429755d3707e592f6b87bda7c4a21ee2738d5f8aa47f231b47c5deebe51afd320b664950429adcf731b
7
- data.tar.gz: 59e06403bf6013f67898ee610ffc8afb9ccfeb46392599b5df82a538691f70cad5b3be7a308129fd884616cca143699982fb9e68da07c21466f3bf3ad14b82c5
6
+ metadata.gz: 79ef76c6e7560b85de3b4926b1a2c298c94556a30abe8998e4bbb8c48b2ca77a6c0ca44c41ee4e8746197b744223685222ba8917d24baee323de8ae03b151e19
7
+ data.tar.gz: 8cd539cc9d8d195c34bff9677243aa00ee1b4f3d9806c7d0a522b14a4bc2d262a3026455bfde991f4ce44ebfc5052fe2a9cb0dfdde502d24acbf138a3aef74fe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.5.0 (2022-04-30)
4
+
5
+ * Regenerated from discovery document revision 20220421
6
+
7
+ ### v0.4.0 (2022-04-22)
8
+
9
+ * Regenerated from discovery document revision 20220413
10
+
11
+ ### v0.3.0 (2022-04-09)
12
+
13
+ * Regenerated from discovery document revision 20220331
14
+
3
15
  ### v0.2.0 (2022-03-25)
4
16
 
5
17
  * Regenerated from discovery document revision 20220317
@@ -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
@@ -287,6 +287,13 @@ module Google
287
287
  class EventTrigger
288
288
  include Google::Apis::Core::Hashable
289
289
 
290
+ # Optional. The name of the channel associated with the trigger in `projects/`
291
+ # project`/locations/`location`/channels/`channel`` format. You must provide a
292
+ # channel to receive events from Eventarc SaaS partners.
293
+ # Corresponds to the JSON property `channel`
294
+ # @return [String]
295
+ attr_accessor :channel
296
+
290
297
  # Criteria used to filter events.
291
298
  # Corresponds to the JSON property `eventFilters`
292
299
  # @return [Array<Google::Apis::CloudfunctionsV2alpha::EventFilter>]
@@ -341,6 +348,7 @@ module Google
341
348
 
342
349
  # Update properties of this object
343
350
  def update!(**args)
351
+ @channel = args[:channel] if args.key?(:channel)
344
352
  @event_filters = args[:event_filters] if args.key?(:event_filters)
345
353
  @event_type = args[:event_type] if args.key?(:event_type)
346
354
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
@@ -1335,6 +1343,50 @@ module Google
1335
1343
  end
1336
1344
  end
1337
1345
 
1346
+ # Configuration for a secret environment variable. It has the information
1347
+ # necessary to fetch the secret value from secret manager and expose it as an
1348
+ # environment variable.
1349
+ class SecretEnvVar
1350
+ include Google::Apis::Core::Hashable
1351
+
1352
+ # Name of the environment variable.
1353
+ # Corresponds to the JSON property `key`
1354
+ # @return [String]
1355
+ attr_accessor :key
1356
+
1357
+ # Project identifier (preferably project number but can also be the project ID)
1358
+ # of the project that contains the secret. If not set, it will be populated with
1359
+ # the function's project assuming that the secret exists in the same project as
1360
+ # of the function.
1361
+ # Corresponds to the JSON property `projectId`
1362
+ # @return [String]
1363
+ attr_accessor :project_id
1364
+
1365
+ # Name of the secret in secret manager (not the full resource name).
1366
+ # Corresponds to the JSON property `secret`
1367
+ # @return [String]
1368
+ attr_accessor :secret
1369
+
1370
+ # Version of the secret (version number or the string 'latest'). It is
1371
+ # recommended to use a numeric version for secret environment variables as any
1372
+ # updates to the secret value is not reflected until new instances start.
1373
+ # Corresponds to the JSON property `version`
1374
+ # @return [String]
1375
+ attr_accessor :version
1376
+
1377
+ def initialize(**args)
1378
+ update!(**args)
1379
+ end
1380
+
1381
+ # Update properties of this object
1382
+ def update!(**args)
1383
+ @key = args[:key] if args.key?(:key)
1384
+ @project_id = args[:project_id] if args.key?(:project_id)
1385
+ @secret = args[:secret] if args.key?(:secret)
1386
+ @version = args[:version] if args.key?(:version)
1387
+ end
1388
+ end
1389
+
1338
1390
  # Describes the Service being deployed. Currently Supported : Cloud Run (fully
1339
1391
  # managed).
1340
1392
  class ServiceConfig
@@ -1394,6 +1446,11 @@ module Google
1394
1446
  # @return [String]
1395
1447
  attr_accessor :revision
1396
1448
 
1449
+ # Secret environment variables configuration.
1450
+ # Corresponds to the JSON property `secretEnvironmentVariables`
1451
+ # @return [Array<Google::Apis::CloudfunctionsV2alpha::SecretEnvVar>]
1452
+ attr_accessor :secret_environment_variables
1453
+
1397
1454
  # Output only. Name of the service associated with a Function. The format of
1398
1455
  # this field is `projects/`project`/locations/`region`/services/`service``
1399
1456
  # Corresponds to the JSON property `service`
@@ -1443,6 +1500,7 @@ module Google
1443
1500
  @max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
1444
1501
  @min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
1445
1502
  @revision = args[:revision] if args.key?(:revision)
1503
+ @secret_environment_variables = args[:secret_environment_variables] if args.key?(:secret_environment_variables)
1446
1504
  @service = args[:service] if args.key?(:service)
1447
1505
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
1448
1506
  @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
@@ -1635,7 +1693,7 @@ module Google
1635
1693
  include Google::Apis::Core::Hashable
1636
1694
 
1637
1695
  # The set of permissions to check for the `resource`. Permissions with wildcards
1638
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1696
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
1639
1697
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1640
1698
  # Corresponds to the JSON property `permissions`
1641
1699
  # @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.2.0"
19
+ GEM_VERSION = "0.5.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 = "20220317"
25
+ REVISION = "20220421"
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
 
@@ -293,6 +299,7 @@ module Google
293
299
  class EventTrigger
294
300
  # @private
295
301
  class Representation < Google::Apis::Core::JsonRepresentation
302
+ property :channel, as: 'channel'
296
303
  collection :event_filters, as: 'eventFilters', class: Google::Apis::CloudfunctionsV2alpha::EventFilter, decorator: Google::Apis::CloudfunctionsV2alpha::EventFilter::Representation
297
304
 
298
305
  property :event_type, as: 'eventType'
@@ -547,6 +554,16 @@ module Google
547
554
  end
548
555
  end
549
556
 
557
+ class SecretEnvVar
558
+ # @private
559
+ class Representation < Google::Apis::Core::JsonRepresentation
560
+ property :key, as: 'key'
561
+ property :project_id, as: 'projectId'
562
+ property :secret, as: 'secret'
563
+ property :version, as: 'version'
564
+ end
565
+ end
566
+
550
567
  class ServiceConfig
551
568
  # @private
552
569
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -557,6 +574,8 @@ module Google
557
574
  property :max_instance_count, as: 'maxInstanceCount'
558
575
  property :min_instance_count, as: 'minInstanceCount'
559
576
  property :revision, as: 'revision'
577
+ collection :secret_environment_variables, as: 'secretEnvironmentVariables', class: Google::Apis::CloudfunctionsV2alpha::SecretEnvVar, decorator: Google::Apis::CloudfunctionsV2alpha::SecretEnvVar::Representation
578
+
560
579
  property :service, as: 'service'
561
580
  property :service_account_email, as: 'serviceAccountEmail'
562
581
  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.2.0
4
+ version: 0.5.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-05-02 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.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.5.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: []