google-apis-cloudfunctions_v2alpha 0.6.0 → 0.9.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: 6186c6e2738192df686459fe00754ea400308dd23a7ee9754923b24ef74f3def
4
- data.tar.gz: 873371e8d7bf8c97db131271cbca99b5315181228696747215e671b8abf5aaa0
3
+ metadata.gz: 353a8d6e9ccbcc839cc1cf7cbc460da9cd0902145f463c015ec2720d86bf7fa8
4
+ data.tar.gz: 56734f128f1c65bdf984e15aab8aee3d2a11b1689347b8a92c9a0637ae8f76b2
5
5
  SHA512:
6
- metadata.gz: 9164810487d74230a8e36c44430697ba209e9f8cfe00b8180b3cc321233d80dd9fceb3324cb3721e3f53185d4ef0962685c27692a17c10d95c8e9f83417d6649
7
- data.tar.gz: 67bb83fb12b3ea37c6dcbcb0fd680d21bebe3c9493a6853899e001c8e0180374328e9c7de814e9fdf9b642129348ec99d68d20cf1d11115cdb6f2bd0196dfa5f
6
+ metadata.gz: 0faa2a8c26505b2baf3303d1ef2c57f0b93887b02a53615ddc8e80dcb24ec98e6df17e9fcfab91db89b34bdb32b0fef1bdf0585d4d9d69fa92c1bbf465fe97b1
7
+ data.tar.gz: 5e32a5b22fa853d1743223f0f6ade828ed57db3ef145ffb1858b3452a38fee28d7abf3d14cb11d3d5b3c35f2f68b1e4a73c50f9a8e8c87130e17e6b01997279f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.9.0 (2022-06-17)
4
+
5
+ * Regenerated using generator version 0.6.0
6
+
7
+ ### v0.8.0 (2022-05-20)
8
+
9
+ * Regenerated from discovery document revision 20220511
10
+
11
+ ### v0.7.0 (2022-05-14)
12
+
13
+ * Regenerated from discovery document revision 20220509
14
+
3
15
  ### v0.6.0 (2022-05-07)
4
16
 
5
17
  * Regenerated from discovery document revision 20220428
@@ -1355,9 +1355,8 @@ module Google
1355
1355
  attr_accessor :key
1356
1356
 
1357
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.
1358
+ # of the project that contains the secret. If not set, it is assumed that the
1359
+ # secret is in the same project as the function.
1361
1360
  # Corresponds to the JSON property `projectId`
1362
1361
  # @return [String]
1363
1362
  attr_accessor :project_id
@@ -1387,6 +1386,82 @@ module Google
1387
1386
  end
1388
1387
  end
1389
1388
 
1389
+ # Configuration for a single version.
1390
+ class SecretVersion
1391
+ include Google::Apis::Core::Hashable
1392
+
1393
+ # Relative path of the file under the mount path where the secret value for this
1394
+ # version will be fetched and made available. For example, setting the
1395
+ # mount_path as '/etc/secrets' and path as `secret_foo` would mount the secret
1396
+ # value file at `/etc/secrets/secret_foo`.
1397
+ # Corresponds to the JSON property `path`
1398
+ # @return [String]
1399
+ attr_accessor :path
1400
+
1401
+ # Version of the secret (version number or the string 'latest'). It is
1402
+ # preferable to use `latest` version with secret volumes as secret value changes
1403
+ # are reflected immediately.
1404
+ # Corresponds to the JSON property `version`
1405
+ # @return [String]
1406
+ attr_accessor :version
1407
+
1408
+ def initialize(**args)
1409
+ update!(**args)
1410
+ end
1411
+
1412
+ # Update properties of this object
1413
+ def update!(**args)
1414
+ @path = args[:path] if args.key?(:path)
1415
+ @version = args[:version] if args.key?(:version)
1416
+ end
1417
+ end
1418
+
1419
+ # Configuration for a secret volume. It has the information necessary to fetch
1420
+ # the secret value from secret manager and make it available as files mounted at
1421
+ # the requested paths within the application container.
1422
+ class SecretVolume
1423
+ include Google::Apis::Core::Hashable
1424
+
1425
+ # The path within the container to mount the secret volume. For example, setting
1426
+ # the mount_path as `/etc/secrets` would mount the secret value files under the `
1427
+ # /etc/secrets` directory. This directory will also be completely shadowed and
1428
+ # unavailable to mount any other secrets. Recommended mount path: /etc/secrets
1429
+ # Corresponds to the JSON property `mountPath`
1430
+ # @return [String]
1431
+ attr_accessor :mount_path
1432
+
1433
+ # Project identifier (preferably project number but can also be the project ID)
1434
+ # of the project that contains the secret. If not set, it is assumed that the
1435
+ # secret is in the same project as the function.
1436
+ # Corresponds to the JSON property `projectId`
1437
+ # @return [String]
1438
+ attr_accessor :project_id
1439
+
1440
+ # Name of the secret in secret manager (not the full resource name).
1441
+ # Corresponds to the JSON property `secret`
1442
+ # @return [String]
1443
+ attr_accessor :secret
1444
+
1445
+ # List of secret versions to mount for this secret. If empty, the `latest`
1446
+ # version of the secret will be made available in a file named after the secret
1447
+ # under the mount point.
1448
+ # Corresponds to the JSON property `versions`
1449
+ # @return [Array<Google::Apis::CloudfunctionsV2alpha::SecretVersion>]
1450
+ attr_accessor :versions
1451
+
1452
+ def initialize(**args)
1453
+ update!(**args)
1454
+ end
1455
+
1456
+ # Update properties of this object
1457
+ def update!(**args)
1458
+ @mount_path = args[:mount_path] if args.key?(:mount_path)
1459
+ @project_id = args[:project_id] if args.key?(:project_id)
1460
+ @secret = args[:secret] if args.key?(:secret)
1461
+ @versions = args[:versions] if args.key?(:versions)
1462
+ end
1463
+ end
1464
+
1390
1465
  # Describes the Service being deployed. Currently Supported : Cloud Run (fully
1391
1466
  # managed).
1392
1467
  class ServiceConfig
@@ -1451,6 +1526,11 @@ module Google
1451
1526
  # @return [Array<Google::Apis::CloudfunctionsV2alpha::SecretEnvVar>]
1452
1527
  attr_accessor :secret_environment_variables
1453
1528
 
1529
+ # Secret volumes configuration.
1530
+ # Corresponds to the JSON property `secretVolumes`
1531
+ # @return [Array<Google::Apis::CloudfunctionsV2alpha::SecretVolume>]
1532
+ attr_accessor :secret_volumes
1533
+
1454
1534
  # Output only. Name of the service associated with a Function. The format of
1455
1535
  # this field is `projects/`project`/locations/`region`/services/`service``
1456
1536
  # Corresponds to the JSON property `service`
@@ -1501,6 +1581,7 @@ module Google
1501
1581
  @min_instance_count = args[:min_instance_count] if args.key?(:min_instance_count)
1502
1582
  @revision = args[:revision] if args.key?(:revision)
1503
1583
  @secret_environment_variables = args[:secret_environment_variables] if args.key?(:secret_environment_variables)
1584
+ @secret_volumes = args[:secret_volumes] if args.key?(:secret_volumes)
1504
1585
  @service = args[:service] if args.key?(:service)
1505
1586
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
1506
1587
  @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.6.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.6.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220428"
25
+ REVISION = "20220511"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,18 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class SecretVersion
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class SecretVolume
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
199
211
  class ServiceConfig
200
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
213
 
@@ -564,6 +576,25 @@ module Google
564
576
  end
565
577
  end
566
578
 
579
+ class SecretVersion
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :path, as: 'path'
583
+ property :version, as: 'version'
584
+ end
585
+ end
586
+
587
+ class SecretVolume
588
+ # @private
589
+ class Representation < Google::Apis::Core::JsonRepresentation
590
+ property :mount_path, as: 'mountPath'
591
+ property :project_id, as: 'projectId'
592
+ property :secret, as: 'secret'
593
+ collection :versions, as: 'versions', class: Google::Apis::CloudfunctionsV2alpha::SecretVersion, decorator: Google::Apis::CloudfunctionsV2alpha::SecretVersion::Representation
594
+
595
+ end
596
+ end
597
+
567
598
  class ServiceConfig
568
599
  # @private
569
600
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -576,6 +607,8 @@ module Google
576
607
  property :revision, as: 'revision'
577
608
  collection :secret_environment_variables, as: 'secretEnvironmentVariables', class: Google::Apis::CloudfunctionsV2alpha::SecretEnvVar, decorator: Google::Apis::CloudfunctionsV2alpha::SecretEnvVar::Representation
578
609
 
610
+ collection :secret_volumes, as: 'secretVolumes', class: Google::Apis::CloudfunctionsV2alpha::SecretVolume, decorator: Google::Apis::CloudfunctionsV2alpha::SecretVolume::Representation
611
+
579
612
  property :service, as: 'service'
580
613
  property :service_account_email, as: 'serviceAccountEmail'
581
614
  property :timeout_seconds, as: 'timeoutSeconds'
@@ -281,8 +281,9 @@ module Google
281
281
  # Gets the access control policy for a resource. Returns an empty policy if the
282
282
  # resource exists and does not have a policy set.
283
283
  # @param [String] resource
284
- # REQUIRED: The resource for which the policy is being requested. See the
285
- # operation documentation for the appropriate value for this field.
284
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
285
+ # names](https://cloud.google.com/apis/design/resource_names) for the
286
+ # appropriate value for this field.
286
287
  # @param [Fixnum] options_requested_policy_version
287
288
  # Optional. The maximum policy version that will be used to format the policy.
288
289
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -416,8 +417,9 @@ module Google
416
417
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
417
418
  # PERMISSION_DENIED` errors.
418
419
  # @param [String] resource
419
- # REQUIRED: The resource for which the policy is being specified. See the
420
- # operation documentation for the appropriate value for this field.
420
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
421
+ # names](https://cloud.google.com/apis/design/resource_names) for the
422
+ # appropriate value for this field.
421
423
  # @param [Google::Apis::CloudfunctionsV2alpha::SetIamPolicyRequest] set_iam_policy_request_object
422
424
  # @param [String] fields
423
425
  # Selector specifying which fields to include in a partial response.
@@ -454,8 +456,9 @@ module Google
454
456
  # permission-aware UIs and command-line tools, not for authorization checking.
455
457
  # This operation may "fail open" without warning.
456
458
  # @param [String] resource
457
- # REQUIRED: The resource for which the policy detail is being requested. See the
458
- # operation documentation for the appropriate value for this field.
459
+ # REQUIRED: The resource for which the policy detail is being requested. See [
460
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
461
+ # appropriate value for this field.
459
462
  # @param [Google::Apis::CloudfunctionsV2alpha::TestIamPermissionsRequest] test_iam_permissions_request_object
460
463
  # @param [String] fields
461
464
  # Selector specifying which fields to include in a partial response.
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.6.0
4
+ version: 0.9.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-05-09 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.9.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: []
@@ -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.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Functions API V2alpha