Class: Google::Apis::CloudkmsV1::ListCryptoKeysResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::ListCryptoKeysResponse
- 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 KeyManagementService.ListCryptoKeys.
Instance Attribute Summary collapse
-
#crypto_keys ⇒ Array<Google::Apis::CloudkmsV1::CryptoKey>
The list of CryptoKeys.
-
#next_page_token ⇒ String
A token to retrieve next page of results.
-
#total_size ⇒ Fixnum
The total number of CryptoKeys that matched the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCryptoKeysResponse
constructor
A new instance of ListCryptoKeysResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListCryptoKeysResponse
Returns a new instance of ListCryptoKeysResponse.
1720 1721 1722 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1720 def initialize(**args) update!(**args) end |
Instance Attribute Details
#crypto_keys ⇒ Array<Google::Apis::CloudkmsV1::CryptoKey>
The list of CryptoKeys.
Corresponds to the JSON property cryptoKeys
1707 1708 1709 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1707 def crypto_keys @crypto_keys end |
#next_page_token ⇒ String
A token to retrieve next page of results. Pass this value in
ListCryptoKeysRequest.page_token to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
1713 1714 1715 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1713 def next_page_token @next_page_token end |
#total_size ⇒ Fixnum
The total number of CryptoKeys that matched the query.
Corresponds to the JSON property totalSize
1718 1719 1720 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1718 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1725 1726 1727 1728 1729 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1725 def update!(**args) @crypto_keys = args[:crypto_keys] if args.key?(:crypto_keys) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) end |