Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::CreateKeyRingRequest.
Request message for KeyManagementService.CreateKeyRing.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#key_ring
def key_ring() -> ::Google::Cloud::Kms::V1::KeyRing
Returns
- (::Google::Cloud::Kms::V1::KeyRing) — Required. A KeyRing with initial field values.
#key_ring=
def key_ring=(value) -> ::Google::Cloud::Kms::V1::KeyRing
Parameter
- value (::Google::Cloud::Kms::V1::KeyRing) — Required. A KeyRing with initial field values.
Returns
- (::Google::Cloud::Kms::V1::KeyRing) — Required. A KeyRing with initial field values.
#key_ring_id
def key_ring_id() -> ::String
Returns
-
(::String) — Required. It must be unique within a location and match the regular
expression
[a-zA-Z0-9_-]{1,63}
#key_ring_id=
def key_ring_id=(value) -> ::String
Parameter
-
value (::String) — Required. It must be unique within a location and match the regular
expression
[a-zA-Z0-9_-]{1,63}
Returns
-
(::String) — Required. It must be unique within a location and match the regular
expression
[a-zA-Z0-9_-]{1,63}
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The resource name of the location associated with the
KeyRings, in the format
projects/*/locations/*
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the location associated with the
KeyRings, in the format
projects/*/locations/*
.
Returns
-
(::String) — Required. The resource name of the location associated with the
KeyRings, in the format
projects/*/locations/*
.