google-apis-cloudfunctions_v2 0.15.0 → 0.17.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: 87a795b7303157d5af6ef611f09c841c6eac07926a130c7b4b0dfba48093ed4b
4
+ data.tar.gz: d8427e8424498fade30c0448274e740477ca07aa579c67aa5dc4d00737d6516b
5
5
  SHA512:
6
- metadata.gz: 4c200f5b361d8845c2e2a80a240416bb1258a7a53ac12265a216f8deac2a8d25294065c4b52627661c7089b6e53eb974913ac387ac3e50d8ccfa178aa665e7a4
7
- data.tar.gz: 3ec391c34e7893c74d93c85053105919326258ebc8546e011b5cfd538e77e5e2d8958a33b53a277bbe7655b08ee0f1112f1041645ad22a2dfcf411cbe4195c4e
6
+ metadata.gz: 6ce431d31e85f88d463e8c56aac26a84f715441195aab8ab9764fdc418297044d15199dc72256dea2adc0e9e396683a008a21c7621d3922ae43b7aab30b6dcdb
7
+ data.tar.gz: f3490fb7e569f3f55a94ca8a3ba9c0e93b505f7b214bf782674e2ec6aad39fc48a2f54f1f33d203f6f2b91212e1c2526004683fef9b5587b0033460a58255a45
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudfunctions_v2
2
2
 
3
+ ### v0.17.0 (2023-03-12)
4
+
5
+ * Regenerated from discovery document revision 20230307
6
+
7
+ ### v0.16.0 (2023-02-26)
8
+
9
+ * Regenerated from discovery document revision 20230221
10
+
3
11
  ### v0.15.0 (2023-02-15)
4
12
 
5
13
  * 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.17.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 = "20230307"
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
 
@@ -524,13 +524,7 @@ module Google
524
524
  end
525
525
 
526
526
  # Lists operations that match the specified filter in the request. If the server
527
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
528
- # binding allows API services to override the binding to use different resource
529
- # name schemes, such as `users/*/operations`. To override the binding, API
530
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
531
- # service configuration. For backwards compatibility, the default name includes
532
- # the operations collection id, however overriding users must ensure the name
533
- # binding is the parent resource, without the operations collection id.
527
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
534
528
  # @param [String] name
535
529
  # Must not be set.
536
530
  # @param [String] filter
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.17.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-03-12 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.17.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: []