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

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".

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.