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.



1811
1812
1813
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1811

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

Instance Attribute Details

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

Resulting KeyHandles. Corresponds to the JSON property keyHandles



1803
1804
1805
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1803

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)


1809
1810
1811
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1809

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1816
1817
1818
1819
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1816

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