google-apis-cloudtasks_v2beta2 0.29.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: d7a3959d46fe5bc8a1abaf2fb42dd48e5d0460401314d73ec73e8f7004132dc8
4
- data.tar.gz: 14c279fd845283523e223c711997d7c4c1d529e230c4207ad673fc422cbdeaf5
3
+ metadata.gz: 0252c0582ee91e553072c59bc351b88464b0cd9a42eec7c01254a4d046a270e1
4
+ data.tar.gz: 4a41320706c69c55733a477d69355adb6492d0d6b845b54fd9dd6f2886b12d15
5
5
  SHA512:
6
- metadata.gz: 718ab173758857db593bbce6d3f98187cdfb9f4ea6c8dbf9479c8aadc83386e3dd2b4c810b706b47e25f6369d7e8cfb24b59dbf2441d7718df85843479260bbf
7
- data.tar.gz: d7a0c32c504180ce49c5284fd6518cdd9e53c6cd7d8416c4e50bf555abd1872bf690ee7386090c0ce0d1e607ab48cd64405bc2f1db48a40d68d4f6c8e5613c75
6
+ metadata.gz: ca1abd16661e0e7cbfab2d5db45fc2d6baf2db525b08e79de5bdde4515c006f363f360f9d50ff51200f3a87a9ffb6383a63b600faa3cbb5993ed4420f1df6662
7
+ data.tar.gz: b4ad109b96f23dfc3b1bbc4a39ea1e56611aced69c6c8bf1eb2ce61811d686429a5f7bdccb4c1de98e5c76a2c51cadb97b3f7754d51a9115badfff69dcf17723
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.30.0 (2022-11-06)
9
+
10
+ * Regenerated from discovery document revision 20221025
11
+
3
12
  ### v0.29.0 (2022-10-28)
4
13
 
5
14
  * Regenerated from discovery document revision 20221014
@@ -402,7 +402,7 @@ module Google
402
402
  end
403
403
  end
404
404
 
405
- # LINT.IfChange Request message for BufferTask.
405
+ # Request message for BufferTask.
406
406
  class BufferTaskRequest
407
407
  include Google::Apis::Core::Hashable
408
408
 
@@ -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.29.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 = "20221014"
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.29.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-10-31 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.29.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