Compute V1 Client - Class StatefulPolicy (1.19.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\Compute\V1\StatefulPolicyPreservedState|null

hasPreservedState

clearPreservedState

setPreservedState

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

Parameter
Name Description
var Google\Cloud\Compute\V1\StatefulPolicyPreservedState
Returns
Type Description
$this