GoogleApi.OSConfig.V1.Model.FixedOrPercent (google_api_os_config v0.12.1) View Source

Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.

Attributes

  • fixed (type: integer(), default: nil) - Specifies a fixed value.
  • percent (type: integer(), default: nil) - Specifies the relative value defined as a percentage, which will be multiplied by a reference value.

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.FixedOrPercent{
  fixed: integer() | nil,
  percent: integer() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.