Class: Google::Apis::ApikeysV2::V2ListKeysResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApikeysV2::V2ListKeysResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apikeys_v2/classes.rb,
lib/google/apis/apikeys_v2/representations.rb,
lib/google/apis/apikeys_v2/representations.rb
Overview
Response message for ListKeys method.
Instance Attribute Summary collapse
-
#keys ⇒ Array<Google::Apis::ApikeysV2::V2Key>
A list of API keys.
-
#next_page_token ⇒ String
The pagination token for the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ V2ListKeysResponse
constructor
A new instance of V2ListKeysResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ V2ListKeysResponse
Returns a new instance of V2ListKeysResponse.
376 377 378 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#keys ⇒ Array<Google::Apis::ApikeysV2::V2Key>
A list of API keys.
Corresponds to the JSON property keys
369 370 371 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 369 def keys @keys end |
#next_page_token ⇒ String
The pagination token for the next page of results.
Corresponds to the JSON property nextPageToken
374 375 376 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 374 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
381 382 383 384 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 381 def update!(**args) @keys = args[:keys] if args.key?(:keys) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |