google-apis-cloudfunctions_v1 0.27.0 → 0.28.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6751908a508062f422a2bc81a32b8d370a9454dcd89a54b3705d54ef9bf440d
4
- data.tar.gz: 4b97c19da2a36e102f209ab11ac882250b871acd99984f6eb0d113205c2093d7
3
+ metadata.gz: 9745abb7fe4d3e2ab6256feff22377260c5855d6b5e0a20c640bab7c0204c88e
4
+ data.tar.gz: 450d6ba06ab0a84fdddde2591ad8e18642e563055cc6d3838b29badeb9c42b87
5
5
  SHA512:
6
- metadata.gz: a53f43304a2c4aaa1a00c185bd6eb8446878ed1312effb3b7f9fd1ff66134dd5bdfde55800c31a8d0e85815290c931a4b82f4ea78c3113a0fac40487a5cdb234
7
- data.tar.gz: 17246fb9d115cf602d83e6765721ea0a2a5aa0111c20c49b5c5d9a8c7265a5d92329e57395d3adef95166037d412d6ebd65fadbb781cbf0e8e25efd7332ec999
6
+ metadata.gz: b1f87f47145a6621eb23c4296838ce8ef9adfd231ab4d3a1d7dbf027a81f7f38704e74f3a76a72821424275e6eb25077ab6935e873f3c86f1a7b3d8c4dda6666
7
+ data.tar.gz: 6b7341d7b57afc654ea302d9b6980762cd2168218bf5e5e71bfa6b7c8b3808ad34569f3bb455ac5ddfe6ec56e5174bc01824b5d85134cf1bfffd04d1aff199a4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudfunctions_v1
2
2
 
3
+ ### v0.28.0 (2022-07-16)
4
+
5
+ * Regenerated from discovery document revision 20220707
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.27.0 (2022-07-02)
4
9
 
5
10
  * Regenerated using generator version 0.8.0
@@ -730,6 +730,156 @@ module Google
730
730
  end
731
731
  end
732
732
 
733
+ # Represents the metadata of the long-running operation.
734
+ class GoogleCloudFunctionsV2OperationMetadata
735
+ include Google::Apis::Core::Hashable
736
+
737
+ # API version used to start the operation.
738
+ # Corresponds to the JSON property `apiVersion`
739
+ # @return [String]
740
+ attr_accessor :api_version
741
+
742
+ # Identifies whether the user has requested cancellation of the operation.
743
+ # Operations that have successfully been cancelled have Operation.error value
744
+ # with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
745
+ # Corresponds to the JSON property `cancelRequested`
746
+ # @return [Boolean]
747
+ attr_accessor :cancel_requested
748
+ alias_method :cancel_requested?, :cancel_requested
749
+
750
+ # The time the operation was created.
751
+ # Corresponds to the JSON property `createTime`
752
+ # @return [String]
753
+ attr_accessor :create_time
754
+
755
+ # The time the operation finished running.
756
+ # Corresponds to the JSON property `endTime`
757
+ # @return [String]
758
+ attr_accessor :end_time
759
+
760
+ # The original request that started the operation.
761
+ # Corresponds to the JSON property `requestResource`
762
+ # @return [Hash<String,Object>]
763
+ attr_accessor :request_resource
764
+
765
+ # Mechanism for reporting in-progress stages
766
+ # Corresponds to the JSON property `stages`
767
+ # @return [Array<Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2Stage>]
768
+ attr_accessor :stages
769
+
770
+ # Human-readable status of the operation, if any.
771
+ # Corresponds to the JSON property `statusDetail`
772
+ # @return [String]
773
+ attr_accessor :status_detail
774
+
775
+ # Server-defined resource path for the target of the operation.
776
+ # Corresponds to the JSON property `target`
777
+ # @return [String]
778
+ attr_accessor :target
779
+
780
+ # Name of the verb executed by the operation.
781
+ # Corresponds to the JSON property `verb`
782
+ # @return [String]
783
+ attr_accessor :verb
784
+
785
+ def initialize(**args)
786
+ update!(**args)
787
+ end
788
+
789
+ # Update properties of this object
790
+ def update!(**args)
791
+ @api_version = args[:api_version] if args.key?(:api_version)
792
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
793
+ @create_time = args[:create_time] if args.key?(:create_time)
794
+ @end_time = args[:end_time] if args.key?(:end_time)
795
+ @request_resource = args[:request_resource] if args.key?(:request_resource)
796
+ @stages = args[:stages] if args.key?(:stages)
797
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
798
+ @target = args[:target] if args.key?(:target)
799
+ @verb = args[:verb] if args.key?(:verb)
800
+ end
801
+ end
802
+
803
+ # Each Stage of the deployment process
804
+ class GoogleCloudFunctionsV2Stage
805
+ include Google::Apis::Core::Hashable
806
+
807
+ # Message describing the Stage
808
+ # Corresponds to the JSON property `message`
809
+ # @return [String]
810
+ attr_accessor :message
811
+
812
+ # Name of the Stage. This will be unique for each Stage.
813
+ # Corresponds to the JSON property `name`
814
+ # @return [String]
815
+ attr_accessor :name
816
+
817
+ # Resource of the Stage
818
+ # Corresponds to the JSON property `resource`
819
+ # @return [String]
820
+ attr_accessor :resource
821
+
822
+ # Link to the current Stage resource
823
+ # Corresponds to the JSON property `resourceUri`
824
+ # @return [String]
825
+ attr_accessor :resource_uri
826
+
827
+ # Current state of the Stage
828
+ # Corresponds to the JSON property `state`
829
+ # @return [String]
830
+ attr_accessor :state
831
+
832
+ # State messages from the current Stage.
833
+ # Corresponds to the JSON property `stateMessages`
834
+ # @return [Array<Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2StateMessage>]
835
+ attr_accessor :state_messages
836
+
837
+ def initialize(**args)
838
+ update!(**args)
839
+ end
840
+
841
+ # Update properties of this object
842
+ def update!(**args)
843
+ @message = args[:message] if args.key?(:message)
844
+ @name = args[:name] if args.key?(:name)
845
+ @resource = args[:resource] if args.key?(:resource)
846
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
847
+ @state = args[:state] if args.key?(:state)
848
+ @state_messages = args[:state_messages] if args.key?(:state_messages)
849
+ end
850
+ end
851
+
852
+ # Informational messages about the state of the Cloud Function or Operation.
853
+ class GoogleCloudFunctionsV2StateMessage
854
+ include Google::Apis::Core::Hashable
855
+
856
+ # The message.
857
+ # Corresponds to the JSON property `message`
858
+ # @return [String]
859
+ attr_accessor :message
860
+
861
+ # Severity of the state message.
862
+ # Corresponds to the JSON property `severity`
863
+ # @return [String]
864
+ attr_accessor :severity
865
+
866
+ # One-word CamelCase type of the state message.
867
+ # Corresponds to the JSON property `type`
868
+ # @return [String]
869
+ attr_accessor :type
870
+
871
+ def initialize(**args)
872
+ update!(**args)
873
+ end
874
+
875
+ # Update properties of this object
876
+ def update!(**args)
877
+ @message = args[:message] if args.key?(:message)
878
+ @severity = args[:severity] if args.key?(:severity)
879
+ @type = args[:type] if args.key?(:type)
880
+ end
881
+ end
882
+
733
883
  # Represents the metadata of the long-running operation.
734
884
  class GoogleCloudFunctionsV2alphaOperationMetadata
735
885
  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.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220509"
25
+ REVISION = "20220707"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,24 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class GoogleCloudFunctionsV2OperationMetadata
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudFunctionsV2Stage
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudFunctionsV2StateMessage
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
103
121
  class GoogleCloudFunctionsV2alphaOperationMetadata
104
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
123
 
@@ -382,6 +400,44 @@ module Google
382
400
  end
383
401
  end
384
402
 
403
+ class GoogleCloudFunctionsV2OperationMetadata
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :api_version, as: 'apiVersion'
407
+ property :cancel_requested, as: 'cancelRequested'
408
+ property :create_time, as: 'createTime'
409
+ property :end_time, as: 'endTime'
410
+ hash :request_resource, as: 'requestResource'
411
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2Stage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2Stage::Representation
412
+
413
+ property :status_detail, as: 'statusDetail'
414
+ property :target, as: 'target'
415
+ property :verb, as: 'verb'
416
+ end
417
+ end
418
+
419
+ class GoogleCloudFunctionsV2Stage
420
+ # @private
421
+ class Representation < Google::Apis::Core::JsonRepresentation
422
+ property :message, as: 'message'
423
+ property :name, as: 'name'
424
+ property :resource, as: 'resource'
425
+ property :resource_uri, as: 'resourceUri'
426
+ property :state, as: 'state'
427
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2StateMessage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2StateMessage::Representation
428
+
429
+ end
430
+ end
431
+
432
+ class GoogleCloudFunctionsV2StateMessage
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ property :message, as: 'message'
436
+ property :severity, as: 'severity'
437
+ property :type, as: 'type'
438
+ end
439
+ end
440
+
385
441
  class GoogleCloudFunctionsV2alphaOperationMetadata
386
442
  # @private
387
443
  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.27.0
4
+ version: 0.28.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-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-18 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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.28.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: []