Class: Google::Apis::CloudkmsV1::ListKeyHandlesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudkms_v1/classes.rb,
lib/google/apis/cloudkms_v1/representations.rb,
lib/google/apis/cloudkms_v1/representations.rb

Overview

Response message for Autokey.ListKeyHandles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListKeyHandlesResponse

Returns a new instance of ListKeyHandlesResponse.



2216
2217
2218
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2216

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

Instance Attribute Details

#key_handlesArray<Google::Apis::CloudkmsV1::KeyHandle>

Resulting KeyHandles. Corresponds to the JSON property keyHandles



2208
2209
2210
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2208

def key_handles
  @key_handles
end

#next_page_tokenString

A token to retrieve next page of results. Pass this value in ListKeyHandlesRequest.page_token to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2214
2215
2216
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2214

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2221
2222
2223
2224
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2221

def update!(**args)
  @key_handles = args[:key_handles] if args.key?(:key_handles)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end