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
def each(&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
def end_time() -> Time, nilThe end_time query parameter.
- (Time, nil)
#filter
def filter() -> String, nilThe filter query parameter.
- (String, nil)
#next_page
def next_page() -> Google::Cloud::Trace::ResultSetQueries the service for the next page of results and returns a new
ResultSet for that page. Returns nil if there are no more results.
#next_page_token
def next_page_token() -> String, nilThe token to pass to list_traces to get the next page, or nil if
this is the last page.
- (String, nil)
#order_by
def order_by() -> String, nilThe order_by query parameter.
- (String, nil)
#page_size
def page_size() -> Integer, nilThe page_size query parameter.
- (Integer, nil)
#page_token
def page_token() -> String, nilThe page token used to obtain this page of results.
- (String, nil)
#project
def project() -> StringThe project ID string.
- (String)
#results_pending?
def results_pending?() -> BooleanReturns true if at least one more page of results can be retrieved.
- (Boolean)
#size
def size() -> IntegerReturns the number of traces in this page of results.
- (Integer)
#start_time
def start_time() -> Time, nilThe start_time query parameter.
- (Time, nil)
#view
def view() -> Symbol, nilThe view query parameter.
- (Symbol, nil)