Migrate for Compute Engine V1 API - Class Google::Rpc::PreconditionFailure (v0.6.1)

Reference documentation and code samples for the Migrate for Compute Engine 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

def violations() -> ::Array<::Google::Rpc::PreconditionFailure::Violation>
Returns

#violations=

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