1<html><body> 2<style> 3 4body, 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 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, 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_v1alpha1.html">Datastream API</a> . <a href="datastream_v1alpha1.projects.html">projects</a> . <a href="datastream_v1alpha1.projects.locations.html">locations</a> . <a href="datastream_v1alpha1.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, requestId=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 under 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(previous_request, previous_response)</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, 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, requestId=None, x__xgafv=None)</code> 109 <pre>Use this method to create a connection profile in a project and location. 110 111Args: 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{ 117 "createTime": "A String", # Output only. The create time of the resource. 118 "displayName": "A String", # Required. Display name. 119 "forwardSshConnectivity": { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity. 120 "hostname": "A String", # Required. Hostname for the SSH tunnel. 121 "password": "A String", # Input only. SSH password. 122 "port": 42, # Port for the SSH tunnel, default value is 22. 123 "privateKey": "A String", # Input only. SSH private key. 124 "username": "A String", # Required. Username for the SSH tunnel. 125 }, 126 "gcsProfile": { # Cloud Storage bucket profile. # Cloud Storage ConnectionProfile configuration. 127 "bucketName": "A String", # Required. The full project and resource path for Cloud Storage bucket including the name. 128 "rootPath": "A String", # The root path inside the Cloud Storage bucket. 129 }, 130 "labels": { # Labels. 131 "a_key": "A String", 132 }, 133 "mysqlProfile": { # MySQL database profile. # MySQL ConnectionProfile configuration. 134 "hostname": "A String", # Required. Hostname for the MySQL connection. 135 "password": "A String", # Required. Input only. Password for the MySQL connection. 136 "port": 42, # Port for the MySQL connection, default value is 3306. 137 "sslConfig": { # MySQL SSL configuration information. # SSL configuration for the MySQL connection. 138 "caCertificate": "A String", # Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. 139 "caCertificateSet": True or False, # Output only. Indicates whether the ca_certificate field is set. 140 "clientCertificate": "A String", # 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 'client_key' and the 'ca_certificate' fields are mandatory. 141 "clientCertificateSet": True or False, # Output only. Indicates whether the client_certificate field is set. 142 "clientKey": "A String", # Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory. 143 "clientKeySet": True or False, # Output only. Indicates whether the client_key field is set. 144 }, 145 "username": "A String", # Required. Username for the MySQL connection. 146 }, 147 "name": "A String", # Output only. The resource's name. 148 "noConnectivity": { # No connectivity settings. # No connectivity option chosen. 149 }, 150 "oracleProfile": { # Oracle database profile. # Oracle ConnectionProfile configuration. 151 "connectionAttributes": { # Connection string attributes 152 "a_key": "A String", 153 }, 154 "databaseService": "A String", # Required. Database for the Oracle connection. 155 "hostname": "A String", # Required. Hostname for the Oracle connection. 156 "password": "A String", # Required. Password for the Oracle connection. 157 "port": 42, # Port for the Oracle connection, default value is 1521. 158 "username": "A String", # Required. Username for the Oracle connection. 159 }, 160 "privateConnectivity": { # Private Connectivity # Private connectivity. 161 "privateConnectionName": "A String", 162 }, 163 "staticServiceIpConnectivity": { # Static IP address connectivity. # Static Service IP connectivity. 164 }, 165 "updateTime": "A String", # Output only. The update time of the resource. 166} 167 168 connectionProfileId: string, Required. The connection profile identifier. 169 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). 170 x__xgafv: string, V1 error format. 171 Allowed values 172 1 - v1 error format 173 2 - v2 error format 174 175Returns: 176 An object of the form: 177 178 { # This resource represents a long-running operation that is the result of a network API call. 179 "done": 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. 180 "error": { # 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. 181 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 182 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 183 { 184 "a_key": "", # Properties of the object. Contains field @type with type URL. 185 }, 186 ], 187 "message": "A String", # 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. 188 }, 189 "metadata": { # 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. 190 "a_key": "", # Properties of the object. Contains field @type with type URL. 191 }, 192 "name": "A String", # 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}`. 193 "response": { # The normal response of the operation in case of success. 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`. 194 "a_key": "", # Properties of the object. Contains field @type with type URL. 195 }, 196}</pre> 197</div> 198 199<div class="method"> 200 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code> 201 <pre>Use this method to delete a connection profile.. 202 203Args: 204 name: string, Required. The name of the connection profile resource to delete. (required) 205 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). 206 x__xgafv: string, V1 error format. 207 Allowed values 208 1 - v1 error format 209 2 - v2 error format 210 211Returns: 212 An object of the form: 213 214 { # This resource represents a long-running operation that is the result of a network API call. 215 "done": 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. 216 "error": { # 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. 217 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 218 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 219 { 220 "a_key": "", # Properties of the object. Contains field @type with type URL. 221 }, 222 ], 223 "message": "A String", # 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. 224 }, 225 "metadata": { # 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. 226 "a_key": "", # Properties of the object. Contains field @type with type URL. 227 }, 228 "name": "A String", # 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}`. 229 "response": { # The normal response of the operation in case of success. 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`. 230 "a_key": "", # Properties of the object. Contains field @type with type URL. 231 }, 232}</pre> 233</div> 234 235<div class="method"> 236 <code class="details" id="discover">discover(parent, body=None, x__xgafv=None)</code> 237 <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 under a parent data object that's optionally supplied in the request. 238 239Args: 240 parent: string, Required. The parent resource of the ConnectionProfile type. Must be in the format `projects/*/locations/*`. (required) 241 body: object, The request body. 242 The object takes the form of: 243 244{ # Request message for 'discover' ConnectionProfile request. 245 "connectionProfile": { # An ad-hoc ConnectionProfile configuration. 246 "createTime": "A String", # Output only. The create time of the resource. 247 "displayName": "A String", # Required. Display name. 248 "forwardSshConnectivity": { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity. 249 "hostname": "A String", # Required. Hostname for the SSH tunnel. 250 "password": "A String", # Input only. SSH password. 251 "port": 42, # Port for the SSH tunnel, default value is 22. 252 "privateKey": "A String", # Input only. SSH private key. 253 "username": "A String", # Required. Username for the SSH tunnel. 254 }, 255 "gcsProfile": { # Cloud Storage bucket profile. # Cloud Storage ConnectionProfile configuration. 256 "bucketName": "A String", # Required. The full project and resource path for Cloud Storage bucket including the name. 257 "rootPath": "A String", # The root path inside the Cloud Storage bucket. 258 }, 259 "labels": { # Labels. 260 "a_key": "A String", 261 }, 262 "mysqlProfile": { # MySQL database profile. # MySQL ConnectionProfile configuration. 263 "hostname": "A String", # Required. Hostname for the MySQL connection. 264 "password": "A String", # Required. Input only. Password for the MySQL connection. 265 "port": 42, # Port for the MySQL connection, default value is 3306. 266 "sslConfig": { # MySQL SSL configuration information. # SSL configuration for the MySQL connection. 267 "caCertificate": "A String", # Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. 268 "caCertificateSet": True or False, # Output only. Indicates whether the ca_certificate field is set. 269 "clientCertificate": "A String", # 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 'client_key' and the 'ca_certificate' fields are mandatory. 270 "clientCertificateSet": True or False, # Output only. Indicates whether the client_certificate field is set. 271 "clientKey": "A String", # Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory. 272 "clientKeySet": True or False, # Output only. Indicates whether the client_key field is set. 273 }, 274 "username": "A String", # Required. Username for the MySQL connection. 275 }, 276 "name": "A String", # Output only. The resource's name. 277 "noConnectivity": { # No connectivity settings. # No connectivity option chosen. 278 }, 279 "oracleProfile": { # Oracle database profile. # Oracle ConnectionProfile configuration. 280 "connectionAttributes": { # Connection string attributes 281 "a_key": "A String", 282 }, 283 "databaseService": "A String", # Required. Database for the Oracle connection. 284 "hostname": "A String", # Required. Hostname for the Oracle connection. 285 "password": "A String", # Required. Password for the Oracle connection. 286 "port": 42, # Port for the Oracle connection, default value is 1521. 287 "username": "A String", # Required. Username for the Oracle connection. 288 }, 289 "privateConnectivity": { # Private Connectivity # Private connectivity. 290 "privateConnectionName": "A String", 291 }, 292 "staticServiceIpConnectivity": { # Static IP address connectivity. # Static Service IP connectivity. 293 }, 294 "updateTime": "A String", # Output only. The update time of the resource. 295 }, 296 "connectionProfileName": "A String", # A reference to an existing ConnectionProfile. 297 "mysqlRdbms": { # MySQL database structure # MySQL RDBMS to enrich with child data objects and metadata. 298 "mysqlDatabases": [ # Mysql databases on the server 299 { # MySQL database. 300 "databaseName": "A String", # Database name. 301 "mysqlTables": [ # Tables in the database. 302 { # MySQL table. 303 "mysqlColumns": [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything. 304 { # MySQL Column. 305 "collation": "A String", # Column collation. 306 "columnName": "A String", # Column name. 307 "dataType": "A String", # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html 308 "length": 42, # Column length. 309 "nullable": True or False, # Whether or not the column can accept a null value. 310 "ordinalPosition": 42, # The ordinal position of the column in the table. 311 "primaryKey": True or False, # Whether or not the column represents a primary key. 312 }, 313 ], 314 "tableName": "A String", # Table name. 315 }, 316 ], 317 }, 318 ], 319 }, 320 "oracleRdbms": { # Oracle database structure. # Oracle RDBMS to enrich with child data objects and metadata. 321 "oracleSchemas": [ # Oracle schemas/databases in the database server. 322 { # Oracle schema. 323 "oracleTables": [ # Tables in the schema. 324 { # Oracle table. 325 "oracleColumns": [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything. 326 { # Oracle Column. 327 "columnName": "A String", # Column name. 328 "dataType": "A String", # The Oracle data type. 329 "encoding": "A String", # Column encoding. 330 "length": 42, # Column length. 331 "nullable": True or False, # Whether or not the column can accept a null value. 332 "ordinalPosition": 42, # The ordinal position of the column in the table. 333 "precision": 42, # Column precision. 334 "primaryKey": True or False, # Whether or not the column represents a primary key. 335 "scale": 42, # Column scale. 336 }, 337 ], 338 "tableName": "A String", # Table name. 339 }, 340 ], 341 "schemaName": "A String", # Schema name. 342 }, 343 ], 344 }, 345 "recursionDepth": 42, # The number of hierarchy levels below the current level to be retrieved. 346 "recursive": True or False, # Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE). 347} 348 349 x__xgafv: string, V1 error format. 350 Allowed values 351 1 - v1 error format 352 2 - v2 error format 353 354Returns: 355 An object of the form: 356 357 { 358 "mysqlRdbms": { # MySQL database structure # Enriched MySQL RDBMS object. 359 "mysqlDatabases": [ # Mysql databases on the server 360 { # MySQL database. 361 "databaseName": "A String", # Database name. 362 "mysqlTables": [ # Tables in the database. 363 { # MySQL table. 364 "mysqlColumns": [ # MySQL columns in the database. When unspecified as part of include/exclude lists, includes/excludes everything. 365 { # MySQL Column. 366 "collation": "A String", # Column collation. 367 "columnName": "A String", # Column name. 368 "dataType": "A String", # The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html 369 "length": 42, # Column length. 370 "nullable": True or False, # Whether or not the column can accept a null value. 371 "ordinalPosition": 42, # The ordinal position of the column in the table. 372 "primaryKey": True or False, # Whether or not the column represents a primary key. 373 }, 374 ], 375 "tableName": "A String", # Table name. 376 }, 377 ], 378 }, 379 ], 380 }, 381 "oracleRdbms": { # Oracle database structure. # Enriched Oracle RDBMS object. 382 "oracleSchemas": [ # Oracle schemas/databases in the database server. 383 { # Oracle schema. 384 "oracleTables": [ # Tables in the schema. 385 { # Oracle table. 386 "oracleColumns": [ # Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything. 387 { # Oracle Column. 388 "columnName": "A String", # Column name. 389 "dataType": "A String", # The Oracle data type. 390 "encoding": "A String", # Column encoding. 391 "length": 42, # Column length. 392 "nullable": True or False, # Whether or not the column can accept a null value. 393 "ordinalPosition": 42, # The ordinal position of the column in the table. 394 "precision": 42, # Column precision. 395 "primaryKey": True or False, # Whether or not the column represents a primary key. 396 "scale": 42, # Column scale. 397 }, 398 ], 399 "tableName": "A String", # Table name. 400 }, 401 ], 402 "schemaName": "A String", # Schema name. 403 }, 404 ], 405 }, 406}</pre> 407</div> 408 409<div class="method"> 410 <code class="details" id="get">get(name, x__xgafv=None)</code> 411 <pre>Use this method to get details about a connection profile. 412 413Args: 414 name: string, Required. The name of the connection profile resource to get. (required) 415 x__xgafv: string, V1 error format. 416 Allowed values 417 1 - v1 error format 418 2 - v2 error format 419 420Returns: 421 An object of the form: 422 423 { 424 "createTime": "A String", # Output only. The create time of the resource. 425 "displayName": "A String", # Required. Display name. 426 "forwardSshConnectivity": { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity. 427 "hostname": "A String", # Required. Hostname for the SSH tunnel. 428 "password": "A String", # Input only. SSH password. 429 "port": 42, # Port for the SSH tunnel, default value is 22. 430 "privateKey": "A String", # Input only. SSH private key. 431 "username": "A String", # Required. Username for the SSH tunnel. 432 }, 433 "gcsProfile": { # Cloud Storage bucket profile. # Cloud Storage ConnectionProfile configuration. 434 "bucketName": "A String", # Required. The full project and resource path for Cloud Storage bucket including the name. 435 "rootPath": "A String", # The root path inside the Cloud Storage bucket. 436 }, 437 "labels": { # Labels. 438 "a_key": "A String", 439 }, 440 "mysqlProfile": { # MySQL database profile. # MySQL ConnectionProfile configuration. 441 "hostname": "A String", # Required. Hostname for the MySQL connection. 442 "password": "A String", # Required. Input only. Password for the MySQL connection. 443 "port": 42, # Port for the MySQL connection, default value is 3306. 444 "sslConfig": { # MySQL SSL configuration information. # SSL configuration for the MySQL connection. 445 "caCertificate": "A String", # Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. 446 "caCertificateSet": True or False, # Output only. Indicates whether the ca_certificate field is set. 447 "clientCertificate": "A String", # 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 'client_key' and the 'ca_certificate' fields are mandatory. 448 "clientCertificateSet": True or False, # Output only. Indicates whether the client_certificate field is set. 449 "clientKey": "A String", # Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory. 450 "clientKeySet": True or False, # Output only. Indicates whether the client_key field is set. 451 }, 452 "username": "A String", # Required. Username for the MySQL connection. 453 }, 454 "name": "A String", # Output only. The resource's name. 455 "noConnectivity": { # No connectivity settings. # No connectivity option chosen. 456 }, 457 "oracleProfile": { # Oracle database profile. # Oracle ConnectionProfile configuration. 458 "connectionAttributes": { # Connection string attributes 459 "a_key": "A String", 460 }, 461 "databaseService": "A String", # Required. Database for the Oracle connection. 462 "hostname": "A String", # Required. Hostname for the Oracle connection. 463 "password": "A String", # Required. Password for the Oracle connection. 464 "port": 42, # Port for the Oracle connection, default value is 1521. 465 "username": "A String", # Required. Username for the Oracle connection. 466 }, 467 "privateConnectivity": { # Private Connectivity # Private connectivity. 468 "privateConnectionName": "A String", 469 }, 470 "staticServiceIpConnectivity": { # Static IP address connectivity. # Static Service IP connectivity. 471 }, 472 "updateTime": "A String", # Output only. The update time of the resource. 473}</pre> 474</div> 475 476<div class="method"> 477 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code> 478 <pre>Use this method to list connection profiles created in a project and location. 479 480Args: 481 parent: string, Required. The parent that owns the collection of connection profiles. (required) 482 filter: string, Filter request. 483 orderBy: string, Order by fields for the result. 484 pageSize: integer, 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. 485 pageToken: string, 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. 486 x__xgafv: string, V1 error format. 487 Allowed values 488 1 - v1 error format 489 2 - v2 error format 490 491Returns: 492 An object of the form: 493 494 { 495 "connectionProfiles": [ # List of connection profiles. 496 { 497 "createTime": "A String", # Output only. The create time of the resource. 498 "displayName": "A String", # Required. Display name. 499 "forwardSshConnectivity": { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity. 500 "hostname": "A String", # Required. Hostname for the SSH tunnel. 501 "password": "A String", # Input only. SSH password. 502 "port": 42, # Port for the SSH tunnel, default value is 22. 503 "privateKey": "A String", # Input only. SSH private key. 504 "username": "A String", # Required. Username for the SSH tunnel. 505 }, 506 "gcsProfile": { # Cloud Storage bucket profile. # Cloud Storage ConnectionProfile configuration. 507 "bucketName": "A String", # Required. The full project and resource path for Cloud Storage bucket including the name. 508 "rootPath": "A String", # The root path inside the Cloud Storage bucket. 509 }, 510 "labels": { # Labels. 511 "a_key": "A String", 512 }, 513 "mysqlProfile": { # MySQL database profile. # MySQL ConnectionProfile configuration. 514 "hostname": "A String", # Required. Hostname for the MySQL connection. 515 "password": "A String", # Required. Input only. Password for the MySQL connection. 516 "port": 42, # Port for the MySQL connection, default value is 3306. 517 "sslConfig": { # MySQL SSL configuration information. # SSL configuration for the MySQL connection. 518 "caCertificate": "A String", # Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. 519 "caCertificateSet": True or False, # Output only. Indicates whether the ca_certificate field is set. 520 "clientCertificate": "A String", # 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 'client_key' and the 'ca_certificate' fields are mandatory. 521 "clientCertificateSet": True or False, # Output only. Indicates whether the client_certificate field is set. 522 "clientKey": "A String", # Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory. 523 "clientKeySet": True or False, # Output only. Indicates whether the client_key field is set. 524 }, 525 "username": "A String", # Required. Username for the MySQL connection. 526 }, 527 "name": "A String", # Output only. The resource's name. 528 "noConnectivity": { # No connectivity settings. # No connectivity option chosen. 529 }, 530 "oracleProfile": { # Oracle database profile. # Oracle ConnectionProfile configuration. 531 "connectionAttributes": { # Connection string attributes 532 "a_key": "A String", 533 }, 534 "databaseService": "A String", # Required. Database for the Oracle connection. 535 "hostname": "A String", # Required. Hostname for the Oracle connection. 536 "password": "A String", # Required. Password for the Oracle connection. 537 "port": 42, # Port for the Oracle connection, default value is 1521. 538 "username": "A String", # Required. Username for the Oracle connection. 539 }, 540 "privateConnectivity": { # Private Connectivity # Private connectivity. 541 "privateConnectionName": "A String", 542 }, 543 "staticServiceIpConnectivity": { # Static IP address connectivity. # Static Service IP connectivity. 544 }, 545 "updateTime": "A String", # Output only. The update time of the resource. 546 }, 547 ], 548 "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. 549 "unreachable": [ # Locations that could not be reached. 550 "A String", 551 ], 552}</pre> 553</div> 554 555<div class="method"> 556 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 557 <pre>Retrieves the next page of results. 558 559Args: 560 previous_request: The request for the previous page. (required) 561 previous_response: The response from the request for the previous page. (required) 562 563Returns: 564 A request object that you can call 'execute()' on to request the next 565 page. Returns None if there are no more items in the collection. 566 </pre> 567</div> 568 569<div class="method"> 570 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, validateOnly=None, x__xgafv=None)</code> 571 <pre>Use this method to update the parameters of a connection profile. 572 573Args: 574 name: string, Output only. The resource's name. (required) 575 body: object, The request body. 576 The object takes the form of: 577 578{ 579 "createTime": "A String", # Output only. The create time of the resource. 580 "displayName": "A String", # Required. Display name. 581 "forwardSshConnectivity": { # Forward SSH Tunnel connectivity. # Forward SSH tunnel connectivity. 582 "hostname": "A String", # Required. Hostname for the SSH tunnel. 583 "password": "A String", # Input only. SSH password. 584 "port": 42, # Port for the SSH tunnel, default value is 22. 585 "privateKey": "A String", # Input only. SSH private key. 586 "username": "A String", # Required. Username for the SSH tunnel. 587 }, 588 "gcsProfile": { # Cloud Storage bucket profile. # Cloud Storage ConnectionProfile configuration. 589 "bucketName": "A String", # Required. The full project and resource path for Cloud Storage bucket including the name. 590 "rootPath": "A String", # The root path inside the Cloud Storage bucket. 591 }, 592 "labels": { # Labels. 593 "a_key": "A String", 594 }, 595 "mysqlProfile": { # MySQL database profile. # MySQL ConnectionProfile configuration. 596 "hostname": "A String", # Required. Hostname for the MySQL connection. 597 "password": "A String", # Required. Input only. Password for the MySQL connection. 598 "port": 42, # Port for the MySQL connection, default value is 3306. 599 "sslConfig": { # MySQL SSL configuration information. # SSL configuration for the MySQL connection. 600 "caCertificate": "A String", # Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. 601 "caCertificateSet": True or False, # Output only. Indicates whether the ca_certificate field is set. 602 "clientCertificate": "A String", # 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 'client_key' and the 'ca_certificate' fields are mandatory. 603 "clientCertificateSet": True or False, # Output only. Indicates whether the client_certificate field is set. 604 "clientKey": "A String", # Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory. 605 "clientKeySet": True or False, # Output only. Indicates whether the client_key field is set. 606 }, 607 "username": "A String", # Required. Username for the MySQL connection. 608 }, 609 "name": "A String", # Output only. The resource's name. 610 "noConnectivity": { # No connectivity settings. # No connectivity option chosen. 611 }, 612 "oracleProfile": { # Oracle database profile. # Oracle ConnectionProfile configuration. 613 "connectionAttributes": { # Connection string attributes 614 "a_key": "A String", 615 }, 616 "databaseService": "A String", # Required. Database for the Oracle connection. 617 "hostname": "A String", # Required. Hostname for the Oracle connection. 618 "password": "A String", # Required. Password for the Oracle connection. 619 "port": 42, # Port for the Oracle connection, default value is 1521. 620 "username": "A String", # Required. Username for the Oracle connection. 621 }, 622 "privateConnectivity": { # Private Connectivity # Private connectivity. 623 "privateConnectionName": "A String", 624 }, 625 "staticServiceIpConnectivity": { # Static IP address connectivity. # Static Service IP connectivity. 626 }, 627 "updateTime": "A String", # Output only. The update time of the resource. 628} 629 630 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). 631 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. 632 validateOnly: boolean, Optional. Only validate the connection profile, but do not update any resources. The default is false. 633 x__xgafv: string, V1 error format. 634 Allowed values 635 1 - v1 error format 636 2 - v2 error format 637 638Returns: 639 An object of the form: 640 641 { # This resource represents a long-running operation that is the result of a network API call. 642 "done": 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. 643 "error": { # 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. 644 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 645 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 646 { 647 "a_key": "", # Properties of the object. Contains field @type with type URL. 648 }, 649 ], 650 "message": "A String", # 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. 651 }, 652 "metadata": { # 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. 653 "a_key": "", # Properties of the object. Contains field @type with type URL. 654 }, 655 "name": "A String", # 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}`. 656 "response": { # The normal response of the operation in case of success. 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`. 657 "a_key": "", # Properties of the object. Contains field @type with type URL. 658 }, 659}</pre> 660</div> 661 662</body></html>