GoogleApi.CloudRun.V1alpha1.Model.IntOrString (google_api_cloud_run v0.44.3) View Source
IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.
Attributes
-
intVal(type:integer(), default:nil) - The int value. -
strVal(type:String.t, default:nil) - The string value. -
type(type:integer(), default:nil) - The type of the value.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.