Class: Google::Apis::LoggingV2::ListRecentQueriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2::ListRecentQueriesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/logging_v2/classes.rb,
lib/google/apis/logging_v2/representations.rb,
lib/google/apis/logging_v2/representations.rb
Overview
The response from ListRecentQueries.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
If there might be more results than appear in this response, then nextPageToken is included.
-
#recent_queries ⇒ Array<Google::Apis::LoggingV2::RecentQuery>
A list of recent queries.
-
#unreachable ⇒ Array<String>
The unreachable resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListRecentQueriesResponse
constructor
A new instance of ListRecentQueriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListRecentQueriesResponse
Returns a new instance of ListRecentQueriesResponse.
1562 1563 1564 |
# File 'lib/google/apis/logging_v2/classes.rb', line 1562 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
If there might be more results than appear in this response, then
nextPageToken is included. To get the next set of results, call the same
method again using the value of nextPageToken as pageToken.
Corresponds to the JSON property nextPageToken
1543 1544 1545 |
# File 'lib/google/apis/logging_v2/classes.rb', line 1543 def next_page_token @next_page_token end |
#recent_queries ⇒ Array<Google::Apis::LoggingV2::RecentQuery>
A list of recent queries.
Corresponds to the JSON property recentQueries
1548 1549 1550 |
# File 'lib/google/apis/logging_v2/classes.rb', line 1548 def recent_queries @recent_queries end |
#unreachable ⇒ Array<String>
The unreachable resources. Each resource can be either 1) a saved query if a
specific query is unreachable or 2) a location if a specific location is
unreachable. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[
QUERY_ID]" "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"
projects/my-project/locations/global/recentQueries/12345678" "projects/my-
project/locations/global"If there are unreachable resources, the response will
first return pages that contain recent queries, and then return pages that
contain the unreachable resources.
Corresponds to the JSON property unreachable
1560 1561 1562 |
# File 'lib/google/apis/logging_v2/classes.rb', line 1560 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1567 1568 1569 1570 1571 |
# File 'lib/google/apis/logging_v2/classes.rb', line 1567 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @recent_queries = args[:recent_queries] if args.key?(:recent_queries) @unreachable = args[:unreachable] if args.key?(:unreachable) end |