View Source GoogleApi.Apigee.V1.Model.GoogleRpcPreconditionFailureViolation (google_api_apigee v0.38.1)

A message type used to describe a single precondition failure.


  • description (type: String.t, default: nil) - A description of how the precondition failed. Developers can use this description to understand how to fix the failure. For example: "Terms of service not accepted".
  • subject (type: String.t, default: nil) - The subject, relative to the type, that failed. For example, "" relative to the "TOS" type would indicate which terms of service is being referenced.
  • type (type: String.t, default: nil) - The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, "TOS" for "Terms of Service violation".

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Apigee.V1.Model.GoogleRpcPreconditionFailureViolation{
  description: String.t() | nil,
  subject: String.t() | nil,
  type: String.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.