Cloud KMS V1 Client - Class KeyRing (1.19.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.

↳ 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
TypeDescription
string

setName

Output only. The resource name for the KeyRing in the format projects/*/locations/*/keyRings/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time at which this KeyRing was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time at which this KeyRing was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this