def _operation_status_message(self):
msg = None<EOL>action = None<EOL>if not google_v2_operations.is_done(self._op):<EOL><INDENT>last_event = google_v2_operations.get_last_event(self._op)<EOL>if last_event:<EOL><INDENT>msg = last_event['<STR_LIT:description>']<EOL>action_id = last_event.get('<STR_LIT>', {}).get('<STR_LIT>')<EOL>if action_id:<EOL><INDENT>action = google_v2_operations.get_action_by_id(self._op, action_id)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>msg = '<STR_LIT>'<EOL><DEDENT><DEDENT>else:<EOL><INDENT>failed_events = google_v2_operations.get_failed_events(self._op)<EOL>if failed_events:<EOL><INDENT>failed_event = failed_events[-<NUM_LIT:1>]<EOL>msg = failed_event.get('<STR_LIT>', {}).get('<STR_LIT>')<EOL>action_id = failed_event.get('<STR_LIT>', {}).get('<STR_LIT>')<EOL>if action_id:<EOL><INDENT>action = google_v2_operations.get_action_by_id(self._op, action_id)<EOL><DEDENT><DEDENT>if not msg:<EOL><INDENT>error = google_v2_operations.get_error(self._op)<EOL>if error:<EOL><INDENT>msg = error['<STR_LIT:message>']<EOL><DEDENT>else:<EOL><INDENT>msg = '<STR_LIT>'<EOL><DEDENT><DEDENT><DEDENT>return msg, action<EOL>
Returns the most relevant status string and failed action.

        This string is meant for display only.

        Returns:
          A printable status string and name of failed action (if any).