SearchAuth.StatusCodes

public static class SearchAuth.StatusCodes extends Object

Status codes for SearchAuth API containing a combination of common status codes and custom status codes.

Constant Summary

int AUTH_DISABLED Authorization for the requested access is disabled for the caller.
int AUTH_THROTTLED API call has been rejected by the throttler.
int DEVELOPER_ERROR The application is misconfigured.
int INTERNAL_ERROR An internal error occurred.
int SUCCESS The operation was successful.

Public Constructor Summary

Inherited Method Summary

Constants

public static final int AUTH_DISABLED

Authorization for the requested access is disabled for the caller. For example, it may be disabled due to opt-outs or lack of opt-ins by the user.

Constant Value: 10000

public static final int AUTH_THROTTLED

API call has been rejected by the throttler. Retry on or after GoogleNowAuthState.getNextAllowedTimeMillis().

Constant Value: 10001

public static final int DEVELOPER_ERROR

The application is misconfigured. This error is not recoverable and will be treated as fatal. The developer should look at the logs after this to determine more actionable information.

Constant Value: 10

public static final int INTERNAL_ERROR

An internal error occurred. Retrying should resolve the problem.

Constant Value: 8

public static final int SUCCESS

The operation was successful.

Constant Value: 0

Public Constructors

public StatusCodes ()