> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gpudb::AdminShowAlertsRequest

> gpudb::AdminShowAlertsRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#aa089f0e3ed5c9c02279eb96ac08ef332">GPUdb::adminShowAlerts</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/admin__show__alerts_8h_source">gpudb/protocol/admin\_show\_alerts.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:a4b3e836d7eb8d2d81107d5f2c2f70579" id="r_a4b3e836d7eb8d2d81107d5f2c2f70579">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a4b3e836d7eb8d2d81107d5f2c2f70579">AdminShowAlertsRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a4b3e836d7eb8d2d81107d5f2c2f70579">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AdminShowAlertsRequest" title="A set of parameters for GPUdb::adminShowAlerts.">AdminShowAlertsRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:a4b3e836d7eb8d2d81107d5f2c2f70579">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a7b18ee1c38a7fe1d0b65a1083e5b446a" id="r_a7b18ee1c38a7fe1d0b65a1083e5b446a">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a7b18ee1c38a7fe1d0b65a1083e5b446a">AdminShowAlertsRequest</a> (const int32\_t numAlerts\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a7b18ee1c38a7fe1d0b65a1083e5b446a">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AdminShowAlertsRequest" title="A set of parameters for GPUdb::adminShowAlerts.">AdminShowAlertsRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a7b18ee1c38a7fe1d0b65a1083e5b446a">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:a7c9c8f190c95c6f92b2334ceccc15465" id="r_a7c9c8f190c95c6f92b2334ceccc15465">
        <td className="memItemLeft" align="right" valign="top">int32\_t </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a7c9c8f190c95c6f92b2334ceccc15465">numAlerts</a></td>
      </tr>

      <tr className="memdesc:a7c9c8f190c95c6f92b2334ceccc15465">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Number of most recent alerts to request. <br /></td>
      </tr>

      <tr className="separator:a7c9c8f190c95c6f92b2334ceccc15465">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a5572c7f42553ad69f4b66d97b72c6992" id="r_a5572c7f42553ad69f4b66d97b72c6992">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a5572c7f42553ad69f4b66d97b72c6992">options</a></td>
      </tr>

      <tr className="memdesc:a5572c7f42553ad69f4b66d97b72c6992">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:a5572c7f42553ad69f4b66d97b72c6992">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#aa089f0e3ed5c9c02279eb96ac08ef332">GPUdb::adminShowAlerts</a>. </p>
      <p>Requests a list of the most recent alerts. Returns lists of alert data, including timestamp and type. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/admin__show__alerts_8h_source#l00019">19</a> of file <a className="el" href="/content/api/cpp/admin__show__alerts_8h_source">admin\_show\_alerts.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a4b3e836d7eb8d2d81107d5f2c2f70579">◆ </a></span>AdminShowAlertsRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::AdminShowAlertsRequest::AdminShowAlertsRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AdminShowAlertsRequest" title="A set of parameters for GPUdb::adminShowAlerts.">AdminShowAlertsRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/admin__show__alerts_8h_source#l00024">24</a> of file <a className="el" href="/content/api/cpp/admin__show__alerts_8h_source">admin\_show\_alerts.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a7b18ee1c38a7fe1d0b65a1083e5b446a">◆ </a></span>AdminShowAlertsRequest() <span className="overload">\[2/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::AdminShowAlertsRequest::AdminShowAlertsRequest </td>
                  <td>(</td>
                  <td className="paramtype">const int32\_t</td>
                  <td className="paramname"><span className="paramname"><span className="em">numAlerts\_</span></span>, </td>
                </tr>

                <tr>
                  <td className="paramkey" />

                  <td />

                  <td className="paramtype">const std::map\< std::string, std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">options\_</span></span> )</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AdminShowAlertsRequest" title="A set of parameters for GPUdb::adminShowAlerts.">AdminShowAlertsRequest</a> object with the specified parameters. </p>

        <div className="dl params">
          <div className="dt">Parameters</div>

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">numAlerts\_</td>
                <td>Number of most recent alerts to request. The response will include up to <span className="em arg">numAlerts\_</span> depending on how many alerts there are in the system. A value of 0 returns all stored alerts. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>
                <td>Optional parameters. The default value is an empty map. </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/admin__show__alerts_8h_source#l00042">42</a> of file <a className="el" href="/content/api/cpp/admin__show__alerts_8h_source">admin\_show\_alerts.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a7c9c8f190c95c6f92b2334ceccc15465">◆ </a></span>numAlerts</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">int32\_t gpudb::AdminShowAlertsRequest::numAlerts</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Number of most recent alerts to request. </p>
        <p>The response will include up to <a className="el" href="#a7c9c8f190c95c6f92b2334ceccc15465">numAlerts</a> depending on how many alerts there are in the system. A value of 0 returns all stored alerts. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/admin__show__alerts_8h_source#l00053">53</a> of file <a className="el" href="/content/api/cpp/admin__show__alerts_8h_source">admin\_show\_alerts.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a5572c7f42553ad69f4b66d97b72c6992">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::AdminShowAlertsRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>
        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/admin__show__alerts_8h_source#l00058">58</a> of file <a className="el" href="/content/api/cpp/admin__show__alerts_8h_source">admin\_show\_alerts.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/admin__show__alerts_8h_source">admin\_show\_alerts.h</a></li>
    </ul>
  </div>
</div>
