google-apis-cloudfunctions_v1 0.35.0 → 0.37.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: cdee9fd4b9f5ef98d0912c4c2b84c401ca17d5b938eccec98a3b7ded3b5739a1
4
- data.tar.gz: 93e933d20069c7d2b507d40a48561e7a5aec501ff2538fc45f2a96504ed6221c
3
+ metadata.gz: 102922e63092ee8ae97b1ea3db6463e86995b974850d3ccc8472f02a75a1c8c8
4
+ data.tar.gz: 3d6e7c9116cd75660db6bfd0366320046bca3438f89548e2b9ec4ec7d100ef6d
5
5
  SHA512:
6
- metadata.gz: d7dd50b9d1883523705f209ee3fa061610c2fe8477f8126d59a633036a8d3833dc0e642372abde66b08e2ea0e8608dfdc22f819fef4f7c5ad395213e1176422a
7
- data.tar.gz: 0111de4e77a713c86301e92c837bfd756bc1c2ec64bb667d1c07c5b67562466e97520297c0f39029fdd87c2605e9ad9ead4d78ac8a2f6f92b0e9b75d16b6244d
6
+ metadata.gz: 33198593b4162643f41fb1f277e5e99077c88e4dee5ed936181451e7029176b2bcc6d495fbca2636e52e68954bb9c9c1787e5f2781732af93f07ab9542aa67b0
7
+ data.tar.gz: cf8ca8b666466460370ee0110715edf9b6fbd4d85633993824b5c7fa87c2b81a06a4e94db6afd01976daf3b518a98bb9b30b1e6a086b3ba07771651894d56857
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudfunctions_v1
2
2
 
3
+ ### v0.37.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230406
6
+
7
+ ### v0.36.0 (2023-03-26)
8
+
9
+ * Regenerated from discovery document revision 20230307
10
+
3
11
  ### v0.35.0 (2023-02-15)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -885,6 +885,25 @@ module Google
885
885
  end
886
886
  end
887
887
 
888
+ # Extra GCF specific location information.
889
+ class GoogleCloudFunctionsV2alphaLocationMetadata
890
+ include Google::Apis::Core::Hashable
891
+
892
+ # The Cloud Function environments this location supports.
893
+ # Corresponds to the JSON property `environments`
894
+ # @return [Array<String>]
895
+ attr_accessor :environments
896
+
897
+ def initialize(**args)
898
+ update!(**args)
899
+ end
900
+
901
+ # Update properties of this object
902
+ def update!(**args)
903
+ @environments = args[:environments] if args.key?(:environments)
904
+ end
905
+ end
906
+
888
907
  # Represents the metadata of the long-running operation.
889
908
  class GoogleCloudFunctionsV2alphaOperationMetadata
890
909
  include Google::Apis::Core::Hashable
@@ -919,7 +938,7 @@ module Google
919
938
 
920
939
  # Mechanism for reporting in-progress stages
921
940
  # Corresponds to the JSON property `stages`
922
- # @return [Array<Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStage>]
941
+ # @return [Array<Google::Apis::CloudfunctionsV1::Stage>]
923
942
  attr_accessor :stages
924
943
 
925
944
  # Human-readable status of the operation, if any.
@@ -955,39 +974,24 @@ module Google
955
974
  end
956
975
  end
957
976
 
958
- # Each Stage of the deployment process
959
- class GoogleCloudFunctionsV2alphaStage
977
+ # Informational messages about the state of the Cloud Function or Operation.
978
+ class GoogleCloudFunctionsV2alphaStateMessage
960
979
  include Google::Apis::Core::Hashable
961
980
 
962
- # Message describing the Stage
981
+ # The message.
963
982
  # Corresponds to the JSON property `message`
964
983
  # @return [String]
965
984
  attr_accessor :message
966
985
 
967
- # Name of the Stage. This will be unique for each Stage.
968
- # Corresponds to the JSON property `name`
969
- # @return [String]
970
- attr_accessor :name
971
-
972
- # Resource of the Stage
973
- # Corresponds to the JSON property `resource`
974
- # @return [String]
975
- attr_accessor :resource
976
-
977
- # Link to the current Stage resource
978
- # Corresponds to the JSON property `resourceUri`
986
+ # Severity of the state message.
987
+ # Corresponds to the JSON property `severity`
979
988
  # @return [String]
980
- attr_accessor :resource_uri
989
+ attr_accessor :severity
981
990
 
982
- # Current state of the Stage
983
- # Corresponds to the JSON property `state`
991
+ # One-word CamelCase type of the state message.
992
+ # Corresponds to the JSON property `type`
984
993
  # @return [String]
985
- attr_accessor :state
986
-
987
- # State messages from the current Stage.
988
- # Corresponds to the JSON property `stateMessages`
989
- # @return [Array<Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage>]
990
- attr_accessor :state_messages
994
+ attr_accessor :type
991
995
 
992
996
  def initialize(**args)
993
997
  update!(**args)
@@ -996,32 +1000,19 @@ module Google
996
1000
  # Update properties of this object
997
1001
  def update!(**args)
998
1002
  @message = args[:message] if args.key?(:message)
999
- @name = args[:name] if args.key?(:name)
1000
- @resource = args[:resource] if args.key?(:resource)
1001
- @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
1002
- @state = args[:state] if args.key?(:state)
1003
- @state_messages = args[:state_messages] if args.key?(:state_messages)
1003
+ @severity = args[:severity] if args.key?(:severity)
1004
+ @type = args[:type] if args.key?(:type)
1004
1005
  end
1005
1006
  end
1006
1007
 
1007
- # Informational messages about the state of the Cloud Function or Operation.
1008
- class GoogleCloudFunctionsV2alphaStateMessage
1008
+ # Extra GCF specific location information.
1009
+ class GoogleCloudFunctionsV2betaLocationMetadata
1009
1010
  include Google::Apis::Core::Hashable
1010
1011
 
1011
- # The message.
1012
- # Corresponds to the JSON property `message`
1013
- # @return [String]
1014
- attr_accessor :message
1015
-
1016
- # Severity of the state message.
1017
- # Corresponds to the JSON property `severity`
1018
- # @return [String]
1019
- attr_accessor :severity
1020
-
1021
- # One-word CamelCase type of the state message.
1022
- # Corresponds to the JSON property `type`
1023
- # @return [String]
1024
- attr_accessor :type
1012
+ # The Cloud Function environments this location supports.
1013
+ # Corresponds to the JSON property `environments`
1014
+ # @return [Array<String>]
1015
+ attr_accessor :environments
1025
1016
 
1026
1017
  def initialize(**args)
1027
1018
  update!(**args)
@@ -1029,9 +1020,7 @@ module Google
1029
1020
 
1030
1021
  # Update properties of this object
1031
1022
  def update!(**args)
1032
- @message = args[:message] if args.key?(:message)
1033
- @severity = args[:severity] if args.key?(:severity)
1034
- @type = args[:type] if args.key?(:type)
1023
+ @environments = args[:environments] if args.key?(:environments)
1035
1024
  end
1036
1025
  end
1037
1026
 
@@ -1341,6 +1330,25 @@ module Google
1341
1330
  end
1342
1331
  end
1343
1332
 
1333
+ # Extra GCF specific location information.
1334
+ class LocationMetadata
1335
+ include Google::Apis::Core::Hashable
1336
+
1337
+ # The Cloud Function environments this location supports.
1338
+ # Corresponds to the JSON property `environments`
1339
+ # @return [Array<String>]
1340
+ attr_accessor :environments
1341
+
1342
+ def initialize(**args)
1343
+ update!(**args)
1344
+ end
1345
+
1346
+ # Update properties of this object
1347
+ def update!(**args)
1348
+ @environments = args[:environments] if args.key?(:environments)
1349
+ end
1350
+ end
1351
+
1344
1352
  # This resource represents a long-running operation that is the result of a
1345
1353
  # network API call.
1346
1354
  class Operation
@@ -1793,6 +1801,55 @@ module Google
1793
1801
  end
1794
1802
  end
1795
1803
 
1804
+ # Each Stage of the deployment process
1805
+ class Stage
1806
+ include Google::Apis::Core::Hashable
1807
+
1808
+ # Message describing the Stage
1809
+ # Corresponds to the JSON property `message`
1810
+ # @return [String]
1811
+ attr_accessor :message
1812
+
1813
+ # Name of the Stage. This will be unique for each Stage.
1814
+ # Corresponds to the JSON property `name`
1815
+ # @return [String]
1816
+ attr_accessor :name
1817
+
1818
+ # Resource of the Stage
1819
+ # Corresponds to the JSON property `resource`
1820
+ # @return [String]
1821
+ attr_accessor :resource
1822
+
1823
+ # Link to the current Stage resource
1824
+ # Corresponds to the JSON property `resourceUri`
1825
+ # @return [String]
1826
+ attr_accessor :resource_uri
1827
+
1828
+ # Current state of the Stage
1829
+ # Corresponds to the JSON property `state`
1830
+ # @return [String]
1831
+ attr_accessor :state
1832
+
1833
+ # State messages from the current Stage.
1834
+ # Corresponds to the JSON property `stateMessages`
1835
+ # @return [Array<Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage>]
1836
+ attr_accessor :state_messages
1837
+
1838
+ def initialize(**args)
1839
+ update!(**args)
1840
+ end
1841
+
1842
+ # Update properties of this object
1843
+ def update!(**args)
1844
+ @message = args[:message] if args.key?(:message)
1845
+ @name = args[:name] if args.key?(:name)
1846
+ @resource = args[:resource] if args.key?(:resource)
1847
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
1848
+ @state = args[:state] if args.key?(:state)
1849
+ @state_messages = args[:state_messages] if args.key?(:state_messages)
1850
+ end
1851
+ end
1852
+
1796
1853
  # The `Status` type defines a logical error model that is suitable for different
1797
1854
  # programming environments, including REST APIs and RPC APIs. It is used by [
1798
1855
  # 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 CloudfunctionsV1
18
18
  # Version of the google-apis-cloudfunctions_v1 gem
19
- GEM_VERSION = "0.35.0"
19
+ GEM_VERSION = "0.37.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 = "20230126"
25
+ REVISION = "20230406"
26
26
  end
27
27
  end
28
28
  end
@@ -118,13 +118,13 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class GoogleCloudFunctionsV2alphaOperationMetadata
121
+ class GoogleCloudFunctionsV2alphaLocationMetadata
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class GoogleCloudFunctionsV2alphaStage
127
+ class GoogleCloudFunctionsV2alphaOperationMetadata
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class GoogleCloudFunctionsV2betaLocationMetadata
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class GoogleCloudFunctionsV2betaOperationMetadata
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -184,6 +190,12 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class LocationMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class Operation
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -238,6 +250,12 @@ module Google
238
250
  include Google::Apis::Core::JsonObjectSupport
239
251
  end
240
252
 
253
+ class Stage
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
241
259
  class Status
242
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
261
 
@@ -438,6 +456,13 @@ module Google
438
456
  end
439
457
  end
440
458
 
459
+ class GoogleCloudFunctionsV2alphaLocationMetadata
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ collection :environments, as: 'environments'
463
+ end
464
+ end
465
+
441
466
  class GoogleCloudFunctionsV2alphaOperationMetadata
442
467
  # @private
443
468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -446,7 +471,7 @@ module Google
446
471
  property :create_time, as: 'createTime'
447
472
  property :end_time, as: 'endTime'
448
473
  hash :request_resource, as: 'requestResource'
449
- collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStage::Representation
474
+ collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV1::Stage, decorator: Google::Apis::CloudfunctionsV1::Stage::Representation
450
475
 
451
476
  property :status_detail, as: 'statusDetail'
452
477
  property :target, as: 'target'
@@ -454,25 +479,19 @@ module Google
454
479
  end
455
480
  end
456
481
 
457
- class GoogleCloudFunctionsV2alphaStage
482
+ class GoogleCloudFunctionsV2alphaStateMessage
458
483
  # @private
459
484
  class Representation < Google::Apis::Core::JsonRepresentation
460
485
  property :message, as: 'message'
461
- property :name, as: 'name'
462
- property :resource, as: 'resource'
463
- property :resource_uri, as: 'resourceUri'
464
- property :state, as: 'state'
465
- collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage::Representation
466
-
486
+ property :severity, as: 'severity'
487
+ property :type, as: 'type'
467
488
  end
468
489
  end
469
490
 
470
- class GoogleCloudFunctionsV2alphaStateMessage
491
+ class GoogleCloudFunctionsV2betaLocationMetadata
471
492
  # @private
472
493
  class Representation < Google::Apis::Core::JsonRepresentation
473
- property :message, as: 'message'
474
- property :severity, as: 'severity'
475
- property :type, as: 'type'
494
+ collection :environments, as: 'environments'
476
495
  end
477
496
  end
478
497
 
@@ -561,6 +580,13 @@ module Google
561
580
  end
562
581
  end
563
582
 
583
+ class LocationMetadata
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ collection :environments, as: 'environments'
587
+ end
588
+ end
589
+
564
590
  class Operation
565
591
  # @private
566
592
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -651,6 +677,19 @@ module Google
651
677
  end
652
678
  end
653
679
 
680
+ class Stage
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ property :message, as: 'message'
684
+ property :name, as: 'name'
685
+ property :resource, as: 'resource'
686
+ property :resource_uri, as: 'resourceUri'
687
+ property :state, as: 'state'
688
+ collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage, decorator: Google::Apis::CloudfunctionsV1::GoogleCloudFunctionsV2alphaStateMessage::Representation
689
+
690
+ end
691
+ end
692
+
654
693
  class Status
655
694
  # @private
656
695
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -81,13 +81,7 @@ module Google
81
81
  end
82
82
 
83
83
  # Lists operations that match the specified filter in the request. If the server
84
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
85
- # binding allows API services to override the binding to use different resource
86
- # name schemes, such as `users/*/operations`. To override the binding, API
87
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
88
- # service configuration. For backwards compatibility, the default name includes
89
- # the operations collection id, however overriding users must ensure the name
90
- # binding is the parent resource, without the operations collection id.
84
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
91
85
  # @param [String] filter
92
86
  # Required. A filter for matching the requested operations. The supported
93
87
  # formats of *filter* are: To query for a specific function: project:*,location:*
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.35.0
4
+ version: 0.37.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-02-19 00:00:00.000000000 Z
11
+ date: 2023-04-16 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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v1/v0.37.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: []