Class: Google::Apis::VaultV1::ListSavedQueriesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/vault_v1/classes.rb,
generated/google/apis/vault_v1/representations.rb,
generated/google/apis/vault_v1/representations.rb

Overview

Definition of the response for method ListSaveQuery.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListSavedQueriesResponse

Returns a new instance of ListSavedQueriesResponse



945
946
947
# File 'generated/google/apis/vault_v1/classes.rb', line 945

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


938
939
940
# File 'generated/google/apis/vault_v1/classes.rb', line 938

def next_page_token
  @next_page_token
end

#saved_queriesArray<Google::Apis::VaultV1::SavedQuery>

List of output saved queries. Corresponds to the JSON property savedQueries



943
944
945
# File 'generated/google/apis/vault_v1/classes.rb', line 943

def saved_queries
  @saved_queries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



950
951
952
953
# File 'generated/google/apis/vault_v1/classes.rb', line 950

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