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

> gpudb::AlterDatasourceRequest — 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#a3b682ba6dcd6140d7d489a9c1b76cf79">GPUdb::alterDatasource</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/alter__datasource_8h_source">gpudb/protocol/alter\_datasource.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:a6fdcb13c2e2ce3bc3ca67cda38e05d5d" id="r_a6fdcb13c2e2ce3bc3ca67cda38e05d5d">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a6fdcb13c2e2ce3bc3ca67cda38e05d5d">AlterDatasourceRequest</a> ()</td>
      </tr>

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

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

      <tr className="memitem:a0e62d630d07ac68421f42e01cf3ce50a" id="r_a0e62d630d07ac68421f42e01cf3ce50a">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a0e62d630d07ac68421f42e01cf3ce50a">AlterDatasourceRequest</a> (const std::string \&name\_, const std::map\< std::string, std::string > \&datasourceUpdatesMap\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

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

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

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

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

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

      <tr className="memdesc:a6889e3c7e43be9c1bb6c7d80e5f802b0">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Map containing the properties of the data source to be updated. <br /></td>
      </tr>

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

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

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

      <tr className="separator:a6913aad5b999d8f1b14fdad2a14f27c2">
        <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#a3b682ba6dcd6140d7d489a9c1b76cf79">GPUdb::alterDatasource</a>. </p>
      <p>Alters the properties of an existing <a href="/content/concepts/data_sources/" target="_top">data source</a>. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__datasource_8h_source#l00019">19</a> of file <a className="el" href="/content/api/cpp/alter__datasource_8h_source">alter\_datasource.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a6fdcb13c2e2ce3bc3ca67cda38e05d5d">◆ </a></span>AlterDatasourceRequest() <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::AlterDatasourceRequest::AlterDatasourceRequest </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_1AlterDatasourceRequest" title="A set of parameters for GPUdb::alterDatasource.">AlterDatasourceRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__datasource_8h_source#l00024">24</a> of file <a className="el" href="/content/api/cpp/alter__datasource_8h_source">alter\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a0e62d630d07ac68421f42e01cf3ce50a">◆ </a></span>AlterDatasourceRequest() <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::AlterDatasourceRequest::AlterDatasourceRequest </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::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">datasourceUpdatesMap\_</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_1AlterDatasourceRequest" title="A set of parameters for GPUdb::alterDatasource.">AlterDatasourceRequest</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 data source to be altered. Must be an existing data source. </td>
              </tr>

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

                <td>
                  Map containing the properties of the data source to be updated. Error if empty.

                  <ul>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#af8497eaf16bc2aea3e553f6a3501b7e2">alter\_datasource\_location</a>: Location of the remote storage in 'storage\_provider\_type://\[storage\_path\[:storage\_port]]' format. Supported storage provider types are 'azure', 'gcs', 'hdfs', 'jdbc', 'kafka', 'confluent', and 's3'. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a06012612c3b635c25e068e0533249363">alter\_datasource\_user\_name</a>: Name of the remote system user; may be an empty string. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3226f4e55cedc9b18e8ce7cce906302f">alter\_datasource\_password</a>: Password for the remote system user; may be an empty string. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#aba1f199ee9f1244f3d6dcbbe6e370500">alter\_datasource\_skip\_validation</a>: Bypass validation of connection to remote source. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a> </li>
                      </ul>

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

                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#af209ca4cd1ba64854cd11e52ed910152">alter\_datasource\_connection\_timeout</a>: Timeout in seconds for connecting to this storage provider. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3654059dce581fb3e63e0526bd415a2d">alter\_datasource\_wait\_timeout</a>: Timeout in seconds for reading from this storage provider. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a4f6b541a5152ea0d3794cb27a4782d29">alter\_datasource\_credential</a>: Name of the <a href="/content/concepts/credentials" target="_top">credential</a> object to be used in data source. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#af98882b9da4954d2aa21f7a91a4c2d43">alter\_datasource\_s3\_bucket\_name</a>: Name of the Amazon S3 bucket to use as the data source. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#afb544f9acdc2341bf63ddacea0c9399d">alter\_datasource\_s3\_region</a>: Name of the Amazon S3 region where the given bucket is located. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#a17a3e455fe0c8a54743f4ee37bbb0bce">alter\_datasource\_s3\_verify\_ssl</a>: Whether to verify SSL connections. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>: Connect with SSL verification. </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a>: Connect without verifying the SSL connection; for testing purposes, bypassing TLS errors, self-signed certificates, etc. </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>.
                    </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#ae5a7497ba4a26e07e9938d61fe54d7f5">alter\_datasource\_s3\_use\_virtual\_addressing</a>: Whether to use virtual addressing when referencing the Amazon S3 source. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>: The requests URI should be specified in virtual-hosted-style format where the bucket name is part of the domain name in the URL. </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a>: Use path-style URI for requests. </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>.
                    </li>

                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a76d7b2dd5078e99de59aefa1bfac614b">alter\_datasource\_s3\_aws\_role\_arn</a>: Amazon IAM Role ARN which has required S3 permissions that can be assumed for the given S3 IAM user. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa9fa675f796deccb2805644c95898623">alter\_datasource\_s3\_encryption\_customer\_algorithm</a>: Customer encryption algorithm used encrypting data. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6da8588299b9ee8e6439ce1d2e3327f4">alter\_datasource\_s3\_encryption\_customer\_key</a>: Customer encryption key to encrypt or decrypt data. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a20faf20a9a1bbf2efe986ece3182182c">alter\_datasource\_hdfs\_kerberos\_keytab</a>: Kerberos keytab file location for the given HDFS user. This may be a KIFS file. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab7224734a4e63696598e503fb310da4f">alter\_datasource\_hdfs\_delegation\_token</a>: Delegation token for the given HDFS user. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#a11ad9f37ce99035ff55f23409a0018a9">alter\_datasource\_hdfs\_use\_kerberos</a>: Use kerberos authentication for the given HDFS cluster. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a> </li>
                      </ul>

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

                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0b166f996feb54eb6aa2772b374dd392">alter\_datasource\_azure\_storage\_account\_name</a>: Name of the Azure storage account to use as the data source, this is valid only if tenant\_id is specified. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0236877027c5a809d1b62d2229c6d584">alter\_datasource\_azure\_container\_name</a>: Name of the Azure storage container to use as the data source. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa77015ad62dbd6d10419174c01523312">alter\_datasource\_azure\_tenant\_id</a>: Active Directory tenant ID (or directory ID). </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae3be2ab2ec2a18c9649e1276b0915c7e">alter\_datasource\_azure\_sas\_token</a>: Shared access signature token for Azure storage account to use as the data source. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#aec538da3127feedcf3717fdc8830652e">alter\_datasource\_azure\_oauth\_token</a>: OAuth token to access given storage container. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#aac94e88fd57259762a48a965a3da605d">alter\_datasource\_azure\_use\_virtual\_addressing</a>: Whether to use virtual addressing when referencing the Azure source. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>: The requests URI should be specified in virtual-hosted-style format where the bucket name is part of the domain name in the URL. </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a>: Use path-style URI for requests. </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>.
                    </li>

                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#afc37b10a838c08afb0e6ff32eb09df0a">alter\_datasource\_gcs\_bucket\_name</a>: Name of the Google Cloud Storage bucket to use as the data source. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7da4deea17fc1d2f9283870299ac75a2">alter\_datasource\_gcs\_project\_id</a>: Name of the Google Cloud project to use as the data source. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad2f47224c932660d0b28bdb7b737058f">alter\_datasource\_gcs\_service\_account\_keys</a>: Google Cloud service account keys to use for authenticating the data source. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6ea3edc5cb23521b40871574b3d85b61">alter\_datasource\_jdbc\_driver\_jar\_path</a>: JDBC driver jar file location. This may be a KIFS file. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7bb2c6d9166576d0fd62cbf7e324dd7f">alter\_datasource\_jdbc\_driver\_class\_name</a>: Name of the JDBC driver class. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7533eddbbface67e917b1307bca1b9da">alter\_datasource\_kafka\_url</a>: The publicly-accessible full path URL to the Kafka broker, e.g., '<a href="http://172.123.45.67:9300'">[http://172.123.45.67:9300](http://172.123.45.67:9300)'</a>. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a051a3ce84dd6c1d95df06bd645812621">alter\_datasource\_kafka\_topic\_name</a>: Name of the Kafka topic to use as the data source. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#ad09212fd53c092a5acf1b03177c329b8">alter\_datasource\_anonymous</a>: Create an anonymous connection to the storage provider–DEPRECATED: this is now the default. Specify use\_managed\_credentials for non-anonymous connection. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>.
                    </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#acef615d5fa89eed86339b2355ed7509a">alter\_datasource\_use\_managed\_credentials</a>: When no credentials are supplied, we use anonymous access by default. If this is set, we will use cloud provider user settings. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a> </li>
                      </ul>

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

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#a9f62457558511fb5806510b8f39765bd">alter\_datasource\_use\_https</a>: Use HTTPS to connect to datasource if true, otherwise use HTTP. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>.
                    </li>

                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5b04e6c0c712a6c522b3fe6aea7fe061">alter\_datasource\_schema\_name</a>: Updates the schema name. If <a className="el" href="/content/api/cpp/namespacegpudb#a5b04e6c0c712a6c522b3fe6aea7fe061">schema\_name</a> doesn't exist, an error will be thrown. If <a className="el" href="/content/api/cpp/namespacegpudb#a5b04e6c0c712a6c522b3fe6aea7fe061">schema\_name</a> is empty, then the user's default schema will be used. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a936838344693c9f2598f212023284123">alter\_datasource\_schema\_registry\_connection\_retries</a>: Confluent Schema registry connection timeout (in secs). </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a50bdcf0b287a5c6a551edecd5735bd28">alter\_datasource\_schema\_registry\_connection\_timeout</a>: Confluent Schema registry connection timeout (in secs). </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a81c3fe9533b8e35c601890252db60224">alter\_datasource\_schema\_registry\_credential</a>: Confluent Schema Registry <a href="/content/concepts/credentials" target="_top">credential</a> object name. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a30f762cdc2e8299349a90892c2e86b05">alter\_datasource\_schema\_registry\_location</a>: Location of Confluent Schema Registry in '\[storage\_path\[:storage\_port]]' format. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a542c7df8280abc966bbe8c592921591f">alter\_datasource\_schema\_registry\_port</a>: Confluent Schema Registry port (optional). </li>
                  </ul>
                </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>
                <td>Optional parameters. </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__datasource_8h_source#l00430">430</a> of file <a className="el" href="/content/api/cpp/alter__datasource_8h_source">alter\_datasource.h</a>.</p>
      </div>
    </div>

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

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

      <div className="memdoc">
        <p>Map containing the properties of the data source to be updated. </p>
        <p>Error if empty. </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#af8497eaf16bc2aea3e553f6a3501b7e2">alter\_datasource\_location</a>: Location of the remote storage in 'storage\_provider\_type://\[storage\_path\[:storage\_port]]' format. Supported storage provider types are 'azure', 'gcs', 'hdfs', 'jdbc', 'kafka', 'confluent', and 's3'. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a06012612c3b635c25e068e0533249363">alter\_datasource\_user\_name</a>: Name of the remote system user; may be an empty string. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3226f4e55cedc9b18e8ce7cce906302f">alter\_datasource\_password</a>: Password for the remote system user; may be an empty string. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#aba1f199ee9f1244f3d6dcbbe6e370500">alter\_datasource\_skip\_validation</a>: Bypass validation of connection to remote source. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a> </li>
            </ul>

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

          <li> <a className="el" href="/content/api/cpp/namespacegpudb#af209ca4cd1ba64854cd11e52ed910152">alter\_datasource\_connection\_timeout</a>: Timeout in seconds for connecting to this storage provider. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3654059dce581fb3e63e0526bd415a2d">alter\_datasource\_wait\_timeout</a>: Timeout in seconds for reading from this storage provider. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a4f6b541a5152ea0d3794cb27a4782d29">alter\_datasource\_credential</a>: Name of the <a href="/content/concepts/credentials" target="_top">credential</a> object to be used in data source. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#af98882b9da4954d2aa21f7a91a4c2d43">alter\_datasource\_s3\_bucket\_name</a>: Name of the Amazon S3 bucket to use as the data source. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#afb544f9acdc2341bf63ddacea0c9399d">alter\_datasource\_s3\_region</a>: Name of the Amazon S3 region where the given bucket is located. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#a17a3e455fe0c8a54743f4ee37bbb0bce">alter\_datasource\_s3\_verify\_ssl</a>: Whether to verify SSL connections. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>: Connect with SSL verification. </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a>: Connect without verifying the SSL connection; for testing purposes, bypassing TLS errors, self-signed certificates, etc. </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>.
          </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#ae5a7497ba4a26e07e9938d61fe54d7f5">alter\_datasource\_s3\_use\_virtual\_addressing</a>: Whether to use virtual addressing when referencing the Amazon S3 source. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>: The requests URI should be specified in virtual-hosted-style format where the bucket name is part of the domain name in the URL. </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a>: Use path-style URI for requests. </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>.
          </li>

          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a76d7b2dd5078e99de59aefa1bfac614b">alter\_datasource\_s3\_aws\_role\_arn</a>: Amazon IAM Role ARN which has required S3 permissions that can be assumed for the given S3 IAM user. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa9fa675f796deccb2805644c95898623">alter\_datasource\_s3\_encryption\_customer\_algorithm</a>: Customer encryption algorithm used encrypting data. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6da8588299b9ee8e6439ce1d2e3327f4">alter\_datasource\_s3\_encryption\_customer\_key</a>: Customer encryption key to encrypt or decrypt data. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a20faf20a9a1bbf2efe986ece3182182c">alter\_datasource\_hdfs\_kerberos\_keytab</a>: Kerberos keytab file location for the given HDFS user. This may be a KIFS file. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab7224734a4e63696598e503fb310da4f">alter\_datasource\_hdfs\_delegation\_token</a>: Delegation token for the given HDFS user. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#a11ad9f37ce99035ff55f23409a0018a9">alter\_datasource\_hdfs\_use\_kerberos</a>: Use kerberos authentication for the given HDFS cluster. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a> </li>
            </ul>

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

          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0b166f996feb54eb6aa2772b374dd392">alter\_datasource\_azure\_storage\_account\_name</a>: Name of the Azure storage account to use as the data source, this is valid only if tenant\_id is specified. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0236877027c5a809d1b62d2229c6d584">alter\_datasource\_azure\_container\_name</a>: Name of the Azure storage container to use as the data source. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aa77015ad62dbd6d10419174c01523312">alter\_datasource\_azure\_tenant\_id</a>: Active Directory tenant ID (or directory ID). </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae3be2ab2ec2a18c9649e1276b0915c7e">alter\_datasource\_azure\_sas\_token</a>: Shared access signature token for Azure storage account to use as the data source. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#aec538da3127feedcf3717fdc8830652e">alter\_datasource\_azure\_oauth\_token</a>: OAuth token to access given storage container. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#aac94e88fd57259762a48a965a3da605d">alter\_datasource\_azure\_use\_virtual\_addressing</a>: Whether to use virtual addressing when referencing the Azure source. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>: The requests URI should be specified in virtual-hosted-style format where the bucket name is part of the domain name in the URL. </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a>: Use path-style URI for requests. </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>.
          </li>

          <li> <a className="el" href="/content/api/cpp/namespacegpudb#afc37b10a838c08afb0e6ff32eb09df0a">alter\_datasource\_gcs\_bucket\_name</a>: Name of the Google Cloud Storage bucket to use as the data source. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7da4deea17fc1d2f9283870299ac75a2">alter\_datasource\_gcs\_project\_id</a>: Name of the Google Cloud project to use as the data source. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad2f47224c932660d0b28bdb7b737058f">alter\_datasource\_gcs\_service\_account\_keys</a>: Google Cloud service account keys to use for authenticating the data source. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6ea3edc5cb23521b40871574b3d85b61">alter\_datasource\_jdbc\_driver\_jar\_path</a>: JDBC driver jar file location. This may be a KIFS file. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7bb2c6d9166576d0fd62cbf7e324dd7f">alter\_datasource\_jdbc\_driver\_class\_name</a>: Name of the JDBC driver class. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7533eddbbface67e917b1307bca1b9da">alter\_datasource\_kafka\_url</a>: The publicly-accessible full path URL to the Kafka broker, e.g., '<a href="http://172.123.45.67:9300'">[http://172.123.45.67:9300](http://172.123.45.67:9300)'</a>. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a051a3ce84dd6c1d95df06bd645812621">alter\_datasource\_kafka\_topic\_name</a>: Name of the Kafka topic to use as the data source. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#ad09212fd53c092a5acf1b03177c329b8">alter\_datasource\_anonymous</a>: Create an anonymous connection to the storage provider–DEPRECATED: this is now the default. Specify use\_managed\_credentials for non-anonymous connection. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>.
          </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#acef615d5fa89eed86339b2355ed7509a">alter\_datasource\_use\_managed\_credentials</a>: When no credentials are supplied, we use anonymous access by default. If this is set, we will use cloud provider user settings. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a> </li>
            </ul>

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

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#a9f62457558511fb5806510b8f39765bd">alter\_datasource\_use\_https</a>: Use HTTPS to connect to datasource if true, otherwise use HTTP. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5dbb5686968f15095c8b26aef709ed45">alter\_datasource\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#ad65a7c605d5418a90ecd622b39b08d89">alter\_datasource\_true</a>.
          </li>

          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a5b04e6c0c712a6c522b3fe6aea7fe061">alter\_datasource\_schema\_name</a>: Updates the schema name. If <a className="el" href="/content/api/cpp/namespacegpudb#a5b04e6c0c712a6c522b3fe6aea7fe061">schema\_name</a> doesn't exist, an error will be thrown. If <a className="el" href="/content/api/cpp/namespacegpudb#a5b04e6c0c712a6c522b3fe6aea7fe061">schema\_name</a> is empty, then the user's default schema will be used. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a936838344693c9f2598f212023284123">alter\_datasource\_schema\_registry\_connection\_retries</a>: Confluent Schema registry connection timeout (in secs). </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a50bdcf0b287a5c6a551edecd5735bd28">alter\_datasource\_schema\_registry\_connection\_timeout</a>: Confluent Schema registry connection timeout (in secs). </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a81c3fe9533b8e35c601890252db60224">alter\_datasource\_schema\_registry\_credential</a>: Confluent Schema Registry <a href="/content/concepts/credentials" target="_top">credential</a> object name. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a30f762cdc2e8299349a90892c2e86b05">alter\_datasource\_schema\_registry\_location</a>: Location of Confluent Schema Registry in '\[storage\_path\[:storage\_port]]' format. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a542c7df8280abc966bbe8c592921591f">alter\_datasource\_schema\_registry\_port</a>: Confluent Schema Registry port (optional). </li>
        </ul>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__datasource_8h_source#l00668">668</a> of file <a className="el" href="/content/api/cpp/alter__datasource_8h_source">alter\_datasource.h</a>.</p>
      </div>
    </div>

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

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

      <div className="memdoc">
        <p>Name of the data source to be altered. </p>
        <p>Must be an existing data source. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__datasource_8h_source#l00441">441</a> of file <a className="el" href="/content/api/cpp/alter__datasource_8h_source">alter\_datasource.h</a>.</p>
      </div>
    </div>

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

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

      <div className="memdoc">
        <p>Optional parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/alter__datasource_8h_source#l00673">673</a> of file <a className="el" href="/content/api/cpp/alter__datasource_8h_source">alter\_datasource.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__datasource_8h_source">alter\_datasource.h</a></li>
    </ul>
  </div>
</div>
