Class: Google::Apis::CloudkmsV1::EkmConnection
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::EkmConnection
- 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
An EkmConnection represents an individual EKM connection. It can be used for creating CryptoKeys and CryptoKeyVersions with a ProtectionLevel of EXTERNAL_VPC, as well as performing cryptographic operations using keys created within the EkmConnection.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#etag ⇒ String
Optional.
-
#name ⇒ String
Output only.
-
#service_resolvers ⇒ Array<Google::Apis::CloudkmsV1::ServiceResolver>
A list of ServiceResolvers where the EKM can be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EkmConnection
constructor
A new instance of EkmConnection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EkmConnection
Returns a new instance of EkmConnection.
948 949 950 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 948 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time at which the EkmConnection was created.
Corresponds to the JSON property createTime
928 929 930 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 928 def create_time @create_time end |
#etag ⇒ String
Optional. Etag of the currently stored EkmConnection.
Corresponds to the JSON property etag
933 934 935 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 933 def etag @etag end |
#name ⇒ String
Output only. The resource name for the EkmConnection in the format projects/*/
locations/*/ekmConnections/*.
Corresponds to the JSON property name
939 940 941 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 939 def name @name end |
#service_resolvers ⇒ Array<Google::Apis::CloudkmsV1::ServiceResolver>
A list of ServiceResolvers where the EKM can be reached. There should be one
ServiceResolver per EKM replica. Currently, only a single ServiceResolver is
supported.
Corresponds to the JSON property serviceResolvers
946 947 948 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 946 def service_resolvers @service_resolvers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
953 954 955 956 957 958 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 953 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @etag = args[:etag] if args.key?(:etag) @name = args[:name] if args.key?(:name) @service_resolvers = args[:service_resolvers] if args.key?(:service_resolvers) end |