Class: Google::Apis::ApikeysV2::V2ListKeysResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#keysArray<Google::Apis::ApikeysV2::V2Key>

A list of API keys. Corresponds to the JSON property keys

Returns:



361
362
363
# File 'lib/google/apis/apikeys_v2/classes.rb', line 361

def keys
  @keys
end

#next_page_tokenString

The pagination token for the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


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