google-apis-cloudfunctions_v1 0.1.0 → 0.2.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: c0e4169a0bc45ff4dae59f9a7e889c3b8c1e286884f1e71283743aeb2c5364fd
4
- data.tar.gz: f215f51baf74a87e133df185eb551d85be404407782240211e8700aaed3cd3f8
3
+ metadata.gz: 791bc7ab8e47db5659da5166e1493ab0c3e5795ccdae5cdb48517a0cbadbf92d
4
+ data.tar.gz: 46b498425f4549e30a173252fd7ce0b903fa57e143172806d89e0ae686293a0c
5
5
  SHA512:
6
- metadata.gz: dce545d2c3168944d18380a16f2f3b805b58428e56b24a267f4ae247597be29c168192e56b01c31fbd20da3239b3ea2f4476081f06cdafe0dcc13f993bda6c20
7
- data.tar.gz: dcc1baad83256374e2117cd1497884d51c5a1159ec48b57064bdff1d973ff2c795eb4cabc70df61c14601595c7768518c5b2d72e175a1431319674fd0570c662
6
+ metadata.gz: 82f1149882c4d1a4f970651cde0498738e79851b1a505e474e739496957ef689dbdc25740686ec9339da4eea8ad4e8933f305fd66ebf58c714657735daae6311
7
+ data.tar.gz: 7a48188de8b6d786c05596290e834d05709e8b383c5b56dd8cb7e6c71cce5df8a2af7bb0b1a41af7ede0eeeffa618486aa22aae745a63f61df9cc1daf2837f39
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudfunctions_v1
2
2
 
3
+ ### v0.2.0 (2021-01-23)
4
+
5
+ * Regenerated from discovery document revision 20210114
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -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
@@ -846,7 +872,8 @@ module Google
846
872
  # @return [Hash<String,Object>]
847
873
  attr_accessor :request
848
874
 
849
- # A field for Firebase function deployments
875
+ # An identifier for Firebase function sources. Disclaimer: This field is only
876
+ # supported for Firebase function deployments.
850
877
  # Corresponds to the JSON property `sourceToken`
851
878
  # @return [String]
852
879
  attr_accessor :source_token
@@ -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.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201201"
25
+ REVISION = "20210114"
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
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.1.0
4
+ version: 0.2.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.2.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: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Functions API V1