google-apis-cloudfunctions_v2alpha 0.21.0 → 0.23.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: 4c2ae97b55e6d339ff92213b8a6e656a2d5f62d817997cfab889be6950fb1070
4
+ data.tar.gz: 7637c0fd410673032c09f2910fcc9dbdc550242e43976842d40e1743b3780ad8
5
5
  SHA512:
6
- metadata.gz: 81eb0fc1335a43616d51b38909cd0b357541fcc6901d80276f53d84081d7dbe5e2c78b2eec38721808c1475d9b2a486b97a92ecfc54f3a464d58dfbb2c5c362f
7
- data.tar.gz: 13500590cc1d088ecba84cd15456f4dd6479bef19c7d11b54f182c9151fbf9ba83c74ed8434e7aab4b5942f7482b873dfbebfac7ac691f4b222e0aa3dc14f07e
6
+ metadata.gz: b7d72f3f728f32cb8f16499c6c2a73be3d3d9f67c2fcd7967a8dd43d6cb321509992d66ace26773080e26d74a436d0480c4dc79d52595fd63a4570eb7fb37d19
7
+ data.tar.gz: e31e23d6779ee662c6f484eda69dca59f9c19347bf3befc5ee36e8f55b480aff22474674800ece641bdae6006d1cb062eba5cdf1d07d580cdae1d4e931b31ca8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudfunctions_v2alpha
2
2
 
3
+ ### v0.23.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230307
6
+
7
+ ### v0.22.0 (2023-02-26)
8
+
9
+ * Regenerated from discovery document revision 20230221
10
+
3
11
  ### v0.21.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::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.23.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::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
 
@@ -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_v2alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.23.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-19 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.23.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: []