Class: Google::Apis::CloudkmsV1::ListKeyRingsResponse

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 KeyManagementService.ListKeyRings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListKeyRingsResponse

Returns a new instance of ListKeyRingsResponse.



2248
2249
2250
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2248

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

Instance Attribute Details

#key_ringsArray<Google::Apis::CloudkmsV1::KeyRing>

The list of KeyRings. Corresponds to the JSON property keyRings



2234
2235
2236
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2234

def key_rings
  @key_rings
end

#next_page_tokenString

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

Returns:

  • (String)


2240
2241
2242
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2240

def next_page_token
  @next_page_token
end

#total_sizeFixnum

The total number of KeyRings that matched the query. This field is not populated if ListKeyRingsRequest.filter is applied. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


2246
2247
2248
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2246

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2253
2254
2255
2256
2257
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2253

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