Compute V1 Client - Class ResourcePolicyResourceStatus (1.7.1)

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

Contains output only fields. Use this sub-message for all output fields set on ResourcePolicy. The internal structure of this "status" field should mimic the structure of ResourcePolicy proto specification.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance_schedule_policy Google\Cloud\Compute\V1\ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

[Output Only] Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.

getInstanceSchedulePolicy

[Output Only] Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.

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

hasInstanceSchedulePolicy

clearInstanceSchedulePolicy

setInstanceSchedulePolicy

[Output Only] Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.

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