- Resource: ConnectionProfile
- OracleProfile
- OracleSslConfig
- GcsProfile
- MysqlProfile
- MysqlSslConfig
- BigQueryProfile
- PostgresqlProfile
- SqlServerProfile
- StaticServiceIpConnectivity
- ForwardSshTunnelConnectivity
- PrivateConnectivity
- Methods
Resource: ConnectionProfile
A set of reusable connection configurations to be used as a source or destination for a stream.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "displayName": string, // Union field |
Fields | |
---|---|
name |
Output only. The resource's name. |
create |
Output only. The create time of the resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The update time of the resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Labels. An object containing a list of |
display |
Required. Display name. |
Union field profile . Connection configuration for the ConnectionProfile. profile can be only one of the following: |
|
oracle |
Oracle ConnectionProfile configuration. |
gcs |
Cloud Storage ConnectionProfile configuration. |
mysql |
MySQL ConnectionProfile configuration. |
bigquery |
BigQuery Connection Profile configuration. |
postgresql |
PostgreSQL Connection Profile configuration. |
sql |
SQLServer Connection Profile configuration. |
Union field connectivity . Connectivity options used to establish a connection to the profile. connectivity can be only one of the following: |
|
static |
Static Service IP connectivity. |
forward |
Forward SSH tunnel connectivity. |
private |
Private connectivity. |
OracleProfile
Oracle database profile.
JSON representation |
---|
{
"hostname": string,
"port": integer,
"username": string,
"password": string,
"databaseService": string,
"connectionAttributes": {
string: string,
...
},
"oracleSslConfig": {
object ( |
Fields | |
---|---|
hostname |
Required. Hostname for the Oracle connection. |
port |
Port for the Oracle connection, default value is 1521. |
username |
Required. Username for the Oracle connection. |
password |
Optional. Password for the Oracle connection. Mutually exclusive with the |
database |
Required. Database for the Oracle connection. |
connection |
Connection string attributes An object containing a list of |
oracle |
Optional. SSL configuration for the Oracle connection. |
secret |
Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the |
OracleSslConfig
Oracle SSL configuration information.
JSON representation |
---|
{ "caCertificate": string, "caCertificateSet": boolean } |
Fields | |
---|---|
ca |
Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. |
ca |
Output only. Indicates whether the caCertificate field has been set for this Connection-Profile. |
GcsProfile
Cloud Storage bucket profile.
JSON representation |
---|
{ "bucket": string, "rootPath": string } |
Fields | |
---|---|
bucket |
Required. The Cloud Storage bucket name. |
root |
The root path inside the Cloud Storage bucket. |
MysqlProfile
MySQL database profile.
JSON representation |
---|
{
"hostname": string,
"port": integer,
"username": string,
"password": string,
"sslConfig": {
object ( |
Fields | |
---|---|
hostname |
Required. Hostname for the MySQL connection. |
port |
Port for the MySQL connection, default value is 3306. |
username |
Required. Username for the MySQL connection. |
password |
Required. Input only. Password for the MySQL connection. |
ssl |
SSL configuration for the MySQL connection. |
MysqlSslConfig
MySQL SSL configuration information.
JSON representation |
---|
{ "clientKey": string, "clientKeySet": boolean, "clientCertificate": string, "clientCertificateSet": boolean, "caCertificate": string, "caCertificateSet": boolean } |
Fields | |
---|---|
client |
Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' and the 'caCertificate' fields are mandatory. |
client |
Output only. Indicates whether the clientKey field is set. |
client |
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 'clientKey' and the 'caCertificate' fields are mandatory. |
client |
Output only. Indicates whether the clientCertificate field is set. |
ca |
Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. |
ca |
Output only. Indicates whether the caCertificate field is set. |
BigQueryProfile
This type has no fields.
BigQuery warehouse profile.
PostgresqlProfile
PostgreSQL database profile.
JSON representation |
---|
{ "hostname": string, "port": integer, "username": string, "password": string, "database": string } |
Fields | |
---|---|
hostname |
Required. Hostname for the PostgreSQL connection. |
port |
Port for the PostgreSQL connection, default value is 5432. |
username |
Required. Username for the PostgreSQL connection. |
password |
Required. Password for the PostgreSQL connection. |
database |
Required. Database for the PostgreSQL connection. |
SqlServerProfile
SQLServer database profile.
JSON representation |
---|
{ "hostname": string, "port": integer, "username": string, "password": string, "database": string } |
Fields | |
---|---|
hostname |
Required. Hostname for the SQLServer connection. |
port |
Port for the SQLServer connection, default value is 1433. |
username |
Required. Username for the SQLServer connection. |
password |
Required. Password for the SQLServer connection. |
database |
Required. Database for the SQLServer connection. |
StaticServiceIpConnectivity
This type has no fields.
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.
ForwardSshTunnelConnectivity
Forward SSH Tunnel connectivity.
JSON representation |
---|
{ "hostname": string, "username": string, "port": integer, // Union field |
Fields | |
---|---|
hostname |
Required. Hostname for the SSH tunnel. |
username |
Required. Username for the SSH tunnel. |
port |
Port for the SSH tunnel, default value is 22. |
Union field
|
|
password |
Input only. SSH password. |
private |
Input only. SSH private key. |
PrivateConnectivity
Private Connectivity
JSON representation |
---|
{ "privateConnection": string } |
Fields | |
---|---|
private |
Required. A reference to a private connection resource. Format: |
Methods |
|
---|---|
|
Use this method to create a connection profile in a project and location. |
|
Use this method to delete a connection profile. |
|
Use this method to discover a connection profile. |
|
Use this method to get details about a connection profile. |
|
Use this method to list connection profiles created in a project and location. |
|
Use this method to update the parameters of a connection profile. |