Class: Google::Apis::CloudkmsV1::ListKeyRingsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::ListKeyRingsResponse
- 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.ListKeyRings.
Instance Attribute Summary collapse
-
#key_rings ⇒ Array<Google::Apis::CloudkmsV1::KeyRing>
The list of KeyRings.
-
#next_page_token ⇒ String
A token to retrieve next page of results.
-
#total_size ⇒ Fixnum
The total number of KeyRings that matched the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListKeyRingsResponse
constructor
A new instance of ListKeyRingsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListKeyRingsResponse
Returns a new instance of ListKeyRingsResponse.
1842 1843 1844 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1842 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key_rings ⇒ Array<Google::Apis::CloudkmsV1::KeyRing>
The list of KeyRings.
Corresponds to the JSON property keyRings
1829 1830 1831 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1829 def key_rings @key_rings end |
#next_page_token ⇒ String
A token to retrieve next page of results. Pass this value in
ListKeyRingsRequest.page_token to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
1835 1836 1837 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1835 def next_page_token @next_page_token end |
#total_size ⇒ Fixnum
The total number of KeyRings that matched the query.
Corresponds to the JSON property totalSize
1840 1841 1842 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1840 def total_size @total_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1847 1848 1849 1850 1851 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1847 def update!(**args) @key_rings = args[:key_rings] if args.key?(:key_rings) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) end |