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.
-
#crypto_space_path ⇒ String
Optional.
-
#etag ⇒ String
Optional.
-
#key_management_mode ⇒ 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.
1028 1029 1030 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1028 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
996 997 998 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 996 def create_time @create_time end |
#crypto_space_path ⇒ String
Optional. Identifies the EKM Crypto Space that this EkmConnection maps to.
Note: This field is required if KeyManagementMode is CLOUD_KMS.
Corresponds to the JSON property cryptoSpacePath
1002 1003 1004 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1002 def crypto_space_path @crypto_space_path end |
#etag ⇒ String
Optional. Etag of the currently stored EkmConnection.
Corresponds to the JSON property etag
1007 1008 1009 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1007 def etag @etag end |
#key_management_mode ⇒ String
Optional. Describes who can perform control plane operations on the EKM. If
unset, this defaults to MANUAL.
Corresponds to the JSON property keyManagementMode
1013 1014 1015 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1013 def key_management_mode @key_management_mode end |
#name ⇒ String
Output only. The resource name for the EkmConnection in the format projects/*/
locations/*/ekmConnections/*.
Corresponds to the JSON property name
1019 1020 1021 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1019 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
1026 1027 1028 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1026 def service_resolvers @service_resolvers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1033 1034 1035 1036 1037 1038 1039 1040 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 1033 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @crypto_space_path = args[:crypto_space_path] if args.key?(:crypto_space_path) @etag = args[:etag] if args.key?(:etag) @key_management_mode = args[:key_management_mode] if args.key?(:key_management_mode) @name = args[:name] if args.key?(:name) @service_resolvers = args[:service_resolvers] if args.key?(:service_resolvers) end |