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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OSConfig.V1.Model.FixedOrPercent{
  fixed: integer() | nil,
  percent: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.