google-apis-cloudfunctions_v2 0.15.0 → 0.16.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: 241f0f196f48fa642d29d062ef2fff586ca817c32e73ea0543e2528aeedc8111
4
- data.tar.gz: ac1e75b6020993ae27fe633e2974be28e9e6104e777609417a791566627f1cc6
3
+ metadata.gz: d90ac5c708d27e1c5201d42fa8166ddb1614f7a9cab8eeaf740640d9faf72df6
4
+ data.tar.gz: 0a3125599c68677173fa306a21ff3dae40fea6c943904bd00ee6cf64b19927e6
5
5
  SHA512:
6
- metadata.gz: 4c200f5b361d8845c2e2a80a240416bb1258a7a53ac12265a216f8deac2a8d25294065c4b52627661c7089b6e53eb974913ac387ac3e50d8ccfa178aa665e7a4
7
- data.tar.gz: 3ec391c34e7893c74d93c85053105919326258ebc8546e011b5cfd538e77e5e2d8958a33b53a277bbe7655b08ee0f1112f1041645ad22a2dfcf411cbe4195c4e
6
+ metadata.gz: 281b91dd0d0c5a60fa18db586b1e0eec45f479301d52e34b9d78028ec5d06dfc7d6106dcc807f20535d6719b1883fb046f8ee44bcc39f657195d12810904615f
7
+ data.tar.gz: 5200addea95cdc2087e0134a6c55cf3c349a35c2d4c0873d37921dc104dc83bd5665f51fbf9bb66af9ee1fc4c027ec7ec3445f34ed4b8b231f1dc10de5e54eca
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudfunctions_v2
2
2
 
3
+ ### v0.16.0 (2023-02-26)
4
+
5
+ * Regenerated from discovery document revision 20230221
6
+
3
7
  ### v0.15.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::CloudfunctionsV2::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 CloudfunctionsV2
18
18
  # Version of the google-apis-cloudfunctions_v2 gem
19
- GEM_VERSION = "0.15.0"
19
+ GEM_VERSION = "0.16.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::CloudfunctionsV2::EventTrigger, decorator: Google::Apis::CloudfunctionsV2::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::CloudfunctionsV2::ServiceConfig, decorator: Google::Apis::CloudfunctionsV2::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_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2
63
63
  post_install_message:
64
64
  rdoc_options: []