Network Connectivity V1 API - Class Google::Rpc::PreconditionFailure (v1.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Network Connectivity V1 API class Google::Rpc::PreconditionFailure.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#violations
defviolations()->::Array<::Google::Rpc::PreconditionFailure::Violation>
Returns
- (::Array<::Google::Rpc::PreconditionFailure::Violation>) — Describes all precondition violations.
#violations=
defviolations=(value)->::Array<::Google::Rpc::PreconditionFailure::Violation>
Parameter
- value (::Array<::Google::Rpc::PreconditionFailure::Violation>) — Describes all precondition violations.
Returns
- (::Array<::Google::Rpc::PreconditionFailure::Violation>) — Describes all precondition violations.