Reference documentation and code samples for the BigQuery Migration V2 API class Google::Rpc::PreconditionFailure::Violation.
A message type used to describe a single precondition failure.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#description
def description() -> ::String Returns 
 -  (::String) — 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".
 
#description=
def description=(value) -> ::String Parameter 
 -  value (::String) — 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".
 
 Returns 
 -  (::String) — 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".
 
#subject
def subject() -> ::String Returns 
 - (::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.
 
#subject=
def subject=(value) -> ::String Parameter 
 - value (::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.
 
 Returns 
 - (::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.
 
#type
def type() -> ::String Returns 
 - (::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".
 
#type=
def type=(value) -> ::String Parameter 
 - value (::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".
 
 Returns 
 - (::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".