google-apis-cloudfunctions_v2alpha 0.2.0 → 0.3.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: 769b9924848377df0840c9aa3c0e5c427c46f38bac09de6b0c8fa1050056afc6
4
+ data.tar.gz: 8e1b775b5fb0ad5f1100ec6cc25cebb4d201ae5aec234003c8fb2c1e0fc90a16
5
5
  SHA512:
6
- metadata.gz: 37abba3148d01d0cc424fd514e336b6612d145b978259429755d3707e592f6b87bda7c4a21ee2738d5f8aa47f231b47c5deebe51afd320b664950429adcf731b
7
- data.tar.gz: 59e06403bf6013f67898ee610ffc8afb9ccfeb46392599b5df82a538691f70cad5b3be7a308129fd884616cca143699982fb9e68da07c21466f3bf3ad14b82c5
6
+ metadata.gz: 8de3fa05b5cbb92e146e4c6639a22936fa75d4169b074bb78f32b071cfd781eb30d188b6c2781641be396432d10123e725c833eed77efbaeaa77a9c6ea95ae19
7
+ data.tar.gz: 16260335390aaefef20abd51c9e1468d639f8aaf8a972d0bc089f0c81f12cc9aa0f59052db128d38d0aa2a6b9952212c00df914132705bb3e2c804ac614493a9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.3.0 (2022-04-09)
4
+
5
+ * Regenerated from discovery document revision 20220331
6
+
3
7
  ### v0.2.0 (2022-03-25)
4
8
 
5
9
  * Regenerated from discovery document revision 20220317
@@ -1335,6 +1335,50 @@ module Google
1335
1335
  end
1336
1336
  end
1337
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
+
1338
1382
  # Describes the Service being deployed. Currently Supported : Cloud Run (fully
1339
1383
  # managed).
1340
1384
  class ServiceConfig
@@ -1394,6 +1438,11 @@ module Google
1394
1438
  # @return [String]
1395
1439
  attr_accessor :revision
1396
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
+
1397
1446
  # Output only. Name of the service associated with a Function. The format of
1398
1447
  # this field is `projects/`project`/locations/`region`/services/`service``
1399
1448
  # Corresponds to the JSON property `service`
@@ -1443,6 +1492,7 @@ module Google
1443
1492
  @max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
1444
1493
  @min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
1445
1494
  @revision = args[:revision] if args.key?(:revision)
1495
+ @secret_environment_variables = args[:secret_environment_variables] if args.key?(:secret_environment_variables)
1446
1496
  @service = args[:service] if args.key?(:service)
1447
1497
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
1448
1498
  @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
@@ -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.3.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 = "20220331"
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
 
@@ -547,6 +553,16 @@ module Google
547
553
  end
548
554
  end
549
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
+
550
566
  class ServiceConfig
551
567
  # @private
552
568
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -557,6 +573,8 @@ module Google
557
573
  property :max_instance_count, as: 'maxInstanceCount'
558
574
  property :min_instance_count, as: 'minInstanceCount'
559
575
  property :revision, as: 'revision'
576
+ collection :secret_environment_variables, as: 'secretEnvironmentVariables', class: Google::Apis::CloudfunctionsV2alpha::SecretEnvVar, decorator: Google::Apis::CloudfunctionsV2alpha::SecretEnvVar::Representation
577
+
560
578
  property :service, as: 'service'
561
579
  property :service_account_email, as: 'serviceAccountEmail'
562
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.2.0
4
+ version: 0.3.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-04-11 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.3.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: []