google-apis-cloudtasks_v2beta2 0.30.0 → 0.31.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: 1906be87f2142ac198f2c3769eae5e3d3bdd799415d236e90a21cb4a857b389c
4
- data.tar.gz: 9062e97012cee5815b8e45243fc8b08ae5c300ecc2ec89511f02f4ba258a2f52
3
+ metadata.gz: 0252c0582ee91e553072c59bc351b88464b0cd9a42eec7c01254a4d046a270e1
4
+ data.tar.gz: 4a41320706c69c55733a477d69355adb6492d0d6b845b54fd9dd6f2886b12d15
5
5
  SHA512:
6
- metadata.gz: db4c70a5f48a13ab9bae0a33c27a159d903a7b587fef71558b138a6926312ac9e17cdac1ed6c0cfc8c72df61acb7df5d4ab583a317113a70b9371075d102a791
7
- data.tar.gz: 43586e8c523b11fa43423ba1d81a817116efbabf382ebf08f1c6c33c25adf1c85c769165dbcdf1366b6c659630969e5cbf86c312a5ab46d34dcc4fa80d9f460a
6
+ metadata.gz: ca1abd16661e0e7cbfab2d5db45fc2d6baf2db525b08e79de5bdde4515c006f363f360f9d50ff51200f3a87a9ffb6383a63b600faa3cbb5993ed4420f1df6662
7
+ data.tar.gz: b4ad109b96f23dfc3b1bbc4a39ea1e56611aced69c6c8bf1eb2ce61811d686429a5f7bdccb4c1de98e5c76a2c51cadb97b3f7754d51a9115badfff69dcf17723
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudtasks_v2beta2
2
2
 
3
+ ### v0.31.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230105
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.30.0 (2022-11-06)
4
9
 
5
10
  * Regenerated from discovery document revision 20221025
@@ -1148,6 +1148,25 @@ module Google
1148
1148
  end
1149
1149
  end
1150
1150
 
1151
+ # PathOverride. Path message defines path override for HTTP targets.
1152
+ class PathOverride
1153
+ include Google::Apis::Core::Hashable
1154
+
1155
+ # The URI path (e.g., a/b/c). Default is Empty string.
1156
+ # Corresponds to the JSON property `path`
1157
+ # @return [String]
1158
+ attr_accessor :path
1159
+
1160
+ def initialize(**args)
1161
+ update!(**args)
1162
+ end
1163
+
1164
+ # Update properties of this object
1165
+ def update!(**args)
1166
+ @path = args[:path] if args.key?(:path)
1167
+ end
1168
+ end
1169
+
1151
1170
  # Request message for PauseQueue.
1152
1171
  class PauseQueueRequest
1153
1172
  include Google::Apis::Core::Hashable
@@ -1313,6 +1332,25 @@ module Google
1313
1332
  end
1314
1333
  end
1315
1334
 
1335
+ # QueryOverride. Query message defines query override for HTTP targets.
1336
+ class QueryOverride
1337
+ include Google::Apis::Core::Hashable
1338
+
1339
+ # The query parameters (e.g., qparam1=123&qparam2=456). Default is Empty string.
1340
+ # Corresponds to the JSON property `queryParams`
1341
+ # @return [String]
1342
+ attr_accessor :query_params
1343
+
1344
+ def initialize(**args)
1345
+ update!(**args)
1346
+ end
1347
+
1348
+ # Update properties of this object
1349
+ def update!(**args)
1350
+ @query_params = args[:query_params] if args.key?(:query_params)
1351
+ end
1352
+ end
1353
+
1316
1354
  # A queue is a container of related tasks. Queues are configured to manage how
1317
1355
  # those tasks are dispatched. Configurable properties include rate limits, retry
1318
1356
  # options, target types, and others.
@@ -1996,38 +2034,40 @@ module Google
1996
2034
  class UriOverride
1997
2035
  include Google::Apis::Core::Hashable
1998
2036
 
1999
- # Host override. When specified, the host part of url will be overridden. For
2000
- # example, if the original Uri is "https://www.google.com", and host is set to "
2001
- # example.net", the overridden Uri will be "https://example.net".
2037
+ # Host override. When specified, will replace the host part of the task URL. For
2038
+ # example, if the task URL is "https://www.google.com", and host value is set to
2039
+ # "example.net", the overridden URI will be changed to "https://example.net".
2040
+ # Host value cannot be an empty string.
2002
2041
  # Corresponds to the JSON property `host`
2003
2042
  # @return [String]
2004
2043
  attr_accessor :host
2005
2044
 
2006
- # Uri path. Will be used as the path for the current Uri (replaces any existing
2007
- # path of the task url).
2008
- # Corresponds to the JSON property `path`
2009
- # @return [String]
2010
- attr_accessor :path
2045
+ # PathOverride. Path message defines path override for HTTP targets.
2046
+ # Corresponds to the JSON property `pathOverride`
2047
+ # @return [Google::Apis::CloudtasksV2beta2::PathOverride]
2048
+ attr_accessor :path_override
2011
2049
 
2012
- # Port override. When specified, the port part of Uri will be replaced by the
2013
- # provided value. For instance, for a Uri http://www.google.com/foo and port=123
2014
- # the overridden Uri becomes http://www.google.com:123/foo.
2050
+ # Port override. When specified, will replace the port part of the task URI. For
2051
+ # instance, for a URI http://www.google.com/foo and port=123, the overridden URI
2052
+ # becomes http://www.google.com:123/foo. Note that the port value must be a
2053
+ # positive integer. Setting the port to 0 (Zero) clears the URI port.
2015
2054
  # Corresponds to the JSON property `port`
2016
2055
  # @return [Fixnum]
2017
2056
  attr_accessor :port
2018
2057
 
2019
- # Uri Query. Will replace the query part of the task uri.
2020
- # Corresponds to the JSON property `query`
2021
- # @return [String]
2022
- attr_accessor :query
2058
+ # QueryOverride. Query message defines query override for HTTP targets.
2059
+ # Corresponds to the JSON property `queryOverride`
2060
+ # @return [Google::Apis::CloudtasksV2beta2::QueryOverride]
2061
+ attr_accessor :query_override
2023
2062
 
2024
- # Scheme override. When specified, the Uri scheme is replaced by the provided
2025
- # value.
2063
+ # Scheme override. When specified, the task URI scheme is replaced by the
2064
+ # provided value (HTTP or HTTPS).
2026
2065
  # Corresponds to the JSON property `scheme`
2027
2066
  # @return [String]
2028
2067
  attr_accessor :scheme
2029
2068
 
2030
- # Uri Override Enforce Mode Determines the Target UriOverride mode.
2069
+ # URI Override Enforce Mode When specified, determines the Target UriOverride
2070
+ # mode. If not specified, it defaults to ALWAYS.
2031
2071
  # Corresponds to the JSON property `uriOverrideEnforceMode`
2032
2072
  # @return [String]
2033
2073
  attr_accessor :uri_override_enforce_mode
@@ -2039,9 +2079,9 @@ module Google
2039
2079
  # Update properties of this object
2040
2080
  def update!(**args)
2041
2081
  @host = args[:host] if args.key?(:host)
2042
- @path = args[:path] if args.key?(:path)
2082
+ @path_override = args[:path_override] if args.key?(:path_override)
2043
2083
  @port = args[:port] if args.key?(:port)
2044
- @query = args[:query] if args.key?(:query)
2084
+ @query_override = args[:query_override] if args.key?(:query_override)
2045
2085
  @scheme = args[:scheme] if args.key?(:scheme)
2046
2086
  @uri_override_enforce_mode = args[:uri_override_enforce_mode] if args.key?(:uri_override_enforce_mode)
2047
2087
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudtasksV2beta2
18
18
  # Version of the google-apis-cloudtasks_v2beta2 gem
19
- GEM_VERSION = "0.30.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221025"
25
+ REVISION = "20230105"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class PathOverride
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class PauseQueueRequest
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -214,6 +220,12 @@ module Google
214
220
  include Google::Apis::Core::JsonObjectSupport
215
221
  end
216
222
 
223
+ class QueryOverride
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
217
229
  class Queue
218
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
231
 
@@ -546,6 +558,13 @@ module Google
546
558
  end
547
559
  end
548
560
 
561
+ class PathOverride
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :path, as: 'path'
565
+ end
566
+ end
567
+
549
568
  class PauseQueueRequest
550
569
  # @private
551
570
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -582,6 +601,13 @@ module Google
582
601
  end
583
602
  end
584
603
 
604
+ class QueryOverride
605
+ # @private
606
+ class Representation < Google::Apis::Core::JsonRepresentation
607
+ property :query_params, as: 'queryParams'
608
+ end
609
+ end
610
+
585
611
  class Queue
586
612
  # @private
587
613
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -724,9 +750,11 @@ module Google
724
750
  # @private
725
751
  class Representation < Google::Apis::Core::JsonRepresentation
726
752
  property :host, as: 'host'
727
- property :path, as: 'path'
753
+ property :path_override, as: 'pathOverride', class: Google::Apis::CloudtasksV2beta2::PathOverride, decorator: Google::Apis::CloudtasksV2beta2::PathOverride::Representation
754
+
728
755
  property :port, :numeric_string => true, as: 'port'
729
- property :query, as: 'query'
756
+ property :query_override, as: 'queryOverride', class: Google::Apis::CloudtasksV2beta2::QueryOverride, decorator: Google::Apis::CloudtasksV2beta2::QueryOverride::Representation
757
+
730
758
  property :scheme, as: 'scheme'
731
759
  property :uri_override_enforce_mode, as: 'uriOverrideEnforceMode'
732
760
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudtasks_v2beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.31.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-11-07 00:00:00.000000000 Z
11
+ date: 2023-01-15 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-cloudtasks_v2beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2beta2/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2beta2/v0.31.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudtasks_v2beta2
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.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Tasks API V2beta2