Class: Google::Apis::CloudkmsV1beta1::ListCryptoKeysResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudkms_v1beta1/classes.rb,
generated/google/apis/cloudkms_v1beta1/representations.rb,
generated/google/apis/cloudkms_v1beta1/representations.rb

Overview

Response message for KeyManagementService.ListCryptoKeys.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListCryptoKeysResponse

Returns a new instance of ListCryptoKeysResponse



489
490
491
# File 'generated/google/apis/cloudkms_v1beta1/classes.rb', line 489

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

Instance Attribute Details

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

The list of CryptoKeys. Corresponds to the JSON property cryptoKeys



482
483
484
# File 'generated/google/apis/cloudkms_v1beta1/classes.rb', line 482

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)


477
478
479
# File 'generated/google/apis/cloudkms_v1beta1/classes.rb', line 477

def next_page_token
  @next_page_token
end

#total_sizeFixnum

The total number of CryptoKeys that matched the query. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


487
488
489
# File 'generated/google/apis/cloudkms_v1beta1/classes.rb', line 487

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



494
495
496
497
498
# File 'generated/google/apis/cloudkms_v1beta1/classes.rb', line 494

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @crypto_keys = args[:crypto_keys] if args.key?(:crypto_keys)
  @total_size = args[:total_size] if args.key?(:total_size)
end