export declare const OSPolicyMode: { /** * Invalid mode */ readonly ModeUnspecified: "MODE_UNSPECIFIED"; /** * This mode checks if the configuration resources in the policy are in their desired state. No actions are performed if they are not in the desired state. This mode is used for reporting purposes. */ readonly Validation: "VALIDATION"; /** * This mode checks if the configuration resources in the policy are in their desired state, and if not, enforces the desired state. */ readonly Enforcement: "ENFORCEMENT"; }; /** * Required. Policy mode */ export type OSPolicyMode = (typeof OSPolicyMode)[keyof typeof OSPolicyMode]; export declare const OSPolicyResourceExecResourceExecInterpreter: { /** * Invalid value, the request will return validation error. */ readonly InterpreterUnspecified: "INTERPRETER_UNSPECIFIED"; /** * If an interpreter is not specified, the source is executed directly. This execution, without an interpreter, only succeeds for executables and scripts that have shebang lines. */ readonly None: "NONE"; /** * Indicates that the script runs with `/bin/sh` on Linux and `cmd.exe` on Windows. */ readonly Shell: "SHELL"; /** * Indicates that the script runs with PowerShell. */ readonly Powershell: "POWERSHELL"; }; /** * Required. The script interpreter to use. */ export type OSPolicyResourceExecResourceExecInterpreter = (typeof OSPolicyResourceExecResourceExecInterpreter)[keyof typeof OSPolicyResourceExecResourceExecInterpreter]; export declare const OSPolicyResourceFileResourceState: { /** * Unspecified is invalid. */ readonly DesiredStateUnspecified: "DESIRED_STATE_UNSPECIFIED"; /** * Ensure file at path is present. */ readonly Present: "PRESENT"; /** * Ensure file at path is absent. */ readonly Absent: "ABSENT"; /** * Ensure the contents of the file at path matches. If the file does not exist it will be created. */ readonly ContentsMatch: "CONTENTS_MATCH"; }; /** * Required. Desired state of the file. */ export type OSPolicyResourceFileResourceState = (typeof OSPolicyResourceFileResourceState)[keyof typeof OSPolicyResourceFileResourceState]; export declare const OSPolicyResourcePackageResourceDesiredState: { /** * Unspecified is invalid. */ readonly DesiredStateUnspecified: "DESIRED_STATE_UNSPECIFIED"; /** * Ensure that the package is installed. */ readonly Installed: "INSTALLED"; /** * The agent ensures that the package is not installed and uninstalls it if detected. */ readonly Removed: "REMOVED"; }; /** * Required. The desired state the agent should maintain for this package. */ export type OSPolicyResourcePackageResourceDesiredState = (typeof OSPolicyResourcePackageResourceDesiredState)[keyof typeof OSPolicyResourcePackageResourceDesiredState]; export declare const OSPolicyResourceRepositoryResourceAptRepositoryArchiveType: { /** * Unspecified is invalid. */ readonly ArchiveTypeUnspecified: "ARCHIVE_TYPE_UNSPECIFIED"; /** * Deb indicates that the archive contains binary files. */ readonly Deb: "DEB"; /** * Deb-src indicates that the archive contains source files. */ readonly DebSrc: "DEB_SRC"; }; /** * Required. Type of archive files in this repository. */ export type OSPolicyResourceRepositoryResourceAptRepositoryArchiveType = (typeof OSPolicyResourceRepositoryResourceAptRepositoryArchiveType)[keyof typeof OSPolicyResourceRepositoryResourceAptRepositoryArchiveType];