Google Cloud OsConfig V1 Client - Class DesiredState (1.0.5)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class DesiredState.

The desired state that the OS Config agent maintains on the VM.

Protobuf type google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

DESIRED_STATE_UNSPECIFIED

Value: 0

Unspecified is invalid.

Generated from protobuf enum DESIRED_STATE_UNSPECIFIED = 0;

INSTALLED

Value: 1

Ensure that the package is installed.

Generated from protobuf enum INSTALLED = 1;

REMOVED

Value: 2

The agent ensures that the package is not installed and uninstalls it if detected.

Generated from protobuf enum REMOVED = 2;