google-apis-cloudfunctions_v1 0.18.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: 5b19ed4d8b47a1345799b067d0b6a90f10058aaebf67c8cdf666d35ce4335c85
4
- data.tar.gz: e6c377440e2c45a405956fc79bcfa1e9c4ec1835baaf9a8799f3ccd5c9344ba4
3
+ metadata.gz: 2abedd6be5effc93fb24cd57b027cd7b0d23e080d9e65035362510e5c3f4bbb6
4
+ data.tar.gz: ea00a3c748ab54b611851f7429b2e827eef36778b466d22dc86ac56c323438cc
5
5
  SHA512:
6
- metadata.gz: 04adcf1f988168f0ccdef88009597a70410e6e17703665246fa9e541746dfe850463af889bf4f353f06776d4178f6d4ea5949b5207a34f8a969f2d073ca1747c
7
- data.tar.gz: a29b6c4ce35b5510fba6ee0d1a06f548006e2d328295fd01348af5fcb6f36db4d01393e31e97fdb11f0a72bb1fa7bafe9c8b486b00295056967ba30082ec45a5
6
+ metadata.gz: 93171b9bb2f3604b9eadccc04c9839e7bc088e17bc8eb46fb87f54166316205819ed553c8cd145db6d6772396c8b0b19b7a3c178c690ded6d90e81f8c3f43ed7
7
+ data.tar.gz: 55988c3ffed5bf46986b2660eaa9071582d63407be5c26f7ae528b1c7721291fada8a01a8c29b1b210bbc1864f0cf2d256966cd054c136521f89d6ce882d3951
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.18.0 (2021-12-14)
4
9
 
5
10
  * Unspecified changes
@@ -260,6 +260,14 @@ 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
+
263
271
  # User managed repository created in Artifact Registry optionally with a
264
272
  # customer managed encryption key. If specified, deployments will use Artifact
265
273
  # Registry. If unspecified and the deployment is eligible to use Artifact
@@ -467,6 +475,7 @@ module Google
467
475
  @build_name = args[:build_name] if args.key?(:build_name)
468
476
  @build_worker_pool = args[:build_worker_pool] if args.key?(:build_worker_pool)
469
477
  @description = args[:description] if args.key?(:description)
478
+ @docker_registry = args[:docker_registry] if args.key?(:docker_registry)
470
479
  @docker_repository = args[:docker_repository] if args.key?(:docker_repository)
471
480
  @entry_point = args[:entry_point] if args.key?(:entry_point)
472
481
  @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
@@ -704,6 +713,306 @@ module Google
704
713
  end
705
714
  end
706
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
+
707
1016
  # Describes HttpsTrigger, could be used to connect web hooks to function.
708
1017
  class HttpsTrigger
709
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.18.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 = "20211130"
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,7 @@ 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'
257
294
  property :docker_repository, as: 'dockerRepository'
258
295
  property :entry_point, as: 'entryPoint'
259
296
  hash :environment_variables, as: 'environmentVariables'
@@ -344,6 +381,82 @@ module Google
344
381
  end
345
382
  end
346
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
+
347
460
  class HttpsTrigger
348
461
  # @private
349
462
  class Representation < Google::Apis::Core::JsonRepresentation
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.18.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: 2022-01-10 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.18.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.3.4
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