Reference documentation and code samples for the Google Cloud Container V1 Client class RotationConfig.
RotationConfig is config for secret manager auto rotation.
Generated from protobuf message google.container.v1.SecretManagerConfig.RotationConfig
Namespace
Google \ Cloud \ Container \ V1 \ SecretManagerConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enabled |
bool
Whether the rotation is enabled. |
↳ rotation_interval |
Google\Protobuf\Duration
The interval between two consecutive rotations. Default rotation interval is 2 minutes. |
getEnabled
Whether the rotation is enabled.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasEnabled
clearEnabled
setEnabled
Whether the rotation is enabled.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRotationInterval
The interval between two consecutive rotations. Default rotation interval is 2 minutes.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasRotationInterval
clearRotationInterval
setRotationInterval
The interval between two consecutive rotations. Default rotation interval is 2 minutes.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|