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

> gpudb::AlterResourceGroupRequest — 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#a52be74f95cad4c445058fd741a9f4599">GPUdb::alterResourceGroup</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/alter__resource__group_8h_source">gpudb/protocol/alter\_resource\_group.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:a1e5cdc53da8ec9a6606a919fc182d9d4" id="r_a1e5cdc53da8ec9a6606a919fc182d9d4">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a1e5cdc53da8ec9a6606a919fc182d9d4">AlterResourceGroupRequest</a> ()</td>
      </tr>

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

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

      <tr className="memitem:a7afadcd0190c8a4d6ad45ae26a4fe6d1" id="r_a7afadcd0190c8a4d6ad45ae26a4fe6d1">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a7afadcd0190c8a4d6ad45ae26a4fe6d1">AlterResourceGroupRequest</a> (const std::string \&name\_, const std::map\< std::string, std::map\< std::string, std::string > > \&tierAttributes\_, const std::string \&ranking\_, const std::string \&adjoiningResourceGroup\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

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

      <tr className="separator:a7afadcd0190c8a4d6ad45ae26a4fe6d1">
        <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:a12f9f46ccbee5d3b84d21560e178c48f" id="r_a12f9f46ccbee5d3b84d21560e178c48f">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a12f9f46ccbee5d3b84d21560e178c48f">name</a></td>
      </tr>

      <tr className="memdesc:a12f9f46ccbee5d3b84d21560e178c48f">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the group to be altered. <br /></td>
      </tr>

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

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

      <tr className="memdesc:a3210ad9a81e429761e95464247349850">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional map containing tier names and their respective attribute group limits. <br /></td>
      </tr>

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

      <tr className="memitem:ac19feb00adf62cda1047a5bbedf2651c" id="r_ac19feb00adf62cda1047a5bbedf2651c">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ac19feb00adf62cda1047a5bbedf2651c">ranking</a></td>
      </tr>

      <tr className="memdesc:ac19feb00adf62cda1047a5bbedf2651c">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">If the resource group ranking is to be updated, this indicates the relative ranking among existing resource groups where this resource group will be placed. <br /></td>
      </tr>

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

      <tr className="memitem:ac1b2cabefd03cef215fb8509b40bcef9" id="r_ac1b2cabefd03cef215fb8509b40bcef9">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ac1b2cabefd03cef215fb8509b40bcef9">adjoiningResourceGroup</a></td>
      </tr>

      <tr className="memdesc:ac1b2cabefd03cef215fb8509b40bcef9">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">If <a className="el" href="#ac19feb00adf62cda1047a5bbedf2651c">ranking</a> is <a className="el" href="/content/api/cpp/namespacegpudb#aa22da639c2ab8040c05b6bb6233fc085">before</a> or <a className="el" href="/content/api/cpp/namespacegpudb#af8ec3209a305a2c45a4c5c4b1b67d1a0">after</a>, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank. <br /></td>
      </tr>

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

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

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

      <tr className="separator:ac3ae90d04128c5e171c2b4f3a7798d45">
        <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#a52be74f95cad4c445058fd741a9f4599">GPUdb::alterResourceGroup</a>. </p>
      <p>Alters the properties of an existing resource group to facilitate resource management. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__resource__group_8h_source#l00019">19</a> of file <a className="el" href="/content/api/cpp/alter__resource__group_8h_source">alter\_resource\_group.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a1e5cdc53da8ec9a6606a919fc182d9d4">◆ </a></span>AlterResourceGroupRequest() <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::AlterResourceGroupRequest::AlterResourceGroupRequest </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_1AlterResourceGroupRequest" title="A set of parameters for GPUdb::alterResourceGroup.">AlterResourceGroupRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__resource__group_8h_source#l00025">25</a> of file <a className="el" href="/content/api/cpp/alter__resource__group_8h_source">alter\_resource\_group.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a7afadcd0190c8a4d6ad45ae26a4fe6d1">◆ </a></span>AlterResourceGroupRequest() <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::AlterResourceGroupRequest::AlterResourceGroupRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">name\_</span></span>, </td>
                </tr>

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

                  <td />

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

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

                  <td />

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

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

                  <td />

                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">adjoiningResourceGroup\_</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_1AlterResourceGroupRequest" title="A set of parameters for GPUdb::alterResourceGroup.">AlterResourceGroupRequest</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">name\_</td>
                <td>Name of the group to be altered. Must be an existing resource group name or an empty string when used in conjunction with <a className="el" href="/content/api/cpp/namespacegpudb#ae7bace90096897d9ac67de6a4ecf2c47">is\_default\_group</a>. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">tierAttributes\_</td>

                <td>
                  Optional map containing tier names and their respective attribute group limits. The only valid attribute limit that can be set is max\_memory (in bytes) for the VRAM and RAM tiers. For instance, to set max VRAM capacity to 1GB per rank per GPU and max RAM capacity to 10GB per rank, use: {"{"}'VRAM':{"{"}'max\_memory':'1000000000'{"}"}, 'RAM':{"{"}'max\_memory':'10000000000'{"}"}{"}"}.

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9505096b4f3ca47c18378798fac69e0c">alter\_resource\_group\_max\_memory</a>: Maximum amount of memory usable at one time, per rank, per GPU, for the VRAM tier; or maximum amount of memory usable at one time, per rank, for the RAM tier. </li>
                  </ul>

                  The default value is an empty map.
                </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">ranking\_</td>

                <td>
                  If the resource group ranking is to be updated, this indicates the relative ranking among existing resource groups where this resource group will be placed. Supported values:

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab84008b311a3c0de43fb79e05f17cf77">alter\_resource\_group\_empty\_string</a>: Don't change the ranking. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a28e9daf99c777b5600b60af817bf0e74">alter\_resource\_group\_first</a>: Make this resource group the new first one in the ordering. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#af042b5bdec31914771d46b5c70f8093e">alter\_resource\_group\_last</a>: Make this resource group the new last one in the ordering. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa22da639c2ab8040c05b6bb6233fc085">alter\_resource\_group\_before</a>: Place this resource group before the one specified by <span className="em arg">adjoiningResourceGroup\_</span> in the ordering. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#af8ec3209a305a2c45a4c5c4b1b67d1a0">alter\_resource\_group\_after</a>: Place this resource group after the one specified by <span className="em arg">adjoiningResourceGroup\_</span> in the ordering. </li>
                  </ul>

                  The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ab84008b311a3c0de43fb79e05f17cf77">alter\_resource\_group\_empty\_string</a>.
                </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">adjoiningResourceGroup\_</td>
                <td>If <span className="em arg">ranking\_</span> is <a className="el" href="/content/api/cpp/namespacegpudb#aa22da639c2ab8040c05b6bb6233fc085">before</a> or <a className="el" href="/content/api/cpp/namespacegpudb#af8ec3209a305a2c45a4c5c4b1b67d1a0">after</a>, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank. The default value is ''. </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>

                <td>
                  Optional parameters.

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae85325b9c2b9cba00342245656129f01">alter\_resource\_group\_max\_cpu\_concurrency</a>: Maximum number of simultaneous threads that will be used to execute a request, per rank, for this group. The minimum allowed value is '4'. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7d31eb81c542c5b63a1eea7be20e972e">alter\_resource\_group\_max\_data</a>: Maximum amount of data, per rank, in bytes, that can be used by all database objects within this group. Set to -1 to indicate no upper limit. The minimum allowed value is '-1'. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c0d76bd87f17fe514ba75a33fd8d79e">alter\_resource\_group\_max\_scheduling\_priority</a>: Maximum priority of a scheduled task for this group. The minimum allowed value is '1'. The maximum allowed value is '100'. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac4d34b2dbcf64f7e163e1f3590311cfc">alter\_resource\_group\_max\_tier\_priority</a>: Maximum priority of a tiered object for this group. The minimum allowed value is '1'. The maximum allowed value is '10'. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#ae7bace90096897d9ac67de6a4ecf2c47">alter\_resource\_group\_is\_default\_group</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">true</a>, this request applies to the global default resource group. It is an error for this field to be <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">true</a> when the <span className="em arg">name\_</span> field is also populated. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">alter\_resource\_group\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1e4d840806364a59926597a579e9e2e5">alter\_resource\_group\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a1e4d840806364a59926597a579e9e2e5">alter\_resource\_group\_false</a>.
                    </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#a3bae506f50d08ca3158479f36b82b4ce">alter\_resource\_group\_persist</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">true</a> and a system-level change was requested, the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">alter\_resource\_group\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1e4d840806364a59926597a579e9e2e5">alter\_resource\_group\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">alter\_resource\_group\_true</a>.
                    </li>
                  </ul>

                  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/alter__resource__group_8h_source#l00186">186</a> of file <a className="el" href="/content/api/cpp/alter__resource__group_8h_source">alter\_resource\_group.h</a>.</p>
      </div>
    </div>

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

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::AlterResourceGroupRequest::adjoiningResourceGroup</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>If <a className="el" href="#ac19feb00adf62cda1047a5bbedf2651c">ranking</a> is <a className="el" href="/content/api/cpp/namespacegpudb#aa22da639c2ab8040c05b6bb6233fc085">before</a> or <a className="el" href="/content/api/cpp/namespacegpudb#af8ec3209a305a2c45a4c5c4b1b67d1a0">after</a>, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank. </p>
        <p>The default value is ''. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__resource__group_8h_source#l00257">257</a> of file <a className="el" href="/content/api/cpp/alter__resource__group_8h_source">alter\_resource\_group.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a12f9f46ccbee5d3b84d21560e178c48f">◆ </a></span>name</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::AlterResourceGroupRequest::name</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the group to be altered. </p>
        <p>Must be an existing resource group name or an empty string when used in conjunction with <a className="el" href="/content/api/cpp/namespacegpudb#ae7bace90096897d9ac67de6a4ecf2c47">is\_default\_group</a>. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__resource__group_8h_source#l00200">200</a> of file <a className="el" href="/content/api/cpp/alter__resource__group_8h_source">alter\_resource\_group.h</a>.</p>
      </div>
    </div>

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

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

      <div className="memdoc">
        <p>Optional parameters. </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae85325b9c2b9cba00342245656129f01">alter\_resource\_group\_max\_cpu\_concurrency</a>: Maximum number of simultaneous threads that will be used to execute a request, per rank, for this group. The minimum allowed value is '4'. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7d31eb81c542c5b63a1eea7be20e972e">alter\_resource\_group\_max\_data</a>: Maximum amount of data, per rank, in bytes, that can be used by all database objects within this group. Set to -1 to indicate no upper limit. The minimum allowed value is '-1'. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a8c0d76bd87f17fe514ba75a33fd8d79e">alter\_resource\_group\_max\_scheduling\_priority</a>: Maximum priority of a scheduled task for this group. The minimum allowed value is '1'. The maximum allowed value is '100'. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ac4d34b2dbcf64f7e163e1f3590311cfc">alter\_resource\_group\_max\_tier\_priority</a>: Maximum priority of a tiered object for this group. The minimum allowed value is '1'. The maximum allowed value is '10'. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#ae7bace90096897d9ac67de6a4ecf2c47">alter\_resource\_group\_is\_default\_group</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">true</a>, this request applies to the global default resource group. It is an error for this field to be <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">true</a> when the <a className="el" href="#a12f9f46ccbee5d3b84d21560e178c48f">name</a> field is also populated. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">alter\_resource\_group\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1e4d840806364a59926597a579e9e2e5">alter\_resource\_group\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a1e4d840806364a59926597a579e9e2e5">alter\_resource\_group\_false</a>.
          </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#a3bae506f50d08ca3158479f36b82b4ce">alter\_resource\_group\_persist</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">true</a> and a system-level change was requested, the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">alter\_resource\_group\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a1e4d840806364a59926597a579e9e2e5">alter\_resource\_group\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ae7d6d38e54409e72444655827e54add6">alter\_resource\_group\_true</a>.
          </li>
        </ul>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__resource__group_8h_source#l00314">314</a> of file <a className="el" href="/content/api/cpp/alter__resource__group_8h_source">alter\_resource\_group.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ac19feb00adf62cda1047a5bbedf2651c">◆ </a></span>ranking</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::AlterResourceGroupRequest::ranking</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>If the resource group ranking is to be updated, this indicates the relative ranking among existing resource groups where this resource group will be placed. </p>
        <p>Supported values: </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab84008b311a3c0de43fb79e05f17cf77">alter\_resource\_group\_empty\_string</a>: Don't change the ranking. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a28e9daf99c777b5600b60af817bf0e74">alter\_resource\_group\_first</a>: Make this resource group the new first one in the ordering. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#af042b5bdec31914771d46b5c70f8093e">alter\_resource\_group\_last</a>: Make this resource group the new last one in the ordering. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa22da639c2ab8040c05b6bb6233fc085">alter\_resource\_group\_before</a>: Place this resource group before the one specified by <a className="el" href="#ac1b2cabefd03cef215fb8509b40bcef9">adjoiningResourceGroup</a> in the ordering. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#af8ec3209a305a2c45a4c5c4b1b67d1a0">alter\_resource\_group\_after</a>: Place this resource group after the one specified by <a className="el" href="#ac1b2cabefd03cef215fb8509b40bcef9">adjoiningResourceGroup</a> in the ordering. </li>
        </ul>

        <p>The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ab84008b311a3c0de43fb79e05f17cf77">alter\_resource\_group\_empty\_string</a>. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__resource__group_8h_source#l00249">249</a> of file <a className="el" href="/content/api/cpp/alter__resource__group_8h_source">alter\_resource\_group.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a3210ad9a81e429761e95464247349850">◆ </a></span>tierAttributes</h2>

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

      <div className="memdoc">
        <p>Optional map containing tier names and their respective attribute group limits. </p>
        <p>The only valid attribute limit that can be set is max\_memory (in bytes) for the VRAM and RAM tiers.</p>
        <p>For instance, to set max VRAM capacity to 1GB per rank per GPU and max RAM capacity to 10GB per rank, use: {"{"}'VRAM':{"{"}'max\_memory':'1000000000'{"}"}, 'RAM':{"{"}'max\_memory':'10000000000'{"}"}{"}"}. </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9505096b4f3ca47c18378798fac69e0c">alter\_resource\_group\_max\_memory</a>: Maximum amount of memory usable at one time, per rank, per GPU, for the VRAM tier; or maximum amount of memory usable at one time, per rank, for the RAM tier. </li>
        </ul>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__resource__group_8h_source#l00220">220</a> of file <a className="el" href="/content/api/cpp/alter__resource__group_8h_source">alter\_resource\_group.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/alter__resource__group_8h_source">alter\_resource\_group.h</a></li>
    </ul>
  </div>
</div>
