PreconditionFailure_Violation
class PreconditionFailure_Violation extends Message
A message type used to describe a single precondition failure.
Generated from protobuf message google.rpc.PreconditionFailure.Violation
Methods
No description
The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation types. For example, "TOS" for "Terms of Service violation".
The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation types. For example, "TOS" for "Terms of Service violation".
The subject, relative to the type, that failed.
The subject, relative to the type, that failed.
A description of how the precondition failed. Developers can use this description to understand how to fix the failure.
A description of how the precondition failed. Developers can use this description to understand how to fix the failure.
Details
at line 43
__construct()
at line 56
string
getType()
The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation types. For example, "TOS" for "Terms of Service violation".
Generated from protobuf field string type = 1;
at line 70
$this
setType(string $var)
The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation types. For example, "TOS" for "Terms of Service violation".
Generated from protobuf field string type = 1;
at line 86
string
getSubject()
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.
Generated from protobuf field string subject = 2;
at line 100
$this
setSubject(string $var)
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.
Generated from protobuf field string subject = 2;
at line 116
string
getDescription()
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".
Generated from protobuf field string description = 3;
at line 130
$this
setDescription(string $var)
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".
Generated from protobuf field string description = 3;