RouteWarning

data class RouteWarning(val code: String? = null, val datas: List<RouteWarningData>? = null, val message: String? = null)

Constructors

Link copied to clipboard
constructor(code: String? = null, datas: List<RouteWarningData>? = null, message: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val code: String? = null

(Output) A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.

Link copied to clipboard

(Output) Metadata about this warning in key: value format. For example: "data": { "key": "scope", "value": "zones/us-east1-d" } Structure is [documented below.

Link copied to clipboard
val message: String? = null

(Output) A human-readable description of the warning code.