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.
368 369 370 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 368 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
361 362 363 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 361 def keys @keys end |
#next_page_token ⇒ String
The pagination token for the next page of results.
Corresponds to the JSON property nextPageToken
366 367 368 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 366 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
373 374 375 376 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 373 def update!(**args) @keys = args[:keys] if args.key?(:keys) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |