google-apis-cloudtasks_v2beta2 0.52.0 → 0.53.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/cloudtasks_v2beta2/classes.rb +0 -62
- data/lib/google/apis/cloudtasks_v2beta2/gem_version.rb +2 -2
- data/lib/google/apis/cloudtasks_v2beta2/representations.rb +0 -18
- data/lib/google/apis/cloudtasks_v2beta2/service.rb +4 -35
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8795fbec54c0530467250ccdd6bf9a6fd0b3472d52eb5607ccfae5446c4af360
|
|
4
|
+
data.tar.gz: '0265396c8918015d89f699ac7556aa2003590561608b3285d46903b3b5ac7be3'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 976ffded786d1a683f25659f24bbf87200d5e38b86e406c7a190ba85fa78883e6e414e0d2844d7b6b2b7d040a4addb3c720d9a1ac9ebbfb1c923121c5597fba6
|
|
7
|
+
data.tar.gz: 4498727ad714092bacbe49f5dea9299462f68408a995a6aa8ed95a42b2d89c842a5eee94d7684f16f44c0035d3d5faeb86e857aa52431114f14bd5a55f290cb6
|
data/CHANGELOG.md
CHANGED
|
@@ -1207,68 +1207,6 @@ module Google
|
|
|
1207
1207
|
end
|
|
1208
1208
|
end
|
|
1209
1209
|
|
|
1210
|
-
# This resource represents a long-running operation that is the result of a
|
|
1211
|
-
# network API call.
|
|
1212
|
-
class Operation
|
|
1213
|
-
include Google::Apis::Core::Hashable
|
|
1214
|
-
|
|
1215
|
-
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
1216
|
-
# , the operation is completed, and either `error` or `response` is available.
|
|
1217
|
-
# Corresponds to the JSON property `done`
|
|
1218
|
-
# @return [Boolean]
|
|
1219
|
-
attr_accessor :done
|
|
1220
|
-
alias_method :done?, :done
|
|
1221
|
-
|
|
1222
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
1223
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1224
|
-
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
1225
|
-
# data: error code, error message, and error details. You can find out more
|
|
1226
|
-
# about this error model and how to work with it in the [API Design Guide](https:
|
|
1227
|
-
# //cloud.google.com/apis/design/errors).
|
|
1228
|
-
# Corresponds to the JSON property `error`
|
|
1229
|
-
# @return [Google::Apis::CloudtasksV2beta2::Status]
|
|
1230
|
-
attr_accessor :error
|
|
1231
|
-
|
|
1232
|
-
# Service-specific metadata associated with the operation. It typically contains
|
|
1233
|
-
# progress information and common metadata such as create time. Some services
|
|
1234
|
-
# might not provide such metadata. Any method that returns a long-running
|
|
1235
|
-
# operation should document the metadata type, if any.
|
|
1236
|
-
# Corresponds to the JSON property `metadata`
|
|
1237
|
-
# @return [Hash<String,Object>]
|
|
1238
|
-
attr_accessor :metadata
|
|
1239
|
-
|
|
1240
|
-
# The server-assigned name, which is only unique within the same service that
|
|
1241
|
-
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
1242
|
-
# be a resource name ending with `operations/`unique_id``.
|
|
1243
|
-
# Corresponds to the JSON property `name`
|
|
1244
|
-
# @return [String]
|
|
1245
|
-
attr_accessor :name
|
|
1246
|
-
|
|
1247
|
-
# The normal, successful response of the operation. If the original method
|
|
1248
|
-
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
|
1249
|
-
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
|
1250
|
-
# response should be the resource. For other methods, the response should have
|
|
1251
|
-
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
|
1252
|
-
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
|
1253
|
-
# `TakeSnapshotResponse`.
|
|
1254
|
-
# Corresponds to the JSON property `response`
|
|
1255
|
-
# @return [Hash<String,Object>]
|
|
1256
|
-
attr_accessor :response
|
|
1257
|
-
|
|
1258
|
-
def initialize(**args)
|
|
1259
|
-
update!(**args)
|
|
1260
|
-
end
|
|
1261
|
-
|
|
1262
|
-
# Update properties of this object
|
|
1263
|
-
def update!(**args)
|
|
1264
|
-
@done = args[:done] if args.key?(:done)
|
|
1265
|
-
@error = args[:error] if args.key?(:error)
|
|
1266
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1267
|
-
@name = args[:name] if args.key?(:name)
|
|
1268
|
-
@response = args[:response] if args.key?(:response)
|
|
1269
|
-
end
|
|
1270
|
-
end
|
|
1271
|
-
|
|
1272
1210
|
# PathOverride. Path message defines path override for HTTP targets.
|
|
1273
1211
|
class PathOverride
|
|
1274
1212
|
include Google::Apis::Core::Hashable
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.53.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260423"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -190,12 +190,6 @@ module Google
|
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
-
class Operation
|
|
194
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
-
|
|
196
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
-
end
|
|
198
|
-
|
|
199
193
|
class PathOverride
|
|
200
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
195
|
|
|
@@ -578,18 +572,6 @@ module Google
|
|
|
578
572
|
end
|
|
579
573
|
end
|
|
580
574
|
|
|
581
|
-
class Operation
|
|
582
|
-
# @private
|
|
583
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
584
|
-
property :done, as: 'done'
|
|
585
|
-
property :error, as: 'error', class: Google::Apis::CloudtasksV2beta2::Status, decorator: Google::Apis::CloudtasksV2beta2::Status::Representation
|
|
586
|
-
|
|
587
|
-
hash :metadata, as: 'metadata'
|
|
588
|
-
property :name, as: 'name'
|
|
589
|
-
hash :response, as: 'response'
|
|
590
|
-
end
|
|
591
|
-
end
|
|
592
|
-
|
|
593
575
|
class PathOverride
|
|
594
576
|
# @private
|
|
595
577
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -152,8 +152,8 @@ module Google
|
|
|
152
152
|
end
|
|
153
153
|
|
|
154
154
|
# Lists information about the supported locations for this service. This method
|
|
155
|
-
# lists locations based on the resource scope provided in the
|
|
156
|
-
# ListLocationsRequest.name
|
|
155
|
+
# lists locations based on the resource scope provided in the
|
|
156
|
+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
|
|
157
157
|
# the method lists the public locations available to all projects. * **Project-
|
|
158
158
|
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
159
159
|
# method lists locations visible to that specific project. This includes public,
|
|
@@ -164,8 +164,8 @@ module Google
|
|
|
164
164
|
# @param [String] name
|
|
165
165
|
# The resource that owns the locations collection, if applicable.
|
|
166
166
|
# @param [Array<String>, String] extra_location_types
|
|
167
|
-
# Optional. Do not use this field
|
|
168
|
-
#
|
|
167
|
+
# Optional. Do not use this field unless explicitly documented otherwise. This
|
|
168
|
+
# is primarily for internal usage.
|
|
169
169
|
# @param [String] filter
|
|
170
170
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
171
171
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -248,37 +248,6 @@ module Google
|
|
|
248
248
|
execute_or_queue_command(command, &block)
|
|
249
249
|
end
|
|
250
250
|
|
|
251
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
|
252
|
-
# to poll the operation result at intervals as recommended by the API service.
|
|
253
|
-
# @param [String] name
|
|
254
|
-
# The name of the operation resource.
|
|
255
|
-
# @param [String] fields
|
|
256
|
-
# Selector specifying which fields to include in a partial response.
|
|
257
|
-
# @param [String] quota_user
|
|
258
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
259
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
260
|
-
# @param [Google::Apis::RequestOptions] options
|
|
261
|
-
# Request-specific options
|
|
262
|
-
#
|
|
263
|
-
# @yield [result, err] Result & error if block supplied
|
|
264
|
-
# @yieldparam result [Google::Apis::CloudtasksV2beta2::Operation] parsed result object
|
|
265
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
266
|
-
#
|
|
267
|
-
# @return [Google::Apis::CloudtasksV2beta2::Operation]
|
|
268
|
-
#
|
|
269
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
270
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
271
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
272
|
-
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
273
|
-
command = make_simple_command(:get, 'v2beta2/{+name}', options)
|
|
274
|
-
command.response_representation = Google::Apis::CloudtasksV2beta2::Operation::Representation
|
|
275
|
-
command.response_class = Google::Apis::CloudtasksV2beta2::Operation
|
|
276
|
-
command.params['name'] = name unless name.nil?
|
|
277
|
-
command.query['fields'] = fields unless fields.nil?
|
|
278
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
279
|
-
execute_or_queue_command(command, &block)
|
|
280
|
-
end
|
|
281
|
-
|
|
282
251
|
# Creates a queue. Queues created with this method allow tasks to live for a
|
|
283
252
|
# maximum of 31 days. After a task is 31 days old, the task will be deleted
|
|
284
253
|
# regardless of whether it was dispatched or not. WARNING: Using this method may
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-cloudtasks_v2beta2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.53.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudtasks_v2beta2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2beta2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2beta2/v0.53.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudtasks_v2beta2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|