Reference documentation and code samples for the Cloud Trace API class Google::Cloud::Trace::ResultSet.
ResultSet represents the results of a list_traces request. It is
an enumerable of the traces found, plus information about the request
and a token to get the next page of results.
Inherits
Object
Includes
Enumerable
Methods
#each
defeach(&block)
An each method that supports the Enumerable module. Iterates over
the results and yields each, as a TraceRecord
object, to the given block. If no block is provided, returns an
Enumerator.
#end_time
defend_time()->Time,nil
The end_time query parameter.
Returns
(Time, nil)
#filter
deffilter()->String,nil
The filter query parameter.
Returns
(String, nil)
#next_page
defnext_page()->Google::Cloud::Trace::ResultSet
Queries the service for the next page of results and returns a new
ResultSet for that page. Returns nil if there are no more results.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Trace API - Class Google::Cloud::Trace::ResultSet (v0.45.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.45.0 (latest)](/ruby/docs/reference/google-cloud-trace/latest/Google-Cloud-Trace-ResultSet)\n- [0.44.1](/ruby/docs/reference/google-cloud-trace/0.44.1/Google-Cloud-Trace-ResultSet)\n- [0.43.0](/ruby/docs/reference/google-cloud-trace/0.43.0/Google-Cloud-Trace-ResultSet)\n- [0.42.2](/ruby/docs/reference/google-cloud-trace/0.42.2/Google-Cloud-Trace-ResultSet)\n- [0.41.4](/ruby/docs/reference/google-cloud-trace/0.41.4/Google-Cloud-Trace-ResultSet) \nReference documentation and code samples for the Cloud Trace API class Google::Cloud::Trace::ResultSet.\n\nResultSet represents the results of a `list_traces` request. It is\nan enumerable of the traces found, plus information about the request\nand a token to get the next page of results. \n\nInherits\n--------\n\n- Object \n\nIncludes\n--------\n\n- Enumerable\n\nMethods\n-------\n\n### #each\n\n def each(&block)\n\nAn `each` method that supports the Enumerable module. Iterates over\nthe results and yields each, as a [TraceRecord](/ruby/docs/reference/google-cloud-trace/latest/Google-Cloud-Trace-TraceRecord \"Google::Cloud::Trace::TraceRecord (class)\")\nobject, to the given block. If no block is provided, returns an\nEnumerator.\n\n### #end_time\n\n def end_time() -\u003e Time, nil\n\nThe `end_time` query parameter. \n**Returns**\n\n- (Time, nil)\n\n### #filter\n\n def filter() -\u003e String, nil\n\nThe `filter` query parameter. \n**Returns**\n\n- (String, nil)\n\n### #next_page\n\n def next_page() -\u003e Google::Cloud::Trace::ResultSet\n\nQueries the service for the next page of results and returns a new\nResultSet for that page. Returns `nil` if there are no more results. \n**Returns**\n\n- ([Google::Cloud::Trace::ResultSet](./Google-Cloud-Trace-ResultSet))\n\n### #next_page_token\n\n def next_page_token() -\u003e String, nil\n\nThe token to pass to `list_traces` to get the next page, or nil if\nthis is the last page. \n**Returns**\n\n- (String, nil)\n\n### #order_by\n\n def order_by() -\u003e String, nil\n\nThe `order_by` query parameter. \n**Returns**\n\n- (String, nil)\n\n### #page_size\n\n def page_size() -\u003e Integer, nil\n\nThe `page_size` query parameter. \n**Returns**\n\n- (Integer, nil)\n\n### #page_token\n\n def page_token() -\u003e String, nil\n\nThe page token used to obtain this page of results. \n**Returns**\n\n- (String, nil)\n\n### #project\n\n def project() -\u003e String\n\nThe project ID string. \n**Returns**\n\n- (String)\n\n### #results_pending?\n\n def results_pending?() -\u003e Boolean\n\nReturns true if at least one more page of results can be retrieved. \n**Returns**\n\n- (Boolean)\n\n### #size\n\n def size() -\u003e Integer\n\nReturns the number of traces in this page of results. \n**Returns**\n\n- (Integer)\n\n### #start_time\n\n def start_time() -\u003e Time, nil\n\nThe `start_time` query parameter. \n**Returns**\n\n- (Time, nil)\n\n### #view\n\n def view() -\u003e Symbol, nil\n\nThe `view` query parameter. \n**Returns**\n\n- (Symbol, nil)"]]