View Source GoogleApi.OSConfig.V1.Model.OSPolicyResource (google_api_os_config v0.21.1)
An OS policy resource is used to define the desired state configuration and provides a specific functionality like installing/removing packages, executing a script etc. The system ensures that resources are always in their desired state by taking necessary actions if they have drifted from their desired state.
Attributes
-
exec
(type:GoogleApi.OSConfig.V1.Model.OSPolicyResourceExecResource.t
, default:nil
) - Exec resource -
file
(type:GoogleApi.OSConfig.V1.Model.OSPolicyResourceFileResource.t
, default:nil
) - File resource -
id
(type:String.t
, default:nil
) - Required. The id of the resource with the following restrictions: Must contain only lowercase letters, numbers, and hyphens. Must start with a letter. Must be between 1-63 characters. Must end with a number or a letter. * Must be unique within the OS policy. -
pkg
(type:GoogleApi.OSConfig.V1.Model.OSPolicyResourcePackageResource.t
, default:nil
) - Package resource -
repository
(type:GoogleApi.OSConfig.V1.Model.OSPolicyResourceRepositoryResource.t
, default:nil
) - Package repository resource
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.OSConfig.V1.Model.OSPolicyResource{ exec: GoogleApi.OSConfig.V1.Model.OSPolicyResourceExecResource.t() | nil, file: GoogleApi.OSConfig.V1.Model.OSPolicyResourceFileResource.t() | nil, id: String.t() | nil, pkg: GoogleApi.OSConfig.V1.Model.OSPolicyResourcePackageResource.t() | nil, repository: GoogleApi.OSConfig.V1.Model.OSPolicyResourceRepositoryResource.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.