Reference documentation and code samples for the Cloud KMS V1 Client class KeyRing.
A KeyRing is a toplevel logical grouping of CryptoKeys.
Generated from protobuf message google.cloud.kms.v1.KeyRing
Namespace
Google \ Cloud \ Kms \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The resource name for the KeyRing in the format |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The time at which this KeyRing was created. |
getName
Output only. The resource name for the
KeyRing in the format
projects/*/locations/*/keyRings/*.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Output only. The resource name for the
KeyRing in the format
projects/*/locations/*/keyRings/*.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The time at which this KeyRing was created.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which this KeyRing was created.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|