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 | |
|---|---|
| Name | Description | 
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 | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
var | 
        
          Google\Protobuf\Timestamp
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$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 | |
|---|---|
| Type | Description | 
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 | |
|---|---|
| Name | Description | 
var | 
        
          Google\Protobuf\Duration
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |