> ## 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

A set of parameters for [GPUdb::adminShowAlerts](https://docs.kinetica.com/content/api/cpp/classgpudb_1_1GPUdb/adminshowalerts.md#aa089f0e3ed5c9c02279eb96ac08ef332). [More...](#details)`#include <gpudb/protocol/admin_show_alerts.h>`

<table>
  <tr>
    <td colSpan="2">
      ## Public Member Functions
    </td>
  </tr>

  <tr id="r_a4b3e836d7eb8d2d81107d5f2c2f70579">
    <td align="right" valign="top"> </td>
    <td valign="bottom">[AdminShowAlertsRequest](#a4b3e836d7eb8d2d81107d5f2c2f70579) ()</td>
  </tr>

  <tr>
    <td> </td>
    <td>Constructs an [AdminShowAlertsRequest](https://docs.kinetica.com/content/api/cpp/structgpudb_1_1AdminShowAlertsRequest.md) object with default parameters. \
    </td>
  </tr>

  <tr>
    <td colSpan="2"> </td>
  </tr>

  <tr id="r_a7b18ee1c38a7fe1d0b65a1083e5b446a">
    <td align="right" valign="top"> </td>
    <td valign="bottom">[AdminShowAlertsRequest](#a7b18ee1c38a7fe1d0b65a1083e5b446a) (const int32\_t numAlerts\_, const std::map\< std::string, std::string > \&options\_)</td>
  </tr>

  <tr>
    <td> </td>
    <td>Constructs an [AdminShowAlertsRequest](https://docs.kinetica.com/content/api/cpp/structgpudb_1_1AdminShowAlertsRequest.md) object with the specified parameters. \
    </td>
  </tr>

  <tr>
    <td colSpan="2"> </td>
  </tr>
</table>

<table>
  <tr>
    <td colSpan="2">
      ## Public Attributes
    </td>
  </tr>

  <tr id="r_a7c9c8f190c95c6f92b2334ceccc15465">
    <td align="right" valign="top">int32\_t </td>
    <td valign="bottom">[numAlerts](#a7c9c8f190c95c6f92b2334ceccc15465)</td>
  </tr>

  <tr>
    <td> </td>
    <td>Number of most recent alerts to request. \
    </td>
  </tr>

  <tr>
    <td colSpan="2"> </td>
  </tr>

  <tr id="r_a5572c7f42553ad69f4b66d97b72c6992">
    <td align="right" valign="top">std::map\< std::string, std::string > </td>
    <td valign="bottom">[options](#a5572c7f42553ad69f4b66d97b72c6992)</td>
  </tr>

  <tr>
    <td> </td>
    <td>Optional parameters. \
    </td>
  </tr>

  <tr>
    <td colSpan="2"> </td>
  </tr>
</table>

## Detailed Description

A set of parameters for [GPUdb::adminShowAlerts](https://docs.kinetica.com/content/api/cpp/classgpudb_1_1GPUdb/adminshowalerts.md#aa089f0e3ed5c9c02279eb96ac08ef332). Requests a list of the most recent alerts. Returns lists of alert data, including timestamp and type. Definition at line [19](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h#L19) of file [admin\_show\_alerts.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h).

## Constructor & Destructor Documentation

## [◆ ](#a4b3e836d7eb8d2d81107d5f2c2f70579)AdminShowAlertsRequest() \[1/2]

<table>
  <tr>
    <td>
      <table>
        <tr>
          <td>gpudb::AdminShowAlertsRequest::AdminShowAlertsRequest </td>
          <td>(</td>

          <td />

          <td>)</td>

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

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

Constructs an [AdminShowAlertsRequest](https://docs.kinetica.com/content/api/cpp/structgpudb_1_1AdminShowAlertsRequest.md) object with default parameters. Definition at line [24](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h#L24) of file [admin\_show\_alerts.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h).

## [◆ ](#a7b18ee1c38a7fe1d0b65a1083e5b446a)AdminShowAlertsRequest() \[2/2]

<table>
  <tr>
    <td>
      <table>
        <tr>
          <td>gpudb::AdminShowAlertsRequest::AdminShowAlertsRequest </td>
          <td>(</td>
          <td>const int32\_t</td>
          <td>numAlerts\_, </td>
        </tr>

        <tr>
          <td />

          <td />

          <td>const std::map\< std::string, std::string > &</td>
          <td>options\_ )</td>
        </tr>
      </table>
    </td>

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

Constructs an [AdminShowAlertsRequest](https://docs.kinetica.com/content/api/cpp/structgpudb_1_1AdminShowAlertsRequest.md) object with the specified parameters.&#x20;

Parameters

<table>
  <tr>
    <td>\[in]</td>
    <td>numAlerts\_</td>
    <td>Number of most recent alerts to request. The response will include up to numAlerts\_ depending on how many alerts there are in the system. A value of 0 returns all stored alerts. </td>
  </tr>

  <tr>
    <td>\[in]</td>
    <td>options\_</td>
    <td>Optional parameters. The default value is an empty map. </td>
  </tr>
</table>

Definition at line [42](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h#L42) of file [admin\_show\_alerts.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h).

## Member Data Documentation

## [◆ ](#a7c9c8f190c95c6f92b2334ceccc15465)numAlerts

<table>
  <tr>
    <td>int32\_t gpudb::AdminShowAlertsRequest::numAlerts</td>
  </tr>
</table>

Number of most recent alerts to request. The response will include up to [numAlerts](#a7c9c8f190c95c6f92b2334ceccc15465) depending on how many alerts there are in the system. A value of 0 returns all stored alerts. Definition at line [53](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h#L53) of file [admin\_show\_alerts.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h).

## [◆ ](#a5572c7f42553ad69f4b66d97b72c6992)options

<table>
  <tr>
    <td>std::map\<std::string, std::string> gpudb::AdminShowAlertsRequest::options</td>
  </tr>
</table>

Optional parameters. The default value is an empty map. Definition at line [58](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h#L58) of file [admin\_show\_alerts.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h).

***

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

<ul>
  <li>gpudb/protocol/[admin\_show\_alerts.h](https://github.com/kineticadb/kinetica-api-cpp/blob/master/gpudb/protocol/admin_show_alerts.h)</li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.