google-apis-cloudfunctions_v1 0.14.0 → 0.18.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: 7ced7a95d63c732d0755352ec6e8ffe7fd76aedf8d4dc56b27a79bcc65147022
4
- data.tar.gz: e6d2ab3aa2f79b635afa8da1e50b816d5f6a386c4128d37ec7e1d76ecbd28479
3
+ metadata.gz: 5b19ed4d8b47a1345799b067d0b6a90f10058aaebf67c8cdf666d35ce4335c85
4
+ data.tar.gz: e6c377440e2c45a405956fc79bcfa1e9c4ec1835baaf9a8799f3ccd5c9344ba4
5
5
  SHA512:
6
- metadata.gz: 48b19a80e7d467a61bcbb8b1765a3e998882a331b8741a64282210454f2425d1d9a24f0065219e52d456d334cc6b6fcee260c3879b129ebe5ab61cf48f87ac50
7
- data.tar.gz: d0606421b11f1ba6a5c036f7e252a3eee57e8c0bb7de8575549c1680535c0254b4d17c75a2258910e0a5f392887b42be73f12963a61839dc24b179b64318a3ae
6
+ metadata.gz: 04adcf1f988168f0ccdef88009597a70410e6e17703665246fa9e541746dfe850463af889bf4f353f06776d4178f6d4ea5949b5207a34f8a969f2d073ca1747c
7
+ data.tar.gz: a29b6c4ce35b5510fba6ee0d1a06f548006e2d328295fd01348af5fcb6f36db4d01393e31e97fdb11f0a72bb1fa7bafe9c8b486b00295056967ba30082ec45a5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudfunctions_v1
2
2
 
3
+ ### v0.18.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.17.0 (2021-12-07)
8
+
9
+ * Regenerated from discovery document revision 20211130
10
+
11
+ ### v0.16.0 (2021-11-13)
12
+
13
+ * Regenerated from discovery document revision 20211108
14
+
15
+ ### v0.15.0 (2021-11-05)
16
+
17
+ * Regenerated from discovery document revision 20211027
18
+
3
19
  ### v0.14.0 (2021-10-22)
4
20
 
5
21
  * Regenerated from discovery document revision 20211014
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudfunctions_v1"
51
51
  client = Google::Apis::CloudfunctionsV1::CloudFunctionsService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -217,7 +217,7 @@ module Google
217
217
  end
218
218
 
219
219
  # Describes a Cloud Function that contains user computation executed in response
220
- # to an event. It encapsulate function and triggers configurations. Next tag: 35
220
+ # to an event. It encapsulate function and triggers configurations. Next tag: 36
221
221
  class CloudFunction
222
222
  include Google::Apis::Core::Hashable
223
223
 
@@ -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.14.0"
19
+ GEM_VERSION = "0.18.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 = "20211014"
25
+ REVISION = "20211130"
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
@@ -484,7 +487,7 @@ module Google
484
487
  # and match pattern `projects/*/locations/*/functions/*`
485
488
  # @param [Google::Apis::CloudfunctionsV1::CloudFunction] cloud_function_object
486
489
  # @param [String] update_mask
487
- # Required list of fields to be updated in this request.
490
+ # Required. The list of fields in `CloudFunction` that have to be updated.
488
491
  # @param [String] fields
489
492
  # Selector specifying which fields to include in a partial response.
490
493
  # @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.14.0
4
+ version: 0.18.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-10-27 00:00:00.000000000 Z
11
+ date: 2022-01-10 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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.18.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Functions API V1