class Google::Apis::ApigeeV1::GoogleRpcPreconditionFailure
Describes what preconditions have failed. For example, if an RPC failed because it required the Terms of Service to be acknowledged, it could list the terms of service violation in the PreconditionFailure message.
Attributes
violations[RW]
Describes all precondition violations. Corresponds to the JSON property `violations` @return [Array<Google::Apis::ApigeeV1::GoogleRpcPreconditionFailureViolation>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 7775 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/apigee_v1/classes.rb, line 7780 def update!(**args) @violations = args[:violations] if args.key?(:violations) end