Reference documentation and code samples for the Google Cloud OsConfig V1 Client class DesiredState.
Desired state of the file.
Protobuf type google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
DESIRED_STATE_UNSPECIFIED
Value: 0
Unspecified is invalid.
Generated from protobuf enum DESIRED_STATE_UNSPECIFIED = 0;
PRESENT
Value: 1
Ensure file at path is present.
Generated from protobuf enum PRESENT = 1;
ABSENT
Value: 2
Ensure file at path is absent.
Generated from protobuf enum ABSENT = 2;
CONTENTS_MATCH
Value: 3
Ensure the contents of the file at path matches. If the file does not exist it will be created.
Generated from protobuf enum CONTENTS_MATCH = 3;