google-cloud-tasks-v2beta2 0.11.0 → 0.11.2

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: 2947dfcb365dc3834d1ccf6ad8b1a73ae654b0cdf7ca21dc85d4cd2c56eb8c1a
4
- data.tar.gz: c71e9dffca9509866ff7ef3c4df4cd4648de394447e21362e2b59e1b5541f8da
3
+ metadata.gz: a40e8b3bc9496e2a4f34454ffe4a996517f3157e062ce8eb11c2c6065aa82790
4
+ data.tar.gz: '08e58d2c72d77314852cc3578124c59d7bbd1135018e9aa515240247d14f4002'
5
5
  SHA512:
6
- metadata.gz: 8a071b11eb2912f1a5505af9221a6dfe5790bb243d1b933d7166affaba8ffef25efdbb100c5786fc18b7380af5d0949d58b7653c36641cd19e3a4ee1acdbd095
7
- data.tar.gz: 6f02ecf6240e60648f1879b65d60ddccc65066660e2d4a91dc11bf57694c623e64dca644b946ef73079c54ff109183e3a3f9f49f2502a2e7a6860c769441849c
6
+ metadata.gz: 908fd9852be2144b30888cc9af7973d26af34ad6c0daef2b86478d9accc12be97b8968c97b9e2579c3232e64fc0d01ce1fe87f518870ba15a8a09b2b5b5392ef
7
+ data.tar.gz: 98a441052054858b32baf7fa8f2ec5ed895ff4988ce777bd2f2a18fc274089499d8a17bf655df78e237a8458d0d4b8a35b17fbc9b77f0e0d7c83dc244a283225
@@ -135,8 +135,6 @@ module Google
135
135
 
136
136
  default_config.rpcs.run_task.timeout = 20.0
137
137
 
138
- default_config.rpcs.buffer_task.timeout = 20.0
139
-
140
138
  default_config
141
139
  end
142
140
  yield @configure if block_given?
@@ -216,13 +214,6 @@ module Google
216
214
  @quota_project_id = @config.quota_project
217
215
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
218
216
 
219
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
220
- config.credentials = credentials
221
- config.quota_project = @quota_project_id
222
- config.endpoint = @config.endpoint
223
- config.universe_domain = @config.universe_domain
224
- end
225
-
226
217
  @cloud_tasks_stub = ::Gapic::ServiceStub.new(
227
218
  ::Google::Cloud::Tasks::V2beta2::CloudTasks::Stub,
228
219
  credentials: credentials,
@@ -233,6 +224,13 @@ module Google
233
224
  interceptors: @config.interceptors,
234
225
  channel_pool_config: @config.channel_pool
235
226
  )
227
+
228
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
229
+ config.credentials = credentials
230
+ config.quota_project = @quota_project_id
231
+ config.endpoint = @cloud_tasks_stub.endpoint
232
+ config.universe_domain = @cloud_tasks_stub.universe_domain
233
+ end
236
234
  end
237
235
 
238
236
  ##
@@ -2566,115 +2564,6 @@ module Google
2566
2564
  raise ::Google::Cloud::Error.from_error(e)
2567
2565
  end
2568
2566
 
2569
- ##
2570
- # Creates and buffers a new task without the need to explicitly define a Task
2571
- # message. The queue must have [HTTP
2572
- # target][google.cloud.tasks.v2beta2.HttpTarget]. To create the task with a
2573
- # custom ID, use the following format and set TASK_ID to your desired ID:
2574
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer
2575
- # To create the task with an automatically generated ID, use the following
2576
- # format:
2577
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.
2578
- # Note: This feature is in its experimental stage. You must request access to
2579
- # the API through the [Cloud Tasks BufferTask Experiment Signup
2580
- # form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
2581
- #
2582
- # @overload buffer_task(request, options = nil)
2583
- # Pass arguments to `buffer_task` via a request object, either of type
2584
- # {::Google::Cloud::Tasks::V2beta2::BufferTaskRequest} or an equivalent Hash.
2585
- #
2586
- # @param request [::Google::Cloud::Tasks::V2beta2::BufferTaskRequest, ::Hash]
2587
- # A request object representing the call parameters. Required. To specify no
2588
- # parameters, or to keep all the default parameter values, pass an empty Hash.
2589
- # @param options [::Gapic::CallOptions, ::Hash]
2590
- # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2591
- #
2592
- # @overload buffer_task(queue: nil, task_id: nil, body: nil)
2593
- # Pass arguments to `buffer_task` via keyword arguments. Note that at
2594
- # least one keyword argument is required. To specify no parameters, or to keep all
2595
- # the default parameter values, pass an empty Hash as a request object (see above).
2596
- #
2597
- # @param queue [::String]
2598
- # Required. The parent queue name. For example:
2599
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
2600
- #
2601
- # The queue must already exist.
2602
- # @param task_id [::String]
2603
- # Optional. Task ID for the task being created. If not provided, a random
2604
- # task ID is assigned to the task.
2605
- # @param body [::Google::Api::HttpBody, ::Hash]
2606
- # Optional. Body of the HTTP request.
2607
- #
2608
- # The body can take any generic value. The value is written to the
2609
- # [HttpRequest][payload] of the [Task].
2610
- #
2611
- # @yield [response, operation] Access the result along with the RPC operation
2612
- # @yieldparam response [::Google::Cloud::Tasks::V2beta2::BufferTaskResponse]
2613
- # @yieldparam operation [::GRPC::ActiveCall::Operation]
2614
- #
2615
- # @return [::Google::Cloud::Tasks::V2beta2::BufferTaskResponse]
2616
- #
2617
- # @raise [::Google::Cloud::Error] if the RPC is aborted.
2618
- #
2619
- # @example Basic example
2620
- # require "google/cloud/tasks/v2beta2"
2621
- #
2622
- # # Create a client object. The client can be reused for multiple calls.
2623
- # client = Google::Cloud::Tasks::V2beta2::CloudTasks::Client.new
2624
- #
2625
- # # Create a request. To set request fields, pass in keyword arguments.
2626
- # request = Google::Cloud::Tasks::V2beta2::BufferTaskRequest.new
2627
- #
2628
- # # Call the buffer_task method.
2629
- # result = client.buffer_task request
2630
- #
2631
- # # The returned object is of type Google::Cloud::Tasks::V2beta2::BufferTaskResponse.
2632
- # p result
2633
- #
2634
- def buffer_task request, options = nil
2635
- raise ::ArgumentError, "request must be provided" if request.nil?
2636
-
2637
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Tasks::V2beta2::BufferTaskRequest
2638
-
2639
- # Converts hash and nil to an options object
2640
- options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2641
-
2642
- # Customize the options with defaults
2643
- metadata = @config.rpcs.buffer_task.metadata.to_h
2644
-
2645
- # Set x-goog-api-client and x-goog-user-project headers
2646
- metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2647
- lib_name: @config.lib_name, lib_version: @config.lib_version,
2648
- gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION
2649
- metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2650
-
2651
- header_params = {}
2652
- if request.queue
2653
- header_params["queue"] = request.queue
2654
- end
2655
- if request.task_id
2656
- header_params["task_id"] = request.task_id
2657
- end
2658
-
2659
- request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2660
- metadata[:"x-goog-request-params"] ||= request_params_header
2661
-
2662
- options.apply_defaults timeout: @config.rpcs.buffer_task.timeout,
2663
- metadata: metadata,
2664
- retry_policy: @config.rpcs.buffer_task.retry_policy
2665
-
2666
- options.apply_defaults timeout: @config.timeout,
2667
- metadata: @config.metadata,
2668
- retry_policy: @config.retry_policy
2669
-
2670
- @cloud_tasks_stub.call_rpc :buffer_task, request, options: options do |response, operation|
2671
- yield response, operation if block_given?
2672
- return response
2673
- end
2674
- rescue ::GRPC::BadStatus => e
2675
- raise ::Google::Cloud::Error.from_error(e)
2676
- end
2677
-
2678
2567
  ##
2679
2568
  # Configuration class for the CloudTasks API.
2680
2569
  #
@@ -2933,11 +2822,6 @@ module Google
2933
2822
  # @return [::Gapic::Config::Method]
2934
2823
  #
2935
2824
  attr_reader :run_task
2936
- ##
2937
- # RPC-specific configuration for `buffer_task`
2938
- # @return [::Gapic::Config::Method]
2939
- #
2940
- attr_reader :buffer_task
2941
2825
 
2942
2826
  # @private
2943
2827
  def initialize parent_rpcs = nil
@@ -2983,8 +2867,6 @@ module Google
2983
2867
  @cancel_lease = ::Gapic::Config::Method.new cancel_lease_config
2984
2868
  run_task_config = parent_rpcs.run_task if parent_rpcs.respond_to? :run_task
2985
2869
  @run_task = ::Gapic::Config::Method.new run_task_config
2986
- buffer_task_config = parent_rpcs.buffer_task if parent_rpcs.respond_to? :buffer_task
2987
- @buffer_task = ::Gapic::Config::Method.new buffer_task_config
2988
2870
 
2989
2871
  yield self if block_given?
2990
2872
  end
@@ -135,8 +135,6 @@ module Google
135
135
 
136
136
  default_config.rpcs.run_task.timeout = 20.0
137
137
 
138
- default_config.rpcs.buffer_task.timeout = 20.0
139
-
140
138
  default_config
141
139
  end
142
140
  yield @configure if block_given?
@@ -211,20 +209,20 @@ module Google
211
209
  @quota_project_id = @config.quota_project
212
210
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
213
211
 
214
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
215
- config.credentials = credentials
216
- config.quota_project = @quota_project_id
217
- config.endpoint = @config.endpoint
218
- config.universe_domain = @config.universe_domain
219
- config.bindings_override = @config.bindings_override
220
- end
221
-
222
212
  @cloud_tasks_stub = ::Google::Cloud::Tasks::V2beta2::CloudTasks::Rest::ServiceStub.new(
223
213
  endpoint: @config.endpoint,
224
214
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
225
215
  universe_domain: @config.universe_domain,
226
216
  credentials: credentials
227
217
  )
218
+
219
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
220
+ config.credentials = credentials
221
+ config.quota_project = @quota_project_id
222
+ config.endpoint = @cloud_tasks_stub.endpoint
223
+ config.universe_domain = @cloud_tasks_stub.universe_domain
224
+ config.bindings_override = @config.bindings_override
225
+ end
228
226
  end
229
227
 
230
228
  ##
@@ -2333,105 +2331,6 @@ module Google
2333
2331
  raise ::Google::Cloud::Error.from_error(e)
2334
2332
  end
2335
2333
 
2336
- ##
2337
- # Creates and buffers a new task without the need to explicitly define a Task
2338
- # message. The queue must have [HTTP
2339
- # target][google.cloud.tasks.v2beta2.HttpTarget]. To create the task with a
2340
- # custom ID, use the following format and set TASK_ID to your desired ID:
2341
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer
2342
- # To create the task with an automatically generated ID, use the following
2343
- # format:
2344
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.
2345
- # Note: This feature is in its experimental stage. You must request access to
2346
- # the API through the [Cloud Tasks BufferTask Experiment Signup
2347
- # form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
2348
- #
2349
- # @overload buffer_task(request, options = nil)
2350
- # Pass arguments to `buffer_task` via a request object, either of type
2351
- # {::Google::Cloud::Tasks::V2beta2::BufferTaskRequest} or an equivalent Hash.
2352
- #
2353
- # @param request [::Google::Cloud::Tasks::V2beta2::BufferTaskRequest, ::Hash]
2354
- # A request object representing the call parameters. Required. To specify no
2355
- # parameters, or to keep all the default parameter values, pass an empty Hash.
2356
- # @param options [::Gapic::CallOptions, ::Hash]
2357
- # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2358
- #
2359
- # @overload buffer_task(queue: nil, task_id: nil, body: nil)
2360
- # Pass arguments to `buffer_task` via keyword arguments. Note that at
2361
- # least one keyword argument is required. To specify no parameters, or to keep all
2362
- # the default parameter values, pass an empty Hash as a request object (see above).
2363
- #
2364
- # @param queue [::String]
2365
- # Required. The parent queue name. For example:
2366
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
2367
- #
2368
- # The queue must already exist.
2369
- # @param task_id [::String]
2370
- # Optional. Task ID for the task being created. If not provided, a random
2371
- # task ID is assigned to the task.
2372
- # @param body [::Google::Api::HttpBody, ::Hash]
2373
- # Optional. Body of the HTTP request.
2374
- #
2375
- # The body can take any generic value. The value is written to the
2376
- # [HttpRequest][payload] of the [Task].
2377
- # @yield [result, operation] Access the result along with the TransportOperation object
2378
- # @yieldparam result [::Google::Cloud::Tasks::V2beta2::BufferTaskResponse]
2379
- # @yieldparam operation [::Gapic::Rest::TransportOperation]
2380
- #
2381
- # @return [::Google::Cloud::Tasks::V2beta2::BufferTaskResponse]
2382
- #
2383
- # @raise [::Google::Cloud::Error] if the REST call is aborted.
2384
- #
2385
- # @example Basic example
2386
- # require "google/cloud/tasks/v2beta2"
2387
- #
2388
- # # Create a client object. The client can be reused for multiple calls.
2389
- # client = Google::Cloud::Tasks::V2beta2::CloudTasks::Rest::Client.new
2390
- #
2391
- # # Create a request. To set request fields, pass in keyword arguments.
2392
- # request = Google::Cloud::Tasks::V2beta2::BufferTaskRequest.new
2393
- #
2394
- # # Call the buffer_task method.
2395
- # result = client.buffer_task request
2396
- #
2397
- # # The returned object is of type Google::Cloud::Tasks::V2beta2::BufferTaskResponse.
2398
- # p result
2399
- #
2400
- def buffer_task request, options = nil
2401
- raise ::ArgumentError, "request must be provided" if request.nil?
2402
-
2403
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Tasks::V2beta2::BufferTaskRequest
2404
-
2405
- # Converts hash and nil to an options object
2406
- options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2407
-
2408
- # Customize the options with defaults
2409
- call_metadata = @config.rpcs.buffer_task.metadata.to_h
2410
-
2411
- # Set x-goog-api-client and x-goog-user-project headers
2412
- call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2413
- lib_name: @config.lib_name, lib_version: @config.lib_version,
2414
- gapic_version: ::Google::Cloud::Tasks::V2beta2::VERSION,
2415
- transports_version_send: [:rest]
2416
-
2417
- call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2418
-
2419
- options.apply_defaults timeout: @config.rpcs.buffer_task.timeout,
2420
- metadata: call_metadata,
2421
- retry_policy: @config.rpcs.buffer_task.retry_policy
2422
-
2423
- options.apply_defaults timeout: @config.timeout,
2424
- metadata: @config.metadata,
2425
- retry_policy: @config.retry_policy
2426
-
2427
- @cloud_tasks_stub.buffer_task request, options do |result, operation|
2428
- yield result, operation if block_given?
2429
- return result
2430
- end
2431
- rescue ::Gapic::Rest::Error => e
2432
- raise ::Google::Cloud::Error.from_error(e)
2433
- end
2434
-
2435
2334
  ##
2436
2335
  # Configuration class for the CloudTasks REST API.
2437
2336
  #
@@ -2672,11 +2571,6 @@ module Google
2672
2571
  # @return [::Gapic::Config::Method]
2673
2572
  #
2674
2573
  attr_reader :run_task
2675
- ##
2676
- # RPC-specific configuration for `buffer_task`
2677
- # @return [::Gapic::Config::Method]
2678
- #
2679
- attr_reader :buffer_task
2680
2574
 
2681
2575
  # @private
2682
2576
  def initialize parent_rpcs = nil
@@ -2720,8 +2614,6 @@ module Google
2720
2614
  @cancel_lease = ::Gapic::Config::Method.new cancel_lease_config
2721
2615
  run_task_config = parent_rpcs.run_task if parent_rpcs.respond_to? :run_task
2722
2616
  @run_task = ::Gapic::Config::Method.new run_task_config
2723
- buffer_task_config = parent_rpcs.buffer_task if parent_rpcs.respond_to? :buffer_task
2724
- @buffer_task = ::Gapic::Config::Method.new buffer_task_config
2725
2617
 
2726
2618
  yield self if block_given?
2727
2619
  end
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the list_queues REST call
57
66
  #
@@ -812,44 +821,6 @@ module Google
812
821
  result
813
822
  end
814
823
 
815
- ##
816
- # Baseline implementation for the buffer_task REST call
817
- #
818
- # @param request_pb [::Google::Cloud::Tasks::V2beta2::BufferTaskRequest]
819
- # A request object representing the call parameters. Required.
820
- # @param options [::Gapic::CallOptions]
821
- # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
822
- #
823
- # @yield [result, operation] Access the result along with the TransportOperation object
824
- # @yieldparam result [::Google::Cloud::Tasks::V2beta2::BufferTaskResponse]
825
- # @yieldparam operation [::Gapic::Rest::TransportOperation]
826
- #
827
- # @return [::Google::Cloud::Tasks::V2beta2::BufferTaskResponse]
828
- # A result object deserialized from the server's reply
829
- def buffer_task request_pb, options = nil
830
- raise ::ArgumentError, "request must be provided" if request_pb.nil?
831
-
832
- verb, uri, query_string_params, body = ServiceStub.transcode_buffer_task_request request_pb
833
- query_string_params = if query_string_params.any?
834
- query_string_params.to_h { |p| p.split "=", 2 }
835
- else
836
- {}
837
- end
838
-
839
- response = @client_stub.make_http_request(
840
- verb,
841
- uri: uri,
842
- body: body || "",
843
- params: query_string_params,
844
- options: options
845
- )
846
- operation = ::Gapic::Rest::TransportOperation.new response
847
- result = ::Google::Cloud::Tasks::V2beta2::BufferTaskResponse.decode_json response.body, ignore_unknown_fields: true
848
-
849
- yield result, operation if block_given?
850
- result
851
- end
852
-
853
824
  ##
854
825
  # @private
855
826
  #
@@ -1283,29 +1254,6 @@ module Google
1283
1254
  )
1284
1255
  transcoder.transcode request_pb
1285
1256
  end
1286
-
1287
- ##
1288
- # @private
1289
- #
1290
- # GRPC transcoding helper method for the buffer_task REST call
1291
- #
1292
- # @param request_pb [::Google::Cloud::Tasks::V2beta2::BufferTaskRequest]
1293
- # A request object representing the call parameters. Required.
1294
- # @return [Array(String, [String, nil], Hash{String => String})]
1295
- # Uri, Body, Query string parameters
1296
- def self.transcode_buffer_task_request request_pb
1297
- transcoder = Gapic::Rest::GrpcTranscoder.new
1298
- .with_bindings(
1299
- uri_method: :post,
1300
- uri_template: "/v2beta2/{queue}/tasks/{task_id}:buffer",
1301
- body: "*",
1302
- matches: [
1303
- ["queue", %r{^projects/[^/]+/locations/[^/]+/queues/[^/]+/?$}, false],
1304
- ["task_id", %r{^[^/]+/?$}, false]
1305
- ]
1306
- )
1307
- transcoder.transcode request_pb
1308
- end
1309
1257
  end
1310
1258
  end
1311
1259
  end
@@ -19,7 +19,7 @@ require 'google/protobuf/field_mask_pb'
19
19
  require 'google/protobuf/timestamp_pb'
20
20
 
21
21
 
22
- descriptor_data = "\n+google/cloud/tasks/v2beta2/cloudtasks.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/tasks/v2beta2/queue.proto\x1a%google/cloud/tasks/v2beta2/task.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x11ListQueuesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"`\n\x12ListQueuesResponse\x12\x31\n\x06queues\x18\x01 \x03(\x0b\x32!.google.cloud.tasks.v2beta2.Queue\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"|\n\x0fGetQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\x12\x32\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x84\x01\n\x12\x43reateQueueRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x35\n\x05queue\x18\x02 \x01(\x0b\x32!.google.cloud.tasks.v2beta2.QueueB\x03\xe0\x41\x02\"|\n\x12UpdateQueueRequest\x12\x35\n\x05queue\x18\x01 \x01(\x0b\x32!.google.cloud.tasks.v2beta2.QueueB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"K\n\x12\x44\x65leteQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"J\n\x11PurgeQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"J\n\x11PauseQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"K\n\x12ResumeQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"i\n\x16UploadQueueYamlRequest\x12\x13\n\x06\x61pp_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12,\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBodyH\x00\x88\x01\x01\x42\x0c\n\n_http_body\"\xaf\x01\n\x10ListTasksRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"]\n\x11ListTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta2.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x84\x01\n\x0eGetTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\xbe\x01\n\x11\x43reateTaskRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x33\n\x04task\x18\x02 \x01(\x0b\x32 .google.cloud.tasks.v2beta2.TaskB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"I\n\x11\x44\x65leteTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\"\xe4\x01\n\x11LeaseTasksRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x11\n\tmax_tasks\x18\x02 \x01(\x05\x12\x36\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x04 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"E\n\x12LeaseTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta2.Task\"\x86\x01\n\x16\x41\x63knowledgeTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x36\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xf7\x01\n\x11RenewLeaseRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x36\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x36\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x04 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\xc0\x01\n\x12\x43\x61ncelLeaseRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x36\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\x84\x01\n\x0eRunTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\x89\x01\n\x11\x42ufferTaskRequest\x12\x35\n\x05queue\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x14\n\x07task_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\'\n\x04\x62ody\x18\x03 \x01(\x0b\x32\x14.google.api.HttpBodyB\x03\xe0\x41\x01\"D\n\x12\x42ufferTaskResponse\x12.\n\x04task\x18\x01 \x01(\x0b\x32 .google.cloud.tasks.v2beta2.Task2\x8c\x1f\n\nCloudTasks\x12\xad\x01\n\nListQueues\x12-.google.cloud.tasks.v2beta2.ListQueuesRequest\x1a..google.cloud.tasks.v2beta2.ListQueuesResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v2beta2/{parent=projects/*/locations/*}/queues\xda\x41\x06parent\x12\x9a\x01\n\x08GetQueue\x12+.google.cloud.tasks.v2beta2.GetQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\">\x82\xd3\xe4\x93\x02\x31\x12//v2beta2/{name=projects/*/locations/*/queues/*}\xda\x41\x04name\x12\xaf\x01\n\x0b\x43reateQueue\x12..google.cloud.tasks.v2beta2.CreateQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"M\x82\xd3\xe4\x93\x02\x38\"//v2beta2/{parent=projects/*/locations/*}/queues:\x05queue\xda\x41\x0cparent,queue\x12\xba\x01\n\x0bUpdateQueue\x12..google.cloud.tasks.v2beta2.UpdateQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"X\x82\xd3\xe4\x93\x02>25/v2beta2/{queue.name=projects/*/locations/*/queues/*}:\x05queue\xda\x41\x11queue,update_mask\x12\x95\x01\n\x0b\x44\x65leteQueue\x12..google.cloud.tasks.v2beta2.DeleteQueueRequest\x1a\x16.google.protobuf.Empty\">\x82\xd3\xe4\x93\x02\x31*//v2beta2/{name=projects/*/locations/*/queues/*}\xda\x41\x04name\x12\xa7\x01\n\nPurgeQueue\x12-.google.cloud.tasks.v2beta2.PurgeQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"G\x82\xd3\xe4\x93\x02:\"5/v2beta2/{name=projects/*/locations/*/queues/*}:purge:\x01*\xda\x41\x04name\x12\xa7\x01\n\nPauseQueue\x12-.google.cloud.tasks.v2beta2.PauseQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"G\x82\xd3\xe4\x93\x02:\"5/v2beta2/{name=projects/*/locations/*/queues/*}:pause:\x01*\xda\x41\x04name\x12\xaa\x01\n\x0bResumeQueue\x12..google.cloud.tasks.v2beta2.ResumeQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"H\x82\xd3\xe4\x93\x02;\"6/v2beta2/{name=projects/*/locations/*/queues/*}:resume:\x01*\xda\x41\x04name\x12_\n\x0fUploadQueueYaml\x12\x32.google.cloud.tasks.v2beta2.UploadQueueYamlRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\xa1\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"V\x82\xd3\xe4\x93\x02\x45\"@/v2beta2/{resource=projects/*/locations/*/queues/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xa8\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"]\x82\xd3\xe4\x93\x02\x45\"@/v2beta2/{resource=projects/*/locations/*/queues/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xd3\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"h\x82\xd3\xe4\x93\x02K\"F/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xb2\x01\n\tListTasks\x12,.google.cloud.tasks.v2beta2.ListTasksRequest\x1a-.google.cloud.tasks.v2beta2.ListTasksResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks\xda\x41\x06parent\x12\x9f\x01\n\x07GetTask\x12*.google.cloud.tasks.v2beta2.GetTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}\xda\x41\x04name\x12\xaf\x01\n\nCreateTask\x12-.google.cloud.tasks.v2beta2.CreateTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"P\x82\xd3\xe4\x93\x02<\"7/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:\x01*\xda\x41\x0bparent,task\x12\x9b\x01\n\nDeleteTask\x12-.google.cloud.tasks.v2beta2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\"F\x82\xd3\xe4\x93\x02\x39*7/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}\xda\x41\x04name\x12\xcd\x01\n\nLeaseTasks\x12-.google.cloud.tasks.v2beta2.LeaseTasksRequest\x1a..google.cloud.tasks.v2beta2.LeaseTasksResponse\"`\x82\xd3\xe4\x93\x02\x42\"=/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:lease:\x01*\xda\x41\x15parent,lease_duration\x12\xc2\x01\n\x0f\x41\x63knowledgeTask\x12\x32.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest\x1a\x16.google.protobuf.Empty\"c\x82\xd3\xe4\x93\x02H\"C/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge:\x01*\xda\x41\x12name,schedule_time\x12\xd0\x01\n\nRenewLease\x12-.google.cloud.tasks.v2beta2.RenewLeaseRequest\x1a .google.cloud.tasks.v2beta2.Task\"q\x82\xd3\xe4\x93\x02G\"B/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease:\x01*\xda\x41!name,schedule_time,lease_duration\x12\xc4\x01\n\x0b\x43\x61ncelLease\x12..google.cloud.tasks.v2beta2.CancelLeaseRequest\x1a .google.cloud.tasks.v2beta2.Task\"c\x82\xd3\xe4\x93\x02H\"C/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease:\x01*\xda\x41\x12name,schedule_time\x12\xa6\x01\n\x07RunTask\x12*.google.cloud.tasks.v2beta2.RunTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"M\x82\xd3\xe4\x93\x02@\";/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run:\x01*\xda\x41\x04name\x12\xd4\x01\n\nBufferTask\x12-.google.cloud.tasks.v2beta2.BufferTaskRequest\x1a..google.cloud.tasks.v2beta2.BufferTaskResponse\"g\x82\xd3\xe4\x93\x02L\"G/v2beta2/{queue=projects/*/locations/*/queues/*}/tasks/{task_id}:buffer:\x01*\xda\x41\x12queue,task_id,body\x1aM\xca\x41\x19\x63loudtasks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd0\x01\n\x1e\x63om.google.cloud.tasks.v2beta2B\x0f\x43loudTasksProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspb\xa2\x02\x05TASKS\xea\x41M\n\"cloudtasks.googleapis.com/Location\x12\'projects/{project}/locations/{location}b\x06proto3"
22
+ descriptor_data = "\n+google/cloud/tasks/v2beta2/cloudtasks.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/tasks/v2beta2/queue.proto\x1a%google/cloud/tasks/v2beta2/task.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x01\n\x11ListQueuesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"`\n\x12ListQueuesResponse\x12\x31\n\x06queues\x18\x01 \x03(\x0b\x32!.google.cloud.tasks.v2beta2.Queue\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"|\n\x0fGetQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\x12\x32\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x84\x01\n\x12\x43reateQueueRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x35\n\x05queue\x18\x02 \x01(\x0b\x32!.google.cloud.tasks.v2beta2.QueueB\x03\xe0\x41\x02\"|\n\x12UpdateQueueRequest\x12\x35\n\x05queue\x18\x01 \x01(\x0b\x32!.google.cloud.tasks.v2beta2.QueueB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"K\n\x12\x44\x65leteQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"J\n\x11PurgeQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"J\n\x11PauseQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"K\n\x12ResumeQueueRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"i\n\x16UploadQueueYamlRequest\x12\x13\n\x06\x61pp_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12,\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBodyH\x00\x88\x01\x01\x42\x0c\n\n_http_body\"\xaf\x01\n\x10ListTasksRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"]\n\x11ListTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta2.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x84\x01\n\x0eGetTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\xbe\x01\n\x11\x43reateTaskRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x33\n\x04task\x18\x02 \x01(\x0b\x32 .google.cloud.tasks.v2beta2.TaskB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"I\n\x11\x44\x65leteTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\"\xe4\x01\n\x11LeaseTasksRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x11\n\tmax_tasks\x18\x02 \x01(\x05\x12\x36\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x04 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"E\n\x12LeaseTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta2.Task\"\x86\x01\n\x16\x41\x63knowledgeTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x36\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xf7\x01\n\x11RenewLeaseRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x36\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x36\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x04 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\xc0\x01\n\x12\x43\x61ncelLeaseRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x36\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\x84\x01\n\x0eRunTaskRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View2\xb5\x1d\n\nCloudTasks\x12\xad\x01\n\nListQueues\x12-.google.cloud.tasks.v2beta2.ListQueuesRequest\x1a..google.cloud.tasks.v2beta2.ListQueuesResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v2beta2/{parent=projects/*/locations/*}/queues\xda\x41\x06parent\x12\x9a\x01\n\x08GetQueue\x12+.google.cloud.tasks.v2beta2.GetQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\">\x82\xd3\xe4\x93\x02\x31\x12//v2beta2/{name=projects/*/locations/*/queues/*}\xda\x41\x04name\x12\xaf\x01\n\x0b\x43reateQueue\x12..google.cloud.tasks.v2beta2.CreateQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"M\x82\xd3\xe4\x93\x02\x38\"//v2beta2/{parent=projects/*/locations/*}/queues:\x05queue\xda\x41\x0cparent,queue\x12\xba\x01\n\x0bUpdateQueue\x12..google.cloud.tasks.v2beta2.UpdateQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"X\x82\xd3\xe4\x93\x02>25/v2beta2/{queue.name=projects/*/locations/*/queues/*}:\x05queue\xda\x41\x11queue,update_mask\x12\x95\x01\n\x0b\x44\x65leteQueue\x12..google.cloud.tasks.v2beta2.DeleteQueueRequest\x1a\x16.google.protobuf.Empty\">\x82\xd3\xe4\x93\x02\x31*//v2beta2/{name=projects/*/locations/*/queues/*}\xda\x41\x04name\x12\xa7\x01\n\nPurgeQueue\x12-.google.cloud.tasks.v2beta2.PurgeQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"G\x82\xd3\xe4\x93\x02:\"5/v2beta2/{name=projects/*/locations/*/queues/*}:purge:\x01*\xda\x41\x04name\x12\xa7\x01\n\nPauseQueue\x12-.google.cloud.tasks.v2beta2.PauseQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"G\x82\xd3\xe4\x93\x02:\"5/v2beta2/{name=projects/*/locations/*/queues/*}:pause:\x01*\xda\x41\x04name\x12\xaa\x01\n\x0bResumeQueue\x12..google.cloud.tasks.v2beta2.ResumeQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"H\x82\xd3\xe4\x93\x02;\"6/v2beta2/{name=projects/*/locations/*/queues/*}:resume:\x01*\xda\x41\x04name\x12_\n\x0fUploadQueueYaml\x12\x32.google.cloud.tasks.v2beta2.UploadQueueYamlRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\xa1\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"V\x82\xd3\xe4\x93\x02\x45\"@/v2beta2/{resource=projects/*/locations/*/queues/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xa8\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"]\x82\xd3\xe4\x93\x02\x45\"@/v2beta2/{resource=projects/*/locations/*/queues/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xd3\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"h\x82\xd3\xe4\x93\x02K\"F/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xb2\x01\n\tListTasks\x12,.google.cloud.tasks.v2beta2.ListTasksRequest\x1a-.google.cloud.tasks.v2beta2.ListTasksResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks\xda\x41\x06parent\x12\x9f\x01\n\x07GetTask\x12*.google.cloud.tasks.v2beta2.GetTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}\xda\x41\x04name\x12\xaf\x01\n\nCreateTask\x12-.google.cloud.tasks.v2beta2.CreateTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"P\x82\xd3\xe4\x93\x02<\"7/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:\x01*\xda\x41\x0bparent,task\x12\x9b\x01\n\nDeleteTask\x12-.google.cloud.tasks.v2beta2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\"F\x82\xd3\xe4\x93\x02\x39*7/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}\xda\x41\x04name\x12\xcd\x01\n\nLeaseTasks\x12-.google.cloud.tasks.v2beta2.LeaseTasksRequest\x1a..google.cloud.tasks.v2beta2.LeaseTasksResponse\"`\x82\xd3\xe4\x93\x02\x42\"=/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:lease:\x01*\xda\x41\x15parent,lease_duration\x12\xc2\x01\n\x0f\x41\x63knowledgeTask\x12\x32.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest\x1a\x16.google.protobuf.Empty\"c\x82\xd3\xe4\x93\x02H\"C/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge:\x01*\xda\x41\x12name,schedule_time\x12\xd0\x01\n\nRenewLease\x12-.google.cloud.tasks.v2beta2.RenewLeaseRequest\x1a .google.cloud.tasks.v2beta2.Task\"q\x82\xd3\xe4\x93\x02G\"B/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease:\x01*\xda\x41!name,schedule_time,lease_duration\x12\xc4\x01\n\x0b\x43\x61ncelLease\x12..google.cloud.tasks.v2beta2.CancelLeaseRequest\x1a .google.cloud.tasks.v2beta2.Task\"c\x82\xd3\xe4\x93\x02H\"C/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease:\x01*\xda\x41\x12name,schedule_time\x12\xa6\x01\n\x07RunTask\x12*.google.cloud.tasks.v2beta2.RunTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"M\x82\xd3\xe4\x93\x02@\";/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run:\x01*\xda\x41\x04name\x1aM\xca\x41\x19\x63loudtasks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd0\x01\n\x1e\x63om.google.cloud.tasks.v2beta2B\x0f\x43loudTasksProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspb\xa2\x02\x05TASKS\xea\x41M\n\"cloudtasks.googleapis.com/Location\x12\'projects/{project}/locations/{location}b\x06proto3"
23
23
 
24
24
  pool = Google::Protobuf::DescriptorPool.generated_pool
25
25
 
@@ -76,8 +76,6 @@ module Google
76
76
  RenewLeaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.RenewLeaseRequest").msgclass
77
77
  CancelLeaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.CancelLeaseRequest").msgclass
78
78
  RunTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.RunTaskRequest").msgclass
79
- BufferTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.BufferTaskRequest").msgclass
80
- BufferTaskResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta2.BufferTaskResponse").msgclass
81
79
  end
82
80
  end
83
81
  end
@@ -264,18 +264,6 @@ module Google
264
264
  # [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called
265
265
  # on a [pull task][google.cloud.tasks.v2beta2.PullMessage].
266
266
  rpc :RunTask, ::Google::Cloud::Tasks::V2beta2::RunTaskRequest, ::Google::Cloud::Tasks::V2beta2::Task
267
- # Creates and buffers a new task without the need to explicitly define a Task
268
- # message. The queue must have [HTTP
269
- # target][google.cloud.tasks.v2beta2.HttpTarget]. To create the task with a
270
- # custom ID, use the following format and set TASK_ID to your desired ID:
271
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer
272
- # To create the task with an automatically generated ID, use the following
273
- # format:
274
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.
275
- # Note: This feature is in its experimental stage. You must request access to
276
- # the API through the [Cloud Tasks BufferTask Experiment Signup
277
- # form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
278
- rpc :BufferTask, ::Google::Cloud::Tasks::V2beta2::BufferTaskRequest, ::Google::Cloud::Tasks::V2beta2::BufferTaskResponse
279
267
  end
280
268
 
281
269
  Stub = Service.rpc_stub_class
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Tasks
23
23
  module V2beta2
24
- VERSION = "0.11.0"
24
+ VERSION = "0.11.2"
25
25
  end
26
26
  end
27
27
  end
@@ -602,40 +602,6 @@ module Google
602
602
  include ::Google::Protobuf::MessageExts
603
603
  extend ::Google::Protobuf::MessageExts::ClassMethods
604
604
  end
605
-
606
- # LINT.IfChange
607
- # Request message for
608
- # {::Google::Cloud::Tasks::V2beta2::CloudTasks::Client#buffer_task BufferTask}.
609
- # @!attribute [rw] queue
610
- # @return [::String]
611
- # Required. The parent queue name. For example:
612
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
613
- #
614
- # The queue must already exist.
615
- # @!attribute [rw] task_id
616
- # @return [::String]
617
- # Optional. Task ID for the task being created. If not provided, a random
618
- # task ID is assigned to the task.
619
- # @!attribute [rw] body
620
- # @return [::Google::Api::HttpBody]
621
- # Optional. Body of the HTTP request.
622
- #
623
- # The body can take any generic value. The value is written to the
624
- # [HttpRequest][payload] of the [Task].
625
- class BufferTaskRequest
626
- include ::Google::Protobuf::MessageExts
627
- extend ::Google::Protobuf::MessageExts::ClassMethods
628
- end
629
-
630
- # Response message for
631
- # {::Google::Cloud::Tasks::V2beta2::CloudTasks::Client#buffer_task BufferTask}.
632
- # @!attribute [rw] task
633
- # @return [::Google::Cloud::Tasks::V2beta2::Task]
634
- # The created task.
635
- class BufferTaskResponse
636
- include ::Google::Protobuf::MessageExts
637
- extend ::Google::Protobuf::MessageExts::ClassMethods
638
- end
639
605
  end
640
606
  end
641
607
  end
@@ -427,7 +427,7 @@ module Google
427
427
  # This map contains the header field names and values.
428
428
  # Headers can be set when running the
429
429
  # {::Google::Cloud::Tasks::V2beta2::CloudTasks::Client#create_task task is created} or
430
- # {::Google::Cloud::Tasks::V2beta2::CloudTasks::Client#buffer_task task is created}.
430
+ # [task is created][google.cloud.tasks.v2beta2.CloudTasks.BufferTask].
431
431
  #
432
432
  # These headers represent a subset of the headers that will accompany the
433
433
  # task's HTTP request. Some HTTP request headers will be ignored or replaced.
@@ -620,7 +620,7 @@ module Google
620
620
  # This map contains the header field names and values.
621
621
  # Headers will be set when running the
622
622
  # {::Google::Cloud::Tasks::V2beta2::CloudTasks::Client#create_task task is created} and/or
623
- # {::Google::Cloud::Tasks::V2beta2::CloudTasks::Client#buffer_task task is created}.
623
+ # [task is created][google.cloud.tasks.v2beta2.CloudTasks.BufferTask].
624
624
  #
625
625
  # These headers represent a subset of the headers that will accompany the
626
626
  # task's HTTP request. Some HTTP request headers will be ignored or replaced.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-tasks-v2beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-11 00:00:00.000000000 Z
11
+ date: 2024-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common