cause = $cause; } /** * @return string */ public function getCause() { return $this->cause; } /** * The Google standard error code that best describes the state. For example: * - OK means the analysis on this entity has been successfully finished; - * PERMISSION_DENIED means an access denied error is encountered; - * DEADLINE_EXCEEDED means the analysis on this entity hasn't been started in * time; * * Accepted values: OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, * DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, * UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, * OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, DATA_LOSS * * @param self::CODE_* $code */ public function setCode($code) { $this->code = $code; } /** * @return self::CODE_* */ public function getCode() { return $this->code; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(IamPolicyAnalysisState::class, 'Google_Service_CloudAsset_IamPolicyAnalysisState');