google-apis-cloudfunctions_v2alpha 0.20.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: cfdbc43c3655de1ee50dbed210309b287fb24bb70e87fa64cc4a571d1e04893a
4
- data.tar.gz: 488c9321c7674ae3b23e98fdfb066561071f1b3ba69ce87eeb66a036affd6ca6
3
+ metadata.gz: c5501bfecb10d7e610d82d220fbacd014cb8bd385346214e8f0eb12f55e9d2a6
4
+ data.tar.gz: 36aba98f0df66a03a3b616cbda3f40d2ea59b304dd1e71d41359c6a1f328ab57
5
5
  SHA512:
6
- metadata.gz: e1cd4efb264cc73f7b9e81a3194cac56da4ace8c85c82664decc9f5b662fd762ba3e9fa92504428d19c8837bf68ef41f45e8b63a813ac10abf209ffd8b34e22c
7
- data.tar.gz: 666930160eb25b25afcd81db710651c0c543bb91bc45fd2380c904ec015f2c693fd51ca1c091cde2ee2e85b623018883164c8ff2de484efa1f911bc9483736b7
6
+ metadata.gz: 63ad049fd772f32b0407d6363dc98838cfdbe0d2890af4f8d51f775f69e16efbc8c2a9996000fc993aa4e4e6989637e5dc0da667b729cc3dbda5ce5541389c22
7
+ data.tar.gz: 513fd0729579291ba4dec29221f3c4704c7ba20f507a27dfeaa2d6a909b16f8c66260cf6641a2a56f3401a422493085b5d4d647c62c550a4ceb4fd6c25a495eb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.21.0 (2023-02-15)
8
+
9
+ * Regenerated using generator version 0.12.0
10
+
3
11
  ### v0.20.0 (2023-02-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20230202
@@ -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.20.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
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.20.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-12 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
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.9.1
29
+ version: 0.11.0
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.20.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: []