Reference documentation and code samples for the KMS Inventory V1 API class Google::Cloud::Kms::V1::RetiredResource.
A RetiredResource resource represents the record of a deleted CryptoKey. Its purpose is to provide visibility into retained user data and to prevent reuse of these names for new CryptoKeys.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#delete_time
def delete_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time at which the original resource was deleted and this RetiredResource record was created.
#name
def name() -> ::String
Returns
-
(::String) — Output only. Identifier. The resource name for this
RetiredResource in the format
projects/*/locations/*/retiredResources/*.
#original_resource
def original_resource() -> ::String
Returns
-
(::String) — Output only. The full resource name of the original
CryptoKey that was deleted in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*.
#resource_type
def resource_type() -> ::String
Returns
- (::String) — Output only. The resource type of the original deleted resource.