google-apis-cloudfunctions_v2 0.20.0 → 0.21.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: a82e9d610aa130fed4b75e0721d18324b9d75cff0f6a289509d2ddf034b7e483
4
- data.tar.gz: 21535fa4d36295aa8350be1f3804aee64cb46aaf9da20803b1f13fb141d9431f
3
+ metadata.gz: 4a7927c3e4cf38fe1585e2c8ca12421e554a5dcb3d8d01ba4f37a470e9c7a7d4
4
+ data.tar.gz: 5f7aaedc42bf4fd491ac79b6dbd9a72d0f18994802b6a966186b6ce561ef7cc0
5
5
  SHA512:
6
- metadata.gz: 5f91691d4905cd794e847d61971469409a479614c3620103f6ffa1110c8915d3bcec0b374c47521be4eae67cfd9c18bcf69e59e1252993e2cb6e779ec06e2b13
7
- data.tar.gz: f311283d4ffe164016a8fadb6974f785fc22af182fdcf54b11b94167bb3b693d04c145f57294ff8f9629cbac27ece798e4ed3e1cd2a20f03f87d8ca1c469e6e9
6
+ metadata.gz: ef4cc02ba36b3983c5f7f95da2f2eaa90c50623fc2a249a8c8b46f4d183deb1b0941c4a5d90de71ec8be2d963d8f1a5cbc94a2763f39ac991405a9efed152849
7
+ data.tar.gz: 53a1b913c9781850bc5409c67e0c6694b77683e45660baf3b184fcecefa43ffae7da653c0a29080a20c8d210a0716a9af872b80fc8711a8f58ac018d0cc2df32
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudfunctions_v2
2
2
 
3
+ ### v0.21.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230420
6
+
3
7
  ### v0.20.0 (2023-04-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230406
@@ -753,25 +753,6 @@ module Google
753
753
  end
754
754
  end
755
755
 
756
- # Extra GCF specific location information.
757
- class GoogleCloudFunctionsV2alphaLocationMetadata
758
- include Google::Apis::Core::Hashable
759
-
760
- # The Cloud Function environments this location supports.
761
- # Corresponds to the JSON property `environments`
762
- # @return [Array<String>]
763
- attr_accessor :environments
764
-
765
- def initialize(**args)
766
- update!(**args)
767
- end
768
-
769
- # Update properties of this object
770
- def update!(**args)
771
- @environments = args[:environments] if args.key?(:environments)
772
- end
773
- end
774
-
775
756
  # Represents the metadata of the long-running operation.
776
757
  class GoogleCloudFunctionsV2alphaOperationMetadata
777
758
  include Google::Apis::Core::Hashable
@@ -806,7 +787,7 @@ module Google
806
787
 
807
788
  # Mechanism for reporting in-progress stages
808
789
  # Corresponds to the JSON property `stages`
809
- # @return [Array<Google::Apis::CloudfunctionsV2::Stage>]
790
+ # @return [Array<Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStage>]
810
791
  attr_accessor :stages
811
792
 
812
793
  # Human-readable status of the operation, if any.
@@ -842,24 +823,39 @@ module Google
842
823
  end
843
824
  end
844
825
 
845
- # Informational messages about the state of the Cloud Function or Operation.
846
- class GoogleCloudFunctionsV2alphaStateMessage
826
+ # Each Stage of the deployment process
827
+ class GoogleCloudFunctionsV2alphaStage
847
828
  include Google::Apis::Core::Hashable
848
829
 
849
- # The message.
830
+ # Message describing the Stage
850
831
  # Corresponds to the JSON property `message`
851
832
  # @return [String]
852
833
  attr_accessor :message
853
834
 
854
- # Severity of the state message.
855
- # Corresponds to the JSON property `severity`
835
+ # Name of the Stage. This will be unique for each Stage.
836
+ # Corresponds to the JSON property `name`
856
837
  # @return [String]
857
- attr_accessor :severity
838
+ attr_accessor :name
858
839
 
859
- # One-word CamelCase type of the state message.
860
- # Corresponds to the JSON property `type`
840
+ # Resource of the Stage
841
+ # Corresponds to the JSON property `resource`
861
842
  # @return [String]
862
- attr_accessor :type
843
+ attr_accessor :resource
844
+
845
+ # Link to the current Stage resource
846
+ # Corresponds to the JSON property `resourceUri`
847
+ # @return [String]
848
+ attr_accessor :resource_uri
849
+
850
+ # Current state of the Stage
851
+ # Corresponds to the JSON property `state`
852
+ # @return [String]
853
+ attr_accessor :state
854
+
855
+ # State messages from the current Stage.
856
+ # Corresponds to the JSON property `stateMessages`
857
+ # @return [Array<Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStateMessage>]
858
+ attr_accessor :state_messages
863
859
 
864
860
  def initialize(**args)
865
861
  update!(**args)
@@ -868,19 +864,32 @@ module Google
868
864
  # Update properties of this object
869
865
  def update!(**args)
870
866
  @message = args[:message] if args.key?(:message)
871
- @severity = args[:severity] if args.key?(:severity)
872
- @type = args[:type] if args.key?(:type)
867
+ @name = args[:name] if args.key?(:name)
868
+ @resource = args[:resource] if args.key?(:resource)
869
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
870
+ @state = args[:state] if args.key?(:state)
871
+ @state_messages = args[:state_messages] if args.key?(:state_messages)
873
872
  end
874
873
  end
875
874
 
876
- # Extra GCF specific location information.
877
- class GoogleCloudFunctionsV2betaLocationMetadata
875
+ # Informational messages about the state of the Cloud Function or Operation.
876
+ class GoogleCloudFunctionsV2alphaStateMessage
878
877
  include Google::Apis::Core::Hashable
879
878
 
880
- # The Cloud Function environments this location supports.
881
- # Corresponds to the JSON property `environments`
882
- # @return [Array<String>]
883
- attr_accessor :environments
879
+ # The message.
880
+ # Corresponds to the JSON property `message`
881
+ # @return [String]
882
+ attr_accessor :message
883
+
884
+ # Severity of the state message.
885
+ # Corresponds to the JSON property `severity`
886
+ # @return [String]
887
+ attr_accessor :severity
888
+
889
+ # One-word CamelCase type of the state message.
890
+ # Corresponds to the JSON property `type`
891
+ # @return [String]
892
+ attr_accessor :type
884
893
 
885
894
  def initialize(**args)
886
895
  update!(**args)
@@ -888,7 +897,9 @@ module Google
888
897
 
889
898
  # Update properties of this object
890
899
  def update!(**args)
891
- @environments = args[:environments] if args.key?(:environments)
900
+ @message = args[:message] if args.key?(:message)
901
+ @severity = args[:severity] if args.key?(:severity)
902
+ @type = args[:type] if args.key?(:type)
892
903
  end
893
904
  end
894
905
 
@@ -1144,7 +1155,7 @@ module Google
1144
1155
  end
1145
1156
  end
1146
1157
 
1147
- # A resource that represents Google Cloud Platform location.
1158
+ # A resource that represents a Google Cloud location.
1148
1159
  class Location
1149
1160
  include Google::Apis::Core::Hashable
1150
1161
 
@@ -1191,25 +1202,6 @@ module Google
1191
1202
  end
1192
1203
  end
1193
1204
 
1194
- # Extra GCF specific location information.
1195
- class LocationMetadata
1196
- include Google::Apis::Core::Hashable
1197
-
1198
- # The Cloud Function environments this location supports.
1199
- # Corresponds to the JSON property `environments`
1200
- # @return [Array<String>]
1201
- attr_accessor :environments
1202
-
1203
- def initialize(**args)
1204
- update!(**args)
1205
- end
1206
-
1207
- # Update properties of this object
1208
- def update!(**args)
1209
- @environments = args[:environments] if args.key?(:environments)
1210
- end
1211
- end
1212
-
1213
1205
  # This resource represents a long-running operation that is the result of a
1214
1206
  # network API call.
1215
1207
  class Operation
@@ -1918,55 +1910,6 @@ module Google
1918
1910
  end
1919
1911
  end
1920
1912
 
1921
- # Each Stage of the deployment process
1922
- class Stage
1923
- include Google::Apis::Core::Hashable
1924
-
1925
- # Message describing the Stage
1926
- # Corresponds to the JSON property `message`
1927
- # @return [String]
1928
- attr_accessor :message
1929
-
1930
- # Name of the Stage. This will be unique for each Stage.
1931
- # Corresponds to the JSON property `name`
1932
- # @return [String]
1933
- attr_accessor :name
1934
-
1935
- # Resource of the Stage
1936
- # Corresponds to the JSON property `resource`
1937
- # @return [String]
1938
- attr_accessor :resource
1939
-
1940
- # Link to the current Stage resource
1941
- # Corresponds to the JSON property `resourceUri`
1942
- # @return [String]
1943
- attr_accessor :resource_uri
1944
-
1945
- # Current state of the Stage
1946
- # Corresponds to the JSON property `state`
1947
- # @return [String]
1948
- attr_accessor :state
1949
-
1950
- # State messages from the current Stage.
1951
- # Corresponds to the JSON property `stateMessages`
1952
- # @return [Array<Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStateMessage>]
1953
- attr_accessor :state_messages
1954
-
1955
- def initialize(**args)
1956
- update!(**args)
1957
- end
1958
-
1959
- # Update properties of this object
1960
- def update!(**args)
1961
- @message = args[:message] if args.key?(:message)
1962
- @name = args[:name] if args.key?(:name)
1963
- @resource = args[:resource] if args.key?(:resource)
1964
- @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
1965
- @state = args[:state] if args.key?(:state)
1966
- @state_messages = args[:state_messages] if args.key?(:state_messages)
1967
- end
1968
- end
1969
-
1970
1913
  # The `Status` type defines a logical error model that is suitable for different
1971
1914
  # programming environments, including REST APIs and RPC APIs. It is used by [
1972
1915
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudfunctionsV2
18
18
  # Version of the google-apis-cloudfunctions_v2 gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230406"
25
+ REVISION = "20230420"
26
26
  end
27
27
  end
28
28
  end
@@ -112,25 +112,19 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class GoogleCloudFunctionsV2alphaLocationMetadata
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
115
  class GoogleCloudFunctionsV2alphaOperationMetadata
122
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
117
 
124
118
  include Google::Apis::Core::JsonObjectSupport
125
119
  end
126
120
 
127
- class GoogleCloudFunctionsV2alphaStateMessage
121
+ class GoogleCloudFunctionsV2alphaStage
128
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
123
 
130
124
  include Google::Apis::Core::JsonObjectSupport
131
125
  end
132
126
 
133
- class GoogleCloudFunctionsV2betaLocationMetadata
127
+ class GoogleCloudFunctionsV2alphaStateMessage
134
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
129
 
136
130
  include Google::Apis::Core::JsonObjectSupport
@@ -184,12 +178,6 @@ module Google
184
178
  include Google::Apis::Core::JsonObjectSupport
185
179
  end
186
180
 
187
- class LocationMetadata
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
181
  class Operation
194
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
183
 
@@ -262,12 +250,6 @@ module Google
262
250
  include Google::Apis::Core::JsonObjectSupport
263
251
  end
264
252
 
265
- class Stage
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
253
  class Status
272
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
255
 
@@ -458,13 +440,6 @@ module Google
458
440
  end
459
441
  end
460
442
 
461
- class GoogleCloudFunctionsV2alphaLocationMetadata
462
- # @private
463
- class Representation < Google::Apis::Core::JsonRepresentation
464
- collection :environments, as: 'environments'
465
- end
466
- end
467
-
468
443
  class GoogleCloudFunctionsV2alphaOperationMetadata
469
444
  # @private
470
445
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -473,7 +448,7 @@ module Google
473
448
  property :create_time, as: 'createTime'
474
449
  property :end_time, as: 'endTime'
475
450
  hash :request_resource, as: 'requestResource'
476
- collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2::Stage, decorator: Google::Apis::CloudfunctionsV2::Stage::Representation
451
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStage, decorator: Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStage::Representation
477
452
 
478
453
  property :status_detail, as: 'statusDetail'
479
454
  property :target, as: 'target'
@@ -481,19 +456,25 @@ module Google
481
456
  end
482
457
  end
483
458
 
484
- class GoogleCloudFunctionsV2alphaStateMessage
459
+ class GoogleCloudFunctionsV2alphaStage
485
460
  # @private
486
461
  class Representation < Google::Apis::Core::JsonRepresentation
487
462
  property :message, as: 'message'
488
- property :severity, as: 'severity'
489
- property :type, as: 'type'
463
+ property :name, as: 'name'
464
+ property :resource, as: 'resource'
465
+ property :resource_uri, as: 'resourceUri'
466
+ property :state, as: 'state'
467
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStateMessage, decorator: Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStateMessage::Representation
468
+
490
469
  end
491
470
  end
492
471
 
493
- class GoogleCloudFunctionsV2betaLocationMetadata
472
+ class GoogleCloudFunctionsV2alphaStateMessage
494
473
  # @private
495
474
  class Representation < Google::Apis::Core::JsonRepresentation
496
- collection :environments, as: 'environments'
475
+ property :message, as: 'message'
476
+ property :severity, as: 'severity'
477
+ property :type, as: 'type'
497
478
  end
498
479
  end
499
480
 
@@ -582,13 +563,6 @@ module Google
582
563
  end
583
564
  end
584
565
 
585
- class LocationMetadata
586
- # @private
587
- class Representation < Google::Apis::Core::JsonRepresentation
588
- collection :environments, as: 'environments'
589
- end
590
- end
591
-
592
566
  class Operation
593
567
  # @private
594
568
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -735,19 +709,6 @@ module Google
735
709
  end
736
710
  end
737
711
 
738
- class Stage
739
- # @private
740
- class Representation < Google::Apis::Core::JsonRepresentation
741
- property :message, as: 'message'
742
- property :name, as: 'name'
743
- property :resource, as: 'resource'
744
- property :resource_uri, as: 'resourceUri'
745
- property :state, as: 'state'
746
- collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStateMessage, decorator: Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStateMessage::Representation
747
-
748
- end
749
- end
750
-
751
712
  class Status
752
713
  # @private
753
714
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudfunctions_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.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: 2023-04-16 00:00:00.000000000 Z
11
+ date: 2023-04-30 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2
63
63
  post_install_message:
64
64
  rdoc_options: []