google-apis-cloudfunctions_v1 0.11.0 → 0.12.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50f63f0843884da8589ebaf6fa3ba209e60d899ead50724e20f60c985e03f2fe
|
4
|
+
data.tar.gz: 45ba1c225e57ffe31237ed44c06752ced33c85e15df66f284cbb4a905616b42d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fff5d7974c35b5c4b3efdd230234b35bb91ab50abe60c2da4772483c9902430d94baab71bcda2e336045b3f68af652447193f742506dbba51ccd2f95027e5432
|
7
|
+
data.tar.gz: 1916df22c7f4eb15074e19fd5aef117dd691fcd81d839dc261620deb4fca8da63da06183cd9091e8fb6ad0607e386325d32738cf42651ca715a8cca1adfa23e9
|
data/CHANGELOG.md
CHANGED
@@ -237,14 +237,20 @@ module Google
|
|
237
237
|
# @return [String]
|
238
238
|
attr_accessor :build_id
|
239
239
|
|
240
|
+
# Output only. The Cloud Build Name of the function deployment. `projects//
|
241
|
+
# locations//builds/`.
|
242
|
+
# Corresponds to the JSON property `buildName`
|
243
|
+
# @return [String]
|
244
|
+
attr_accessor :build_name
|
245
|
+
|
240
246
|
# Name of the Cloud Build Custom Worker Pool that should be used to build the
|
241
247
|
# function. The format of this field is `projects/`project`/locations/`region`/
|
242
|
-
# workerPools/`workerPool`` where
|
243
|
-
# region respectively where the worker pool is defined and
|
244
|
-
# short name of the worker pool. If the project id is not the same as the
|
245
|
-
# function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.
|
246
|
-
# gserviceaccount.com) must be granted the role Cloud Build Custom Workers
|
247
|
-
# Builder (roles/cloudbuild.customworkers.builder) in the project.
|
248
|
+
# workerPools/`workerPool`` where ``project`` and ``region`` are the project id
|
249
|
+
# and region respectively where the worker pool is defined and ``workerPool`` is
|
250
|
+
# the short name of the worker pool. If the project id is not the same as the
|
251
|
+
# function, then the Cloud Functions Service Agent (`service-@gcf-admin-robot.
|
252
|
+
# iam.gserviceaccount.com`) must be granted the role Cloud Build Custom Workers
|
253
|
+
# Builder (`roles/cloudbuild.customworkers.builder`) in the project.
|
248
254
|
# Corresponds to the JSON property `buildWorkerPool`
|
249
255
|
# @return [String]
|
250
256
|
attr_accessor :build_worker_pool
|
@@ -299,6 +305,12 @@ module Google
|
|
299
305
|
# @return [Fixnum]
|
300
306
|
attr_accessor :max_instances
|
301
307
|
|
308
|
+
# A lower bound for the number function instances that may coexist at a given
|
309
|
+
# time.
|
310
|
+
# Corresponds to the JSON property `minInstances`
|
311
|
+
# @return [Fixnum]
|
312
|
+
attr_accessor :min_instances
|
313
|
+
|
302
314
|
# A user-defined name of the function. Function names must be unique globally
|
303
315
|
# and match pattern `projects/*/locations/*/functions/*`
|
304
316
|
# Corresponds to the JSON property `name`
|
@@ -310,8 +322,8 @@ module Google
|
|
310
322
|
# network name is used, the network must belong to the same project. Otherwise,
|
311
323
|
# it must belong to a project within the same organization. The format of this
|
312
324
|
# field is either `projects/`project`/global/networks/`network`` or ``network``,
|
313
|
-
# where
|
314
|
-
# the short name of the network. This field is mutually exclusive with `
|
325
|
+
# where ``project`` is a project id where the network is defined, and ``network``
|
326
|
+
# is the short name of the network. This field is mutually exclusive with `
|
315
327
|
# vpc_connector` and will be replaced by it. See [the VPC documentation](https://
|
316
328
|
# cloud.google.com/compute/docs/vpc) for more information on connecting Cloud
|
317
329
|
# projects.
|
@@ -321,8 +333,8 @@ module Google
|
|
321
333
|
|
322
334
|
# The runtime in which to run the function. Required when deploying a new
|
323
335
|
# function, optional when updating an existing function. For a complete list of
|
324
|
-
# possible choices, see the [`gcloud` command reference](
|
325
|
-
# functions/deploy#--runtime).
|
336
|
+
# possible choices, see the [`gcloud` command reference](https://cloud.google.
|
337
|
+
# com/sdk/gcloud/reference/functions/deploy#--runtime).
|
326
338
|
# Corresponds to the JSON property `runtime`
|
327
339
|
# @return [String]
|
328
340
|
attr_accessor :runtime
|
@@ -343,8 +355,8 @@ module Google
|
|
343
355
|
# @return [String]
|
344
356
|
attr_accessor :service_account_email
|
345
357
|
|
346
|
-
# The Google Cloud Storage URL, starting with gs
|
347
|
-
# which contains the function.
|
358
|
+
# The Google Cloud Storage URL, starting with `gs://`, pointing to the zip
|
359
|
+
# archive which contains the function.
|
348
360
|
# Corresponds to the JSON property `sourceArchiveUrl`
|
349
361
|
# @return [String]
|
350
362
|
attr_accessor :source_archive_url
|
@@ -362,7 +374,9 @@ module Google
|
|
362
374
|
attr_accessor :source_token
|
363
375
|
|
364
376
|
# The Google Cloud Storage signed URL used for source uploading, generated by
|
365
|
-
# google.cloud.functions.v1.GenerateUploadUrl
|
377
|
+
# calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is
|
378
|
+
# validated on write methods (Create, Update) The signature is stripped from the
|
379
|
+
# Function object on read methods (Get, List)
|
366
380
|
# Corresponds to the JSON property `sourceUploadUrl`
|
367
381
|
# @return [String]
|
368
382
|
attr_accessor :source_upload_url
|
@@ -415,6 +429,7 @@ module Google
|
|
415
429
|
@available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb)
|
416
430
|
@build_environment_variables = args[:build_environment_variables] if args.key?(:build_environment_variables)
|
417
431
|
@build_id = args[:build_id] if args.key?(:build_id)
|
432
|
+
@build_name = args[:build_name] if args.key?(:build_name)
|
418
433
|
@build_worker_pool = args[:build_worker_pool] if args.key?(:build_worker_pool)
|
419
434
|
@description = args[:description] if args.key?(:description)
|
420
435
|
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
@@ -424,6 +439,7 @@ module Google
|
|
424
439
|
@ingress_settings = args[:ingress_settings] if args.key?(:ingress_settings)
|
425
440
|
@labels = args[:labels] if args.key?(:labels)
|
426
441
|
@max_instances = args[:max_instances] if args.key?(:max_instances)
|
442
|
+
@min_instances = args[:min_instances] if args.key?(:min_instances)
|
427
443
|
@name = args[:name] if args.key?(:name)
|
428
444
|
@network = args[:network] if args.key?(:network)
|
429
445
|
@runtime = args[:runtime] if args.key?(:runtime)
|
@@ -880,7 +896,7 @@ module Google
|
|
880
896
|
attr_accessor :build_id
|
881
897
|
|
882
898
|
# The Cloud Build Name of the function deployment. This field is only populated
|
883
|
-
# for Create and Update operations. projects//locations//builds
|
899
|
+
# for Create and Update operations. `projects//locations//builds/`.
|
884
900
|
# Corresponds to the JSON property `buildName`
|
885
901
|
# @return [String]
|
886
902
|
attr_accessor :build_name
|
@@ -896,8 +912,8 @@ module Google
|
|
896
912
|
# @return [String]
|
897
913
|
attr_accessor :source_token
|
898
914
|
|
899
|
-
# Target of the operation - for example projects/project-1/locations/region-1/
|
900
|
-
# functions/function-1
|
915
|
+
# Target of the operation - for example `projects/project-1/locations/region-1/
|
916
|
+
# functions/function-1`
|
901
917
|
# Corresponds to the JSON property `target`
|
902
918
|
# @return [String]
|
903
919
|
attr_accessor :target
|
@@ -959,7 +975,7 @@ module Google
|
|
959
975
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
960
976
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
961
977
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
962
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
978
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
963
979
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
964
980
|
# google.com/iam/docs/).
|
965
981
|
class Policy
|
@@ -1194,7 +1210,7 @@ module Google
|
|
1194
1210
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1195
1211
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1196
1212
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1197
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1213
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1198
1214
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1199
1215
|
# google.com/iam/docs/).
|
1200
1216
|
# Corresponds to the JSON property `policy`
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.12.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 = "
|
25
|
+
REVISION = "20210819"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -251,6 +251,7 @@ module Google
|
|
251
251
|
property :available_memory_mb, as: 'availableMemoryMb'
|
252
252
|
hash :build_environment_variables, as: 'buildEnvironmentVariables'
|
253
253
|
property :build_id, as: 'buildId'
|
254
|
+
property :build_name, as: 'buildName'
|
254
255
|
property :build_worker_pool, as: 'buildWorkerPool'
|
255
256
|
property :description, as: 'description'
|
256
257
|
property :entry_point, as: 'entryPoint'
|
@@ -262,6 +263,7 @@ module Google
|
|
262
263
|
property :ingress_settings, as: 'ingressSettings'
|
263
264
|
hash :labels, as: 'labels'
|
264
265
|
property :max_instances, as: 'maxInstances'
|
266
|
+
property :min_instances, as: 'minInstances'
|
265
267
|
property :name, as: 'name'
|
266
268
|
property :network, as: 'network'
|
267
269
|
property :runtime, as: 'runtime'
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
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.
|
4
|
+
version: 0.12.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
|
+
date: 2021-09-06 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/master/generated/google-apis-cloudfunctions_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.12.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudfunctions_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|