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

A message type used to describe a single precondition failure.

Attributes

  • 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, "google.com/cloud" 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".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.