google-apis-cloudfunctions_v2alpha 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ee6a317950fabb7f7bbaab6cc2657a912d72a661ba8bcf1f61dc80107a3b11b
4
- data.tar.gz: 693f6093952ec4c2be4617607cbbcc975f8d66b2c1ed067b600926edf8dfc805
3
+ metadata.gz: c5501bfecb10d7e610d82d220fbacd014cb8bd385346214e8f0eb12f55e9d2a6
4
+ data.tar.gz: 36aba98f0df66a03a3b616cbda3f40d2ea59b304dd1e71d41359c6a1f328ab57
5
5
  SHA512:
6
- metadata.gz: 81eb0fc1335a43616d51b38909cd0b357541fcc6901d80276f53d84081d7dbe5e2c78b2eec38721808c1475d9b2a486b97a92ecfc54f3a464d58dfbb2c5c362f
7
- data.tar.gz: 13500590cc1d088ecba84cd15456f4dd6479bef19c7d11b54f182c9151fbf9ba83c74ed8434e7aab4b5942f7482b873dfbebfac7ac691f4b222e0aa3dc14f07e
6
+ metadata.gz: 63ad049fd772f32b0407d6363dc98838cfdbe0d2890af4f8d51f775f69e16efbc8c2a9996000fc993aa4e4e6989637e5dc0da667b729cc3dbda5ce5541389c22
7
+ data.tar.gz: 513fd0729579291ba4dec29221f3c4704c7ba20f507a27dfeaa2d6a909b16f8c66260cf6641a2a56f3401a422493085b5d4d647c62c550a4ceb4fd6c25a495eb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.22.0 (2023-02-26)
4
+
5
+ * Regenerated from discovery document revision 20230221
6
+
3
7
  ### v0.21.0 (2023-02-15)
4
8
 
5
9
  * Regenerated using generator version 0.12.0
@@ -461,6 +461,13 @@ module Google
461
461
  # @return [Google::Apis::CloudfunctionsV2alpha::EventTrigger]
462
462
  attr_accessor :event_trigger
463
463
 
464
+ # Resource name of a KMS crypto key (managed by the user) used to encrypt/
465
+ # decrypt function resources. It must match the pattern `projects/`project`/
466
+ # locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``.
467
+ # Corresponds to the JSON property `kmsKeyName`
468
+ # @return [String]
469
+ attr_accessor :kms_key_name
470
+
464
471
  # Labels associated with this Cloud Function.
465
472
  # Corresponds to the JSON property `labels`
466
473
  # @return [Hash<String,String>]
@@ -503,6 +510,7 @@ module Google
503
510
  @description = args[:description] if args.key?(:description)
504
511
  @environment = args[:environment] if args.key?(:environment)
505
512
  @event_trigger = args[:event_trigger] if args.key?(:event_trigger)
513
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
506
514
  @labels = args[:labels] if args.key?(:labels)
507
515
  @name = args[:name] if args.key?(:name)
508
516
  @service_config = args[:service_config] if args.key?(:service_config)
@@ -549,12 +557,28 @@ module Google
549
557
  class GenerateUploadUrlRequest
550
558
  include Google::Apis::Core::Hashable
551
559
 
560
+ # Resource name of a KMS crypto key (managed by the user) used to encrypt/
561
+ # decrypt function source code objects in intermediate Cloud Storage buckets.
562
+ # When you generate an upload url and upload your source code, it gets copied to
563
+ # an intermediate Cloud Storage bucket. The source code is then copied to a
564
+ # versioned directory in the sources bucket in the consumer project during the
565
+ # function deployment. It must match the pattern `projects/`project`/locations/`
566
+ # location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``. The Google Cloud
567
+ # Functions service account (service-`project_number`@gcf-admin-robot.iam.
568
+ # gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/
569
+ # Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/
570
+ # Project/Organization (least access preferred).
571
+ # Corresponds to the JSON property `kmsKeyName`
572
+ # @return [String]
573
+ attr_accessor :kms_key_name
574
+
552
575
  def initialize(**args)
553
576
  update!(**args)
554
577
  end
555
578
 
556
579
  # Update properties of this object
557
580
  def update!(**args)
581
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
558
582
  end
559
583
  end
560
584
 
@@ -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.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230202"
25
+ REVISION = "20230221"
26
26
  end
27
27
  end
28
28
  end
@@ -362,6 +362,7 @@ module Google
362
362
  property :environment, as: 'environment'
363
363
  property :event_trigger, as: 'eventTrigger', class: Google::Apis::CloudfunctionsV2alpha::EventTrigger, decorator: Google::Apis::CloudfunctionsV2alpha::EventTrigger::Representation
364
364
 
365
+ property :kms_key_name, as: 'kmsKeyName'
365
366
  hash :labels, as: 'labels'
366
367
  property :name, as: 'name'
367
368
  property :service_config, as: 'serviceConfig', class: Google::Apis::CloudfunctionsV2alpha::ServiceConfig, decorator: Google::Apis::CloudfunctionsV2alpha::ServiceConfig::Representation
@@ -389,6 +390,7 @@ module Google
389
390
  class GenerateUploadUrlRequest
390
391
  # @private
391
392
  class Representation < Google::Apis::Core::JsonRepresentation
393
+ property :kms_key_name, as: 'kmsKeyName'
392
394
  end
393
395
  end
394
396
 
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.21.0
4
+ version: 0.22.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: 2023-02-19 00:00:00.000000000 Z
11
+ date: 2023-02-26 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.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.22.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: []