Class: Google::Apis::CloudkmsV1::ListCryptoKeysResponse

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.ListCryptoKeys.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCryptoKeysResponse

Returns a new instance of ListCryptoKeysResponse.



2140
2141
2142
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2140

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

Instance Attribute Details

#crypto_keysArray<Google::Apis::CloudkmsV1::CryptoKey>

The list of CryptoKeys. Corresponds to the JSON property cryptoKeys



2126
2127
2128
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2126

def crypto_keys
  @crypto_keys
end

#next_page_tokenString

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

Returns:

  • (String)


2132
2133
2134
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2132

def next_page_token
  @next_page_token
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


2138
2139
2140
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2138

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2145
2146
2147
2148
2149
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2145

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