Compute V1 Client - Class StatefulPolicy (1.5.0)

Reference documentation and code samples for the Compute V1 Client class StatefulPolicy.

Generated from protobuf message google.cloud.compute.v1.StatefulPolicy

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ preserved_state Google\Cloud\Compute\V1\StatefulPolicyPreservedState

getPreservedState

Generated from protobuf field optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;

Returns
TypeDescription
Google\Cloud\Compute\V1\StatefulPolicyPreservedState|null

hasPreservedState

clearPreservedState

setPreservedState

Generated from protobuf field optional .google.cloud.compute.v1.StatefulPolicyPreservedState preserved_state = 2634026;

Parameter
NameDescription
var Google\Cloud\Compute\V1\StatefulPolicyPreservedState
Returns
TypeDescription
$this