google_api_os_config v0.6.0 GoogleApi.OSConfig.V1.Model.ExecResource View Source

A resource that contains custom validation and enforcement steps.

Attributes

  • enforce (type: GoogleApi.OSConfig.V1.Model.ExecResourceExec.t, default: nil) - What to run to bring this resource into the desired state. Optional if policy is in validate only mode.
  • validate (type: GoogleApi.OSConfig.V1.Model.ExecResourceExec.t, default: nil) - What to run to validate this resource is in the desired state. A successful exit code indicates resource is in the desired state.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.OSConfig.V1.Model.ExecResource{
  enforce: GoogleApi.OSConfig.V1.Model.ExecResourceExec.t(),
  validate: GoogleApi.OSConfig.V1.Model.ExecResourceExec.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.