google-apis-cloudfunctions_v2 0.20.0 → 0.22.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: a82e9d610aa130fed4b75e0721d18324b9d75cff0f6a289509d2ddf034b7e483
4
- data.tar.gz: 21535fa4d36295aa8350be1f3804aee64cb46aaf9da20803b1f13fb141d9431f
3
+ metadata.gz: '09ce5f6d324d723e14dcf0b0423c3f98693d6474df63ccb9eaddd7b4e330ed48'
4
+ data.tar.gz: b8045c27b7f4c19d31c7ec48d4756ff3ac4697e893e591067399fbf29829384d
5
5
  SHA512:
6
- metadata.gz: 5f91691d4905cd794e847d61971469409a479614c3620103f6ffa1110c8915d3bcec0b374c47521be4eae67cfd9c18bcf69e59e1252993e2cb6e779ec06e2b13
7
- data.tar.gz: f311283d4ffe164016a8fadb6974f785fc22af182fdcf54b11b94167bb3b693d04c145f57294ff8f9629cbac27ece798e4ed3e1cd2a20f03f87d8ca1c469e6e9
6
+ metadata.gz: d018ea72230ff486464c1714718d34e555c42acb035ec52c11b798a4f7e336d8694ddd63a079ab5d1fb5351c47032607920d3eb506cbb9c1d76defceff827603
7
+ data.tar.gz: 6cbbd1a36e1e1f391064f79a4e010e18239f825d76ab1fb68f75ef70cd2764fab69e6d4ad09e61b51a47822cdd32c9d0b7ec90d58cef9374a395a932e779cfda
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudfunctions_v2
2
2
 
3
+ ### v0.22.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230515
6
+
7
+ ### v0.21.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230420
10
+
3
11
  ### v0.20.0 (2023-04-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230406
@@ -603,6 +603,25 @@ module Google
603
603
  end
604
604
  end
605
605
 
606
+ # Extra GCF specific location information.
607
+ class GoogleCloudFunctionsV2LocationMetadata
608
+ include Google::Apis::Core::Hashable
609
+
610
+ # The Cloud Function environments this location supports.
611
+ # Corresponds to the JSON property `environments`
612
+ # @return [Array<String>]
613
+ attr_accessor :environments
614
+
615
+ def initialize(**args)
616
+ update!(**args)
617
+ end
618
+
619
+ # Update properties of this object
620
+ def update!(**args)
621
+ @environments = args[:environments] if args.key?(:environments)
622
+ end
623
+ end
624
+
606
625
  # Represents the metadata of the long-running operation.
607
626
  class GoogleCloudFunctionsV2OperationMetadata
608
627
  include Google::Apis::Core::Hashable
@@ -806,7 +825,7 @@ module Google
806
825
 
807
826
  # Mechanism for reporting in-progress stages
808
827
  # Corresponds to the JSON property `stages`
809
- # @return [Array<Google::Apis::CloudfunctionsV2::Stage>]
828
+ # @return [Array<Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStage>]
810
829
  attr_accessor :stages
811
830
 
812
831
  # Human-readable status of the operation, if any.
@@ -842,6 +861,55 @@ module Google
842
861
  end
843
862
  end
844
863
 
864
+ # Each Stage of the deployment process
865
+ class GoogleCloudFunctionsV2alphaStage
866
+ include Google::Apis::Core::Hashable
867
+
868
+ # Message describing the Stage
869
+ # Corresponds to the JSON property `message`
870
+ # @return [String]
871
+ attr_accessor :message
872
+
873
+ # Name of the Stage. This will be unique for each Stage.
874
+ # Corresponds to the JSON property `name`
875
+ # @return [String]
876
+ attr_accessor :name
877
+
878
+ # Resource of the Stage
879
+ # Corresponds to the JSON property `resource`
880
+ # @return [String]
881
+ attr_accessor :resource
882
+
883
+ # Link to the current Stage resource
884
+ # Corresponds to the JSON property `resourceUri`
885
+ # @return [String]
886
+ attr_accessor :resource_uri
887
+
888
+ # Current state of the Stage
889
+ # Corresponds to the JSON property `state`
890
+ # @return [String]
891
+ attr_accessor :state
892
+
893
+ # State messages from the current Stage.
894
+ # Corresponds to the JSON property `stateMessages`
895
+ # @return [Array<Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStateMessage>]
896
+ attr_accessor :state_messages
897
+
898
+ def initialize(**args)
899
+ update!(**args)
900
+ end
901
+
902
+ # Update properties of this object
903
+ def update!(**args)
904
+ @message = args[:message] if args.key?(:message)
905
+ @name = args[:name] if args.key?(:name)
906
+ @resource = args[:resource] if args.key?(:resource)
907
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
908
+ @state = args[:state] if args.key?(:state)
909
+ @state_messages = args[:state_messages] if args.key?(:state_messages)
910
+ end
911
+ end
912
+
845
913
  # Informational messages about the state of the Cloud Function or Operation.
846
914
  class GoogleCloudFunctionsV2alphaStateMessage
847
915
  include Google::Apis::Core::Hashable
@@ -1144,7 +1212,7 @@ module Google
1144
1212
  end
1145
1213
  end
1146
1214
 
1147
- # A resource that represents Google Cloud Platform location.
1215
+ # A resource that represents a Google Cloud location.
1148
1216
  class Location
1149
1217
  include Google::Apis::Core::Hashable
1150
1218
 
@@ -1191,25 +1259,6 @@ module Google
1191
1259
  end
1192
1260
  end
1193
1261
 
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
1262
  # This resource represents a long-running operation that is the result of a
1214
1263
  # network API call.
1215
1264
  class Operation
@@ -1918,55 +1967,6 @@ module Google
1918
1967
  end
1919
1968
  end
1920
1969
 
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
1970
  # The `Status` type defines a logical error model that is suitable for different
1971
1971
  # programming environments, including REST APIs and RPC APIs. It is used by [
1972
1972
  # 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.22.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 = "20230515"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class GoogleCloudFunctionsV2LocationMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class GoogleCloudFunctionsV2OperationMetadata
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -124,6 +130,12 @@ module Google
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
133
+ class GoogleCloudFunctionsV2alphaStage
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class GoogleCloudFunctionsV2alphaStateMessage
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -184,12 +196,6 @@ module Google
184
196
  include Google::Apis::Core::JsonObjectSupport
185
197
  end
186
198
 
187
- class LocationMetadata
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
199
  class Operation
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -262,12 +268,6 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
265
- class Stage
266
- class Representation < Google::Apis::Core::JsonRepresentation; end
267
-
268
- include Google::Apis::Core::JsonObjectSupport
269
- end
270
-
271
271
  class Status
272
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
273
 
@@ -420,6 +420,13 @@ module Google
420
420
  end
421
421
  end
422
422
 
423
+ class GoogleCloudFunctionsV2LocationMetadata
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ collection :environments, as: 'environments'
427
+ end
428
+ end
429
+
423
430
  class GoogleCloudFunctionsV2OperationMetadata
424
431
  # @private
425
432
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -473,7 +480,7 @@ module Google
473
480
  property :create_time, as: 'createTime'
474
481
  property :end_time, as: 'endTime'
475
482
  hash :request_resource, as: 'requestResource'
476
- collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2::Stage, decorator: Google::Apis::CloudfunctionsV2::Stage::Representation
483
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStage, decorator: Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStage::Representation
477
484
 
478
485
  property :status_detail, as: 'statusDetail'
479
486
  property :target, as: 'target'
@@ -481,6 +488,19 @@ module Google
481
488
  end
482
489
  end
483
490
 
491
+ class GoogleCloudFunctionsV2alphaStage
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ property :message, as: 'message'
495
+ property :name, as: 'name'
496
+ property :resource, as: 'resource'
497
+ property :resource_uri, as: 'resourceUri'
498
+ property :state, as: 'state'
499
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStateMessage, decorator: Google::Apis::CloudfunctionsV2::GoogleCloudFunctionsV2alphaStateMessage::Representation
500
+
501
+ end
502
+ end
503
+
484
504
  class GoogleCloudFunctionsV2alphaStateMessage
485
505
  # @private
486
506
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -582,13 +602,6 @@ module Google
582
602
  end
583
603
  end
584
604
 
585
- class LocationMetadata
586
- # @private
587
- class Representation < Google::Apis::Core::JsonRepresentation
588
- collection :environments, as: 'environments'
589
- end
590
- end
591
-
592
605
  class Operation
593
606
  # @private
594
607
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -735,19 +748,6 @@ module Google
735
748
  end
736
749
  end
737
750
 
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
751
  class Status
752
752
  # @private
753
753
  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.22.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-05-21 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.22.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: []