google-apis-cloudfunctions_v1 0.15.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b18c7f7e5d7420b733bf229262e0d823a52dbc369fe9fba68b4a06d894bc420c
4
- data.tar.gz: 1c65c10430e30a0df58a4e0222478f148853756f8af27a2d86b4bfafc1477a5e
3
+ metadata.gz: 77bc0979a9af8dd74b969266f9532edac65f9ee58a6fbb633482683c7c8c7d9b
4
+ data.tar.gz: d6fb33ff7b9bbcabb72a2eb6e8e8ccf09ec4bb3fdf40e6d1c360e74f7c8bde05
5
5
  SHA512:
6
- metadata.gz: e750dd1872498978340aee93db19df8f1b1c1ef1bf32bcda043fd7a34fa310ccd463fca47973668ee63f24f78204a2a09988a621e16ec8362c3c8a8fc37c654d
7
- data.tar.gz: 7157715f070b487ca09dfc74c71de6b04aaaf26ee083663037ce4111941fe876286023744bada78f0dd5b0fea5b4acde738a44ce2168aa5e490ca30aae93acad
6
+ metadata.gz: a19abc50d3482b5e0b5e22395f7c6f320f3c592958f193505c729aeb25d95fe3d0ee8633aa6a36ec2c84ab32b590e429b40083cc2d399916f5728dde439ccf65
7
+ data.tar.gz: c1c1ebfa1569b57b85ff183430c7af2ff5383f99e83fc46efc3522d7a4c8fa878b4a15a4d99ea2f32b82023649cdd6e94a183374e52e2b4189393659fd8045cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudfunctions_v1
2
2
 
3
+ ### v0.16.0 (2021-11-13)
4
+
5
+ * Regenerated from discovery document revision 20211108
6
+
3
7
  ### v0.15.0 (2021-11-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20211027
@@ -260,6 +260,19 @@ module Google
260
260
  # @return [String]
261
261
  attr_accessor :description
262
262
 
263
+ # User managed repository created in Artifact Registry optionally with a
264
+ # customer managed encryption key. If specified, deployments will use Artifact
265
+ # Registry. If unspecified and the deployment is eligible to use Artifact
266
+ # Registry, GCF will create and use a repository named 'gcf-artifacts' for every
267
+ # deployed region. This is the repository to which the function docker image
268
+ # will be pushed after it is built by Cloud Build. It must match the pattern `
269
+ # projects/`project`/locations/`location`/repositories/`repository``. Cross-
270
+ # project repositories are not supported. Cross-location repositories are not
271
+ # supported. Repository format must be 'DOCKER'.
272
+ # Corresponds to the JSON property `dockerRepository`
273
+ # @return [String]
274
+ attr_accessor :docker_repository
275
+
263
276
  # The name of the function (as defined in source code) that will be executed.
264
277
  # Defaults to the resource name suffix, if not specified. For backward
265
278
  # compatibility, if function with given name is not found, then the system will
@@ -289,6 +302,28 @@ module Google
289
302
  # @return [String]
290
303
  attr_accessor :ingress_settings
291
304
 
305
+ # Resource name of a KMS crypto key (managed by the user) used to encrypt/
306
+ # decrypt function resources. It must match the pattern `projects/`project`/
307
+ # locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``. If
308
+ # specified, you must also provide an artifact registry repository using the `
309
+ # docker_repository` field that was created with the same KMS crypto key. The
310
+ # following service accounts need to be granted the role 'Cloud KMS CryptoKey
311
+ # Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/
312
+ # KeyRing/Project/Organization (least access preferred). 1. Google Cloud
313
+ # Functions service account (service-`project_number`@gcf-admin-robot.iam.
314
+ # gserviceaccount.com) - Required to protect the function's image. 2. Google
315
+ # Storage service account (service-`project_number`@gs-project-accounts.iam.
316
+ # gserviceaccount.com) - Required to protect the function's source code. If this
317
+ # service account does not exist, deploying a function without a KMS key or
318
+ # retrieving the service agent name provisions it. For more information, see
319
+ # https://cloud.google.com/storage/docs/projects#service-agents and https://
320
+ # cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud
321
+ # Functions delegates access to service agents to protect function resources in
322
+ # internal projects that are not accessible by the end user.
323
+ # Corresponds to the JSON property `kmsKeyName`
324
+ # @return [String]
325
+ attr_accessor :kms_key_name
326
+
292
327
  # Labels associated with this Cloud Function.
293
328
  # Corresponds to the JSON property `labels`
294
329
  # @return [Hash<String,String>]
@@ -432,11 +467,13 @@ module Google
432
467
  @build_name = args[:build_name] if args.key?(:build_name)
433
468
  @build_worker_pool = args[:build_worker_pool] if args.key?(:build_worker_pool)
434
469
  @description = args[:description] if args.key?(:description)
470
+ @docker_repository = args[:docker_repository] if args.key?(:docker_repository)
435
471
  @entry_point = args[:entry_point] if args.key?(:entry_point)
436
472
  @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
437
473
  @event_trigger = args[:event_trigger] if args.key?(:event_trigger)
438
474
  @https_trigger = args[:https_trigger] if args.key?(:https_trigger)
439
475
  @ingress_settings = args[:ingress_settings] if args.key?(:ingress_settings)
476
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
440
477
  @labels = args[:labels] if args.key?(:labels)
441
478
  @max_instances = args[:max_instances] if args.key?(:max_instances)
442
479
  @min_instances = args[:min_instances] if args.key?(:min_instances)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudfunctionsV1
18
18
  # Version of the google-apis-cloudfunctions_v1 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.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211027"
25
+ REVISION = "20211108"
26
26
  end
27
27
  end
28
28
  end
@@ -254,6 +254,7 @@ module Google
254
254
  property :build_name, as: 'buildName'
255
255
  property :build_worker_pool, as: 'buildWorkerPool'
256
256
  property :description, as: 'description'
257
+ property :docker_repository, as: 'dockerRepository'
257
258
  property :entry_point, as: 'entryPoint'
258
259
  hash :environment_variables, as: 'environmentVariables'
259
260
  property :event_trigger, as: 'eventTrigger', class: Google::Apis::CloudfunctionsV1::EventTrigger, decorator: Google::Apis::CloudfunctionsV1::EventTrigger::Representation
@@ -261,6 +262,7 @@ module Google
261
262
  property :https_trigger, as: 'httpsTrigger', class: Google::Apis::CloudfunctionsV1::HttpsTrigger, decorator: Google::Apis::CloudfunctionsV1::HttpsTrigger::Representation
262
263
 
263
264
  property :ingress_settings, as: 'ingressSettings'
265
+ property :kms_key_name, as: 'kmsKeyName'
264
266
  hash :labels, as: 'labels'
265
267
  property :max_instances, as: 'maxInstances'
266
268
  property :min_instances, as: 'minInstances'
@@ -400,13 +400,16 @@ module Google
400
400
  # REQUIRED: The resource for which the policy is being requested. See the
401
401
  # operation documentation for the appropriate value for this field.
402
402
  # @param [Fixnum] options_requested_policy_version
403
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
404
- # 3. Requests specifying an invalid value will be rejected. Requests for
405
- # policies with any conditional bindings must specify version 3. Policies
406
- # without any conditional bindings may specify any valid value or leave the
407
- # field unset. To learn which resources support conditions in their IAM policies,
408
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
409
- # resource-policies).
403
+ # Optional. The maximum policy version that will be used to format the policy.
404
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
405
+ # rejected. Requests for policies with any conditional role bindings must
406
+ # specify version 3. Policies with no conditional role bindings may specify any
407
+ # valid value or leave the field unset. The policy in the response might use the
408
+ # policy version that you specified, or it might use a lower policy version. For
409
+ # example, if you specify version 3, but the policy has no conditional role
410
+ # bindings, the response uses version 1. To learn which resources support
411
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
412
+ # google.com/iam/help/conditions/resource-policies).
410
413
  # @param [String] fields
411
414
  # Selector specifying which fields to include in a partial response.
412
415
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudfunctions_v1
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: 2021-11-08 00:00:00.000000000 Z
11
+ date: 2021-11-15 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v1
63
63
  post_install_message:
64
64
  rdoc_options: []