google-cloud-tasks-v2beta3 0.12.1 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2ec596ff6f35cd029863f0f4e02bf466ce29b4f7bc26d68782bb1ce2f043888
4
- data.tar.gz: dea02758a9cf8900ce7f6c8ed68f6c14d18feedea387677ece437a61bf781271
3
+ metadata.gz: 54c787b8ab7bf05e799aeac4dde88ee0a69fc2d98ae83273f46117369deeccc3
4
+ data.tar.gz: 855677e7c5790c519a93da09f2ace9f04a4a084f43368eee09131f868da3954d
5
5
  SHA512:
6
- metadata.gz: ef844f6a2c0b112992ab7a1ef28bbc2d75cbf3a0e1f9231da881c48024530f8878c1ac5fe5892ce7b5824335bd959f255cf212a05ff7151f7674b2c683ef5c74
7
- data.tar.gz: 9fb920601a0aef6c54d7872c9bb765b37738d59689a01d5f853e90a71c8bb922c485f9a711d5cc622c2a279c61ba3e26102d7e9d43edb2760fdb2f3e839b560d
6
+ metadata.gz: 6d994e5da05e2e97bc5384835ce10328c10f7e596a34f3c480c176f9ba355f6ae3de9e2c0d09befc24758532759c27b1897eb425ac82c3c188374ee76808dcf5
7
+ data.tar.gz: 923f3cd83000ad0accbb117413dfaedc05d9f11a5616beca087cb53f9f721cd5607f946bd39742c1f57cd8e2030f67918294e8e0d631f8060867a20c25fd32cb
@@ -125,8 +125,6 @@ module Google
125
125
 
126
126
  default_config.rpcs.run_task.timeout = 20.0
127
127
 
128
- default_config.rpcs.buffer_task.timeout = 20.0
129
-
130
128
  default_config
131
129
  end
132
130
  yield @configure if block_given?
@@ -1942,115 +1940,6 @@ module Google
1942
1940
  raise ::Google::Cloud::Error.from_error(e)
1943
1941
  end
1944
1942
 
1945
- ##
1946
- # Creates and buffers a new task without the need to explicitly define a Task
1947
- # message. The queue must have [HTTP
1948
- # target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a
1949
- # custom ID, use the following format and set TASK_ID to your desired ID:
1950
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer
1951
- # To create the task with an automatically generated ID, use the following
1952
- # format:
1953
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.
1954
- # Note: This feature is in its experimental stage. You must request access to
1955
- # the API through the [Cloud Tasks BufferTask Experiment Signup
1956
- # form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
1957
- #
1958
- # @overload buffer_task(request, options = nil)
1959
- # Pass arguments to `buffer_task` via a request object, either of type
1960
- # {::Google::Cloud::Tasks::V2beta3::BufferTaskRequest} or an equivalent Hash.
1961
- #
1962
- # @param request [::Google::Cloud::Tasks::V2beta3::BufferTaskRequest, ::Hash]
1963
- # A request object representing the call parameters. Required. To specify no
1964
- # parameters, or to keep all the default parameter values, pass an empty Hash.
1965
- # @param options [::Gapic::CallOptions, ::Hash]
1966
- # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1967
- #
1968
- # @overload buffer_task(queue: nil, task_id: nil, body: nil)
1969
- # Pass arguments to `buffer_task` via keyword arguments. Note that at
1970
- # least one keyword argument is required. To specify no parameters, or to keep all
1971
- # the default parameter values, pass an empty Hash as a request object (see above).
1972
- #
1973
- # @param queue [::String]
1974
- # Required. The parent queue name. For example:
1975
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
1976
- #
1977
- # The queue must already exist.
1978
- # @param task_id [::String]
1979
- # Optional. Task ID for the task being created. If not provided, a random
1980
- # task ID is assigned to the task.
1981
- # @param body [::Google::Api::HttpBody, ::Hash]
1982
- # Optional. Body of the HTTP request.
1983
- #
1984
- # The body can take any generic value. The value is written to the
1985
- # [HttpRequest][payload] of the [Task].
1986
- #
1987
- # @yield [response, operation] Access the result along with the RPC operation
1988
- # @yieldparam response [::Google::Cloud::Tasks::V2beta3::BufferTaskResponse]
1989
- # @yieldparam operation [::GRPC::ActiveCall::Operation]
1990
- #
1991
- # @return [::Google::Cloud::Tasks::V2beta3::BufferTaskResponse]
1992
- #
1993
- # @raise [::Google::Cloud::Error] if the RPC is aborted.
1994
- #
1995
- # @example Basic example
1996
- # require "google/cloud/tasks/v2beta3"
1997
- #
1998
- # # Create a client object. The client can be reused for multiple calls.
1999
- # client = Google::Cloud::Tasks::V2beta3::CloudTasks::Client.new
2000
- #
2001
- # # Create a request. To set request fields, pass in keyword arguments.
2002
- # request = Google::Cloud::Tasks::V2beta3::BufferTaskRequest.new
2003
- #
2004
- # # Call the buffer_task method.
2005
- # result = client.buffer_task request
2006
- #
2007
- # # The returned object is of type Google::Cloud::Tasks::V2beta3::BufferTaskResponse.
2008
- # p result
2009
- #
2010
- def buffer_task request, options = nil
2011
- raise ::ArgumentError, "request must be provided" if request.nil?
2012
-
2013
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Tasks::V2beta3::BufferTaskRequest
2014
-
2015
- # Converts hash and nil to an options object
2016
- options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2017
-
2018
- # Customize the options with defaults
2019
- metadata = @config.rpcs.buffer_task.metadata.to_h
2020
-
2021
- # Set x-goog-api-client and x-goog-user-project headers
2022
- metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2023
- lib_name: @config.lib_name, lib_version: @config.lib_version,
2024
- gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION
2025
- metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2026
-
2027
- header_params = {}
2028
- if request.queue
2029
- header_params["queue"] = request.queue
2030
- end
2031
- if request.task_id
2032
- header_params["task_id"] = request.task_id
2033
- end
2034
-
2035
- request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2036
- metadata[:"x-goog-request-params"] ||= request_params_header
2037
-
2038
- options.apply_defaults timeout: @config.rpcs.buffer_task.timeout,
2039
- metadata: metadata,
2040
- retry_policy: @config.rpcs.buffer_task.retry_policy
2041
-
2042
- options.apply_defaults timeout: @config.timeout,
2043
- metadata: @config.metadata,
2044
- retry_policy: @config.retry_policy
2045
-
2046
- @cloud_tasks_stub.call_rpc :buffer_task, request, options: options do |response, operation|
2047
- yield response, operation if block_given?
2048
- return response
2049
- end
2050
- rescue ::GRPC::BadStatus => e
2051
- raise ::Google::Cloud::Error.from_error(e)
2052
- end
2053
-
2054
1943
  ##
2055
1944
  # Configuration class for the CloudTasks API.
2056
1945
  #
@@ -2284,11 +2173,6 @@ module Google
2284
2173
  # @return [::Gapic::Config::Method]
2285
2174
  #
2286
2175
  attr_reader :run_task
2287
- ##
2288
- # RPC-specific configuration for `buffer_task`
2289
- # @return [::Gapic::Config::Method]
2290
- #
2291
- attr_reader :buffer_task
2292
2176
 
2293
2177
  # @private
2294
2178
  def initialize parent_rpcs = nil
@@ -2324,8 +2208,6 @@ module Google
2324
2208
  @delete_task = ::Gapic::Config::Method.new delete_task_config
2325
2209
  run_task_config = parent_rpcs.run_task if parent_rpcs.respond_to? :run_task
2326
2210
  @run_task = ::Gapic::Config::Method.new run_task_config
2327
- buffer_task_config = parent_rpcs.buffer_task if parent_rpcs.respond_to? :buffer_task
2328
- @buffer_task = ::Gapic::Config::Method.new buffer_task_config
2329
2211
 
2330
2212
  yield self if block_given?
2331
2213
  end
@@ -127,8 +127,6 @@ module Google
127
127
 
128
128
  default_config.rpcs.run_task.timeout = 20.0
129
129
 
130
- default_config.rpcs.buffer_task.timeout = 20.0
131
-
132
130
  default_config
133
131
  end
134
132
  yield @configure if block_given?
@@ -1824,105 +1822,6 @@ module Google
1824
1822
  raise ::Google::Cloud::Error.from_error(e)
1825
1823
  end
1826
1824
 
1827
- ##
1828
- # Creates and buffers a new task without the need to explicitly define a Task
1829
- # message. The queue must have [HTTP
1830
- # target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a
1831
- # custom ID, use the following format and set TASK_ID to your desired ID:
1832
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer
1833
- # To create the task with an automatically generated ID, use the following
1834
- # format:
1835
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.
1836
- # Note: This feature is in its experimental stage. You must request access to
1837
- # the API through the [Cloud Tasks BufferTask Experiment Signup
1838
- # form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
1839
- #
1840
- # @overload buffer_task(request, options = nil)
1841
- # Pass arguments to `buffer_task` via a request object, either of type
1842
- # {::Google::Cloud::Tasks::V2beta3::BufferTaskRequest} or an equivalent Hash.
1843
- #
1844
- # @param request [::Google::Cloud::Tasks::V2beta3::BufferTaskRequest, ::Hash]
1845
- # A request object representing the call parameters. Required. To specify no
1846
- # parameters, or to keep all the default parameter values, pass an empty Hash.
1847
- # @param options [::Gapic::CallOptions, ::Hash]
1848
- # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1849
- #
1850
- # @overload buffer_task(queue: nil, task_id: nil, body: nil)
1851
- # Pass arguments to `buffer_task` via keyword arguments. Note that at
1852
- # least one keyword argument is required. To specify no parameters, or to keep all
1853
- # the default parameter values, pass an empty Hash as a request object (see above).
1854
- #
1855
- # @param queue [::String]
1856
- # Required. The parent queue name. For example:
1857
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
1858
- #
1859
- # The queue must already exist.
1860
- # @param task_id [::String]
1861
- # Optional. Task ID for the task being created. If not provided, a random
1862
- # task ID is assigned to the task.
1863
- # @param body [::Google::Api::HttpBody, ::Hash]
1864
- # Optional. Body of the HTTP request.
1865
- #
1866
- # The body can take any generic value. The value is written to the
1867
- # [HttpRequest][payload] of the [Task].
1868
- # @yield [result, operation] Access the result along with the TransportOperation object
1869
- # @yieldparam result [::Google::Cloud::Tasks::V2beta3::BufferTaskResponse]
1870
- # @yieldparam operation [::Gapic::Rest::TransportOperation]
1871
- #
1872
- # @return [::Google::Cloud::Tasks::V2beta3::BufferTaskResponse]
1873
- #
1874
- # @raise [::Google::Cloud::Error] if the REST call is aborted.
1875
- #
1876
- # @example Basic example
1877
- # require "google/cloud/tasks/v2beta3"
1878
- #
1879
- # # Create a client object. The client can be reused for multiple calls.
1880
- # client = Google::Cloud::Tasks::V2beta3::CloudTasks::Rest::Client.new
1881
- #
1882
- # # Create a request. To set request fields, pass in keyword arguments.
1883
- # request = Google::Cloud::Tasks::V2beta3::BufferTaskRequest.new
1884
- #
1885
- # # Call the buffer_task method.
1886
- # result = client.buffer_task request
1887
- #
1888
- # # The returned object is of type Google::Cloud::Tasks::V2beta3::BufferTaskResponse.
1889
- # p result
1890
- #
1891
- def buffer_task request, options = nil
1892
- raise ::ArgumentError, "request must be provided" if request.nil?
1893
-
1894
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Tasks::V2beta3::BufferTaskRequest
1895
-
1896
- # Converts hash and nil to an options object
1897
- options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1898
-
1899
- # Customize the options with defaults
1900
- call_metadata = @config.rpcs.buffer_task.metadata.to_h
1901
-
1902
- # Set x-goog-api-client and x-goog-user-project headers
1903
- call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1904
- lib_name: @config.lib_name, lib_version: @config.lib_version,
1905
- gapic_version: ::Google::Cloud::Tasks::V2beta3::VERSION,
1906
- transports_version_send: [:rest]
1907
-
1908
- call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1909
-
1910
- options.apply_defaults timeout: @config.rpcs.buffer_task.timeout,
1911
- metadata: call_metadata,
1912
- retry_policy: @config.rpcs.buffer_task.retry_policy
1913
-
1914
- options.apply_defaults timeout: @config.timeout,
1915
- metadata: @config.metadata,
1916
- retry_policy: @config.retry_policy
1917
-
1918
- @cloud_tasks_stub.buffer_task request, options do |result, operation|
1919
- yield result, operation if block_given?
1920
- return result
1921
- end
1922
- rescue ::Gapic::Rest::Error => e
1923
- raise ::Google::Cloud::Error.from_error(e)
1924
- end
1925
-
1926
1825
  ##
1927
1826
  # Configuration class for the CloudTasks REST API.
1928
1827
  #
@@ -2143,11 +2042,6 @@ module Google
2143
2042
  # @return [::Gapic::Config::Method]
2144
2043
  #
2145
2044
  attr_reader :run_task
2146
- ##
2147
- # RPC-specific configuration for `buffer_task`
2148
- # @return [::Gapic::Config::Method]
2149
- #
2150
- attr_reader :buffer_task
2151
2045
 
2152
2046
  # @private
2153
2047
  def initialize parent_rpcs = nil
@@ -2183,8 +2077,6 @@ module Google
2183
2077
  @delete_task = ::Gapic::Config::Method.new delete_task_config
2184
2078
  run_task_config = parent_rpcs.run_task if parent_rpcs.respond_to? :run_task
2185
2079
  @run_task = ::Gapic::Config::Method.new run_task_config
2186
- buffer_task_config = parent_rpcs.buffer_task if parent_rpcs.respond_to? :buffer_task
2187
- @buffer_task = ::Gapic::Config::Method.new buffer_task_config
2188
2080
 
2189
2081
  yield self if block_given?
2190
2082
  end
@@ -669,44 +669,6 @@ module Google
669
669
  result
670
670
  end
671
671
 
672
- ##
673
- # Baseline implementation for the buffer_task REST call
674
- #
675
- # @param request_pb [::Google::Cloud::Tasks::V2beta3::BufferTaskRequest]
676
- # A request object representing the call parameters. Required.
677
- # @param options [::Gapic::CallOptions]
678
- # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
679
- #
680
- # @yield [result, operation] Access the result along with the TransportOperation object
681
- # @yieldparam result [::Google::Cloud::Tasks::V2beta3::BufferTaskResponse]
682
- # @yieldparam operation [::Gapic::Rest::TransportOperation]
683
- #
684
- # @return [::Google::Cloud::Tasks::V2beta3::BufferTaskResponse]
685
- # A result object deserialized from the server's reply
686
- def buffer_task request_pb, options = nil
687
- raise ::ArgumentError, "request must be provided" if request_pb.nil?
688
-
689
- verb, uri, query_string_params, body = ServiceStub.transcode_buffer_task_request request_pb
690
- query_string_params = if query_string_params.any?
691
- query_string_params.to_h { |p| p.split "=", 2 }
692
- else
693
- {}
694
- end
695
-
696
- response = @client_stub.make_http_request(
697
- verb,
698
- uri: uri,
699
- body: body || "",
700
- params: query_string_params,
701
- options: options
702
- )
703
- operation = ::Gapic::Rest::TransportOperation.new response
704
- result = ::Google::Cloud::Tasks::V2beta3::BufferTaskResponse.decode_json response.body, ignore_unknown_fields: true
705
-
706
- yield result, operation if block_given?
707
- result
708
- end
709
-
710
672
  ##
711
673
  # @private
712
674
  #
@@ -1052,29 +1014,6 @@ module Google
1052
1014
  )
1053
1015
  transcoder.transcode request_pb
1054
1016
  end
1055
-
1056
- ##
1057
- # @private
1058
- #
1059
- # GRPC transcoding helper method for the buffer_task REST call
1060
- #
1061
- # @param request_pb [::Google::Cloud::Tasks::V2beta3::BufferTaskRequest]
1062
- # A request object representing the call parameters. Required.
1063
- # @return [Array(String, [String, nil], Hash{String => String})]
1064
- # Uri, Body, Query string parameters
1065
- def self.transcode_buffer_task_request request_pb
1066
- transcoder = Gapic::Rest::GrpcTranscoder.new
1067
- .with_bindings(
1068
- uri_method: :post,
1069
- uri_template: "/v2beta3/{queue}/tasks/{task_id}:buffer",
1070
- body: "*",
1071
- matches: [
1072
- ["queue", %r{^projects/[^/]+/locations/[^/]+/queues/[^/]+/?$}, false],
1073
- ["task_id", %r{^[^/]+/?$}, false]
1074
- ]
1075
- )
1076
- transcoder.transcode request_pb
1077
- end
1078
1017
  end
1079
1018
  end
1080
1019
  end
@@ -7,7 +7,6 @@ require 'google/protobuf'
7
7
  require 'google/api/annotations_pb'
8
8
  require 'google/api/client_pb'
9
9
  require 'google/api/field_behavior_pb'
10
- require 'google/api/httpbody_pb'
11
10
  require 'google/api/resource_pb'
12
11
  require 'google/cloud/tasks/v2beta3/queue_pb'
13
12
  require 'google/cloud/tasks/v2beta3/task_pb'
@@ -17,7 +16,7 @@ require 'google/protobuf/empty_pb'
17
16
  require 'google/protobuf/field_mask_pb'
18
17
 
19
18
 
20
- descriptor_data = "\n+google/cloud/tasks/v2beta3/cloudtasks.proto\x12\x1agoogle.cloud.tasks.v2beta3\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/v2beta3/queue.proto\x1a%google/cloud/tasks/v2beta3/task.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.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.v2beta3.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.v2beta3.QueueB\x03\xe0\x41\x02\"|\n\x12UpdateQueueRequest\x12\x35\n\x05queue\x18\x01 \x01(\x0b\x32!.google.cloud.tasks.v2beta3.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\"\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.v2beta3.Task.View\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"]\n\x11ListTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta3.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.v2beta3.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.v2beta3.TaskB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta3.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\"\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.v2beta3.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.v2beta3.Task2\xfc\x17\n\nCloudTasks\x12\xad\x01\n\nListQueues\x12-.google.cloud.tasks.v2beta3.ListQueuesRequest\x1a..google.cloud.tasks.v2beta3.ListQueuesResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v2beta3/{parent=projects/*/locations/*}/queues\xda\x41\x06parent\x12\x9a\x01\n\x08GetQueue\x12+.google.cloud.tasks.v2beta3.GetQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\">\x82\xd3\xe4\x93\x02\x31\x12//v2beta3/{name=projects/*/locations/*/queues/*}\xda\x41\x04name\x12\xaf\x01\n\x0b\x43reateQueue\x12..google.cloud.tasks.v2beta3.CreateQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"M\x82\xd3\xe4\x93\x02\x38\"//v2beta3/{parent=projects/*/locations/*}/queues:\x05queue\xda\x41\x0cparent,queue\x12\xba\x01\n\x0bUpdateQueue\x12..google.cloud.tasks.v2beta3.UpdateQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"X\x82\xd3\xe4\x93\x02>25/v2beta3/{queue.name=projects/*/locations/*/queues/*}:\x05queue\xda\x41\x11queue,update_mask\x12\x95\x01\n\x0b\x44\x65leteQueue\x12..google.cloud.tasks.v2beta3.DeleteQueueRequest\x1a\x16.google.protobuf.Empty\">\x82\xd3\xe4\x93\x02\x31*//v2beta3/{name=projects/*/locations/*/queues/*}\xda\x41\x04name\x12\xa7\x01\n\nPurgeQueue\x12-.google.cloud.tasks.v2beta3.PurgeQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"G\x82\xd3\xe4\x93\x02:\"5/v2beta3/{name=projects/*/locations/*/queues/*}:purge:\x01*\xda\x41\x04name\x12\xa7\x01\n\nPauseQueue\x12-.google.cloud.tasks.v2beta3.PauseQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"G\x82\xd3\xe4\x93\x02:\"5/v2beta3/{name=projects/*/locations/*/queues/*}:pause:\x01*\xda\x41\x04name\x12\xaa\x01\n\x0bResumeQueue\x12..google.cloud.tasks.v2beta3.ResumeQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"H\x82\xd3\xe4\x93\x02;\"6/v2beta3/{name=projects/*/locations/*/queues/*}:resume:\x01*\xda\x41\x04name\x12\xa1\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"V\x82\xd3\xe4\x93\x02\x45\"@/v2beta3/{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\"@/v2beta3/{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/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xb2\x01\n\tListTasks\x12,.google.cloud.tasks.v2beta3.ListTasksRequest\x1a-.google.cloud.tasks.v2beta3.ListTasksResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks\xda\x41\x06parent\x12\x9f\x01\n\x07GetTask\x12*.google.cloud.tasks.v2beta3.GetTaskRequest\x1a .google.cloud.tasks.v2beta3.Task\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}\xda\x41\x04name\x12\xaf\x01\n\nCreateTask\x12-.google.cloud.tasks.v2beta3.CreateTaskRequest\x1a .google.cloud.tasks.v2beta3.Task\"P\x82\xd3\xe4\x93\x02<\"7/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks:\x01*\xda\x41\x0bparent,task\x12\x9b\x01\n\nDeleteTask\x12-.google.cloud.tasks.v2beta3.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\"F\x82\xd3\xe4\x93\x02\x39*7/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}\xda\x41\x04name\x12\xa6\x01\n\x07RunTask\x12*.google.cloud.tasks.v2beta3.RunTaskRequest\x1a .google.cloud.tasks.v2beta3.Task\"M\x82\xd3\xe4\x93\x02@\";/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}:run:\x01*\xda\x41\x04name\x12\xd4\x01\n\nBufferTask\x12-.google.cloud.tasks.v2beta3.BufferTaskRequest\x1a..google.cloud.tasks.v2beta3.BufferTaskResponse\"g\x82\xd3\xe4\x93\x02L\"G/v2beta3/{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\x80\x01\n\x1e\x63om.google.cloud.tasks.v2beta3B\x0f\x43loudTasksProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb;cloudtaskspb\xa2\x02\x05TASKSb\x06proto3"
19
+ descriptor_data = "\n+google/cloud/tasks/v2beta3/cloudtasks.proto\x12\x1agoogle.cloud.tasks.v2beta3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/tasks/v2beta3/queue.proto\x1a%google/cloud/tasks/v2beta3/task.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.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.v2beta3.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.v2beta3.QueueB\x03\xe0\x41\x02\"|\n\x12UpdateQueueRequest\x12\x35\n\x05queue\x18\x01 \x01(\x0b\x32!.google.cloud.tasks.v2beta3.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\"\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.v2beta3.Task.View\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"]\n\x11ListTasksResponse\x12/\n\x05tasks\x18\x01 \x03(\x0b\x32 .google.cloud.tasks.v2beta3.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.v2beta3.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.v2beta3.TaskB\x03\xe0\x41\x02\x12<\n\rresponse_view\x18\x03 \x01(\x0e\x32%.google.cloud.tasks.v2beta3.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\"\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.v2beta3.Task.View2\xa5\x16\n\nCloudTasks\x12\xad\x01\n\nListQueues\x12-.google.cloud.tasks.v2beta3.ListQueuesRequest\x1a..google.cloud.tasks.v2beta3.ListQueuesResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v2beta3/{parent=projects/*/locations/*}/queues\xda\x41\x06parent\x12\x9a\x01\n\x08GetQueue\x12+.google.cloud.tasks.v2beta3.GetQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\">\x82\xd3\xe4\x93\x02\x31\x12//v2beta3/{name=projects/*/locations/*/queues/*}\xda\x41\x04name\x12\xaf\x01\n\x0b\x43reateQueue\x12..google.cloud.tasks.v2beta3.CreateQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"M\x82\xd3\xe4\x93\x02\x38\"//v2beta3/{parent=projects/*/locations/*}/queues:\x05queue\xda\x41\x0cparent,queue\x12\xba\x01\n\x0bUpdateQueue\x12..google.cloud.tasks.v2beta3.UpdateQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"X\x82\xd3\xe4\x93\x02>25/v2beta3/{queue.name=projects/*/locations/*/queues/*}:\x05queue\xda\x41\x11queue,update_mask\x12\x95\x01\n\x0b\x44\x65leteQueue\x12..google.cloud.tasks.v2beta3.DeleteQueueRequest\x1a\x16.google.protobuf.Empty\">\x82\xd3\xe4\x93\x02\x31*//v2beta3/{name=projects/*/locations/*/queues/*}\xda\x41\x04name\x12\xa7\x01\n\nPurgeQueue\x12-.google.cloud.tasks.v2beta3.PurgeQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"G\x82\xd3\xe4\x93\x02:\"5/v2beta3/{name=projects/*/locations/*/queues/*}:purge:\x01*\xda\x41\x04name\x12\xa7\x01\n\nPauseQueue\x12-.google.cloud.tasks.v2beta3.PauseQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"G\x82\xd3\xe4\x93\x02:\"5/v2beta3/{name=projects/*/locations/*/queues/*}:pause:\x01*\xda\x41\x04name\x12\xaa\x01\n\x0bResumeQueue\x12..google.cloud.tasks.v2beta3.ResumeQueueRequest\x1a!.google.cloud.tasks.v2beta3.Queue\"H\x82\xd3\xe4\x93\x02;\"6/v2beta3/{name=projects/*/locations/*/queues/*}:resume:\x01*\xda\x41\x04name\x12\xa1\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"V\x82\xd3\xe4\x93\x02\x45\"@/v2beta3/{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\"@/v2beta3/{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/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xb2\x01\n\tListTasks\x12,.google.cloud.tasks.v2beta3.ListTasksRequest\x1a-.google.cloud.tasks.v2beta3.ListTasksResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks\xda\x41\x06parent\x12\x9f\x01\n\x07GetTask\x12*.google.cloud.tasks.v2beta3.GetTaskRequest\x1a .google.cloud.tasks.v2beta3.Task\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}\xda\x41\x04name\x12\xaf\x01\n\nCreateTask\x12-.google.cloud.tasks.v2beta3.CreateTaskRequest\x1a .google.cloud.tasks.v2beta3.Task\"P\x82\xd3\xe4\x93\x02<\"7/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks:\x01*\xda\x41\x0bparent,task\x12\x9b\x01\n\nDeleteTask\x12-.google.cloud.tasks.v2beta3.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\"F\x82\xd3\xe4\x93\x02\x39*7/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}\xda\x41\x04name\x12\xa6\x01\n\x07RunTask\x12*.google.cloud.tasks.v2beta3.RunTaskRequest\x1a .google.cloud.tasks.v2beta3.Task\"M\x82\xd3\xe4\x93\x02@\";/v2beta3/{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\x80\x01\n\x1e\x63om.google.cloud.tasks.v2beta3B\x0f\x43loudTasksProtoP\x01ZCcloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb;cloudtaskspb\xa2\x02\x05TASKSb\x06proto3"
21
20
 
22
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
23
22
 
@@ -35,7 +34,6 @@ rescue TypeError => e
35
34
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
36
35
  ["google.cloud.tasks.v2beta3.Queue", "google/cloud/tasks/v2beta3/queue.proto"],
37
36
  ["google.cloud.tasks.v2beta3.Task", "google/cloud/tasks/v2beta3/task.proto"],
38
- ["google.api.HttpBody", "google/api/httpbody.proto"],
39
37
  ]
40
38
  imports.each do |type_name, expected_filename|
41
39
  import_file = pool.lookup(type_name).file_descriptor
@@ -66,8 +64,6 @@ module Google
66
64
  CreateTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.CreateTaskRequest").msgclass
67
65
  DeleteTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.DeleteTaskRequest").msgclass
68
66
  RunTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.RunTaskRequest").msgclass
69
- BufferTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.BufferTaskRequest").msgclass
70
- BufferTaskResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.tasks.v2beta3.BufferTaskResponse").msgclass
71
67
  end
72
68
  end
73
69
  end
@@ -198,18 +198,6 @@ module Google
198
198
  # [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
199
199
  # task that has already succeeded or permanently failed.
200
200
  rpc :RunTask, ::Google::Cloud::Tasks::V2beta3::RunTaskRequest, ::Google::Cloud::Tasks::V2beta3::Task
201
- # Creates and buffers a new task without the need to explicitly define a Task
202
- # message. The queue must have [HTTP
203
- # target][google.cloud.tasks.v2beta3.HttpTarget]. To create the task with a
204
- # custom ID, use the following format and set TASK_ID to your desired ID:
205
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID:buffer
206
- # To create the task with an automatically generated ID, use the following
207
- # format:
208
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks:buffer.
209
- # Note: This feature is in its experimental stage. You must request access to
210
- # the API through the [Cloud Tasks BufferTask Experiment Signup
211
- # form](https://forms.gle/X8Zr5hiXH5tTGFqh8).
212
- rpc :BufferTask, ::Google::Cloud::Tasks::V2beta3::BufferTaskRequest, ::Google::Cloud::Tasks::V2beta3::BufferTaskResponse
213
201
  end
214
202
 
215
203
  Stub = Service.rpc_stub_class
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Tasks
23
23
  module V2beta3
24
- VERSION = "0.12.1"
24
+ VERSION = "0.12.2"
25
25
  end
26
26
  end
27
27
  end
@@ -390,39 +390,6 @@ module Google
390
390
  include ::Google::Protobuf::MessageExts
391
391
  extend ::Google::Protobuf::MessageExts::ClassMethods
392
392
  end
393
-
394
- # Request message for
395
- # {::Google::Cloud::Tasks::V2beta3::CloudTasks::Client#buffer_task BufferTask}.
396
- # @!attribute [rw] queue
397
- # @return [::String]
398
- # Required. The parent queue name. For example:
399
- # projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
400
- #
401
- # The queue must already exist.
402
- # @!attribute [rw] task_id
403
- # @return [::String]
404
- # Optional. Task ID for the task being created. If not provided, a random
405
- # task ID is assigned to the task.
406
- # @!attribute [rw] body
407
- # @return [::Google::Api::HttpBody]
408
- # Optional. Body of the HTTP request.
409
- #
410
- # The body can take any generic value. The value is written to the
411
- # [HttpRequest][payload] of the [Task].
412
- class BufferTaskRequest
413
- include ::Google::Protobuf::MessageExts
414
- extend ::Google::Protobuf::MessageExts::ClassMethods
415
- end
416
-
417
- # Response message for
418
- # {::Google::Cloud::Tasks::V2beta3::CloudTasks::Client#buffer_task BufferTask}.
419
- # @!attribute [rw] task
420
- # @return [::Google::Cloud::Tasks::V2beta3::Task]
421
- # The created task.
422
- class BufferTaskResponse
423
- include ::Google::Protobuf::MessageExts
424
- extend ::Google::Protobuf::MessageExts::ClassMethods
425
- end
426
393
  end
427
394
  end
428
395
  end
@@ -174,7 +174,7 @@ module Google
174
174
  # This map contains the header field names and values.
175
175
  # Headers will be set when running the
176
176
  # {::Google::Cloud::Tasks::V2beta3::CloudTasks::Client#create_task CreateTask} and/or
177
- # {::Google::Cloud::Tasks::V2beta3::CloudTasks::Client#buffer_task BufferTask}.
177
+ # [BufferTask][google.cloud.tasks.v2beta3.CloudTasks.BufferTask].
178
178
  #
179
179
  # These headers represent a subset of the headers that will be configured for
180
180
  # the task's HTTP request. Some HTTP request headers will be ignored or
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-tasks-v2beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.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-12 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
@@ -225,7 +225,6 @@ files:
225
225
  - proto_docs/README.md
226
226
  - proto_docs/google/api/client.rb
227
227
  - proto_docs/google/api/field_behavior.rb
228
- - proto_docs/google/api/httpbody.rb
229
228
  - proto_docs/google/api/launch_stage.rb
230
229
  - proto_docs/google/api/resource.rb
231
230
  - proto_docs/google/cloud/tasks/v2beta3/cloudtasks.rb
@@ -1,80 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2023 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
-
19
-
20
- module Google
21
- module Api
22
- # Message that represents an arbitrary HTTP body. It should only be used for
23
- # payload formats that can't be represented as JSON, such as raw binary or
24
- # an HTML page.
25
- #
26
- #
27
- # This message can be used both in streaming and non-streaming API methods in
28
- # the request as well as the response.
29
- #
30
- # It can be used as a top-level request field, which is convenient if one
31
- # wants to extract parameters from either the URL or HTTP template into the
32
- # request fields and also want access to the raw HTTP body.
33
- #
34
- # Example:
35
- #
36
- # message GetResourceRequest {
37
- # // A unique request id.
38
- # string request_id = 1;
39
- #
40
- # // The raw HTTP body is bound to this field.
41
- # google.api.HttpBody http_body = 2;
42
- #
43
- # }
44
- #
45
- # service ResourceService {
46
- # rpc GetResource(GetResourceRequest)
47
- # returns (google.api.HttpBody);
48
- # rpc UpdateResource(google.api.HttpBody)
49
- # returns (google.protobuf.Empty);
50
- #
51
- # }
52
- #
53
- # Example with streaming methods:
54
- #
55
- # service CaldavService {
56
- # rpc GetCalendar(stream google.api.HttpBody)
57
- # returns (stream google.api.HttpBody);
58
- # rpc UpdateCalendar(stream google.api.HttpBody)
59
- # returns (stream google.api.HttpBody);
60
- #
61
- # }
62
- #
63
- # Use of this type only changes how the request and response bodies are
64
- # handled, all other features will continue to work unchanged.
65
- # @!attribute [rw] content_type
66
- # @return [::String]
67
- # The HTTP Content-Type header value specifying the content type of the body.
68
- # @!attribute [rw] data
69
- # @return [::String]
70
- # The HTTP request/response body as raw binary.
71
- # @!attribute [rw] extensions
72
- # @return [::Array<::Google::Protobuf::Any>]
73
- # Application specific response metadata. Must be set in the first response
74
- # for streaming APIs.
75
- class HttpBody
76
- include ::Google::Protobuf::MessageExts
77
- extend ::Google::Protobuf::MessageExts::ClassMethods
78
- end
79
- end
80
- end