class Google::Apis::ApigeeV1::GoogleRpcPreconditionFailureViolation
A message type used to describe a single precondition failure.
Attributes
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”. Corresponds to the JSON property `description` @return [String]
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. Corresponds to the JSON property `subject` @return [String]
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”. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/apigee_v1/classes.rb, line 7810 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/apigee_v1/classes.rb, line 7815 def update!(**args) @description = args[:description] if args.key?(:description) @subject = args[:subject] if args.key?(:subject) @type = args[:type] if args.key?(:type) end