Compute V1 Client - Class ResourcePolicyResourceStatus (1.17.0)

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var Google\Cloud\Compute\V1\ResourcePolicyResourceStatusInstanceSchedulePolicyStatus
Returns
Type Description
$this