Enum googapis::google::api::servicecontrol::v1::check_error::Code [−][src]
#[repr(i32)]
pub enum Code {
Show 21 variants
ErrorCodeUnspecified,
NotFound,
PermissionDenied,
ResourceExhausted,
ServiceNotActivated,
BillingDisabled,
ProjectDeleted,
ProjectInvalid,
ConsumerInvalid,
IpAddressBlocked,
RefererBlocked,
ClientAppBlocked,
ApiTargetBlocked,
ApiKeyInvalid,
ApiKeyExpired,
ApiKeyNotFound,
InvalidCredential,
NamespaceLookupUnavailable,
ServiceStatusUnavailable,
BillingStatusUnavailable,
CloudResourceManagerBackendUnavailable,
}
Expand description
Error codes for Check responses.
Variants
This is never used in CheckResponse
.
The consumer’s project id, network container, or resource container was not found. Same as [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND].
The consumer doesn’t have access to the specified resource. Same as [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].
The consumer hasn’t activated the service.
The consumer cannot access the service because billing is disabled.
The consumer’s project has been marked as deleted (soft deletion).
The consumer’s project number or id does not represent a valid project.
The input consumer info does not represent a valid consumer folder or organization.
The IP address of the consumer is invalid for the specific consumer project.
The referer address of the consumer request is invalid for the specific consumer project.
The client application of the consumer request is invalid for the specific consumer project.
The API targeted by this request is invalid for the specified consumer project.
The consumer’s API key is invalid.
The consumer’s API Key has expired.
The consumer’s API Key was not found in config record.
The credential in the request can not be verified.
The backend server for looking up project id/number is unavailable.
The backend server for checking service status is unavailable.
The backend server for checking billing status is unavailable.
Cloud Resource Manager backend server is unavailable.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Code
impl UnwindSafe for Code
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more