Google Cloud Policy Simulator V1 Client - Class PreviewState (1.2.0)

Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class PreviewState.

The current state of an OrgPolicyViolationsPreview.

Protobuf type google.cloud.policysimulator.v1.PreviewState

Namespace

Google \ Cloud \ PolicySimulator \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PREVIEW_STATE_UNSPECIFIED

Value: 0

The state is unspecified.

Generated from protobuf enum PREVIEW_STATE_UNSPECIFIED = 0;

PREVIEW_PENDING

Value: 1

The OrgPolicyViolationsPreview has not been created yet.

Generated from protobuf enum PREVIEW_PENDING = 1;

PREVIEW_RUNNING

Value: 2

The OrgPolicyViolationsPreview is currently being created.

Generated from protobuf enum PREVIEW_RUNNING = 2;

PREVIEW_SUCCEEDED

Value: 3

The OrgPolicyViolationsPreview creation finished successfully.

Generated from protobuf enum PREVIEW_SUCCEEDED = 3;

PREVIEW_FAILED

Value: 4

The OrgPolicyViolationsPreview creation failed with an error.

Generated from protobuf enum PREVIEW_FAILED = 4;