Class: Google::Apis::CloudkmsV1::KeyRing
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::KeyRing
- Defined in:
- generated/google/apis/cloudkms_v1/classes.rb,
generated/google/apis/cloudkms_v1/representations.rb,
generated/google/apis/cloudkms_v1/representations.rb
Overview
A KeyRing is a toplevel logical grouping of CryptoKeys.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KeyRing
constructor
A new instance of KeyRing.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ KeyRing
Returns a new instance of KeyRing
725 726 727 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 725 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time at which this KeyRing was created.
Corresponds to the JSON property createTime
717 718 719 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 717 def create_time @create_time end |
#name ⇒ String
Output only. The resource name for the KeyRing in the format
projects/*/locations/*/keyRings/*
.
Corresponds to the JSON property name
723 724 725 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 723 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
730 731 732 733 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 730 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) end |