Debian Codegraph @

docs/dyn/datastream_v1.projects.locations.connectionProfiles.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="datastream_v1.html">Datastream API</a> . <a href="datastream_v1.projects.html">projects</a> . <a href="datastream_v1.projects.locations.html">locations</a> . <a href="datastream_v1.projects.locations.connectionProfiles.html">connectionProfiles</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, connectionProfileId=None, force=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Use this method to create a connection profile in a project and location.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Use this method to delete a connection profile.</p>
86 <p class="toc_element">
87 <code><a href="#discover">discover(parent, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects of a parent data object that's optionally supplied in the request.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">Use this method to get details about a connection profile.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Use this method to list connection profiles created in a project and location.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, force=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Use this method to update the parameters of a connection profile.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="create">create(parent, body=None, connectionProfileId=None, force=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
109 <pre>Use this method to create a connection profile in a project and location.
110
111 Args:
112 parent: string, Required. The parent that owns the collection of ConnectionProfiles. (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # A set of reusable connection configurations to be used as a source or destination for a stream.
117 &quot;bigqueryProfile&quot;: { # Profile for connecting to a BigQuery destination. # Profile for connecting to a BigQuery destination.
118 },
119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time of the resource.
120 &quot;dataverseProfile&quot;: { # Profile for connecting to a Dataverse source. # Profile for connecting to a Dataverse source.
121 &quot;environmentUrl&quot;: &quot;A String&quot;, # Required. Environment URL of the Microsoft Dataverse instance. Example: `.crm.dynamics.com`
122 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Required. Credentials for authenticating with the Dataverse API.
123 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
124 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
125 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
126 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
127 },
128 },
129 &quot;tenantId&quot;: &quot;A String&quot;, # Required. Tenant id of the Microsoft Dataverse instance.
130 },
131 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
132 &quot;forwardSshConnectivity&quot;: { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity.
133 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SSH tunnel.
134 &quot;password&quot;: &quot;A String&quot;, # Input only. SSH password.
135 &quot;port&quot;: 42, # Port for the SSH tunnel, default value is 22.
136 &quot;privateKey&quot;: &quot;A String&quot;, # Input only. SSH private key.
137 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the SSH tunnel.
138 },
139 &quot;gcsProfile&quot;: { # Profile for connecting to a Cloud Storage destination. # Profile for connecting to a Cloud Storage destination.
140 &quot;bucket&quot;: &quot;A String&quot;, # Required. The Cloud Storage bucket name.
141 &quot;rootPath&quot;: &quot;A String&quot;, # Optional. The root path inside the Cloud Storage bucket.
142 },
143 &quot;labels&quot;: { # Labels.
144 &quot;a_key&quot;: &quot;A String&quot;,
145 },
146 &quot;mongodbProfile&quot;: { # Profile for connecting to a MongoDB source. # Profile for connecting to a MongoDB source.
147 &quot;additionalOptions&quot;: { # Optional. Specifies additional options for the MongoDB connection. The options should be sent as key-value pairs, for example: `additional_options = {&quot;serverSelectionTimeoutMS&quot;: &quot;10000&quot;, &quot;directConnection&quot;: &quot;true&quot;}`. Keys are case-sensitive and should match the official MongoDB connection string options: https://www.mongodb.com/docs/manual/reference/connection-string-options/ The server will not modify the values provided by the user.
148 &quot;a_key&quot;: &quot;A String&quot;,
149 },
150 &quot;hostAddresses&quot;: [ # Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.
151 { # A HostAddress represents a transport end point, which is the combination of an IP address or hostname and a port number.
152 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the connection.
153 &quot;port&quot;: 42, # Optional. Port for the connection.
154 },
155 ],
156 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the MongoDB connection. Mutually exclusive with the `secret_manager_stored_password` field.
157 &quot;replicaSet&quot;: &quot;A String&quot;, # Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.
158 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
159 &quot;srvConnectionFormat&quot;: { # Srv connection format. # Srv connection format.
160 },
161 &quot;sslConfig&quot;: { # MongoDB SSL configuration information. # Optional. SSL configuration for the MongoDB connection.
162 &quot;caCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
163 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field is set.
164 &quot;clientCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the &#x27;client_key&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
165 &quot;clientCertificateSet&quot;: True or False, # Output only. Indicates whether the client_certificate field is set.
166 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
167 &quot;clientKeySet&quot;: True or False, # Output only. Indicates whether the client_key field is set.
168 &quot;secretManagerStoredClientKey&quot;: &quot;A String&quot;, # Optional. Input only. A reference to a Secret Manager resource name storing the PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory. Mutually exclusive with the `client_key` field.
169 },
170 &quot;standardConnectionFormat&quot;: { # Standard connection format. # Standard connection format.
171 &quot;directConnection&quot;: True or False, # Optional. Deprecated: Use the `additional_options` map to specify the `directConnection` parameter instead. For example: `additional_options = {&quot;directConnection&quot;: &quot;true&quot;}`. Specifies whether the client connects directly to the host[:port] in the connection URI.
172 },
173 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MongoDB connection.
174 },
175 &quot;mysqlProfile&quot;: { # Profile for connecting to a MySQL source. # Profile for connecting to a MySQL source.
176 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the MySQL connection.
177 &quot;password&quot;: &quot;A String&quot;, # Optional. Input only. Password for the MySQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
178 &quot;port&quot;: 42, # Port for the MySQL connection, default value is 3306.
179 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the MySQL connection password. Mutually exclusive with the `password` field.
180 &quot;sslConfig&quot;: { # MySQL SSL configuration information. # SSL configuration for the MySQL connection.
181 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
182 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field is set.
183 &quot;clientCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the &#x27;client_key&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
184 &quot;clientCertificateSet&quot;: True or False, # Output only. Indicates whether the client_certificate field is set.
185 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
186 &quot;clientKeySet&quot;: True or False, # Output only. Indicates whether the client_key field is set.
187 },
188 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MySQL connection.
189 },
190 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource&#x27;s name.
191 &quot;oracleProfile&quot;: { # Profile for connecting to an Oracle source. # Profile for connecting to an Oracle source.
192 &quot;connectionAttributes&quot;: { # Connection string attributes
193 &quot;a_key&quot;: &quot;A String&quot;,
194 },
195 &quot;databaseService&quot;: &quot;A String&quot;, # Required. Database for the Oracle connection.
196 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the Oracle connection.
197 &quot;oracleAsmConfig&quot;: { # Configuration for Oracle Automatic Storage Management (ASM) connection. # Optional. Configuration for Oracle ASM connection.
198 &quot;asmService&quot;: &quot;A String&quot;, # Required. ASM service name for the Oracle ASM connection.
199 &quot;connectionAttributes&quot;: { # Optional. Connection string attributes
200 &quot;a_key&quot;: &quot;A String&quot;,
201 },
202 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the Oracle ASM connection.
203 &quot;oracleSslConfig&quot;: { # Oracle SSL configuration information. # Optional. SSL configuration for the Oracle connection.
204 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
205 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
206 &quot;serverCertificateDistinguishedName&quot;: &quot;A String&quot;, # Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
207 },
208 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Oracle ASM connection. Mutually exclusive with the `secret_manager_stored_password` field.
209 &quot;port&quot;: 42, # Required. Port for the Oracle ASM connection.
210 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Oracle ASM connection password. Mutually exclusive with the `password` field.
211 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Oracle ASM connection.
212 },
213 &quot;oracleSslConfig&quot;: { # Oracle SSL configuration information. # Optional. SSL configuration for the Oracle connection.
214 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
215 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
216 &quot;serverCertificateDistinguishedName&quot;: &quot;A String&quot;, # Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
217 },
218 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Oracle connection. Mutually exclusive with the `secret_manager_stored_password` field.
219 &quot;port&quot;: 42, # Port for the Oracle connection, default value is 1521.
220 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the `password` field.
221 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Oracle connection.
222 },
223 &quot;postgresqlProfile&quot;: { # Profile for connecting to a PostgreSQL source. # Profile for connecting to a PostgreSQL source.
224 &quot;database&quot;: &quot;A String&quot;, # Required. Database for the PostgreSQL connection.
225 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the PostgreSQL connection.
226 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the PostgreSQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
227 &quot;port&quot;: 42, # Port for the PostgreSQL connection, default value is 5432.
228 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the `password` field.
229 &quot;sslConfig&quot;: { # PostgreSQL SSL configuration information. # Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)
230 &quot;serverAndClientVerification&quot;: { # Message represents the option where Datastream will enforce the encryption and authenticate the server identity as well as the client identity. ca_certificate, client_certificate and client_key must be set if user selects this option. # If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated.
231 &quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded server root CA certificate.
232 &quot;clientCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream&#x27;s identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.
233 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client&#x27;s identity, i.e. identity of the Datastream.
234 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
235 },
236 &quot;serverVerification&quot;: { # Message represents the option where Datastream will enforce the encryption and authenticate the server identity. ca_certificate must be set if user selects this option. # If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.
237 &quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded server root CA certificate.
238 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
239 },
240 },
241 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the PostgreSQL connection.
242 },
243 &quot;privateConnectivity&quot;: { # Private Connectivity # Private connectivity.
244 &quot;privateConnection&quot;: &quot;A String&quot;, # Required. A reference to a private connection resource. Format: `projects/{project}/locations/{location}/privateConnections/{name}`
245 },
246 &quot;salesforceMarketingCloudProfile&quot;: { # Profile for connecting to a Salesforce Marketing Cloud source. # Profile for connecting to a Salesforce Marketing Cloud source.
247 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.
248 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
249 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
250 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
251 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
252 },
253 },
254 &quot;subdomain&quot;: &quot;A String&quot;, # Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is `https://{your-specific-subdomain}.rest.marketingcloudapis.com/`, the subdomain is `{your-specific-subdomain}`. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).
255 },
256 &quot;salesforceProfile&quot;: { # Profile for connecting to a Salesforce source. # Profile for connecting to a Salesforce source.
257 &quot;domain&quot;: &quot;A String&quot;, # Required. Domain endpoint for the Salesforce connection.
258 &quot;oauth2ClientCredentials&quot;: { # OAuth2 Client Credentials. # Connected app authentication.
259 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for Salesforce OAuth2 Client Credentials.
260 &quot;clientSecret&quot;: &quot;A String&quot;, # Optional. Client secret for Salesforce OAuth2 Client Credentials. Mutually exclusive with the `secret_manager_stored_client_secret` field.
261 &quot;secretManagerStoredClientSecret&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce OAuth2 client_secret. Mutually exclusive with the `client_secret` field.
262 },
263 &quot;userCredentials&quot;: { # Username-password credentials. # User-password authentication.
264 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_password` field.
265 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce connection&#x27;s password. Mutually exclusive with the `password` field.
266 &quot;secretManagerStoredSecurityToken&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce connection&#x27;s security token. Mutually exclusive with the `security_token` field.
267 &quot;securityToken&quot;: &quot;A String&quot;, # Optional. Security token for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_security_token` field.
268 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Salesforce connection.
269 },
270 },
271 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
272 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
273 &quot;serviceNowProfile&quot;: { # Profile for connecting to a ServiceNow source. # Profile for connecting to a ServiceNow source.
274 &quot;instance&quot;: &quot;A String&quot;, # Required. The instance of the ServiceNow account. This is the `` part of the URL `https://.service-now.com`.
275 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Credentials for authenticating with the ServiceNow API.
276 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
277 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
278 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
279 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
280 },
281 },
282 &quot;userPasswordCredentials&quot;: { # User-password credentials. # User-password authentication.
283 &quot;password&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Password for the connection.
284 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
285 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
286 },
287 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the connection.
288 },
289 },
290 &quot;spannerProfile&quot;: { # Profile for connecting to a Spanner source. # Profile for connecting to a Spanner source.
291 &quot;database&quot;: &quot;A String&quot;, # Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.
292 &quot;host&quot;: &quot;A String&quot;, # Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.
293 },
294 &quot;sqlServerProfile&quot;: { # Profile for connecting to a SQLServer source. # Profile for connecting to a SQLServer source.
295 &quot;database&quot;: &quot;A String&quot;, # Required. Database for the SQLServer connection.
296 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SQLServer connection.
297 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the SQLServer connection. Mutually exclusive with the `secret_manager_stored_password` field.
298 &quot;port&quot;: 42, # Port for the SQLServer connection, default value is 1433.
299 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
300 &quot;sslConfig&quot;: { # SQL Server SSL configuration information. # Optional. SSL configuration for the SQLServer connection.
301 &quot;basicEncryption&quot;: { # Message to represent the option where Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default. # If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.
302 },
303 &quot;encryptionAndServerValidation&quot;: { # Message to represent the option where Datastream will enforce encryption and authenticate server identity. ca_certificate must be set if user selects this option. # If set, Datastream will enforce encryption and authenticate server identity.
304 &quot;caCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
305 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. This field is used for bypassing the hostname validation while verifying server certificate. This is required for scenarios where the host name that datastream connects to is different from the certificate&#x27;s subject. This specifically happens for private connectivity. It could also happen when the customer provides a public IP in connection profile but the same is not present in the server certificate.
306 },
307 &quot;encryptionNotEnforced&quot;: { # Message to represent the option where encryption is not enforced. An empty message right now to allow future extensibility. # If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.
308 },
309 },
310 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the SQLServer connection.
311 },
312 &quot;staticServiceIpConnectivity&quot;: { # Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile. # Static Service IP connectivity.
313 },
314 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time of the resource.
315 }
316
317 connectionProfileId: string, Required. The connection profile identifier.
318 force: boolean, Optional. Create the connection profile without validating it.
319 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
320 validateOnly: boolean, Optional. Only validate the connection profile, but don&#x27;t create any resources. The default is false.
321 x__xgafv: string, V1 error format.
322 Allowed values
323 1 - v1 error format
324 2 - v2 error format
325
326 Returns:
327 An object of the form:
328
329 { # This resource represents a long-running operation that is the result of a network API call.
330 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
331 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
332 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
333 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
334 {
335 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
336 },
337 ],
338 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
339 },
340 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
341 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
342 },
343 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
344 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
345 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
346 },
347 }</pre>
348 </div>
349
350 <div class="method">
351 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
352 <pre>Use this method to delete a connection profile.
353
354 Args:
355 name: string, Required. The name of the connection profile resource to delete. (required)
356 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
357 x__xgafv: string, V1 error format.
358 Allowed values
359 1 - v1 error format
360 2 - v2 error format
361
362 Returns:
363 An object of the form:
364
365 { # This resource represents a long-running operation that is the result of a network API call.
366 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
367 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
368 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
369 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
370 {
371 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
372 },
373 ],
374 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
375 },
376 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
377 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
378 },
379 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
380 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
381 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
382 },
383 }</pre>
384 </div>
385
386 <div class="method">
387 <code class="details" id="discover">discover(parent, body=None, x__xgafv=None)</code>
388 <pre>Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects of a parent data object that&#x27;s optionally supplied in the request.
389
390 Args:
391 parent: string, Required. The parent resource of the connection profile type. Must be in the format `projects/*/locations/*`. (required)
392 body: object, The request body.
393 The object takes the form of:
394
395 { # Request message for &#x27;discover&#x27; ConnectionProfile request.
396 &quot;connectionProfile&quot;: { # A set of reusable connection configurations to be used as a source or destination for a stream. # Optional. An ad-hoc connection profile configuration.
397 &quot;bigqueryProfile&quot;: { # Profile for connecting to a BigQuery destination. # Profile for connecting to a BigQuery destination.
398 },
399 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time of the resource.
400 &quot;dataverseProfile&quot;: { # Profile for connecting to a Dataverse source. # Profile for connecting to a Dataverse source.
401 &quot;environmentUrl&quot;: &quot;A String&quot;, # Required. Environment URL of the Microsoft Dataverse instance. Example: `.crm.dynamics.com`
402 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Required. Credentials for authenticating with the Dataverse API.
403 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
404 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
405 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
406 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
407 },
408 },
409 &quot;tenantId&quot;: &quot;A String&quot;, # Required. Tenant id of the Microsoft Dataverse instance.
410 },
411 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
412 &quot;forwardSshConnectivity&quot;: { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity.
413 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SSH tunnel.
414 &quot;password&quot;: &quot;A String&quot;, # Input only. SSH password.
415 &quot;port&quot;: 42, # Port for the SSH tunnel, default value is 22.
416 &quot;privateKey&quot;: &quot;A String&quot;, # Input only. SSH private key.
417 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the SSH tunnel.
418 },
419 &quot;gcsProfile&quot;: { # Profile for connecting to a Cloud Storage destination. # Profile for connecting to a Cloud Storage destination.
420 &quot;bucket&quot;: &quot;A String&quot;, # Required. The Cloud Storage bucket name.
421 &quot;rootPath&quot;: &quot;A String&quot;, # Optional. The root path inside the Cloud Storage bucket.
422 },
423 &quot;labels&quot;: { # Labels.
424 &quot;a_key&quot;: &quot;A String&quot;,
425 },
426 &quot;mongodbProfile&quot;: { # Profile for connecting to a MongoDB source. # Profile for connecting to a MongoDB source.
427 &quot;additionalOptions&quot;: { # Optional. Specifies additional options for the MongoDB connection. The options should be sent as key-value pairs, for example: `additional_options = {&quot;serverSelectionTimeoutMS&quot;: &quot;10000&quot;, &quot;directConnection&quot;: &quot;true&quot;}`. Keys are case-sensitive and should match the official MongoDB connection string options: https://www.mongodb.com/docs/manual/reference/connection-string-options/ The server will not modify the values provided by the user.
428 &quot;a_key&quot;: &quot;A String&quot;,
429 },
430 &quot;hostAddresses&quot;: [ # Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.
431 { # A HostAddress represents a transport end point, which is the combination of an IP address or hostname and a port number.
432 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the connection.
433 &quot;port&quot;: 42, # Optional. Port for the connection.
434 },
435 ],
436 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the MongoDB connection. Mutually exclusive with the `secret_manager_stored_password` field.
437 &quot;replicaSet&quot;: &quot;A String&quot;, # Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.
438 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
439 &quot;srvConnectionFormat&quot;: { # Srv connection format. # Srv connection format.
440 },
441 &quot;sslConfig&quot;: { # MongoDB SSL configuration information. # Optional. SSL configuration for the MongoDB connection.
442 &quot;caCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
443 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field is set.
444 &quot;clientCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the &#x27;client_key&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
445 &quot;clientCertificateSet&quot;: True or False, # Output only. Indicates whether the client_certificate field is set.
446 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
447 &quot;clientKeySet&quot;: True or False, # Output only. Indicates whether the client_key field is set.
448 &quot;secretManagerStoredClientKey&quot;: &quot;A String&quot;, # Optional. Input only. A reference to a Secret Manager resource name storing the PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory. Mutually exclusive with the `client_key` field.
449 },
450 &quot;standardConnectionFormat&quot;: { # Standard connection format. # Standard connection format.
451 &quot;directConnection&quot;: True or False, # Optional. Deprecated: Use the `additional_options` map to specify the `directConnection` parameter instead. For example: `additional_options = {&quot;directConnection&quot;: &quot;true&quot;}`. Specifies whether the client connects directly to the host[:port] in the connection URI.
452 },
453 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MongoDB connection.
454 },
455 &quot;mysqlProfile&quot;: { # Profile for connecting to a MySQL source. # Profile for connecting to a MySQL source.
456 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the MySQL connection.
457 &quot;password&quot;: &quot;A String&quot;, # Optional. Input only. Password for the MySQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
458 &quot;port&quot;: 42, # Port for the MySQL connection, default value is 3306.
459 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the MySQL connection password. Mutually exclusive with the `password` field.
460 &quot;sslConfig&quot;: { # MySQL SSL configuration information. # SSL configuration for the MySQL connection.
461 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
462 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field is set.
463 &quot;clientCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the &#x27;client_key&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
464 &quot;clientCertificateSet&quot;: True or False, # Output only. Indicates whether the client_certificate field is set.
465 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
466 &quot;clientKeySet&quot;: True or False, # Output only. Indicates whether the client_key field is set.
467 },
468 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MySQL connection.
469 },
470 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource&#x27;s name.
471 &quot;oracleProfile&quot;: { # Profile for connecting to an Oracle source. # Profile for connecting to an Oracle source.
472 &quot;connectionAttributes&quot;: { # Connection string attributes
473 &quot;a_key&quot;: &quot;A String&quot;,
474 },
475 &quot;databaseService&quot;: &quot;A String&quot;, # Required. Database for the Oracle connection.
476 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the Oracle connection.
477 &quot;oracleAsmConfig&quot;: { # Configuration for Oracle Automatic Storage Management (ASM) connection. # Optional. Configuration for Oracle ASM connection.
478 &quot;asmService&quot;: &quot;A String&quot;, # Required. ASM service name for the Oracle ASM connection.
479 &quot;connectionAttributes&quot;: { # Optional. Connection string attributes
480 &quot;a_key&quot;: &quot;A String&quot;,
481 },
482 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the Oracle ASM connection.
483 &quot;oracleSslConfig&quot;: { # Oracle SSL configuration information. # Optional. SSL configuration for the Oracle connection.
484 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
485 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
486 &quot;serverCertificateDistinguishedName&quot;: &quot;A String&quot;, # Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
487 },
488 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Oracle ASM connection. Mutually exclusive with the `secret_manager_stored_password` field.
489 &quot;port&quot;: 42, # Required. Port for the Oracle ASM connection.
490 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Oracle ASM connection password. Mutually exclusive with the `password` field.
491 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Oracle ASM connection.
492 },
493 &quot;oracleSslConfig&quot;: { # Oracle SSL configuration information. # Optional. SSL configuration for the Oracle connection.
494 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
495 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
496 &quot;serverCertificateDistinguishedName&quot;: &quot;A String&quot;, # Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
497 },
498 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Oracle connection. Mutually exclusive with the `secret_manager_stored_password` field.
499 &quot;port&quot;: 42, # Port for the Oracle connection, default value is 1521.
500 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the `password` field.
501 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Oracle connection.
502 },
503 &quot;postgresqlProfile&quot;: { # Profile for connecting to a PostgreSQL source. # Profile for connecting to a PostgreSQL source.
504 &quot;database&quot;: &quot;A String&quot;, # Required. Database for the PostgreSQL connection.
505 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the PostgreSQL connection.
506 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the PostgreSQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
507 &quot;port&quot;: 42, # Port for the PostgreSQL connection, default value is 5432.
508 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the `password` field.
509 &quot;sslConfig&quot;: { # PostgreSQL SSL configuration information. # Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)
510 &quot;serverAndClientVerification&quot;: { # Message represents the option where Datastream will enforce the encryption and authenticate the server identity as well as the client identity. ca_certificate, client_certificate and client_key must be set if user selects this option. # If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated.
511 &quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded server root CA certificate.
512 &quot;clientCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream&#x27;s identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.
513 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client&#x27;s identity, i.e. identity of the Datastream.
514 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
515 },
516 &quot;serverVerification&quot;: { # Message represents the option where Datastream will enforce the encryption and authenticate the server identity. ca_certificate must be set if user selects this option. # If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.
517 &quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded server root CA certificate.
518 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
519 },
520 },
521 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the PostgreSQL connection.
522 },
523 &quot;privateConnectivity&quot;: { # Private Connectivity # Private connectivity.
524 &quot;privateConnection&quot;: &quot;A String&quot;, # Required. A reference to a private connection resource. Format: `projects/{project}/locations/{location}/privateConnections/{name}`
525 },
526 &quot;salesforceMarketingCloudProfile&quot;: { # Profile for connecting to a Salesforce Marketing Cloud source. # Profile for connecting to a Salesforce Marketing Cloud source.
527 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.
528 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
529 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
530 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
531 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
532 },
533 },
534 &quot;subdomain&quot;: &quot;A String&quot;, # Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is `https://{your-specific-subdomain}.rest.marketingcloudapis.com/`, the subdomain is `{your-specific-subdomain}`. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).
535 },
536 &quot;salesforceProfile&quot;: { # Profile for connecting to a Salesforce source. # Profile for connecting to a Salesforce source.
537 &quot;domain&quot;: &quot;A String&quot;, # Required. Domain endpoint for the Salesforce connection.
538 &quot;oauth2ClientCredentials&quot;: { # OAuth2 Client Credentials. # Connected app authentication.
539 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for Salesforce OAuth2 Client Credentials.
540 &quot;clientSecret&quot;: &quot;A String&quot;, # Optional. Client secret for Salesforce OAuth2 Client Credentials. Mutually exclusive with the `secret_manager_stored_client_secret` field.
541 &quot;secretManagerStoredClientSecret&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce OAuth2 client_secret. Mutually exclusive with the `client_secret` field.
542 },
543 &quot;userCredentials&quot;: { # Username-password credentials. # User-password authentication.
544 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_password` field.
545 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce connection&#x27;s password. Mutually exclusive with the `password` field.
546 &quot;secretManagerStoredSecurityToken&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce connection&#x27;s security token. Mutually exclusive with the `security_token` field.
547 &quot;securityToken&quot;: &quot;A String&quot;, # Optional. Security token for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_security_token` field.
548 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Salesforce connection.
549 },
550 },
551 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
552 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
553 &quot;serviceNowProfile&quot;: { # Profile for connecting to a ServiceNow source. # Profile for connecting to a ServiceNow source.
554 &quot;instance&quot;: &quot;A String&quot;, # Required. The instance of the ServiceNow account. This is the `` part of the URL `https://.service-now.com`.
555 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Credentials for authenticating with the ServiceNow API.
556 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
557 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
558 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
559 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
560 },
561 },
562 &quot;userPasswordCredentials&quot;: { # User-password credentials. # User-password authentication.
563 &quot;password&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Password for the connection.
564 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
565 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
566 },
567 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the connection.
568 },
569 },
570 &quot;spannerProfile&quot;: { # Profile for connecting to a Spanner source. # Profile for connecting to a Spanner source.
571 &quot;database&quot;: &quot;A String&quot;, # Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.
572 &quot;host&quot;: &quot;A String&quot;, # Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.
573 },
574 &quot;sqlServerProfile&quot;: { # Profile for connecting to a SQLServer source. # Profile for connecting to a SQLServer source.
575 &quot;database&quot;: &quot;A String&quot;, # Required. Database for the SQLServer connection.
576 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SQLServer connection.
577 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the SQLServer connection. Mutually exclusive with the `secret_manager_stored_password` field.
578 &quot;port&quot;: 42, # Port for the SQLServer connection, default value is 1433.
579 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
580 &quot;sslConfig&quot;: { # SQL Server SSL configuration information. # Optional. SSL configuration for the SQLServer connection.
581 &quot;basicEncryption&quot;: { # Message to represent the option where Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default. # If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.
582 },
583 &quot;encryptionAndServerValidation&quot;: { # Message to represent the option where Datastream will enforce encryption and authenticate server identity. ca_certificate must be set if user selects this option. # If set, Datastream will enforce encryption and authenticate server identity.
584 &quot;caCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
585 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. This field is used for bypassing the hostname validation while verifying server certificate. This is required for scenarios where the host name that datastream connects to is different from the certificate&#x27;s subject. This specifically happens for private connectivity. It could also happen when the customer provides a public IP in connection profile but the same is not present in the server certificate.
586 },
587 &quot;encryptionNotEnforced&quot;: { # Message to represent the option where encryption is not enforced. An empty message right now to allow future extensibility. # If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.
588 },
589 },
590 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the SQLServer connection.
591 },
592 &quot;staticServiceIpConnectivity&quot;: { # Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile. # Static Service IP connectivity.
593 },
594 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time of the resource.
595 },
596 &quot;connectionProfileName&quot;: &quot;A String&quot;, # Optional. A reference to an existing connection profile.
597 &quot;fullHierarchy&quot;: True or False, # Optional. Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE).
598 &quot;hierarchyDepth&quot;: 42, # Optional. The number of hierarchy levels below the current level to be retrieved.
599 &quot;mongodbCluster&quot;: { # MongoDB Cluster structure. # Optional. MongoDB cluster to enrich with child data objects and metadata.
600 &quot;databases&quot;: [ # MongoDB databases in the cluster.
601 { # MongoDB Database.
602 &quot;collections&quot;: [ # Collections in the database.
603 { # MongoDB Collection.
604 &quot;collection&quot;: &quot;A String&quot;, # The collection name.
605 &quot;fields&quot;: [ # Fields in the collection.
606 { # MongoDB Field.
607 &quot;field&quot;: &quot;A String&quot;, # The field name.
608 },
609 ],
610 },
611 ],
612 &quot;database&quot;: &quot;A String&quot;, # The database name.
613 },
614 ],
615 },
616 &quot;mysqlRdbms&quot;: { # MySQL database structure # Optional. MySQL RDBMS to enrich with child data objects and metadata.
617 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
618 { # MySQL database.
619 &quot;database&quot;: &quot;A String&quot;, # The database name.
620 &quot;mysqlTables&quot;: [ # Tables in the database.
621 { # MySQL table.
622 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.
623 { # MySQL Column.
624 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
625 &quot;column&quot;: &quot;A String&quot;, # The column name.
626 &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
627 &quot;length&quot;: 42, # Column length.
628 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
629 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
630 &quot;precision&quot;: 42, # Column precision.
631 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
632 &quot;scale&quot;: 42, # Column scale.
633 },
634 ],
635 &quot;table&quot;: &quot;A String&quot;, # The table name.
636 },
637 ],
638 },
639 ],
640 },
641 &quot;oracleRdbms&quot;: { # Oracle database structure. # Optional. Oracle RDBMS to enrich with child data objects and metadata.
642 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
643 { # Oracle schema.
644 &quot;oracleTables&quot;: [ # Tables in the schema.
645 { # Oracle table.
646 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
647 { # Oracle Column.
648 &quot;column&quot;: &quot;A String&quot;, # The column name.
649 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
650 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
651 &quot;length&quot;: 42, # Column length.
652 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
653 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
654 &quot;precision&quot;: 42, # Column precision.
655 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
656 &quot;scale&quot;: 42, # Column scale.
657 },
658 ],
659 &quot;table&quot;: &quot;A String&quot;, # The table name.
660 },
661 ],
662 &quot;schema&quot;: &quot;A String&quot;, # The schema name.
663 },
664 ],
665 },
666 &quot;postgresqlRdbms&quot;: { # PostgreSQL database structure. # Optional. PostgreSQL RDBMS to enrich with child data objects and metadata.
667 &quot;postgresqlSchemas&quot;: [ # PostgreSQL schemas in the database server.
668 { # PostgreSQL schema.
669 &quot;postgresqlTables&quot;: [ # Tables in the schema.
670 { # PostgreSQL table.
671 &quot;postgresqlColumns&quot;: [ # PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
672 { # PostgreSQL Column.
673 &quot;column&quot;: &quot;A String&quot;, # The column name.
674 &quot;dataType&quot;: &quot;A String&quot;, # The PostgreSQL data type.
675 &quot;length&quot;: 42, # Column length.
676 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
677 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
678 &quot;precision&quot;: 42, # Column precision.
679 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
680 &quot;scale&quot;: 42, # Column scale.
681 },
682 ],
683 &quot;table&quot;: &quot;A String&quot;, # The table name.
684 },
685 ],
686 &quot;schema&quot;: &quot;A String&quot;, # The schema name.
687 },
688 ],
689 },
690 &quot;salesforceOrg&quot;: { # Salesforce organization structure. # Optional. Salesforce organization to enrich with child data objects and metadata.
691 &quot;objects&quot;: [ # Salesforce objects in the database server.
692 { # Salesforce object.
693 &quot;fields&quot;: [ # Salesforce fields. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.
694 { # Salesforce field.
695 &quot;dataType&quot;: &quot;A String&quot;, # The data type.
696 &quot;name&quot;: &quot;A String&quot;, # The field name.
697 &quot;nillable&quot;: True or False, # Indicates whether the field can accept nil values.
698 },
699 ],
700 &quot;objectName&quot;: &quot;A String&quot;, # The object name.
701 },
702 ],
703 },
704 &quot;sourceCatalog&quot;: { # Source catalog. # Optional. Source catalog to enrich with child data objects and metadata. This is mainly used to represent SaaS sources databases.
705 &quot;objects&quot;: [ # Optional. Source objects in the catalog.
706 { # Source object.
707 &quot;objectName&quot;: &quot;A String&quot;, # Required. The object name.
708 &quot;properties&quot;: [ # Optional. Source properties. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.
709 { # Source property.
710 &quot;primaryKey&quot;: True or False, # Optional. Whether or not the property is a primary key.
711 &quot;properties&quot;: [ # Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.
712 # Object with schema name: SourceProperty
713 ],
714 &quot;propertyName&quot;: &quot;A String&quot;, # Required. The property name.
715 },
716 ],
717 },
718 ],
719 },
720 &quot;spannerDatabase&quot;: { # Spanner database structure. # Optional. Spanner database to enrich with child data objects and metadata.
721 &quot;schemas&quot;: [ # Optional. Spanner schemas in the database.
722 { # Spanner schema.
723 &quot;schema&quot;: &quot;A String&quot;, # Required. The schema name.
724 &quot;tables&quot;: [ # Optional. Spanner tables in the schema.
725 { # Spanner table.
726 &quot;columns&quot;: [ # Optional. Spanner columns in the table.
727 { # Spanner column.
728 &quot;column&quot;: &quot;A String&quot;, # Required. The column name.
729 &quot;dataType&quot;: &quot;A String&quot;, # Optional. Spanner data type.
730 &quot;isPrimaryKey&quot;: True or False, # Optional. Whether or not the column is a primary key.
731 &quot;ordinalPosition&quot;: &quot;A String&quot;, # Optional. The ordinal position of the column in the table.
732 },
733 ],
734 &quot;table&quot;: &quot;A String&quot;, # Required. The table name.
735 },
736 ],
737 },
738 ],
739 },
740 &quot;sqlServerRdbms&quot;: { # SQLServer database structure. # Optional. SQLServer RDBMS to enrich with child data objects and metadata.
741 &quot;schemas&quot;: [ # SQLServer schemas in the database server.
742 { # SQLServer schema.
743 &quot;schema&quot;: &quot;A String&quot;, # The schema name.
744 &quot;tables&quot;: [ # Tables in the schema.
745 { # SQLServer table.
746 &quot;columns&quot;: [ # SQLServer columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
747 { # SQLServer Column.
748 &quot;column&quot;: &quot;A String&quot;, # The column name.
749 &quot;dataType&quot;: &quot;A String&quot;, # The SQLServer data type.
750 &quot;length&quot;: 42, # Column length.
751 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
752 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
753 &quot;precision&quot;: 42, # Column precision.
754 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
755 &quot;scale&quot;: 42, # Column scale.
756 },
757 ],
758 &quot;table&quot;: &quot;A String&quot;, # The table name.
759 },
760 ],
761 },
762 ],
763 },
764 }
765
766 x__xgafv: string, V1 error format.
767 Allowed values
768 1 - v1 error format
769 2 - v2 error format
770
771 Returns:
772 An object of the form:
773
774 { # Response from a discover request.
775 &quot;mongodbCluster&quot;: { # MongoDB Cluster structure. # Enriched MongoDB cluster.
776 &quot;databases&quot;: [ # MongoDB databases in the cluster.
777 { # MongoDB Database.
778 &quot;collections&quot;: [ # Collections in the database.
779 { # MongoDB Collection.
780 &quot;collection&quot;: &quot;A String&quot;, # The collection name.
781 &quot;fields&quot;: [ # Fields in the collection.
782 { # MongoDB Field.
783 &quot;field&quot;: &quot;A String&quot;, # The field name.
784 },
785 ],
786 },
787 ],
788 &quot;database&quot;: &quot;A String&quot;, # The database name.
789 },
790 ],
791 },
792 &quot;mysqlRdbms&quot;: { # MySQL database structure # Enriched MySQL RDBMS object.
793 &quot;mysqlDatabases&quot;: [ # Mysql databases on the server
794 { # MySQL database.
795 &quot;database&quot;: &quot;A String&quot;, # The database name.
796 &quot;mysqlTables&quot;: [ # Tables in the database.
797 { # MySQL table.
798 &quot;mysqlColumns&quot;: [ # MySQL columns in the database. When unspecified as part of include/exclude objects, includes/excludes everything.
799 { # MySQL Column.
800 &quot;collation&quot;: &quot;A String&quot;, # Column collation.
801 &quot;column&quot;: &quot;A String&quot;, # The column name.
802 &quot;dataType&quot;: &quot;A String&quot;, # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
803 &quot;length&quot;: 42, # Column length.
804 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
805 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
806 &quot;precision&quot;: 42, # Column precision.
807 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
808 &quot;scale&quot;: 42, # Column scale.
809 },
810 ],
811 &quot;table&quot;: &quot;A String&quot;, # The table name.
812 },
813 ],
814 },
815 ],
816 },
817 &quot;oracleRdbms&quot;: { # Oracle database structure. # Enriched Oracle RDBMS object.
818 &quot;oracleSchemas&quot;: [ # Oracle schemas/databases in the database server.
819 { # Oracle schema.
820 &quot;oracleTables&quot;: [ # Tables in the schema.
821 { # Oracle table.
822 &quot;oracleColumns&quot;: [ # Oracle columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
823 { # Oracle Column.
824 &quot;column&quot;: &quot;A String&quot;, # The column name.
825 &quot;dataType&quot;: &quot;A String&quot;, # The Oracle data type.
826 &quot;encoding&quot;: &quot;A String&quot;, # Column encoding.
827 &quot;length&quot;: 42, # Column length.
828 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
829 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
830 &quot;precision&quot;: 42, # Column precision.
831 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
832 &quot;scale&quot;: 42, # Column scale.
833 },
834 ],
835 &quot;table&quot;: &quot;A String&quot;, # The table name.
836 },
837 ],
838 &quot;schema&quot;: &quot;A String&quot;, # The schema name.
839 },
840 ],
841 },
842 &quot;postgresqlRdbms&quot;: { # PostgreSQL database structure. # Enriched PostgreSQL RDBMS object.
843 &quot;postgresqlSchemas&quot;: [ # PostgreSQL schemas in the database server.
844 { # PostgreSQL schema.
845 &quot;postgresqlTables&quot;: [ # Tables in the schema.
846 { # PostgreSQL table.
847 &quot;postgresqlColumns&quot;: [ # PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
848 { # PostgreSQL Column.
849 &quot;column&quot;: &quot;A String&quot;, # The column name.
850 &quot;dataType&quot;: &quot;A String&quot;, # The PostgreSQL data type.
851 &quot;length&quot;: 42, # Column length.
852 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
853 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
854 &quot;precision&quot;: 42, # Column precision.
855 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
856 &quot;scale&quot;: 42, # Column scale.
857 },
858 ],
859 &quot;table&quot;: &quot;A String&quot;, # The table name.
860 },
861 ],
862 &quot;schema&quot;: &quot;A String&quot;, # The schema name.
863 },
864 ],
865 },
866 &quot;salesforceOrg&quot;: { # Salesforce organization structure. # Enriched Salesforce organization.
867 &quot;objects&quot;: [ # Salesforce objects in the database server.
868 { # Salesforce object.
869 &quot;fields&quot;: [ # Salesforce fields. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.
870 { # Salesforce field.
871 &quot;dataType&quot;: &quot;A String&quot;, # The data type.
872 &quot;name&quot;: &quot;A String&quot;, # The field name.
873 &quot;nillable&quot;: True or False, # Indicates whether the field can accept nil values.
874 },
875 ],
876 &quot;objectName&quot;: &quot;A String&quot;, # The object name.
877 },
878 ],
879 },
880 &quot;sourceCatalog&quot;: { # Source catalog. # Enriched source catalog. This is mainly used to represent SaaS sources databases.
881 &quot;objects&quot;: [ # Optional. Source objects in the catalog.
882 { # Source object.
883 &quot;objectName&quot;: &quot;A String&quot;, # Required. The object name.
884 &quot;properties&quot;: [ # Optional. Source properties. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.
885 { # Source property.
886 &quot;primaryKey&quot;: True or False, # Optional. Whether or not the property is a primary key.
887 &quot;properties&quot;: [ # Optional. Source properties. When specified, it means that the current property contains nested properties of its own. When unspecified as part of include objects, includes everything, when unspecified as part of exclude objects, excludes nothing.
888 # Object with schema name: SourceProperty
889 ],
890 &quot;propertyName&quot;: &quot;A String&quot;, # Required. The property name.
891 },
892 ],
893 },
894 ],
895 },
896 &quot;spannerDatabase&quot;: { # Spanner database structure. # Enriched Spanner database.
897 &quot;schemas&quot;: [ # Optional. Spanner schemas in the database.
898 { # Spanner schema.
899 &quot;schema&quot;: &quot;A String&quot;, # Required. The schema name.
900 &quot;tables&quot;: [ # Optional. Spanner tables in the schema.
901 { # Spanner table.
902 &quot;columns&quot;: [ # Optional. Spanner columns in the table.
903 { # Spanner column.
904 &quot;column&quot;: &quot;A String&quot;, # Required. The column name.
905 &quot;dataType&quot;: &quot;A String&quot;, # Optional. Spanner data type.
906 &quot;isPrimaryKey&quot;: True or False, # Optional. Whether or not the column is a primary key.
907 &quot;ordinalPosition&quot;: &quot;A String&quot;, # Optional. The ordinal position of the column in the table.
908 },
909 ],
910 &quot;table&quot;: &quot;A String&quot;, # Required. The table name.
911 },
912 ],
913 },
914 ],
915 },
916 &quot;sqlServerRdbms&quot;: { # SQLServer database structure. # Enriched SQLServer RDBMS object.
917 &quot;schemas&quot;: [ # SQLServer schemas in the database server.
918 { # SQLServer schema.
919 &quot;schema&quot;: &quot;A String&quot;, # The schema name.
920 &quot;tables&quot;: [ # Tables in the schema.
921 { # SQLServer table.
922 &quot;columns&quot;: [ # SQLServer columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything.
923 { # SQLServer Column.
924 &quot;column&quot;: &quot;A String&quot;, # The column name.
925 &quot;dataType&quot;: &quot;A String&quot;, # The SQLServer data type.
926 &quot;length&quot;: 42, # Column length.
927 &quot;nullable&quot;: True or False, # Whether or not the column can accept a null value.
928 &quot;ordinalPosition&quot;: 42, # The ordinal position of the column in the table.
929 &quot;precision&quot;: 42, # Column precision.
930 &quot;primaryKey&quot;: True or False, # Whether or not the column represents a primary key.
931 &quot;scale&quot;: 42, # Column scale.
932 },
933 ],
934 &quot;table&quot;: &quot;A String&quot;, # The table name.
935 },
936 ],
937 },
938 ],
939 },
940 }</pre>
941 </div>
942
943 <div class="method">
944 <code class="details" id="get">get(name, x__xgafv=None)</code>
945 <pre>Use this method to get details about a connection profile.
946
947 Args:
948 name: string, Required. The name of the connection profile resource to get. (required)
949 x__xgafv: string, V1 error format.
950 Allowed values
951 1 - v1 error format
952 2 - v2 error format
953
954 Returns:
955 An object of the form:
956
957 { # A set of reusable connection configurations to be used as a source or destination for a stream.
958 &quot;bigqueryProfile&quot;: { # Profile for connecting to a BigQuery destination. # Profile for connecting to a BigQuery destination.
959 },
960 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time of the resource.
961 &quot;dataverseProfile&quot;: { # Profile for connecting to a Dataverse source. # Profile for connecting to a Dataverse source.
962 &quot;environmentUrl&quot;: &quot;A String&quot;, # Required. Environment URL of the Microsoft Dataverse instance. Example: `.crm.dynamics.com`
963 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Required. Credentials for authenticating with the Dataverse API.
964 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
965 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
966 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
967 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
968 },
969 },
970 &quot;tenantId&quot;: &quot;A String&quot;, # Required. Tenant id of the Microsoft Dataverse instance.
971 },
972 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
973 &quot;forwardSshConnectivity&quot;: { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity.
974 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SSH tunnel.
975 &quot;password&quot;: &quot;A String&quot;, # Input only. SSH password.
976 &quot;port&quot;: 42, # Port for the SSH tunnel, default value is 22.
977 &quot;privateKey&quot;: &quot;A String&quot;, # Input only. SSH private key.
978 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the SSH tunnel.
979 },
980 &quot;gcsProfile&quot;: { # Profile for connecting to a Cloud Storage destination. # Profile for connecting to a Cloud Storage destination.
981 &quot;bucket&quot;: &quot;A String&quot;, # Required. The Cloud Storage bucket name.
982 &quot;rootPath&quot;: &quot;A String&quot;, # Optional. The root path inside the Cloud Storage bucket.
983 },
984 &quot;labels&quot;: { # Labels.
985 &quot;a_key&quot;: &quot;A String&quot;,
986 },
987 &quot;mongodbProfile&quot;: { # Profile for connecting to a MongoDB source. # Profile for connecting to a MongoDB source.
988 &quot;additionalOptions&quot;: { # Optional. Specifies additional options for the MongoDB connection. The options should be sent as key-value pairs, for example: `additional_options = {&quot;serverSelectionTimeoutMS&quot;: &quot;10000&quot;, &quot;directConnection&quot;: &quot;true&quot;}`. Keys are case-sensitive and should match the official MongoDB connection string options: https://www.mongodb.com/docs/manual/reference/connection-string-options/ The server will not modify the values provided by the user.
989 &quot;a_key&quot;: &quot;A String&quot;,
990 },
991 &quot;hostAddresses&quot;: [ # Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.
992 { # A HostAddress represents a transport end point, which is the combination of an IP address or hostname and a port number.
993 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the connection.
994 &quot;port&quot;: 42, # Optional. Port for the connection.
995 },
996 ],
997 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the MongoDB connection. Mutually exclusive with the `secret_manager_stored_password` field.
998 &quot;replicaSet&quot;: &quot;A String&quot;, # Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.
999 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
1000 &quot;srvConnectionFormat&quot;: { # Srv connection format. # Srv connection format.
1001 },
1002 &quot;sslConfig&quot;: { # MongoDB SSL configuration information. # Optional. SSL configuration for the MongoDB connection.
1003 &quot;caCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1004 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field is set.
1005 &quot;clientCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the &#x27;client_key&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1006 &quot;clientCertificateSet&quot;: True or False, # Output only. Indicates whether the client_certificate field is set.
1007 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1008 &quot;clientKeySet&quot;: True or False, # Output only. Indicates whether the client_key field is set.
1009 &quot;secretManagerStoredClientKey&quot;: &quot;A String&quot;, # Optional. Input only. A reference to a Secret Manager resource name storing the PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory. Mutually exclusive with the `client_key` field.
1010 },
1011 &quot;standardConnectionFormat&quot;: { # Standard connection format. # Standard connection format.
1012 &quot;directConnection&quot;: True or False, # Optional. Deprecated: Use the `additional_options` map to specify the `directConnection` parameter instead. For example: `additional_options = {&quot;directConnection&quot;: &quot;true&quot;}`. Specifies whether the client connects directly to the host[:port] in the connection URI.
1013 },
1014 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MongoDB connection.
1015 },
1016 &quot;mysqlProfile&quot;: { # Profile for connecting to a MySQL source. # Profile for connecting to a MySQL source.
1017 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the MySQL connection.
1018 &quot;password&quot;: &quot;A String&quot;, # Optional. Input only. Password for the MySQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
1019 &quot;port&quot;: 42, # Port for the MySQL connection, default value is 3306.
1020 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the MySQL connection password. Mutually exclusive with the `password` field.
1021 &quot;sslConfig&quot;: { # MySQL SSL configuration information. # SSL configuration for the MySQL connection.
1022 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1023 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field is set.
1024 &quot;clientCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the &#x27;client_key&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1025 &quot;clientCertificateSet&quot;: True or False, # Output only. Indicates whether the client_certificate field is set.
1026 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1027 &quot;clientKeySet&quot;: True or False, # Output only. Indicates whether the client_key field is set.
1028 },
1029 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MySQL connection.
1030 },
1031 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource&#x27;s name.
1032 &quot;oracleProfile&quot;: { # Profile for connecting to an Oracle source. # Profile for connecting to an Oracle source.
1033 &quot;connectionAttributes&quot;: { # Connection string attributes
1034 &quot;a_key&quot;: &quot;A String&quot;,
1035 },
1036 &quot;databaseService&quot;: &quot;A String&quot;, # Required. Database for the Oracle connection.
1037 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the Oracle connection.
1038 &quot;oracleAsmConfig&quot;: { # Configuration for Oracle Automatic Storage Management (ASM) connection. # Optional. Configuration for Oracle ASM connection.
1039 &quot;asmService&quot;: &quot;A String&quot;, # Required. ASM service name for the Oracle ASM connection.
1040 &quot;connectionAttributes&quot;: { # Optional. Connection string attributes
1041 &quot;a_key&quot;: &quot;A String&quot;,
1042 },
1043 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the Oracle ASM connection.
1044 &quot;oracleSslConfig&quot;: { # Oracle SSL configuration information. # Optional. SSL configuration for the Oracle connection.
1045 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1046 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
1047 &quot;serverCertificateDistinguishedName&quot;: &quot;A String&quot;, # Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
1048 },
1049 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Oracle ASM connection. Mutually exclusive with the `secret_manager_stored_password` field.
1050 &quot;port&quot;: 42, # Required. Port for the Oracle ASM connection.
1051 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Oracle ASM connection password. Mutually exclusive with the `password` field.
1052 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Oracle ASM connection.
1053 },
1054 &quot;oracleSslConfig&quot;: { # Oracle SSL configuration information. # Optional. SSL configuration for the Oracle connection.
1055 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1056 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
1057 &quot;serverCertificateDistinguishedName&quot;: &quot;A String&quot;, # Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
1058 },
1059 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Oracle connection. Mutually exclusive with the `secret_manager_stored_password` field.
1060 &quot;port&quot;: 42, # Port for the Oracle connection, default value is 1521.
1061 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the `password` field.
1062 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Oracle connection.
1063 },
1064 &quot;postgresqlProfile&quot;: { # Profile for connecting to a PostgreSQL source. # Profile for connecting to a PostgreSQL source.
1065 &quot;database&quot;: &quot;A String&quot;, # Required. Database for the PostgreSQL connection.
1066 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the PostgreSQL connection.
1067 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the PostgreSQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
1068 &quot;port&quot;: 42, # Port for the PostgreSQL connection, default value is 5432.
1069 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the `password` field.
1070 &quot;sslConfig&quot;: { # PostgreSQL SSL configuration information. # Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)
1071 &quot;serverAndClientVerification&quot;: { # Message represents the option where Datastream will enforce the encryption and authenticate the server identity as well as the client identity. ca_certificate, client_certificate and client_key must be set if user selects this option. # If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated.
1072 &quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded server root CA certificate.
1073 &quot;clientCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream&#x27;s identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.
1074 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client&#x27;s identity, i.e. identity of the Datastream.
1075 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
1076 },
1077 &quot;serverVerification&quot;: { # Message represents the option where Datastream will enforce the encryption and authenticate the server identity. ca_certificate must be set if user selects this option. # If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.
1078 &quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded server root CA certificate.
1079 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
1080 },
1081 },
1082 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the PostgreSQL connection.
1083 },
1084 &quot;privateConnectivity&quot;: { # Private Connectivity # Private connectivity.
1085 &quot;privateConnection&quot;: &quot;A String&quot;, # Required. A reference to a private connection resource. Format: `projects/{project}/locations/{location}/privateConnections/{name}`
1086 },
1087 &quot;salesforceMarketingCloudProfile&quot;: { # Profile for connecting to a Salesforce Marketing Cloud source. # Profile for connecting to a Salesforce Marketing Cloud source.
1088 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.
1089 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
1090 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
1091 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1092 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1093 },
1094 },
1095 &quot;subdomain&quot;: &quot;A String&quot;, # Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is `https://{your-specific-subdomain}.rest.marketingcloudapis.com/`, the subdomain is `{your-specific-subdomain}`. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).
1096 },
1097 &quot;salesforceProfile&quot;: { # Profile for connecting to a Salesforce source. # Profile for connecting to a Salesforce source.
1098 &quot;domain&quot;: &quot;A String&quot;, # Required. Domain endpoint for the Salesforce connection.
1099 &quot;oauth2ClientCredentials&quot;: { # OAuth2 Client Credentials. # Connected app authentication.
1100 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for Salesforce OAuth2 Client Credentials.
1101 &quot;clientSecret&quot;: &quot;A String&quot;, # Optional. Client secret for Salesforce OAuth2 Client Credentials. Mutually exclusive with the `secret_manager_stored_client_secret` field.
1102 &quot;secretManagerStoredClientSecret&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce OAuth2 client_secret. Mutually exclusive with the `client_secret` field.
1103 },
1104 &quot;userCredentials&quot;: { # Username-password credentials. # User-password authentication.
1105 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_password` field.
1106 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce connection&#x27;s password. Mutually exclusive with the `password` field.
1107 &quot;secretManagerStoredSecurityToken&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce connection&#x27;s security token. Mutually exclusive with the `security_token` field.
1108 &quot;securityToken&quot;: &quot;A String&quot;, # Optional. Security token for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_security_token` field.
1109 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Salesforce connection.
1110 },
1111 },
1112 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
1113 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
1114 &quot;serviceNowProfile&quot;: { # Profile for connecting to a ServiceNow source. # Profile for connecting to a ServiceNow source.
1115 &quot;instance&quot;: &quot;A String&quot;, # Required. The instance of the ServiceNow account. This is the `` part of the URL `https://.service-now.com`.
1116 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Credentials for authenticating with the ServiceNow API.
1117 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
1118 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
1119 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1120 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1121 },
1122 },
1123 &quot;userPasswordCredentials&quot;: { # User-password credentials. # User-password authentication.
1124 &quot;password&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Password for the connection.
1125 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1126 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1127 },
1128 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the connection.
1129 },
1130 },
1131 &quot;spannerProfile&quot;: { # Profile for connecting to a Spanner source. # Profile for connecting to a Spanner source.
1132 &quot;database&quot;: &quot;A String&quot;, # Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.
1133 &quot;host&quot;: &quot;A String&quot;, # Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.
1134 },
1135 &quot;sqlServerProfile&quot;: { # Profile for connecting to a SQLServer source. # Profile for connecting to a SQLServer source.
1136 &quot;database&quot;: &quot;A String&quot;, # Required. Database for the SQLServer connection.
1137 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SQLServer connection.
1138 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the SQLServer connection. Mutually exclusive with the `secret_manager_stored_password` field.
1139 &quot;port&quot;: 42, # Port for the SQLServer connection, default value is 1433.
1140 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
1141 &quot;sslConfig&quot;: { # SQL Server SSL configuration information. # Optional. SSL configuration for the SQLServer connection.
1142 &quot;basicEncryption&quot;: { # Message to represent the option where Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default. # If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.
1143 },
1144 &quot;encryptionAndServerValidation&quot;: { # Message to represent the option where Datastream will enforce encryption and authenticate server identity. ca_certificate must be set if user selects this option. # If set, Datastream will enforce encryption and authenticate server identity.
1145 &quot;caCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1146 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. This field is used for bypassing the hostname validation while verifying server certificate. This is required for scenarios where the host name that datastream connects to is different from the certificate&#x27;s subject. This specifically happens for private connectivity. It could also happen when the customer provides a public IP in connection profile but the same is not present in the server certificate.
1147 },
1148 &quot;encryptionNotEnforced&quot;: { # Message to represent the option where encryption is not enforced. An empty message right now to allow future extensibility. # If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.
1149 },
1150 },
1151 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the SQLServer connection.
1152 },
1153 &quot;staticServiceIpConnectivity&quot;: { # Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile. # Static Service IP connectivity.
1154 },
1155 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time of the resource.
1156 }</pre>
1157 </div>
1158
1159 <div class="method">
1160 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
1161 <pre>Use this method to list connection profiles created in a project and location.
1162
1163 Args:
1164 parent: string, Required. The parent that owns the collection of connection profiles. (required)
1165 filter: string, Optional. Filter request.
1166 orderBy: string, Optional. Order by fields for the result.
1167 pageSize: integer, Optional. Maximum number of connection profiles to return. If unspecified, at most 50 connection profiles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
1168 pageToken: string, Optional. Page token received from a previous `ListConnectionProfiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectionProfiles` must match the call that provided the page token.
1169 x__xgafv: string, V1 error format.
1170 Allowed values
1171 1 - v1 error format
1172 2 - v2 error format
1173
1174 Returns:
1175 An object of the form:
1176
1177 { # Response message for listing connection profiles.
1178 &quot;connectionProfiles&quot;: [ # List of connection profiles.
1179 { # A set of reusable connection configurations to be used as a source or destination for a stream.
1180 &quot;bigqueryProfile&quot;: { # Profile for connecting to a BigQuery destination. # Profile for connecting to a BigQuery destination.
1181 },
1182 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time of the resource.
1183 &quot;dataverseProfile&quot;: { # Profile for connecting to a Dataverse source. # Profile for connecting to a Dataverse source.
1184 &quot;environmentUrl&quot;: &quot;A String&quot;, # Required. Environment URL of the Microsoft Dataverse instance. Example: `.crm.dynamics.com`
1185 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Required. Credentials for authenticating with the Dataverse API.
1186 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
1187 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
1188 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1189 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1190 },
1191 },
1192 &quot;tenantId&quot;: &quot;A String&quot;, # Required. Tenant id of the Microsoft Dataverse instance.
1193 },
1194 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
1195 &quot;forwardSshConnectivity&quot;: { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity.
1196 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SSH tunnel.
1197 &quot;password&quot;: &quot;A String&quot;, # Input only. SSH password.
1198 &quot;port&quot;: 42, # Port for the SSH tunnel, default value is 22.
1199 &quot;privateKey&quot;: &quot;A String&quot;, # Input only. SSH private key.
1200 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the SSH tunnel.
1201 },
1202 &quot;gcsProfile&quot;: { # Profile for connecting to a Cloud Storage destination. # Profile for connecting to a Cloud Storage destination.
1203 &quot;bucket&quot;: &quot;A String&quot;, # Required. The Cloud Storage bucket name.
1204 &quot;rootPath&quot;: &quot;A String&quot;, # Optional. The root path inside the Cloud Storage bucket.
1205 },
1206 &quot;labels&quot;: { # Labels.
1207 &quot;a_key&quot;: &quot;A String&quot;,
1208 },
1209 &quot;mongodbProfile&quot;: { # Profile for connecting to a MongoDB source. # Profile for connecting to a MongoDB source.
1210 &quot;additionalOptions&quot;: { # Optional. Specifies additional options for the MongoDB connection. The options should be sent as key-value pairs, for example: `additional_options = {&quot;serverSelectionTimeoutMS&quot;: &quot;10000&quot;, &quot;directConnection&quot;: &quot;true&quot;}`. Keys are case-sensitive and should match the official MongoDB connection string options: https://www.mongodb.com/docs/manual/reference/connection-string-options/ The server will not modify the values provided by the user.
1211 &quot;a_key&quot;: &quot;A String&quot;,
1212 },
1213 &quot;hostAddresses&quot;: [ # Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.
1214 { # A HostAddress represents a transport end point, which is the combination of an IP address or hostname and a port number.
1215 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the connection.
1216 &quot;port&quot;: 42, # Optional. Port for the connection.
1217 },
1218 ],
1219 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the MongoDB connection. Mutually exclusive with the `secret_manager_stored_password` field.
1220 &quot;replicaSet&quot;: &quot;A String&quot;, # Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.
1221 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
1222 &quot;srvConnectionFormat&quot;: { # Srv connection format. # Srv connection format.
1223 },
1224 &quot;sslConfig&quot;: { # MongoDB SSL configuration information. # Optional. SSL configuration for the MongoDB connection.
1225 &quot;caCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1226 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field is set.
1227 &quot;clientCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the &#x27;client_key&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1228 &quot;clientCertificateSet&quot;: True or False, # Output only. Indicates whether the client_certificate field is set.
1229 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1230 &quot;clientKeySet&quot;: True or False, # Output only. Indicates whether the client_key field is set.
1231 &quot;secretManagerStoredClientKey&quot;: &quot;A String&quot;, # Optional. Input only. A reference to a Secret Manager resource name storing the PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory. Mutually exclusive with the `client_key` field.
1232 },
1233 &quot;standardConnectionFormat&quot;: { # Standard connection format. # Standard connection format.
1234 &quot;directConnection&quot;: True or False, # Optional. Deprecated: Use the `additional_options` map to specify the `directConnection` parameter instead. For example: `additional_options = {&quot;directConnection&quot;: &quot;true&quot;}`. Specifies whether the client connects directly to the host[:port] in the connection URI.
1235 },
1236 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MongoDB connection.
1237 },
1238 &quot;mysqlProfile&quot;: { # Profile for connecting to a MySQL source. # Profile for connecting to a MySQL source.
1239 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the MySQL connection.
1240 &quot;password&quot;: &quot;A String&quot;, # Optional. Input only. Password for the MySQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
1241 &quot;port&quot;: 42, # Port for the MySQL connection, default value is 3306.
1242 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the MySQL connection password. Mutually exclusive with the `password` field.
1243 &quot;sslConfig&quot;: { # MySQL SSL configuration information. # SSL configuration for the MySQL connection.
1244 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1245 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field is set.
1246 &quot;clientCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the &#x27;client_key&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1247 &quot;clientCertificateSet&quot;: True or False, # Output only. Indicates whether the client_certificate field is set.
1248 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1249 &quot;clientKeySet&quot;: True or False, # Output only. Indicates whether the client_key field is set.
1250 },
1251 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MySQL connection.
1252 },
1253 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource&#x27;s name.
1254 &quot;oracleProfile&quot;: { # Profile for connecting to an Oracle source. # Profile for connecting to an Oracle source.
1255 &quot;connectionAttributes&quot;: { # Connection string attributes
1256 &quot;a_key&quot;: &quot;A String&quot;,
1257 },
1258 &quot;databaseService&quot;: &quot;A String&quot;, # Required. Database for the Oracle connection.
1259 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the Oracle connection.
1260 &quot;oracleAsmConfig&quot;: { # Configuration for Oracle Automatic Storage Management (ASM) connection. # Optional. Configuration for Oracle ASM connection.
1261 &quot;asmService&quot;: &quot;A String&quot;, # Required. ASM service name for the Oracle ASM connection.
1262 &quot;connectionAttributes&quot;: { # Optional. Connection string attributes
1263 &quot;a_key&quot;: &quot;A String&quot;,
1264 },
1265 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the Oracle ASM connection.
1266 &quot;oracleSslConfig&quot;: { # Oracle SSL configuration information. # Optional. SSL configuration for the Oracle connection.
1267 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1268 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
1269 &quot;serverCertificateDistinguishedName&quot;: &quot;A String&quot;, # Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
1270 },
1271 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Oracle ASM connection. Mutually exclusive with the `secret_manager_stored_password` field.
1272 &quot;port&quot;: 42, # Required. Port for the Oracle ASM connection.
1273 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Oracle ASM connection password. Mutually exclusive with the `password` field.
1274 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Oracle ASM connection.
1275 },
1276 &quot;oracleSslConfig&quot;: { # Oracle SSL configuration information. # Optional. SSL configuration for the Oracle connection.
1277 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1278 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
1279 &quot;serverCertificateDistinguishedName&quot;: &quot;A String&quot;, # Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
1280 },
1281 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Oracle connection. Mutually exclusive with the `secret_manager_stored_password` field.
1282 &quot;port&quot;: 42, # Port for the Oracle connection, default value is 1521.
1283 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the `password` field.
1284 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Oracle connection.
1285 },
1286 &quot;postgresqlProfile&quot;: { # Profile for connecting to a PostgreSQL source. # Profile for connecting to a PostgreSQL source.
1287 &quot;database&quot;: &quot;A String&quot;, # Required. Database for the PostgreSQL connection.
1288 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the PostgreSQL connection.
1289 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the PostgreSQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
1290 &quot;port&quot;: 42, # Port for the PostgreSQL connection, default value is 5432.
1291 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the `password` field.
1292 &quot;sslConfig&quot;: { # PostgreSQL SSL configuration information. # Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)
1293 &quot;serverAndClientVerification&quot;: { # Message represents the option where Datastream will enforce the encryption and authenticate the server identity as well as the client identity. ca_certificate, client_certificate and client_key must be set if user selects this option. # If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated.
1294 &quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded server root CA certificate.
1295 &quot;clientCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream&#x27;s identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.
1296 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client&#x27;s identity, i.e. identity of the Datastream.
1297 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
1298 },
1299 &quot;serverVerification&quot;: { # Message represents the option where Datastream will enforce the encryption and authenticate the server identity. ca_certificate must be set if user selects this option. # If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.
1300 &quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded server root CA certificate.
1301 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
1302 },
1303 },
1304 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the PostgreSQL connection.
1305 },
1306 &quot;privateConnectivity&quot;: { # Private Connectivity # Private connectivity.
1307 &quot;privateConnection&quot;: &quot;A String&quot;, # Required. A reference to a private connection resource. Format: `projects/{project}/locations/{location}/privateConnections/{name}`
1308 },
1309 &quot;salesforceMarketingCloudProfile&quot;: { # Profile for connecting to a Salesforce Marketing Cloud source. # Profile for connecting to a Salesforce Marketing Cloud source.
1310 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.
1311 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
1312 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
1313 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1314 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1315 },
1316 },
1317 &quot;subdomain&quot;: &quot;A String&quot;, # Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is `https://{your-specific-subdomain}.rest.marketingcloudapis.com/`, the subdomain is `{your-specific-subdomain}`. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).
1318 },
1319 &quot;salesforceProfile&quot;: { # Profile for connecting to a Salesforce source. # Profile for connecting to a Salesforce source.
1320 &quot;domain&quot;: &quot;A String&quot;, # Required. Domain endpoint for the Salesforce connection.
1321 &quot;oauth2ClientCredentials&quot;: { # OAuth2 Client Credentials. # Connected app authentication.
1322 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for Salesforce OAuth2 Client Credentials.
1323 &quot;clientSecret&quot;: &quot;A String&quot;, # Optional. Client secret for Salesforce OAuth2 Client Credentials. Mutually exclusive with the `secret_manager_stored_client_secret` field.
1324 &quot;secretManagerStoredClientSecret&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce OAuth2 client_secret. Mutually exclusive with the `client_secret` field.
1325 },
1326 &quot;userCredentials&quot;: { # Username-password credentials. # User-password authentication.
1327 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_password` field.
1328 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce connection&#x27;s password. Mutually exclusive with the `password` field.
1329 &quot;secretManagerStoredSecurityToken&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce connection&#x27;s security token. Mutually exclusive with the `security_token` field.
1330 &quot;securityToken&quot;: &quot;A String&quot;, # Optional. Security token for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_security_token` field.
1331 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Salesforce connection.
1332 },
1333 },
1334 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
1335 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
1336 &quot;serviceNowProfile&quot;: { # Profile for connecting to a ServiceNow source. # Profile for connecting to a ServiceNow source.
1337 &quot;instance&quot;: &quot;A String&quot;, # Required. The instance of the ServiceNow account. This is the `` part of the URL `https://.service-now.com`.
1338 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Credentials for authenticating with the ServiceNow API.
1339 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
1340 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
1341 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1342 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1343 },
1344 },
1345 &quot;userPasswordCredentials&quot;: { # User-password credentials. # User-password authentication.
1346 &quot;password&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Password for the connection.
1347 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1348 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1349 },
1350 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the connection.
1351 },
1352 },
1353 &quot;spannerProfile&quot;: { # Profile for connecting to a Spanner source. # Profile for connecting to a Spanner source.
1354 &quot;database&quot;: &quot;A String&quot;, # Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.
1355 &quot;host&quot;: &quot;A String&quot;, # Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.
1356 },
1357 &quot;sqlServerProfile&quot;: { # Profile for connecting to a SQLServer source. # Profile for connecting to a SQLServer source.
1358 &quot;database&quot;: &quot;A String&quot;, # Required. Database for the SQLServer connection.
1359 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SQLServer connection.
1360 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the SQLServer connection. Mutually exclusive with the `secret_manager_stored_password` field.
1361 &quot;port&quot;: 42, # Port for the SQLServer connection, default value is 1433.
1362 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
1363 &quot;sslConfig&quot;: { # SQL Server SSL configuration information. # Optional. SSL configuration for the SQLServer connection.
1364 &quot;basicEncryption&quot;: { # Message to represent the option where Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default. # If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.
1365 },
1366 &quot;encryptionAndServerValidation&quot;: { # Message to represent the option where Datastream will enforce encryption and authenticate server identity. ca_certificate must be set if user selects this option. # If set, Datastream will enforce encryption and authenticate server identity.
1367 &quot;caCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1368 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. This field is used for bypassing the hostname validation while verifying server certificate. This is required for scenarios where the host name that datastream connects to is different from the certificate&#x27;s subject. This specifically happens for private connectivity. It could also happen when the customer provides a public IP in connection profile but the same is not present in the server certificate.
1369 },
1370 &quot;encryptionNotEnforced&quot;: { # Message to represent the option where encryption is not enforced. An empty message right now to allow future extensibility. # If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.
1371 },
1372 },
1373 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the SQLServer connection.
1374 },
1375 &quot;staticServiceIpConnectivity&quot;: { # Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile. # Static Service IP connectivity.
1376 },
1377 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time of the resource.
1378 },
1379 ],
1380 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
1381 &quot;unreachable&quot;: [ # Locations that could not be reached.
1382 &quot;A String&quot;,
1383 ],
1384 }</pre>
1385 </div>
1386
1387 <div class="method">
1388 <code class="details" id="list_next">list_next()</code>
1389 <pre>Retrieves the next page of results.
1390
1391 Args:
1392 previous_request: The request for the previous page. (required)
1393 previous_response: The response from the request for the previous page. (required)
1394
1395 Returns:
1396 A request object that you can call &#x27;execute()&#x27; on to request the next
1397 page. Returns None if there are no more items in the collection.
1398 </pre>
1399 </div>
1400
1401 <div class="method">
1402 <code class="details" id="patch">patch(name, body=None, force=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code>
1403 <pre>Use this method to update the parameters of a connection profile.
1404
1405 Args:
1406 name: string, Output only. Identifier. The resource&#x27;s name. (required)
1407 body: object, The request body.
1408 The object takes the form of:
1409
1410 { # A set of reusable connection configurations to be used as a source or destination for a stream.
1411 &quot;bigqueryProfile&quot;: { # Profile for connecting to a BigQuery destination. # Profile for connecting to a BigQuery destination.
1412 },
1413 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time of the resource.
1414 &quot;dataverseProfile&quot;: { # Profile for connecting to a Dataverse source. # Profile for connecting to a Dataverse source.
1415 &quot;environmentUrl&quot;: &quot;A String&quot;, # Required. Environment URL of the Microsoft Dataverse instance. Example: `.crm.dynamics.com`
1416 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Required. Credentials for authenticating with the Dataverse API.
1417 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
1418 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
1419 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1420 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1421 },
1422 },
1423 &quot;tenantId&quot;: &quot;A String&quot;, # Required. Tenant id of the Microsoft Dataverse instance.
1424 },
1425 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name.
1426 &quot;forwardSshConnectivity&quot;: { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity.
1427 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SSH tunnel.
1428 &quot;password&quot;: &quot;A String&quot;, # Input only. SSH password.
1429 &quot;port&quot;: 42, # Port for the SSH tunnel, default value is 22.
1430 &quot;privateKey&quot;: &quot;A String&quot;, # Input only. SSH private key.
1431 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the SSH tunnel.
1432 },
1433 &quot;gcsProfile&quot;: { # Profile for connecting to a Cloud Storage destination. # Profile for connecting to a Cloud Storage destination.
1434 &quot;bucket&quot;: &quot;A String&quot;, # Required. The Cloud Storage bucket name.
1435 &quot;rootPath&quot;: &quot;A String&quot;, # Optional. The root path inside the Cloud Storage bucket.
1436 },
1437 &quot;labels&quot;: { # Labels.
1438 &quot;a_key&quot;: &quot;A String&quot;,
1439 },
1440 &quot;mongodbProfile&quot;: { # Profile for connecting to a MongoDB source. # Profile for connecting to a MongoDB source.
1441 &quot;additionalOptions&quot;: { # Optional. Specifies additional options for the MongoDB connection. The options should be sent as key-value pairs, for example: `additional_options = {&quot;serverSelectionTimeoutMS&quot;: &quot;10000&quot;, &quot;directConnection&quot;: &quot;true&quot;}`. Keys are case-sensitive and should match the official MongoDB connection string options: https://www.mongodb.com/docs/manual/reference/connection-string-options/ The server will not modify the values provided by the user.
1442 &quot;a_key&quot;: &quot;A String&quot;,
1443 },
1444 &quot;hostAddresses&quot;: [ # Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.
1445 { # A HostAddress represents a transport end point, which is the combination of an IP address or hostname and a port number.
1446 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the connection.
1447 &quot;port&quot;: 42, # Optional. Port for the connection.
1448 },
1449 ],
1450 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the MongoDB connection. Mutually exclusive with the `secret_manager_stored_password` field.
1451 &quot;replicaSet&quot;: &quot;A String&quot;, # Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.
1452 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
1453 &quot;srvConnectionFormat&quot;: { # Srv connection format. # Srv connection format.
1454 },
1455 &quot;sslConfig&quot;: { # MongoDB SSL configuration information. # Optional. SSL configuration for the MongoDB connection.
1456 &quot;caCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1457 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field is set.
1458 &quot;clientCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the &#x27;client_key&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1459 &quot;clientCertificateSet&quot;: True or False, # Output only. Indicates whether the client_certificate field is set.
1460 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1461 &quot;clientKeySet&quot;: True or False, # Output only. Indicates whether the client_key field is set.
1462 &quot;secretManagerStoredClientKey&quot;: &quot;A String&quot;, # Optional. Input only. A reference to a Secret Manager resource name storing the PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory. Mutually exclusive with the `client_key` field.
1463 },
1464 &quot;standardConnectionFormat&quot;: { # Standard connection format. # Standard connection format.
1465 &quot;directConnection&quot;: True or False, # Optional. Deprecated: Use the `additional_options` map to specify the `directConnection` parameter instead. For example: `additional_options = {&quot;directConnection&quot;: &quot;true&quot;}`. Specifies whether the client connects directly to the host[:port] in the connection URI.
1466 },
1467 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MongoDB connection.
1468 },
1469 &quot;mysqlProfile&quot;: { # Profile for connecting to a MySQL source. # Profile for connecting to a MySQL source.
1470 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the MySQL connection.
1471 &quot;password&quot;: &quot;A String&quot;, # Optional. Input only. Password for the MySQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
1472 &quot;port&quot;: 42, # Port for the MySQL connection, default value is 3306.
1473 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the MySQL connection password. Mutually exclusive with the `password` field.
1474 &quot;sslConfig&quot;: { # MySQL SSL configuration information. # SSL configuration for the MySQL connection.
1475 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1476 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field is set.
1477 &quot;clientCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the &#x27;client_key&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1478 &quot;clientCertificateSet&quot;: True or False, # Output only. Indicates whether the client_certificate field is set.
1479 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the &#x27;client_certificate&#x27; and the &#x27;ca_certificate&#x27; fields are mandatory.
1480 &quot;clientKeySet&quot;: True or False, # Output only. Indicates whether the client_key field is set.
1481 },
1482 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the MySQL connection.
1483 },
1484 &quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource&#x27;s name.
1485 &quot;oracleProfile&quot;: { # Profile for connecting to an Oracle source. # Profile for connecting to an Oracle source.
1486 &quot;connectionAttributes&quot;: { # Connection string attributes
1487 &quot;a_key&quot;: &quot;A String&quot;,
1488 },
1489 &quot;databaseService&quot;: &quot;A String&quot;, # Required. Database for the Oracle connection.
1490 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the Oracle connection.
1491 &quot;oracleAsmConfig&quot;: { # Configuration for Oracle Automatic Storage Management (ASM) connection. # Optional. Configuration for Oracle ASM connection.
1492 &quot;asmService&quot;: &quot;A String&quot;, # Required. ASM service name for the Oracle ASM connection.
1493 &quot;connectionAttributes&quot;: { # Optional. Connection string attributes
1494 &quot;a_key&quot;: &quot;A String&quot;,
1495 },
1496 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the Oracle ASM connection.
1497 &quot;oracleSslConfig&quot;: { # Oracle SSL configuration information. # Optional. SSL configuration for the Oracle connection.
1498 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1499 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
1500 &quot;serverCertificateDistinguishedName&quot;: &quot;A String&quot;, # Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
1501 },
1502 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Oracle ASM connection. Mutually exclusive with the `secret_manager_stored_password` field.
1503 &quot;port&quot;: 42, # Required. Port for the Oracle ASM connection.
1504 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Oracle ASM connection password. Mutually exclusive with the `password` field.
1505 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Oracle ASM connection.
1506 },
1507 &quot;oracleSslConfig&quot;: { # Oracle SSL configuration information. # Optional. SSL configuration for the Oracle connection.
1508 &quot;caCertificate&quot;: &quot;A String&quot;, # Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1509 &quot;caCertificateSet&quot;: True or False, # Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile.
1510 &quot;serverCertificateDistinguishedName&quot;: &quot;A String&quot;, # Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced.
1511 },
1512 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Oracle connection. Mutually exclusive with the `secret_manager_stored_password` field.
1513 &quot;port&quot;: 42, # Port for the Oracle connection, default value is 1521.
1514 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the `password` field.
1515 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Oracle connection.
1516 },
1517 &quot;postgresqlProfile&quot;: { # Profile for connecting to a PostgreSQL source. # Profile for connecting to a PostgreSQL source.
1518 &quot;database&quot;: &quot;A String&quot;, # Required. Database for the PostgreSQL connection.
1519 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the PostgreSQL connection.
1520 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the PostgreSQL connection. Mutually exclusive with the `secret_manager_stored_password` field.
1521 &quot;port&quot;: 42, # Port for the PostgreSQL connection, default value is 5432.
1522 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the `password` field.
1523 &quot;sslConfig&quot;: { # PostgreSQL SSL configuration information. # Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)
1524 &quot;serverAndClientVerification&quot;: { # Message represents the option where Datastream will enforce the encryption and authenticate the server identity as well as the client identity. ca_certificate, client_certificate and client_key must be set if user selects this option. # If this field is set, the communication will be encrypted with TLS encryption and both the server identity and the client identity will be authenticated.
1525 &quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded server root CA certificate.
1526 &quot;clientCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream&#x27;s identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.
1527 &quot;clientKey&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client&#x27;s identity, i.e. identity of the Datastream.
1528 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
1529 },
1530 &quot;serverVerification&quot;: { # Message represents the option where Datastream will enforce the encryption and authenticate the server identity. ca_certificate must be set if user selects this option. # If this field is set, the communication will be encrypted with TLS encryption and the server identity will be authenticated.
1531 &quot;caCertificate&quot;: &quot;A String&quot;, # Required. Input only. PEM-encoded server root CA certificate.
1532 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
1533 },
1534 },
1535 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the PostgreSQL connection.
1536 },
1537 &quot;privateConnectivity&quot;: { # Private Connectivity # Private connectivity.
1538 &quot;privateConnection&quot;: &quot;A String&quot;, # Required. A reference to a private connection resource. Format: `projects/{project}/locations/{location}/privateConnections/{name}`
1539 },
1540 &quot;salesforceMarketingCloudProfile&quot;: { # Profile for connecting to a Salesforce Marketing Cloud source. # Profile for connecting to a Salesforce Marketing Cloud source.
1541 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Required. Input only. Credentials for authenticating with the Salesforce Marketing Cloud API.
1542 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
1543 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
1544 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1545 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1546 },
1547 },
1548 &quot;subdomain&quot;: &quot;A String&quot;, # Required. Subdomain for the Salesforce Marketing Cloud connection. Example: if your specific endpoint is `https://{your-specific-subdomain}.rest.marketingcloudapis.com/`, the subdomain is `{your-specific-subdomain}`. Must be 1-63 characters, start and end with an alphanumeric character, and contain only lowercase letters, numbers, and hyphens (-).
1549 },
1550 &quot;salesforceProfile&quot;: { # Profile for connecting to a Salesforce source. # Profile for connecting to a Salesforce source.
1551 &quot;domain&quot;: &quot;A String&quot;, # Required. Domain endpoint for the Salesforce connection.
1552 &quot;oauth2ClientCredentials&quot;: { # OAuth2 Client Credentials. # Connected app authentication.
1553 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for Salesforce OAuth2 Client Credentials.
1554 &quot;clientSecret&quot;: &quot;A String&quot;, # Optional. Client secret for Salesforce OAuth2 Client Credentials. Mutually exclusive with the `secret_manager_stored_client_secret` field.
1555 &quot;secretManagerStoredClientSecret&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce OAuth2 client_secret. Mutually exclusive with the `client_secret` field.
1556 },
1557 &quot;userCredentials&quot;: { # Username-password credentials. # User-password authentication.
1558 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_password` field.
1559 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce connection&#x27;s password. Mutually exclusive with the `password` field.
1560 &quot;secretManagerStoredSecurityToken&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the Salesforce connection&#x27;s security token. Mutually exclusive with the `security_token` field.
1561 &quot;securityToken&quot;: &quot;A String&quot;, # Optional. Security token for the Salesforce connection. Mutually exclusive with the `secret_manager_stored_security_token` field.
1562 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the Salesforce connection.
1563 },
1564 },
1565 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
1566 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
1567 &quot;serviceNowProfile&quot;: { # Profile for connecting to a ServiceNow source. # Profile for connecting to a ServiceNow source.
1568 &quot;instance&quot;: &quot;A String&quot;, # Required. The instance of the ServiceNow account. This is the `` part of the URL `https://.service-now.com`.
1569 &quot;oauthClientCredentials&quot;: { # OAuth Client Credentials. # Credentials for authenticating with the ServiceNow API.
1570 &quot;clientId&quot;: &quot;A String&quot;, # Required. Client ID for OAuth Client Credentials.
1571 &quot;clientSecret&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Client secret for OAuth Client Credentials.
1572 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1573 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1574 },
1575 },
1576 &quot;userPasswordCredentials&quot;: { # User-password credentials. # User-password authentication.
1577 &quot;password&quot;: { # A confidential piece of information where the actual value is either directly specified in the message as a raw string or stored in GCP secret manager. # Required. Password for the connection.
1578 &quot;rawValue&quot;: &quot;A String&quot;, # Optional. Input only. The actual raw value of the secret as plain text.
1579 &quot;secretVersion&quot;: &quot;A String&quot;, # Optional. A Secret Manager resource name storing the actual value of the secret. Supported formats: * projects/{project}/locations/{location}/secrets/{secret}/versions/{version} * projects/{project}/secrets/{secret}/versions/{version}
1580 },
1581 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the connection.
1582 },
1583 },
1584 &quot;spannerProfile&quot;: { # Profile for connecting to a Spanner source. # Profile for connecting to a Spanner source.
1585 &quot;database&quot;: &quot;A String&quot;, # Required. Immutable. Cloud Spanner database resource. This field is immutable. Must be in the format: projects/{project}/instances/{instance}/databases/{database_id}.
1586 &quot;host&quot;: &quot;A String&quot;, # Optional. The Spanner endpoint to connect to. Defaults to the global endpoint (https://spanner.googleapis.com). Must be in the format: https://spanner.{region}.rep.googleapis.com.
1587 },
1588 &quot;sqlServerProfile&quot;: { # Profile for connecting to a SQLServer source. # Profile for connecting to a SQLServer source.
1589 &quot;database&quot;: &quot;A String&quot;, # Required. Database for the SQLServer connection.
1590 &quot;hostname&quot;: &quot;A String&quot;, # Required. Hostname for the SQLServer connection.
1591 &quot;password&quot;: &quot;A String&quot;, # Optional. Password for the SQLServer connection. Mutually exclusive with the `secret_manager_stored_password` field.
1592 &quot;port&quot;: 42, # Port for the SQLServer connection, default value is 1433.
1593 &quot;secretManagerStoredPassword&quot;: &quot;A String&quot;, # Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the `password` field.
1594 &quot;sslConfig&quot;: { # SQL Server SSL configuration information. # Optional. SSL configuration for the SQLServer connection.
1595 &quot;basicEncryption&quot;: { # Message to represent the option where Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default. # If set, Datastream will enforce encryption without authenticating server identity. Server certificates will be trusted by default.
1596 },
1597 &quot;encryptionAndServerValidation&quot;: { # Message to represent the option where Datastream will enforce encryption and authenticate server identity. ca_certificate must be set if user selects this option. # If set, Datastream will enforce encryption and authenticate server identity.
1598 &quot;caCertificate&quot;: &quot;A String&quot;, # Optional. Input only. PEM-encoded certificate of the CA that signed the source database server&#x27;s certificate.
1599 &quot;serverCertificateHostname&quot;: &quot;A String&quot;, # Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. This field is used for bypassing the hostname validation while verifying server certificate. This is required for scenarios where the host name that datastream connects to is different from the certificate&#x27;s subject. This specifically happens for private connectivity. It could also happen when the customer provides a public IP in connection profile but the same is not present in the server certificate.
1600 },
1601 &quot;encryptionNotEnforced&quot;: { # Message to represent the option where encryption is not enforced. An empty message right now to allow future extensibility. # If set, Datastream will not enforce encryption. If the DB server mandates encryption, then connection will be encrypted but server identity will not be authenticated.
1602 },
1603 },
1604 &quot;username&quot;: &quot;A String&quot;, # Required. Username for the SQLServer connection.
1605 },
1606 &quot;staticServiceIpConnectivity&quot;: { # Static IP address connectivity. Used when the source database is configured to allow incoming connections from the Datastream public IP addresses for the region specified in the connection profile. # Static Service IP connectivity.
1607 },
1608 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time of the resource.
1609 }
1610
1611 force: boolean, Optional. Update the connection profile without validating it.
1612 requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1613 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the ConnectionProfile resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
1614 validateOnly: boolean, Optional. Only validate the connection profile, but don&#x27;t update any resources. The default is false.
1615 x__xgafv: string, V1 error format.
1616 Allowed values
1617 1 - v1 error format
1618 2 - v2 error format
1619
1620 Returns:
1621 An object of the form:
1622
1623 { # This resource represents a long-running operation that is the result of a network API call.
1624 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1625 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1626 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1627 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1628 {
1629 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1630 },
1631 ],
1632 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1633 },
1634 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1635 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1636 },
1637 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1638 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1639 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1640 },
1641 }</pre>
1642 </div>
1643
1644 </body></html>