Compute V1 Client - Class RolloutRolloutEntityOrchestratedEntity (2.10.0)

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

This message is used if the resource type follows the Orchestrated integration model with ProgressiveRollout.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ conflict_behavior string

Required. Specifies the behavior of the Rollout if an out of band update is detected in a project during a Rollout. It can be one of the following values: 1) overwrite : Overwrite the local value with the rollout value. 2) no_overwrite : Do not overwrite the local value with the rollout value.

↳ orchestration_action string

Required. Orchestration action during the Rollout. It can be one of the following values: 1) "update": Resources will be updated by the rollout. 2) "delete": Resources will be deleted by the rollout.

↳ orchestration_source string

Required. Fully qualified resource name of the resource which contains the source of truth of the configuration being rolled out across locations/projects. For example, in the case of a global Rollout which is applied across regions, this contains the name of the global resource created by the user which contains a payload for a resource that is orchestrated across regions. This follows the following format: //.googleapis.com/projects//locations/global// e.g. //osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1

getConflictBehavior

Required. Specifies the behavior of the Rollout if an out of band update is detected in a project during a Rollout. It can be one of the following values: 1) overwrite : Overwrite the local value with the rollout value.

2) no_overwrite : Do not overwrite the local value with the rollout value.

Returns
Type Description
string

hasConflictBehavior

clearConflictBehavior

setConflictBehavior

Required. Specifies the behavior of the Rollout if an out of band update is detected in a project during a Rollout. It can be one of the following values: 1) overwrite : Overwrite the local value with the rollout value.

2) no_overwrite : Do not overwrite the local value with the rollout value.

Parameter
Name Description
var string
Returns
Type Description
$this

getOrchestrationAction

Required. Orchestration action during the Rollout. It can be one of the following values: 1) "update": Resources will be updated by the rollout.

2) "delete": Resources will be deleted by the rollout.

Returns
Type Description
string

hasOrchestrationAction

clearOrchestrationAction

setOrchestrationAction

Required. Orchestration action during the Rollout. It can be one of the following values: 1) "update": Resources will be updated by the rollout.

2) "delete": Resources will be deleted by the rollout.

Parameter
Name Description
var string
Returns
Type Description
$this

getOrchestrationSource

Required. Fully qualified resource name of the resource which contains the source of truth of the configuration being rolled out across locations/projects. For example, in the case of a global Rollout which is applied across regions, this contains the name of the global resource created by the user which contains a payload for a resource that is orchestrated across regions. This follows the following format: //.googleapis.com/projects//locations/global// e.g.

//osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1

Returns
Type Description
string

hasOrchestrationSource

clearOrchestrationSource

setOrchestrationSource

Required. Fully qualified resource name of the resource which contains the source of truth of the configuration being rolled out across locations/projects. For example, in the case of a global Rollout which is applied across regions, this contains the name of the global resource created by the user which contains a payload for a resource that is orchestrated across regions. This follows the following format: //.googleapis.com/projects//locations/global// e.g.

//osconfig.googleapis.com/projects/1/locations/global/policyOrchestrators/po1

Parameter
Name Description
var string
Returns
Type Description
$this