google-apis-cloudfunctions_v1 0.1.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/cloudfunctions_v1.rb +1 -1
- data/lib/google/apis/cloudfunctions_v1/classes.rb +35 -1
- data/lib/google/apis/cloudfunctions_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudfunctions_v1/representations.rb +4 -0
- data/lib/google/apis/cloudfunctions_v1/service.rb +7 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e784a4cd21026930104548bf424e62d2d24a25f304310d70869f8f19f89aaad
|
4
|
+
data.tar.gz: fc2093675e10e9cc6124bc758d7ce613023f8487f7e28ebc06c543f5548f4442
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0495169bb24dd54f7357eb58c4145ffc4ba40f365f5602f927ae10e199083f7556461c22f1419ea24fa1df9dc31468e8a04f4fcd73848d7ee7aea0a8340e9ef6'
|
7
|
+
data.tar.gz: 403a1d7bd4549d394fcc35fbf2fb5f4a2a814ca11519106d2eebc1326350eebaa4990d4d2c2174531211c5c81713e7aa6d6e9a71ababd33f8d3cbfc2333180fe
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-cloudfunctions_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-04-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210409
|
6
|
+
|
7
|
+
### v0.5.0 (2021-04-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210325
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-18)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210309
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.3.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.2.0 (2021-01-23)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210114
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
@@ -237,6 +237,18 @@ module Google
|
|
237
237
|
# @return [String]
|
238
238
|
attr_accessor :build_id
|
239
239
|
|
240
|
+
# Name of the Cloud Build Custom Worker Pool that should be used to build the
|
241
|
+
# function. The format of this field is `projects/`project`/locations/`region`/
|
242
|
+
# workerPools/`workerPool`` where `project` and `region` are the project id and
|
243
|
+
# region respectively where the worker pool is defined and `workerPool` is the
|
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.iam.
|
246
|
+
# gserviceaccount.com) must be granted the role Cloud Build Custom Workers
|
247
|
+
# Builder (roles/cloudbuild.customworkers.builder) in the project.
|
248
|
+
# Corresponds to the JSON property `buildWorkerPool`
|
249
|
+
# @return [String]
|
250
|
+
attr_accessor :build_worker_pool
|
251
|
+
|
240
252
|
# User-provided description of a function.
|
241
253
|
# Corresponds to the JSON property `description`
|
242
254
|
# @return [String]
|
@@ -333,6 +345,12 @@ module Google
|
|
333
345
|
# @return [Google::Apis::CloudfunctionsV1::SourceRepository]
|
334
346
|
attr_accessor :source_repository
|
335
347
|
|
348
|
+
# Input only. An identifier for Firebase function sources. Disclaimer: This
|
349
|
+
# field is only supported for Firebase function deployments.
|
350
|
+
# Corresponds to the JSON property `sourceToken`
|
351
|
+
# @return [String]
|
352
|
+
attr_accessor :source_token
|
353
|
+
|
336
354
|
# The Google Cloud Storage signed URL used for source uploading, generated by
|
337
355
|
# google.cloud.functions.v1.GenerateUploadUrl
|
338
356
|
# Corresponds to the JSON property `sourceUploadUrl`
|
@@ -387,6 +405,7 @@ module Google
|
|
387
405
|
@available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb)
|
388
406
|
@build_environment_variables = args[:build_environment_variables] if args.key?(:build_environment_variables)
|
389
407
|
@build_id = args[:build_id] if args.key?(:build_id)
|
408
|
+
@build_worker_pool = args[:build_worker_pool] if args.key?(:build_worker_pool)
|
390
409
|
@description = args[:description] if args.key?(:description)
|
391
410
|
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
392
411
|
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
@@ -401,6 +420,7 @@ module Google
|
|
401
420
|
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
402
421
|
@source_archive_url = args[:source_archive_url] if args.key?(:source_archive_url)
|
403
422
|
@source_repository = args[:source_repository] if args.key?(:source_repository)
|
423
|
+
@source_token = args[:source_token] if args.key?(:source_token)
|
404
424
|
@source_upload_url = args[:source_upload_url] if args.key?(:source_upload_url)
|
405
425
|
@status = args[:status] if args.key?(:status)
|
406
426
|
@timeout = args[:timeout] if args.key?(:timeout)
|
@@ -623,6 +643,11 @@ module Google
|
|
623
643
|
class HttpsTrigger
|
624
644
|
include Google::Apis::Core::Hashable
|
625
645
|
|
646
|
+
# The security level for the function.
|
647
|
+
# Corresponds to the JSON property `securityLevel`
|
648
|
+
# @return [String]
|
649
|
+
attr_accessor :security_level
|
650
|
+
|
626
651
|
# Output only. The deployed url for the function.
|
627
652
|
# Corresponds to the JSON property `url`
|
628
653
|
# @return [String]
|
@@ -634,6 +659,7 @@ module Google
|
|
634
659
|
|
635
660
|
# Update properties of this object
|
636
661
|
def update!(**args)
|
662
|
+
@security_level = args[:security_level] if args.key?(:security_level)
|
637
663
|
@url = args[:url] if args.key?(:url)
|
638
664
|
end
|
639
665
|
end
|
@@ -841,12 +867,19 @@ module Google
|
|
841
867
|
# @return [String]
|
842
868
|
attr_accessor :build_id
|
843
869
|
|
870
|
+
# The Cloud Build Name of the function deployment. This field is only populated
|
871
|
+
# for Create and Update operations. projects//locations//builds/.
|
872
|
+
# Corresponds to the JSON property `buildName`
|
873
|
+
# @return [String]
|
874
|
+
attr_accessor :build_name
|
875
|
+
|
844
876
|
# The original request that started the operation.
|
845
877
|
# Corresponds to the JSON property `request`
|
846
878
|
# @return [Hash<String,Object>]
|
847
879
|
attr_accessor :request
|
848
880
|
|
849
|
-
#
|
881
|
+
# An identifier for Firebase function sources. Disclaimer: This field is only
|
882
|
+
# supported for Firebase function deployments.
|
850
883
|
# Corresponds to the JSON property `sourceToken`
|
851
884
|
# @return [String]
|
852
885
|
attr_accessor :source_token
|
@@ -880,6 +913,7 @@ module Google
|
|
880
913
|
# Update properties of this object
|
881
914
|
def update!(**args)
|
882
915
|
@build_id = args[:build_id] if args.key?(:build_id)
|
916
|
+
@build_name = args[:build_name] if args.key?(:build_name)
|
883
917
|
@request = args[:request] if args.key?(:request)
|
884
918
|
@source_token = args[:source_token] if args.key?(:source_token)
|
885
919
|
@target = args[:target] if args.key?(:target)
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210409"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -233,6 +233,7 @@ module Google
|
|
233
233
|
property :available_memory_mb, as: 'availableMemoryMb'
|
234
234
|
hash :build_environment_variables, as: 'buildEnvironmentVariables'
|
235
235
|
property :build_id, as: 'buildId'
|
236
|
+
property :build_worker_pool, as: 'buildWorkerPool'
|
236
237
|
property :description, as: 'description'
|
237
238
|
property :entry_point, as: 'entryPoint'
|
238
239
|
hash :environment_variables, as: 'environmentVariables'
|
@@ -250,6 +251,7 @@ module Google
|
|
250
251
|
property :source_archive_url, as: 'sourceArchiveUrl'
|
251
252
|
property :source_repository, as: 'sourceRepository', class: Google::Apis::CloudfunctionsV1::SourceRepository, decorator: Google::Apis::CloudfunctionsV1::SourceRepository::Representation
|
252
253
|
|
254
|
+
property :source_token, as: 'sourceToken'
|
253
255
|
property :source_upload_url, as: 'sourceUploadUrl'
|
254
256
|
property :status, as: 'status'
|
255
257
|
property :timeout, as: 'timeout'
|
@@ -319,6 +321,7 @@ module Google
|
|
319
321
|
class HttpsTrigger
|
320
322
|
# @private
|
321
323
|
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
+
property :security_level, as: 'securityLevel'
|
322
325
|
property :url, as: 'url'
|
323
326
|
end
|
324
327
|
end
|
@@ -378,6 +381,7 @@ module Google
|
|
378
381
|
# @private
|
379
382
|
class Representation < Google::Apis::Core::JsonRepresentation
|
380
383
|
property :build_id, as: 'buildId'
|
384
|
+
property :build_name, as: 'buildName'
|
381
385
|
hash :request, as: 'request'
|
382
386
|
property :source_token, as: 'sourceToken'
|
383
387
|
property :target, as: 'target'
|
@@ -136,11 +136,15 @@ module Google
|
|
136
136
|
# @param [String] name
|
137
137
|
# The resource that owns the locations collection, if applicable.
|
138
138
|
# @param [String] filter
|
139
|
-
#
|
139
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
140
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
141
|
+
# AIP-160](https://google.aip.dev/160).
|
140
142
|
# @param [Fixnum] page_size
|
141
|
-
# The
|
143
|
+
# The maximum number of results to return. If not set, the service selects a
|
144
|
+
# default.
|
142
145
|
# @param [String] page_token
|
143
|
-
#
|
146
|
+
# A page token received from the `next_page_token` field in the response. Send
|
147
|
+
# that page token to receive the subsequent page.
|
144
148
|
# @param [String] fields
|
145
149
|
# Selector specifying which fields to include in a partial response.
|
146
150
|
# @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.
|
4
|
+
version: 0.6.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-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudfunctions_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudfunctions_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Functions API V1
|