Class: Google::Apis::CloudkmsV1::KeyRing
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::KeyRing
- 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
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.
Constructor Details
#initialize(**args) ⇒ KeyRing
Returns a new instance of KeyRing.
2093 2094 2095 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2093 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
2085 2086 2087 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2085 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
2091 2092 2093 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2091 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2098 2099 2100 2101 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2098 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) end |