Class: Google::Apis::VaultV1::ListSavedQueriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::ListSavedQueriesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vault_v1/classes.rb,
lib/google/apis/vault_v1/representations.rb,
lib/google/apis/vault_v1/representations.rb
Overview
Definition of the response for method ListSaveQuery.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Page token to retrieve the next page of results in the list.
-
#saved_queries ⇒ Array<Google::Apis::VaultV1::SavedQuery>
List of saved queries.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSavedQueriesResponse
constructor
A new instance of ListSavedQueriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSavedQueriesResponse
Returns a new instance of ListSavedQueriesResponse.
1229 1230 1231 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1229 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Page token to retrieve the next page of results in the list. If this is empty,
then there are no more saved queries to list.
Corresponds to the JSON property nextPageToken
1222 1223 1224 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1222 def next_page_token @next_page_token end |
#saved_queries ⇒ Array<Google::Apis::VaultV1::SavedQuery>
List of saved queries.
Corresponds to the JSON property savedQueries
1227 1228 1229 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1227 def saved_queries @saved_queries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1234 1235 1236 1237 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1234 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @saved_queries = args[:saved_queries] if args.key?(:saved_queries) end |