Reference documentation and code samples for the Compute V1 Client class StatefulPolicy.
Generated from protobuf message google.cloud.compute.v1.StatefulPolicy
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ preserved_state |
StatefulPolicyPreservedState
|
getPreservedState
Generated from protobuf field optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;
Returns | |
---|---|
Type | Description |
StatefulPolicyPreservedState|null |
hasPreservedState
clearPreservedState
setPreservedState
Generated from protobuf field optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;
Parameter | |
---|---|
Name | Description |
var |
StatefulPolicyPreservedState
|
Returns | |
---|---|
Type | Description |
$this |