Compute V1 Client - Class GlobalVmExtensionPolicyRolloutOperationRolloutStatus (2.10.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ current_rollouts array<GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata>

Output only. [Output Only] The current rollouts for the latest version of the resource. There should be only one current rollout, but for scalability, we make it repeated.

↳ previous_rollout GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata

Output only. [Output Only] The last completed rollout resource. This field will not be populated until the first rollout is completed.

getCurrentRollouts

Output only. [Output Only] The current rollouts for the latest version of the resource. There should be only one current rollout, but for scalability, we make it repeated.

Returns
Type Description
Google\Protobuf\RepeatedField<GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata>

setCurrentRollouts

Output only. [Output Only] The current rollouts for the latest version of the resource. There should be only one current rollout, but for scalability, we make it repeated.

Parameter
Name Description
var array<GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata>
Returns
Type Description
$this

getPreviousRollout

Output only. [Output Only] The last completed rollout resource. This field will not be populated until the first rollout is completed.

Returns
Type Description
GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata|null

hasPreviousRollout

clearPreviousRollout

setPreviousRollout

Output only. [Output Only] The last completed rollout resource. This field will not be populated until the first rollout is completed.

Parameter
Name Description
var GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata
Returns
Type Description
$this