google-apis-cloudtasks_v2beta2 0.30.0 → 0.32.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: 5bf97aa64abfa96c341c37b5ca567c1ca0b005c03f924134c48e8e41c2a4c2d0
4
+ data.tar.gz: 0f6a6a7aaa8976e5f8fb92b04d6ace4c441f734d56787ac9ae6ae56492197e60
5
5
  SHA512:
6
- metadata.gz: db4c70a5f48a13ab9bae0a33c27a159d903a7b587fef71558b138a6926312ac9e17cdac1ed6c0cfc8c72df61acb7df5d4ab583a317113a70b9371075d102a791
7
- data.tar.gz: 43586e8c523b11fa43423ba1d81a817116efbabf382ebf08f1c6c33c25adf1c85c769165dbcdf1366b6c659630969e5cbf86c312a5ab46d34dcc4fa80d9f460a
6
+ metadata.gz: ee0f8cf86358d3dda3a4734b253c8f2bbe887e301221d9c17d6349da14dd94a25179fda53368cccb0af0bf225fc47f23529f6f607f2834cb9115bea969764137
7
+ data.tar.gz: 381fc2cb5c6a9c867f04228da1c05afd53cd99381cf7d732514fa457e50ae00617ffcd9665e88a5f60f2479ded529c31f952b6bff2add37dbd388bd91fc5fb72
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudtasks_v2beta2
2
2
 
3
+ ### v0.32.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230201
6
+
7
+ ### v0.31.0 (2023-01-15)
8
+
9
+ * Regenerated from discovery document revision 20230105
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.30.0 (2022-11-06)
4
13
 
5
14
  * Regenerated from discovery document revision 20221025
@@ -364,22 +364,22 @@ module Google
364
364
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
365
365
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
366
366
  # email address that represents a Google group. For example, `admins@example.com`
367
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
368
- # identifier) representing a user that has been recently deleted. For example, `
369
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
370
- # value reverts to `user:`emailid`` and the recovered user retains the role in
371
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
372
- # address (plus unique identifier) representing a service account that has been
373
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
367
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
368
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
369
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
370
+ # representing a user that has been recently deleted. For example, `alice@
371
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
372
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
373
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
374
+ # (plus unique identifier) representing a service account that has been recently
375
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
374
376
  # 123456789012345678901`. If the service account is undeleted, this value
375
377
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
376
378
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
377
379
  # An email address (plus unique identifier) representing a Google group that has
378
380
  # been recently deleted. For example, `admins@example.com?uid=
379
381
  # 123456789012345678901`. If the group is recovered, this value reverts to `
380
- # group:`emailid`` and the recovered group retains the role in the binding. * `
381
- # domain:`domain``: The G Suite domain (primary) that represents all the users
382
- # of that domain. For example, `google.com` or `example.com`.
382
+ # group:`emailid`` and the recovered group retains the role in the binding.
383
383
  # Corresponds to the JSON property `members`
384
384
  # @return [Array<String>]
385
385
  attr_accessor :members
@@ -745,14 +745,14 @@ module Google
745
745
  # headers represent a subset of the headers that will accompany the task's HTTP
746
746
  # request. Some HTTP request headers will be ignored or replaced. A partial list
747
747
  # of headers that will be ignored or replaced is: * Any header that is prefixed
748
- # with "X-Google-Cloud-Tasks-" will be treated as service header. Service
749
- # headers define properties of the task and are predefined in CloudTask. * Host:
750
- # This will be computed by Cloud Tasks and derived from HttpRequest.url. *
751
- # Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will
752
- # be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-
753
- # AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You
754
- # can explicitly set `Content-Type` to a media type when the task is created.
755
- # For example, `Content-Type` can be set to `"application/octet-stream"` or `"
748
+ # with "X-CloudTasks-" will be treated as service header. Service headers define
749
+ # properties of the task and are predefined in CloudTask. * Host: This will be
750
+ # computed by Cloud Tasks and derived from HttpRequest.url. * Content-Length:
751
+ # This will be computed by Cloud Tasks. * User-Agent: This will be set to `"
752
+ # Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-AppEngine-*`:
753
+ # Google use only. `Content-Type` won't be set by Cloud Tasks. You can
754
+ # explicitly set `Content-Type` to a media type when the task is created. For
755
+ # example, `Content-Type` can be set to `"application/octet-stream"` or `"
756
756
  # application/json"`. Headers which can have multiple values (according to
757
757
  # RFC2616) can be specified using comma-separated values. The size of the
758
758
  # headers must be less than 80KB.
@@ -816,11 +816,11 @@ module Google
816
816
  # These headers represent a subset of the headers that will accompany the task's
817
817
  # HTTP request. Some HTTP request headers will be ignored or replaced. A partial
818
818
  # list of headers that will be ignored or replaced is: * Any header that is
819
- # prefixed with "X-Google-Cloud-Tasks-" will be treated as service header.
820
- # Service headers define properties of the task and are predefined in CloudTask.
821
- # * Host: This will be computed by Cloud Tasks and derived from HttpRequest.url.
822
- # * Content-Length: This will be computed by Cloud Tasks. * User-Agent: This
823
- # will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`: Google use only. * `X-
819
+ # prefixed with "X-CloudTasks-" will be treated as service header. Service
820
+ # headers define properties of the task and are predefined in CloudTask. * Host:
821
+ # This will be computed by Cloud Tasks and derived from HttpRequest.url. *
822
+ # Content-Length: This will be computed by Cloud Tasks. * User-Agent: This will
823
+ # be set to `"Google-CloudTasks"`. * `X-Google-*`: Google use only. * `X-
824
824
  # AppEngine-*`: Google use only. `Content-Type` won't be set by Cloud Tasks. You
825
825
  # can explicitly set `Content-Type` to a media type when the task is created.
826
826
  # For example, `Content-Type` can be set to `"application/octet-stream"` or `"
@@ -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.32.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 = "20230201"
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.32.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-02-12 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.32.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