Class: Google::Apis::ToolresultsV1beta3::ListHistoriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::ListHistoriesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb
Overview
Response message for HistoryService.List
Instance Attribute Summary collapse
-
#histories ⇒ Array<Google::Apis::ToolresultsV1beta3::History>
Histories.
-
#next_page_token ⇒ String
A continuation token to resume the query at the next item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListHistoriesResponse
constructor
A new instance of ListHistoriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListHistoriesResponse
Returns a new instance of ListHistoriesResponse.
1410 1411 1412 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1410 def initialize(**args) update!(**args) end |
Instance Attribute Details
#histories ⇒ Array<Google::Apis::ToolresultsV1beta3::History>
Histories.
Corresponds to the JSON property histories
1398 1399 1400 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1398 def histories @histories end |
#next_page_token ⇒ String
A continuation token to resume the query at the next item.
Will only be set if there are more histories to fetch.
Tokens are valid for up to one hour from the time of the first list request.
For instance, if you make a list request at 1PM and use the token from this
first request 10 minutes later, the token from this second response will only
be valid for 50 minutes.
Corresponds to the JSON property nextPageToken
1408 1409 1410 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1408 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1415 1416 1417 1418 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1415 def update!(**args) @histories = args[:histories] if args.key?(:histories) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |