google-cloud-tasks-v2beta2 0.11.1 → 0.11.3

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: 536d5248fc2cc98b2988bb416263aa3d04d9b69ccbd6648ee64e7914dc7b92b8
4
- data.tar.gz: 476c3a5a36ed95297ab15378702ad85dad8be846f386fc1114d17b09273ec32c
3
+ metadata.gz: a4daf8feee73e59627acc70b78dd0d61497702bf7eaf6dc656115f17a74d4bf6
4
+ data.tar.gz: b70b20f32e678fd24b4f502665c2824c601f687d5a1a77c3a296fd80a4d31a06
5
5
  SHA512:
6
- metadata.gz: 5f00f6a93c3b9dcd29dbda15dfff6d455d2734367718fb9b4bb12d518388639ee4e9104a2aa3e9e27e9bd7ce4455ebe8672614ae25ae5e290fee045771f163cf
7
- data.tar.gz: 0b5e511c3a48d5308498f7cf039aa0a7f94264e899689e33b64fa023c1700b0340f3ed18545e150bc772fc5801b0db351b5470abd8846e50add9efe18efdac9a
6
+ metadata.gz: 2458654d3533c235d660d69ba9f5d282bf68cabe42780be97e8f68dc7e7387d5b852e96dbd93593e2f4166333edc82c2ecc0e34477536efea4f0ec7176667cf8
7
+ data.tar.gz: 962bcb360d8c213be2de393a609f6c9d8e65c6c242410c4c3fef564e449200adc50a550841847487aa5dab2f65394b086a69f33aa0c4292bc2372cdcc4ba144f
@@ -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?
@@ -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?
@@ -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
@@ -821,44 +821,6 @@ module Google
821
821
  result
822
822
  end
823
823
 
824
- ##
825
- # Baseline implementation for the buffer_task REST call
826
- #
827
- # @param request_pb [::Google::Cloud::Tasks::V2beta2::BufferTaskRequest]
828
- # A request object representing the call parameters. Required.
829
- # @param options [::Gapic::CallOptions]
830
- # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
831
- #
832
- # @yield [result, operation] Access the result along with the TransportOperation object
833
- # @yieldparam result [::Google::Cloud::Tasks::V2beta2::BufferTaskResponse]
834
- # @yieldparam operation [::Gapic::Rest::TransportOperation]
835
- #
836
- # @return [::Google::Cloud::Tasks::V2beta2::BufferTaskResponse]
837
- # A result object deserialized from the server's reply
838
- def buffer_task request_pb, options = nil
839
- raise ::ArgumentError, "request must be provided" if request_pb.nil?
840
-
841
- verb, uri, query_string_params, body = ServiceStub.transcode_buffer_task_request request_pb
842
- query_string_params = if query_string_params.any?
843
- query_string_params.to_h { |p| p.split "=", 2 }
844
- else
845
- {}
846
- end
847
-
848
- response = @client_stub.make_http_request(
849
- verb,
850
- uri: uri,
851
- body: body || "",
852
- params: query_string_params,
853
- options: options
854
- )
855
- operation = ::Gapic::Rest::TransportOperation.new response
856
- result = ::Google::Cloud::Tasks::V2beta2::BufferTaskResponse.decode_json response.body, ignore_unknown_fields: true
857
-
858
- yield result, operation if block_given?
859
- result
860
- end
861
-
862
824
  ##
863
825
  # @private
864
826
  #
@@ -1292,29 +1254,6 @@ module Google
1292
1254
  )
1293
1255
  transcoder.transcode request_pb
1294
1256
  end
1295
-
1296
- ##
1297
- # @private
1298
- #
1299
- # GRPC transcoding helper method for the buffer_task REST call
1300
- #
1301
- # @param request_pb [::Google::Cloud::Tasks::V2beta2::BufferTaskRequest]
1302
- # A request object representing the call parameters. Required.
1303
- # @return [Array(String, [String, nil], Hash{String => String})]
1304
- # Uri, Body, Query string parameters
1305
- def self.transcode_buffer_task_request request_pb
1306
- transcoder = Gapic::Rest::GrpcTranscoder.new
1307
- .with_bindings(
1308
- uri_method: :post,
1309
- uri_template: "/v2beta2/{queue}/tasks/{task_id}:buffer",
1310
- body: "*",
1311
- matches: [
1312
- ["queue", %r{^projects/[^/]+/locations/[^/]+/queues/[^/]+/?$}, false],
1313
- ["task_id", %r{^[^/]+/?$}, false]
1314
- ]
1315
- )
1316
- transcoder.transcode request_pb
1317
- end
1318
1257
  end
1319
1258
  end
1320
1259
  end
@@ -19,13 +19,13 @@ 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\"\xb9\x01\n\x11ListQueuesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\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\x33\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\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\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\x12\x33\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\"\x86\x01\n\x12\x43reateQueueRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\x12\x1f\x63loudtasks.googleapis.com/Queue\x12\x36\n\x05queue\x18\x02 \x01(\x0b\x32!.google.cloud.tasks.v2beta2.QueueB\x04\xe2\x41\x01\x02\"}\n\x12UpdateQueueRequest\x12\x36\n\x05queue\x18\x01 \x01(\x0b\x32!.google.cloud.tasks.v2beta2.QueueB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"L\n\x12\x44\x65leteQueueRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"K\n\x11PurgeQueueRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"K\n\x11PauseQueueRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"L\n\x12ResumeQueueRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x63loudtasks.googleapis.com/Queue\"j\n\x16UploadQueueYamlRequest\x12\x14\n\x06\x61pp_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12,\n\thttp_body\x18\x02 \x01(\x0b\x32\x14.google.api.HttpBodyH\x00\x88\x01\x01\x42\x0c\n\n_http_body\"\xb0\x01\n\x10ListTasksRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\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\"\x85\x01\n\x0eGetTaskRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12<\n\rresponse_view\x18\x02 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\xc0\x01\n\x11\x43reateTaskRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x34\n\x04task\x18\x02 \x01(\x0b\x32 .google.cloud.tasks.v2beta2.TaskB\x04\xe2\x41\x01\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"J\n\x11\x44\x65leteTaskRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\"\xe6\x01\n\x11LeaseTasksRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \x12\x1e\x63loudtasks.googleapis.com/Task\x12\x11\n\tmax_tasks\x18\x02 \x01(\x05\x12\x37\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\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\"\x88\x01\n\x16\x41\x63knowledgeTaskRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\"\xfa\x01\n\x11RenewLeaseRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12\x37\n\x0elease_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x02\x12<\n\rresponse_view\x18\x04 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\xc2\x01\n\x12\x43\x61ncelLeaseRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1e\x63loudtasks.googleapis.com/Task\x12\x37\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta2.Task.View\"\x85\x01\n\x0eRunTaskRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\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\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v2beta2/{parent=projects/*/locations/*}/queues\x12\x9a\x01\n\x08GetQueue\x12+.google.cloud.tasks.v2beta2.GetQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v2beta2/{name=projects/*/locations/*/queues/*}\x12\xaf\x01\n\x0b\x43reateQueue\x12..google.cloud.tasks.v2beta2.CreateQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"M\xda\x41\x0cparent,queue\x82\xd3\xe4\x93\x02\x38\"//v2beta2/{parent=projects/*/locations/*}/queues:\x05queue\x12\xba\x01\n\x0bUpdateQueue\x12..google.cloud.tasks.v2beta2.UpdateQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"X\xda\x41\x11queue,update_mask\x82\xd3\xe4\x93\x02>25/v2beta2/{queue.name=projects/*/locations/*/queues/*}:\x05queue\x12\x95\x01\n\x0b\x44\x65leteQueue\x12..google.cloud.tasks.v2beta2.DeleteQueueRequest\x1a\x16.google.protobuf.Empty\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v2beta2/{name=projects/*/locations/*/queues/*}\x12\xa7\x01\n\nPurgeQueue\x12-.google.cloud.tasks.v2beta2.PurgeQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v2beta2/{name=projects/*/locations/*/queues/*}:purge:\x01*\x12\xa7\x01\n\nPauseQueue\x12-.google.cloud.tasks.v2beta2.PauseQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v2beta2/{name=projects/*/locations/*/queues/*}:pause:\x01*\x12\xaa\x01\n\x0bResumeQueue\x12..google.cloud.tasks.v2beta2.ResumeQueueRequest\x1a!.google.cloud.tasks.v2beta2.Queue\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\"6/v2beta2/{name=projects/*/locations/*/queues/*}:resume:\x01*\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\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x45\"@/v2beta2/{resource=projects/*/locations/*/queues/*}:getIamPolicy:\x01*\x12\xa8\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"]\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\x45\"@/v2beta2/{resource=projects/*/locations/*/queues/*}:setIamPolicy:\x01*\x12\xd3\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"h\xda\x41\x14resource,permissions\x82\xd3\xe4\x93\x02K\"F/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\x01*\x12\xb2\x01\n\tListTasks\x12,.google.cloud.tasks.v2beta2.ListTasksRequest\x1a-.google.cloud.tasks.v2beta2.ListTasksResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks\x12\x9f\x01\n\x07GetTask\x12*.google.cloud.tasks.v2beta2.GetTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}\x12\xaf\x01\n\nCreateTask\x12-.google.cloud.tasks.v2beta2.CreateTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"P\xda\x41\x0bparent,task\x82\xd3\xe4\x93\x02<\"7/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:\x01*\x12\x9b\x01\n\nDeleteTask\x12-.google.cloud.tasks.v2beta2.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}\x12\xcd\x01\n\nLeaseTasks\x12-.google.cloud.tasks.v2beta2.LeaseTasksRequest\x1a..google.cloud.tasks.v2beta2.LeaseTasksResponse\"`\xda\x41\x15parent,lease_duration\x82\xd3\xe4\x93\x02\x42\"=/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:lease:\x01*\x12\xc2\x01\n\x0f\x41\x63knowledgeTask\x12\x32.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest\x1a\x16.google.protobuf.Empty\"c\xda\x41\x12name,schedule_time\x82\xd3\xe4\x93\x02H\"C/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge:\x01*\x12\xd0\x01\n\nRenewLease\x12-.google.cloud.tasks.v2beta2.RenewLeaseRequest\x1a .google.cloud.tasks.v2beta2.Task\"q\xda\x41!name,schedule_time,lease_duration\x82\xd3\xe4\x93\x02G\"B/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease:\x01*\x12\xc4\x01\n\x0b\x43\x61ncelLease\x12..google.cloud.tasks.v2beta2.CancelLeaseRequest\x1a .google.cloud.tasks.v2beta2.Task\"c\xda\x41\x12name,schedule_time\x82\xd3\xe4\x93\x02H\"C/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease:\x01*\x12\xa6\x01\n\x07RunTask\x12*.google.cloud.tasks.v2beta2.RunTaskRequest\x1a .google.cloud.tasks.v2beta2.Task\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\";/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run:\x01*\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
 
26
26
  begin
27
27
  pool.add_serialized_file(descriptor_data)
28
- rescue TypeError => e
28
+ rescue TypeError
29
29
  # Compatibility code: will be removed in the next major version.
30
30
  require 'google/protobuf/descriptor_pb'
31
31
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -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
@@ -11,7 +11,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
12
12
  begin
13
13
  pool.add_serialized_file(descriptor_data)
14
- rescue TypeError => e
14
+ rescue TypeError
15
15
  # Compatibility code: will be removed in the next major version.
16
16
  require 'google/protobuf/descriptor_pb'
17
17
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -11,13 +11,13 @@ require 'google/protobuf/duration_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n&google/cloud/tasks/v2beta2/queue.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/tasks/v2beta2/target.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x99\x06\n\x05Queue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12Q\n\x16\x61pp_engine_http_target\x18\x03 \x01(\x0b\x32/.google.cloud.tasks.v2beta2.AppEngineHttpTargetH\x00\x12=\n\x0bpull_target\x18\x04 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.PullTargetH\x00\x12=\n\x0bhttp_target\x18\x11 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.HttpTargetH\x00\x12;\n\x0brate_limits\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.RateLimits\x12=\n\x0cretry_config\x18\x06 \x01(\x0b\x32\'.google.cloud.tasks.v2beta2.RetryConfig\x12\x36\n\x05state\x18\x07 \x01(\x0e\x32\'.google.cloud.tasks.v2beta2.Queue.State\x12.\n\npurge_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08task_ttl\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\rtombstone_ttl\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x05stats\x18\x10 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.QueueStatsB\x03\xe0\x41\x03\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03:\\\xea\x41Y\n\x1f\x63loudtasks.googleapis.com/Queue\x12\x36projects/{project}/locations/{location}/queues/{queue}B\r\n\x0btarget_type\"k\n\nRateLimits\x12\'\n\x1fmax_tasks_dispatched_per_second\x18\x01 \x01(\x01\x12\x16\n\x0emax_burst_size\x18\x02 \x01(\x05\x12\x1c\n\x14max_concurrent_tasks\x18\x03 \x01(\x05\"\x81\x02\n\x0bRetryConfig\x12\x16\n\x0cmax_attempts\x18\x01 \x01(\x05H\x00\x12\x1c\n\x12unlimited_attempts\x18\x02 \x01(\x08H\x00\x12\x35\n\x12max_retry_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmin_backoff\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmax_backoff\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rmax_doublings\x18\x06 \x01(\x05\x42\x0e\n\x0cnum_attempts\"\xe8\x01\n\nQueueStats\x12\x18\n\x0btasks_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x46\n\x1doldest_estimated_arrival_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\'\n\x1a\x65xecuted_last_minute_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12(\n\x1b\x63oncurrent_dispatches_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12%\n\x18\x65\x66\x66\x65\x63tive_execution_rate\x18\x05 \x01(\x01\x42\x03\xe0\x41\x03\x42s\n\x1e\x63om.google.cloud.tasks.v2beta2B\nQueueProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspbb\x06proto3"
14
+ descriptor_data = "\n&google/cloud/tasks/v2beta2/queue.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/tasks/v2beta2/target.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9a\x06\n\x05Queue\x12\x0c\n\x04name\x18\x01 \x01(\t\x12Q\n\x16\x61pp_engine_http_target\x18\x03 \x01(\x0b\x32/.google.cloud.tasks.v2beta2.AppEngineHttpTargetH\x00\x12=\n\x0bpull_target\x18\x04 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.PullTargetH\x00\x12=\n\x0bhttp_target\x18\x11 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.HttpTargetH\x00\x12;\n\x0brate_limits\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.RateLimits\x12=\n\x0cretry_config\x18\x06 \x01(\x0b\x32\'.google.cloud.tasks.v2beta2.RetryConfig\x12\x36\n\x05state\x18\x07 \x01(\x0e\x32\'.google.cloud.tasks.v2beta2.Queue.State\x12.\n\npurge_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08task_ttl\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\rtombstone_ttl\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x05stats\x18\x10 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.QueueStatsB\x04\xe2\x41\x01\x03\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03:\\\xea\x41Y\n\x1f\x63loudtasks.googleapis.com/Queue\x12\x36projects/{project}/locations/{location}/queues/{queue}B\r\n\x0btarget_type\"k\n\nRateLimits\x12\'\n\x1fmax_tasks_dispatched_per_second\x18\x01 \x01(\x01\x12\x16\n\x0emax_burst_size\x18\x02 \x01(\x05\x12\x1c\n\x14max_concurrent_tasks\x18\x03 \x01(\x05\"\x81\x02\n\x0bRetryConfig\x12\x16\n\x0cmax_attempts\x18\x01 \x01(\x05H\x00\x12\x1c\n\x12unlimited_attempts\x18\x02 \x01(\x08H\x00\x12\x35\n\x12max_retry_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmin_backoff\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\x0bmax_backoff\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rmax_doublings\x18\x06 \x01(\x05\x42\x0e\n\x0cnum_attempts\"\xed\x01\n\nQueueStats\x12\x19\n\x0btasks_count\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12G\n\x1doldest_estimated_arrival_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12(\n\x1a\x65xecuted_last_minute_count\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12)\n\x1b\x63oncurrent_dispatches_count\x18\x04 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12&\n\x18\x65\x66\x66\x65\x63tive_execution_rate\x18\x05 \x01(\x01\x42\x04\xe2\x41\x01\x03\x42s\n\x1e\x63om.google.cloud.tasks.v2beta2B\nQueueProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspbb\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
18
18
  begin
19
19
  pool.add_serialized_file(descriptor_data)
20
- rescue TypeError => e
20
+ rescue TypeError
21
21
  # Compatibility code: will be removed in the next major version.
22
22
  require 'google/protobuf/descriptor_pb'
23
23
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -7,13 +7,13 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n\'google/cloud/tasks/v2beta2/target.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1fgoogle/api/field_behavior.proto\"\x0c\n\nPullTarget\"+\n\x0bPullMessage\x12\x0f\n\x07payload\x18\x01 \x01(\x0c\x12\x0b\n\x03tag\x18\x02 \x01(\t\"h\n\x13\x41ppEngineHttpTarget\x12Q\n\x1b\x61pp_engine_routing_override\x18\x01 \x01(\x0b\x32,.google.cloud.tasks.v2beta2.AppEngineRouting\"\xc4\x02\n\x14\x41ppEngineHttpRequest\x12;\n\x0bhttp_method\x18\x01 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12H\n\x12\x61pp_engine_routing\x18\x02 \x01(\x0b\x32,.google.cloud.tasks.v2beta2.AppEngineRouting\x12\x14\n\x0crelative_url\x18\x03 \x01(\t\x12N\n\x07headers\x18\x04 \x03(\x0b\x32=.google.cloud.tasks.v2beta2.AppEngineHttpRequest.HeadersEntry\x12\x0f\n\x07payload\x18\x05 \x01(\x0c\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x10\x41ppEngineRouting\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x10\n\x08instance\x18\x03 \x01(\t\x12\x0c\n\x04host\x18\x04 \x01(\t\"\xf5\x02\n\x0bHttpRequest\x12\x10\n\x03url\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12;\n\x0bhttp_method\x18\x02 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12\x45\n\x07headers\x18\x03 \x03(\x0b\x32\x34.google.cloud.tasks.v2beta2.HttpRequest.HeadersEntry\x12\x0c\n\x04\x62ody\x18\x04 \x01(\x0c\x12=\n\x0boauth_token\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.OAuthTokenH\x00\x12;\n\noidc_token\x18\x06 \x01(\x0b\x32%.google.cloud.tasks.v2beta2.OidcTokenH\x00\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x16\n\x14\x61uthorization_header\"\x1c\n\x0cPathOverride\x12\x0c\n\x04path\x18\x01 \x01(\t\"%\n\rQueryOverride\x12\x14\n\x0cquery_params\x18\x01 \x01(\t\"\x97\x04\n\x0bUriOverride\x12\x43\n\x06scheme\x18\x01 \x01(\x0e\x32..google.cloud.tasks.v2beta2.UriOverride.SchemeH\x00\x88\x01\x01\x12\x11\n\x04host\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\x03H\x02\x88\x01\x01\x12?\n\rpath_override\x18\x04 \x01(\x0b\x32(.google.cloud.tasks.v2beta2.PathOverride\x12\x41\n\x0equery_override\x18\x05 \x01(\x0b\x32).google.cloud.tasks.v2beta2.QueryOverride\x12\x61\n\x19uri_override_enforce_mode\x18\x06 \x01(\x0e\x32>.google.cloud.tasks.v2beta2.UriOverride.UriOverrideEnforceMode\"5\n\x06Scheme\x12\x16\n\x12SCHEME_UNSPECIFIED\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\t\n\x05HTTPS\x10\x02\"b\n\x16UriOverrideEnforceMode\x12)\n%URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED\x10\x00\x12\x11\n\rIF_NOT_EXISTS\x10\x01\x12\n\n\x06\x41LWAYS\x10\x02\x42\t\n\x07_schemeB\x07\n\x05_hostB\x07\n\x05_port\"\xe4\x03\n\nHttpTarget\x12=\n\x0curi_override\x18\x01 \x01(\x0b\x32\'.google.cloud.tasks.v2beta2.UriOverride\x12;\n\x0bhttp_method\x18\x02 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12O\n\x10header_overrides\x18\x03 \x03(\x0b\x32\x35.google.cloud.tasks.v2beta2.HttpTarget.HeaderOverride\x12=\n\x0boauth_token\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.OAuthTokenH\x00\x12;\n\noidc_token\x18\x06 \x01(\x0b\x32%.google.cloud.tasks.v2beta2.OidcTokenH\x00\x1a$\n\x06Header\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1aO\n\x0eHeaderOverride\x12=\n\x06header\x18\x01 \x01(\x0b\x32-.google.cloud.tasks.v2beta2.HttpTarget.HeaderB\x16\n\x14\x61uthorization_header\":\n\nOAuthToken\x12\x1d\n\x15service_account_email\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x02 \x01(\t\"<\n\tOidcToken\x12\x1d\n\x15service_account_email\x18\x01 \x01(\t\x12\x10\n\x08\x61udience\x18\x02 \x01(\t*s\n\nHttpMethod\x12\x1b\n\x17HTTP_METHOD_UNSPECIFIED\x10\x00\x12\x08\n\x04POST\x10\x01\x12\x07\n\x03GET\x10\x02\x12\x08\n\x04HEAD\x10\x03\x12\x07\n\x03PUT\x10\x04\x12\n\n\x06\x44\x45LETE\x10\x05\x12\t\n\x05PATCH\x10\x06\x12\x0b\n\x07OPTIONS\x10\x07\x42t\n\x1e\x63om.google.cloud.tasks.v2beta2B\x0bTargetProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspbb\x06proto3"
10
+ descriptor_data = "\n\'google/cloud/tasks/v2beta2/target.proto\x12\x1agoogle.cloud.tasks.v2beta2\x1a\x1fgoogle/api/field_behavior.proto\"\x0c\n\nPullTarget\"+\n\x0bPullMessage\x12\x0f\n\x07payload\x18\x01 \x01(\x0c\x12\x0b\n\x03tag\x18\x02 \x01(\t\"h\n\x13\x41ppEngineHttpTarget\x12Q\n\x1b\x61pp_engine_routing_override\x18\x01 \x01(\x0b\x32,.google.cloud.tasks.v2beta2.AppEngineRouting\"\xc4\x02\n\x14\x41ppEngineHttpRequest\x12;\n\x0bhttp_method\x18\x01 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12H\n\x12\x61pp_engine_routing\x18\x02 \x01(\x0b\x32,.google.cloud.tasks.v2beta2.AppEngineRouting\x12\x14\n\x0crelative_url\x18\x03 \x01(\t\x12N\n\x07headers\x18\x04 \x03(\x0b\x32=.google.cloud.tasks.v2beta2.AppEngineHttpRequest.HeadersEntry\x12\x0f\n\x07payload\x18\x05 \x01(\x0c\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x10\x41ppEngineRouting\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x10\n\x08instance\x18\x03 \x01(\t\x12\x0c\n\x04host\x18\x04 \x01(\t\"\xf6\x02\n\x0bHttpRequest\x12\x11\n\x03url\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12;\n\x0bhttp_method\x18\x02 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12\x45\n\x07headers\x18\x03 \x03(\x0b\x32\x34.google.cloud.tasks.v2beta2.HttpRequest.HeadersEntry\x12\x0c\n\x04\x62ody\x18\x04 \x01(\x0c\x12=\n\x0boauth_token\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.OAuthTokenH\x00\x12;\n\noidc_token\x18\x06 \x01(\x0b\x32%.google.cloud.tasks.v2beta2.OidcTokenH\x00\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x16\n\x14\x61uthorization_header\"\x1c\n\x0cPathOverride\x12\x0c\n\x04path\x18\x01 \x01(\t\"%\n\rQueryOverride\x12\x14\n\x0cquery_params\x18\x01 \x01(\t\"\x97\x04\n\x0bUriOverride\x12\x43\n\x06scheme\x18\x01 \x01(\x0e\x32..google.cloud.tasks.v2beta2.UriOverride.SchemeH\x00\x88\x01\x01\x12\x11\n\x04host\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\x03H\x02\x88\x01\x01\x12?\n\rpath_override\x18\x04 \x01(\x0b\x32(.google.cloud.tasks.v2beta2.PathOverride\x12\x41\n\x0equery_override\x18\x05 \x01(\x0b\x32).google.cloud.tasks.v2beta2.QueryOverride\x12\x61\n\x19uri_override_enforce_mode\x18\x06 \x01(\x0e\x32>.google.cloud.tasks.v2beta2.UriOverride.UriOverrideEnforceMode\"5\n\x06Scheme\x12\x16\n\x12SCHEME_UNSPECIFIED\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\t\n\x05HTTPS\x10\x02\"b\n\x16UriOverrideEnforceMode\x12)\n%URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED\x10\x00\x12\x11\n\rIF_NOT_EXISTS\x10\x01\x12\n\n\x06\x41LWAYS\x10\x02\x42\t\n\x07_schemeB\x07\n\x05_hostB\x07\n\x05_port\"\xe4\x03\n\nHttpTarget\x12=\n\x0curi_override\x18\x01 \x01(\x0b\x32\'.google.cloud.tasks.v2beta2.UriOverride\x12;\n\x0bhttp_method\x18\x02 \x01(\x0e\x32&.google.cloud.tasks.v2beta2.HttpMethod\x12O\n\x10header_overrides\x18\x03 \x03(\x0b\x32\x35.google.cloud.tasks.v2beta2.HttpTarget.HeaderOverride\x12=\n\x0boauth_token\x18\x05 \x01(\x0b\x32&.google.cloud.tasks.v2beta2.OAuthTokenH\x00\x12;\n\noidc_token\x18\x06 \x01(\x0b\x32%.google.cloud.tasks.v2beta2.OidcTokenH\x00\x1a$\n\x06Header\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1aO\n\x0eHeaderOverride\x12=\n\x06header\x18\x01 \x01(\x0b\x32-.google.cloud.tasks.v2beta2.HttpTarget.HeaderB\x16\n\x14\x61uthorization_header\":\n\nOAuthToken\x12\x1d\n\x15service_account_email\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x02 \x01(\t\"<\n\tOidcToken\x12\x1d\n\x15service_account_email\x18\x01 \x01(\t\x12\x10\n\x08\x61udience\x18\x02 \x01(\t*s\n\nHttpMethod\x12\x1b\n\x17HTTP_METHOD_UNSPECIFIED\x10\x00\x12\x08\n\x04POST\x10\x01\x12\x07\n\x03GET\x10\x02\x12\x08\n\x04HEAD\x10\x03\x12\x07\n\x03PUT\x10\x04\x12\n\n\x06\x44\x45LETE\x10\x05\x12\t\n\x05PATCH\x10\x06\x12\x0b\n\x07OPTIONS\x10\x07\x42t\n\x1e\x63om.google.cloud.tasks.v2beta2B\x0bTargetProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspbb\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
14
14
  begin
15
15
  pool.add_serialized_file(descriptor_data)
16
- rescue TypeError => e
16
+ rescue TypeError
17
17
  # Compatibility code: will be removed in the next major version.
18
18
  require 'google/protobuf/descriptor_pb'
19
19
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -16,7 +16,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
17
17
  begin
18
18
  pool.add_serialized_file(descriptor_data)
19
- rescue TypeError => e
19
+ rescue TypeError
20
20
  # Compatibility code: will be removed in the next major version.
21
21
  require 'google/protobuf/descriptor_pb'
22
22
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Tasks
23
23
  module V2beta2
24
- VERSION = "0.11.1"
24
+ VERSION = "0.11.3"
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.
@@ -129,7 +129,8 @@ module Google
129
129
  #
130
130
  # Note: this functionality is not currently available in the official
131
131
  # protobuf release, and it is not used for type URLs beginning with
132
- # type.googleapis.com.
132
+ # type.googleapis.com. As of May 2023, there are no widely used type server
133
+ # implementations and no plans to implement one.
133
134
  #
134
135
  # Schemes other than `http`, `https` (or the empty scheme) might be
135
136
  # used with implementation specific semantics.
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.1
4
+ version: 0.11.3
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-12 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common