Class: Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse
- 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.ListCryptoKeyVersions.
Instance Attribute Summary collapse
-
#crypto_key_versions ⇒ Array<Google::Apis::CloudkmsV1::CryptoKeyVersion>
The list of CryptoKeyVersions.
-
#next_page_token ⇒ String
A token to retrieve next page of results.
-
#total_size ⇒ Fixnum
The total number of CryptoKeyVersions that matched the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCryptoKeyVersionsResponse
constructor
A new instance of ListCryptoKeyVersionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListCryptoKeyVersionsResponse
Returns a new instance of ListCryptoKeyVersionsResponse.
1688 1689 1690 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1688 def initialize(**args) update!(**args) end |
Instance Attribute Details
#crypto_key_versions ⇒ Array<Google::Apis::CloudkmsV1::CryptoKeyVersion>
The list of CryptoKeyVersions.
Corresponds to the JSON property cryptoKeyVersions
1675 1676 1677 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1675 def crypto_key_versions @crypto_key_versions end |
#next_page_token ⇒ String
A token to retrieve next page of results. Pass this value in
ListCryptoKeyVersionsRequest.page_token to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
1681 1682 1683 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1681 def next_page_token @next_page_token end |
#total_size ⇒ Fixnum
The total number of CryptoKeyVersions that matched the query.
Corresponds to the JSON property totalSize
1686 1687 1688 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1686 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1693 1694 1695 1696 1697 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1693 def update!(**args) @crypto_key_versions = args[:crypto_key_versions] if args.key?(:crypto_key_versions) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) end |