Google Cloud Assured Workloads V1beta1 Client - Class KMSSettings (0.8.3)

Reference documentation and code samples for the Google Cloud Assured Workloads V1beta1 Client class KMSSettings.

Settings specific to the Key Management Service.

Generated from protobuf message google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ next_rotation_time Google\Protobuf\Timestamp

Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary.

↳ rotation_period Google\Protobuf\Duration

Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key Management Service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours.

getNextRotationTime

Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasNextRotationTime

clearNextRotationTime

setNextRotationTime

Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary.

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

getRotationPeriod

Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key Management Service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasRotationPeriod

clearRotationPeriod

setRotationPeriod

Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key Management Service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours.

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