Class: Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCryptoKeyVersionsResponse

Returns a new instance of ListCryptoKeyVersionsResponse.



2090
2091
2092
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2090

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

Instance Attribute Details

#crypto_key_versionsArray<Google::Apis::CloudkmsV1::CryptoKeyVersion>

The list of CryptoKeyVersions. Corresponds to the JSON property cryptoKeyVersions



2076
2077
2078
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2076

def crypto_key_versions
  @crypto_key_versions
end

#next_page_tokenString

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

Returns:

  • (String)


2082
2083
2084
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2082

def next_page_token
  @next_page_token
end

#total_sizeFixnum

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

Returns:

  • (Fixnum)


2088
2089
2090
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2088

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2095
2096
2097
2098
2099
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2095

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