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.
385 386 387 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 385 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
378 379 380 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 378 def keys @keys end |
#next_page_token ⇒ String
The pagination token for the next page of results.
Corresponds to the JSON property nextPageToken
383 384 385 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 383 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
390 391 392 393 |
# File 'lib/google/apis/apikeys_v2/classes.rb', line 390 def update!(**args) @keys = args[:keys] if args.key?(:keys) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |