google-apis-cloudfunctions_v1 0.15.0 → 0.19.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: b18c7f7e5d7420b733bf229262e0d823a52dbc369fe9fba68b4a06d894bc420c
4
- data.tar.gz: 1c65c10430e30a0df58a4e0222478f148853756f8af27a2d86b4bfafc1477a5e
3
+ metadata.gz: 2abedd6be5effc93fb24cd57b027cd7b0d23e080d9e65035362510e5c3f4bbb6
4
+ data.tar.gz: ea00a3c748ab54b611851f7429b2e827eef36778b466d22dc86ac56c323438cc
5
5
  SHA512:
6
- metadata.gz: e750dd1872498978340aee93db19df8f1b1c1ef1bf32bcda043fd7a34fa310ccd463fca47973668ee63f24f78204a2a09988a621e16ec8362c3c8a8fc37c654d
7
- data.tar.gz: 7157715f070b487ca09dfc74c71de6b04aaaf26ee083663037ce4111941fe876286023744bada78f0dd5b0fea5b4acde738a44ce2168aa5e490ca30aae93acad
6
+ metadata.gz: 93171b9bb2f3604b9eadccc04c9839e7bc088e17bc8eb46fb87f54166316205819ed553c8cd145db6d6772396c8b0b19b7a3c178c690ded6d90e81f8c3f43ed7
7
+ data.tar.gz: 55988c3ffed5bf46986b2660eaa9071582d63407be5c26f7ae528b1c7721291fada8a01a8c29b1b210bbc1864f0cf2d256966cd054c136521f89d6ce882d3951
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-cloudfunctions_v1
2
2
 
3
+ ### v0.19.0 (2022-02-12)
4
+
5
+ * Regenerated from discovery document revision 20220203
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.18.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.17.0 (2021-12-07)
13
+
14
+ * Regenerated from discovery document revision 20211130
15
+
16
+ ### v0.16.0 (2021-11-13)
17
+
18
+ * Regenerated from discovery document revision 20211108
19
+
3
20
  ### v0.15.0 (2021-11-05)
4
21
 
5
22
  * Regenerated from discovery document revision 20211027
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.
@@ -260,6 +260,27 @@ module Google
260
260
  # @return [String]
261
261
  attr_accessor :description
262
262
 
263
+ # Docker Registry to use for this deployment. If `docker_repository` field is
264
+ # specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If
265
+ # unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be
266
+ # overridden by the backend for eligible deployments.
267
+ # Corresponds to the JSON property `dockerRegistry`
268
+ # @return [String]
269
+ attr_accessor :docker_registry
270
+
271
+ # User managed repository created in Artifact Registry optionally with a
272
+ # customer managed encryption key. If specified, deployments will use Artifact
273
+ # Registry. If unspecified and the deployment is eligible to use Artifact
274
+ # Registry, GCF will create and use a repository named 'gcf-artifacts' for every
275
+ # deployed region. This is the repository to which the function docker image
276
+ # will be pushed after it is built by Cloud Build. It must match the pattern `
277
+ # projects/`project`/locations/`location`/repositories/`repository``. Cross-
278
+ # project repositories are not supported. Cross-location repositories are not
279
+ # supported. Repository format must be 'DOCKER'.
280
+ # Corresponds to the JSON property `dockerRepository`
281
+ # @return [String]
282
+ attr_accessor :docker_repository
283
+
263
284
  # The name of the function (as defined in source code) that will be executed.
264
285
  # Defaults to the resource name suffix, if not specified. For backward
265
286
  # compatibility, if function with given name is not found, then the system will
@@ -289,6 +310,28 @@ module Google
289
310
  # @return [String]
290
311
  attr_accessor :ingress_settings
291
312
 
313
+ # Resource name of a KMS crypto key (managed by the user) used to encrypt/
314
+ # decrypt function resources. It must match the pattern `projects/`project`/
315
+ # locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``. If
316
+ # specified, you must also provide an artifact registry repository using the `
317
+ # docker_repository` field that was created with the same KMS crypto key. The
318
+ # following service accounts need to be granted the role 'Cloud KMS CryptoKey
319
+ # Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/
320
+ # KeyRing/Project/Organization (least access preferred). 1. Google Cloud
321
+ # Functions service account (service-`project_number`@gcf-admin-robot.iam.
322
+ # gserviceaccount.com) - Required to protect the function's image. 2. Google
323
+ # Storage service account (service-`project_number`@gs-project-accounts.iam.
324
+ # gserviceaccount.com) - Required to protect the function's source code. If this
325
+ # service account does not exist, deploying a function without a KMS key or
326
+ # retrieving the service agent name provisions it. For more information, see
327
+ # https://cloud.google.com/storage/docs/projects#service-agents and https://
328
+ # cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud
329
+ # Functions delegates access to service agents to protect function resources in
330
+ # internal projects that are not accessible by the end user.
331
+ # Corresponds to the JSON property `kmsKeyName`
332
+ # @return [String]
333
+ attr_accessor :kms_key_name
334
+
292
335
  # Labels associated with this Cloud Function.
293
336
  # Corresponds to the JSON property `labels`
294
337
  # @return [Hash<String,String>]
@@ -432,11 +475,14 @@ module Google
432
475
  @build_name = args[:build_name] if args.key?(:build_name)
433
476
  @build_worker_pool = args[:build_worker_pool] if args.key?(:build_worker_pool)
434
477
  @description = args[:description] if args.key?(:description)
478
+ @docker_registry = args[:docker_registry] if args.key?(:docker_registry)
479
+ @docker_repository = args[:docker_repository] if args.key?(:docker_repository)
435
480
  @entry_point = args[:entry_point] if args.key?(:entry_point)
436
481
  @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
437
482
  @event_trigger = args[:event_trigger] if args.key?(:event_trigger)
438
483
  @https_trigger = args[:https_trigger] if args.key?(:https_trigger)
439
484
  @ingress_settings = args[:ingress_settings] if args.key?(:ingress_settings)
485
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
440
486
  @labels = args[:labels] if args.key?(:labels)
441
487
  @max_instances = args[:max_instances] if args.key?(:max_instances)
442
488
  @min_instances = args[:min_instances] if args.key?(:min_instances)
@@ -667,6 +713,306 @@ module Google
667
713
  end
668
714
  end
669
715
 
716
+ # Represents the metadata of the long-running operation.
717
+ class GoogleCloudFunctionsV2alphaOperationMetadata
718
+ include Google::Apis::Core::Hashable
719
+
720
+ # API version used to start the operation.
721
+ # Corresponds to the JSON property `apiVersion`
722
+ # @return [String]
723
+ attr_accessor :api_version
724
+
725
+ # Identifies whether the user has requested cancellation of the operation.
726
+ # Operations that have successfully been cancelled have Operation.error value
727
+ # with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
728
+ # Corresponds to the JSON property `cancelRequested`
729
+ # @return [Boolean]
730
+ attr_accessor :cancel_requested
731
+ alias_method :cancel_requested?, :cancel_requested
732
+
733
+ # The time the operation was created.
734
+ # Corresponds to the JSON property `createTime`
735
+ # @return [String]
736
+ attr_accessor :create_time
737
+
738
+ # The time the operation finished running.
739
+ # Corresponds to the JSON property `endTime`
740
+ # @return [String]
741
+ attr_accessor :end_time
742
+
743
+ # The original request that started the operation.
744
+ # Corresponds to the JSON property `requestResource`
745
+ # @return [Hash<String,Object>]
746
+ attr_accessor :request_resource
747
+
748
+ # Mechanism for reporting in-progress stages
749
+ # Corresponds to the JSON property `stages`
750
+ # @return [Array<Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStage>]
751
+ attr_accessor :stages
752
+
753
+ # Human-readable status of the operation, if any.
754
+ # Corresponds to the JSON property `statusDetail`
755
+ # @return [String]
756
+ attr_accessor :status_detail
757
+
758
+ # Server-defined resource path for the target of the operation.
759
+ # Corresponds to the JSON property `target`
760
+ # @return [String]
761
+ attr_accessor :target
762
+
763
+ # Name of the verb executed by the operation.
764
+ # Corresponds to the JSON property `verb`
765
+ # @return [String]
766
+ attr_accessor :verb
767
+
768
+ def initialize(**args)
769
+ update!(**args)
770
+ end
771
+
772
+ # Update properties of this object
773
+ def update!(**args)
774
+ @api_version = args[:api_version] if args.key?(:api_version)
775
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
776
+ @create_time = args[:create_time] if args.key?(:create_time)
777
+ @end_time = args[:end_time] if args.key?(:end_time)
778
+ @request_resource = args[:request_resource] if args.key?(:request_resource)
779
+ @stages = args[:stages] if args.key?(:stages)
780
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
781
+ @target = args[:target] if args.key?(:target)
782
+ @verb = args[:verb] if args.key?(:verb)
783
+ end
784
+ end
785
+
786
+ # Each Stage of the deployment process
787
+ class GoogleCloudFunctionsV2alphaStage
788
+ include Google::Apis::Core::Hashable
789
+
790
+ # Message describing the Stage
791
+ # Corresponds to the JSON property `message`
792
+ # @return [String]
793
+ attr_accessor :message
794
+
795
+ # Name of the Stage. This will be unique for each Stage.
796
+ # Corresponds to the JSON property `name`
797
+ # @return [String]
798
+ attr_accessor :name
799
+
800
+ # Resource of the Stage
801
+ # Corresponds to the JSON property `resource`
802
+ # @return [String]
803
+ attr_accessor :resource
804
+
805
+ # Link to the current Stage resource
806
+ # Corresponds to the JSON property `resourceUri`
807
+ # @return [String]
808
+ attr_accessor :resource_uri
809
+
810
+ # Current state of the Stage
811
+ # Corresponds to the JSON property `state`
812
+ # @return [String]
813
+ attr_accessor :state
814
+
815
+ # State messages from the current Stage.
816
+ # Corresponds to the JSON property `stateMessages`
817
+ # @return [Array<Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage>]
818
+ attr_accessor :state_messages
819
+
820
+ def initialize(**args)
821
+ update!(**args)
822
+ end
823
+
824
+ # Update properties of this object
825
+ def update!(**args)
826
+ @message = args[:message] if args.key?(:message)
827
+ @name = args[:name] if args.key?(:name)
828
+ @resource = args[:resource] if args.key?(:resource)
829
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
830
+ @state = args[:state] if args.key?(:state)
831
+ @state_messages = args[:state_messages] if args.key?(:state_messages)
832
+ end
833
+ end
834
+
835
+ # Informational messages about the state of the Cloud Function or Operation.
836
+ class GoogleCloudFunctionsV2alphaStateMessage
837
+ include Google::Apis::Core::Hashable
838
+
839
+ # The message.
840
+ # Corresponds to the JSON property `message`
841
+ # @return [String]
842
+ attr_accessor :message
843
+
844
+ # Severity of the state message.
845
+ # Corresponds to the JSON property `severity`
846
+ # @return [String]
847
+ attr_accessor :severity
848
+
849
+ # One-word CamelCase type of the state message.
850
+ # Corresponds to the JSON property `type`
851
+ # @return [String]
852
+ attr_accessor :type
853
+
854
+ def initialize(**args)
855
+ update!(**args)
856
+ end
857
+
858
+ # Update properties of this object
859
+ def update!(**args)
860
+ @message = args[:message] if args.key?(:message)
861
+ @severity = args[:severity] if args.key?(:severity)
862
+ @type = args[:type] if args.key?(:type)
863
+ end
864
+ end
865
+
866
+ # Represents the metadata of the long-running operation.
867
+ class GoogleCloudFunctionsV2betaOperationMetadata
868
+ include Google::Apis::Core::Hashable
869
+
870
+ # API version used to start the operation.
871
+ # Corresponds to the JSON property `apiVersion`
872
+ # @return [String]
873
+ attr_accessor :api_version
874
+
875
+ # Identifies whether the user has requested cancellation of the operation.
876
+ # Operations that have successfully been cancelled have Operation.error value
877
+ # with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
878
+ # Corresponds to the JSON property `cancelRequested`
879
+ # @return [Boolean]
880
+ attr_accessor :cancel_requested
881
+ alias_method :cancel_requested?, :cancel_requested
882
+
883
+ # The time the operation was created.
884
+ # Corresponds to the JSON property `createTime`
885
+ # @return [String]
886
+ attr_accessor :create_time
887
+
888
+ # The time the operation finished running.
889
+ # Corresponds to the JSON property `endTime`
890
+ # @return [String]
891
+ attr_accessor :end_time
892
+
893
+ # The original request that started the operation.
894
+ # Corresponds to the JSON property `requestResource`
895
+ # @return [Hash<String,Object>]
896
+ attr_accessor :request_resource
897
+
898
+ # Mechanism for reporting in-progress stages
899
+ # Corresponds to the JSON property `stages`
900
+ # @return [Array<Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2betaStage>]
901
+ attr_accessor :stages
902
+
903
+ # Human-readable status of the operation, if any.
904
+ # Corresponds to the JSON property `statusDetail`
905
+ # @return [String]
906
+ attr_accessor :status_detail
907
+
908
+ # Server-defined resource path for the target of the operation.
909
+ # Corresponds to the JSON property `target`
910
+ # @return [String]
911
+ attr_accessor :target
912
+
913
+ # Name of the verb executed by the operation.
914
+ # Corresponds to the JSON property `verb`
915
+ # @return [String]
916
+ attr_accessor :verb
917
+
918
+ def initialize(**args)
919
+ update!(**args)
920
+ end
921
+
922
+ # Update properties of this object
923
+ def update!(**args)
924
+ @api_version = args[:api_version] if args.key?(:api_version)
925
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
926
+ @create_time = args[:create_time] if args.key?(:create_time)
927
+ @end_time = args[:end_time] if args.key?(:end_time)
928
+ @request_resource = args[:request_resource] if args.key?(:request_resource)
929
+ @stages = args[:stages] if args.key?(:stages)
930
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
931
+ @target = args[:target] if args.key?(:target)
932
+ @verb = args[:verb] if args.key?(:verb)
933
+ end
934
+ end
935
+
936
+ # Each Stage of the deployment process
937
+ class GoogleCloudFunctionsV2betaStage
938
+ include Google::Apis::Core::Hashable
939
+
940
+ # Message describing the Stage
941
+ # Corresponds to the JSON property `message`
942
+ # @return [String]
943
+ attr_accessor :message
944
+
945
+ # Name of the Stage. This will be unique for each Stage.
946
+ # Corresponds to the JSON property `name`
947
+ # @return [String]
948
+ attr_accessor :name
949
+
950
+ # Resource of the Stage
951
+ # Corresponds to the JSON property `resource`
952
+ # @return [String]
953
+ attr_accessor :resource
954
+
955
+ # Link to the current Stage resource
956
+ # Corresponds to the JSON property `resourceUri`
957
+ # @return [String]
958
+ attr_accessor :resource_uri
959
+
960
+ # Current state of the Stage
961
+ # Corresponds to the JSON property `state`
962
+ # @return [String]
963
+ attr_accessor :state
964
+
965
+ # State messages from the current Stage.
966
+ # Corresponds to the JSON property `stateMessages`
967
+ # @return [Array<Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2betaStateMessage>]
968
+ attr_accessor :state_messages
969
+
970
+ def initialize(**args)
971
+ update!(**args)
972
+ end
973
+
974
+ # Update properties of this object
975
+ def update!(**args)
976
+ @message = args[:message] if args.key?(:message)
977
+ @name = args[:name] if args.key?(:name)
978
+ @resource = args[:resource] if args.key?(:resource)
979
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
980
+ @state = args[:state] if args.key?(:state)
981
+ @state_messages = args[:state_messages] if args.key?(:state_messages)
982
+ end
983
+ end
984
+
985
+ # Informational messages about the state of the Cloud Function or Operation.
986
+ class GoogleCloudFunctionsV2betaStateMessage
987
+ include Google::Apis::Core::Hashable
988
+
989
+ # The message.
990
+ # Corresponds to the JSON property `message`
991
+ # @return [String]
992
+ attr_accessor :message
993
+
994
+ # Severity of the state message.
995
+ # Corresponds to the JSON property `severity`
996
+ # @return [String]
997
+ attr_accessor :severity
998
+
999
+ # One-word CamelCase type of the state message.
1000
+ # Corresponds to the JSON property `type`
1001
+ # @return [String]
1002
+ attr_accessor :type
1003
+
1004
+ def initialize(**args)
1005
+ update!(**args)
1006
+ end
1007
+
1008
+ # Update properties of this object
1009
+ def update!(**args)
1010
+ @message = args[:message] if args.key?(:message)
1011
+ @severity = args[:severity] if args.key?(:severity)
1012
+ @type = args[:type] if args.key?(:type)
1013
+ end
1014
+ end
1015
+
670
1016
  # Describes HttpsTrigger, could be used to connect web hooks to function.
671
1017
  class HttpsTrigger
672
1018
  include Google::Apis::Core::Hashable
@@ -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.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211027"
25
+ REVISION = "20220203"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,42 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class GoogleCloudFunctionsV2alphaOperationMetadata
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudFunctionsV2alphaStage
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudFunctionsV2alphaStateMessage
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudFunctionsV2betaOperationMetadata
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudFunctionsV2betaStage
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudFunctionsV2betaStateMessage
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
103
139
  class HttpsTrigger
104
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
141
 
@@ -254,6 +290,8 @@ module Google
254
290
  property :build_name, as: 'buildName'
255
291
  property :build_worker_pool, as: 'buildWorkerPool'
256
292
  property :description, as: 'description'
293
+ property :docker_registry, as: 'dockerRegistry'
294
+ property :docker_repository, as: 'dockerRepository'
257
295
  property :entry_point, as: 'entryPoint'
258
296
  hash :environment_variables, as: 'environmentVariables'
259
297
  property :event_trigger, as: 'eventTrigger', class: Google::Apis::CloudfunctionsV1::EventTrigger, decorator: Google::Apis::CloudfunctionsV1::EventTrigger::Representation
@@ -261,6 +299,7 @@ module Google
261
299
  property :https_trigger, as: 'httpsTrigger', class: Google::Apis::CloudfunctionsV1::HttpsTrigger, decorator: Google::Apis::CloudfunctionsV1::HttpsTrigger::Representation
262
300
 
263
301
  property :ingress_settings, as: 'ingressSettings'
302
+ property :kms_key_name, as: 'kmsKeyName'
264
303
  hash :labels, as: 'labels'
265
304
  property :max_instances, as: 'maxInstances'
266
305
  property :min_instances, as: 'minInstances'
@@ -342,6 +381,82 @@ module Google
342
381
  end
343
382
  end
344
383
 
384
+ class GoogleCloudFunctionsV2alphaOperationMetadata
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ property :api_version, as: 'apiVersion'
388
+ property :cancel_requested, as: 'cancelRequested'
389
+ property :create_time, as: 'createTime'
390
+ property :end_time, as: 'endTime'
391
+ hash :request_resource, as: 'requestResource'
392
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStage::Representation
393
+
394
+ property :status_detail, as: 'statusDetail'
395
+ property :target, as: 'target'
396
+ property :verb, as: 'verb'
397
+ end
398
+ end
399
+
400
+ class GoogleCloudFunctionsV2alphaStage
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ property :message, as: 'message'
404
+ property :name, as: 'name'
405
+ property :resource, as: 'resource'
406
+ property :resource_uri, as: 'resourceUri'
407
+ property :state, as: 'state'
408
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage::Representation
409
+
410
+ end
411
+ end
412
+
413
+ class GoogleCloudFunctionsV2alphaStateMessage
414
+ # @private
415
+ class Representation < Google::Apis::Core::JsonRepresentation
416
+ property :message, as: 'message'
417
+ property :severity, as: 'severity'
418
+ property :type, as: 'type'
419
+ end
420
+ end
421
+
422
+ class GoogleCloudFunctionsV2betaOperationMetadata
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ property :api_version, as: 'apiVersion'
426
+ property :cancel_requested, as: 'cancelRequested'
427
+ property :create_time, as: 'createTime'
428
+ property :end_time, as: 'endTime'
429
+ hash :request_resource, as: 'requestResource'
430
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2betaStage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2betaStage::Representation
431
+
432
+ property :status_detail, as: 'statusDetail'
433
+ property :target, as: 'target'
434
+ property :verb, as: 'verb'
435
+ end
436
+ end
437
+
438
+ class GoogleCloudFunctionsV2betaStage
439
+ # @private
440
+ class Representation < Google::Apis::Core::JsonRepresentation
441
+ property :message, as: 'message'
442
+ property :name, as: 'name'
443
+ property :resource, as: 'resource'
444
+ property :resource_uri, as: 'resourceUri'
445
+ property :state, as: 'state'
446
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2betaStateMessage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2betaStateMessage::Representation
447
+
448
+ end
449
+ end
450
+
451
+ class GoogleCloudFunctionsV2betaStateMessage
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :message, as: 'message'
455
+ property :severity, as: 'severity'
456
+ property :type, as: 'type'
457
+ end
458
+ end
459
+
345
460
  class HttpsTrigger
346
461
  # @private
347
462
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.15.0
4
+ version: 0.19.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: 2022-02-14 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.19.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.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Functions API V1