Network Connectivity V1 API - Class Google::Rpc::PreconditionFailure (v1.6.0)

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

#violations=

defviolations=(value)->::Array<::Google::Rpc::PreconditionFailure::Violation>
Parameter
Returns

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.