REST Resource: projects.locations.connectionProfiles

Resource: ConnectionProfile

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "displayName": string,

  // Union field profile can be only one of the following:
  "oracleProfile": {
    object (OracleProfile)
  },
  "gcsProfile": {
    object (GcsProfile)
  },
  "mysqlProfile": {
    object (MysqlProfile)
  }
  // End of list of possible types for union field profile.

  // Union field connectivity can be only one of the following:
  "noConnectivity": {
    object (NoConnectivitySettings)
  },
  "staticServiceIpConnectivity": {
    object (StaticServiceIpConnectivity)
  },
  "forwardSshConnectivity": {
    object (ForwardSshTunnelConnectivity)
  },
  "privateConnectivity": {
    object (PrivateConnectivity)
  }
  // End of list of possible types for union field connectivity.
}
Fields
name

string

Output only. The resource's name.

createTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

labels

map (key: string, value: string)

Labels.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

displayName

string

Required. Display name.

Union field profile. Connection configuration for the ConnectionProfile. profile can be only one of the following:
oracleProfile

object (OracleProfile)

Oracle ConnectionProfile configuration.

gcsProfile

object (GcsProfile)

Cloud Storage ConnectionProfile configuration.

mysqlProfile

object (MysqlProfile)

MySQL ConnectionProfile configuration.

Union field connectivity. Connectivity options used to establish a connection to the profile. connectivity can be only one of the following:
noConnectivity

object (NoConnectivitySettings)

No connectivity option chosen.

staticServiceIpConnectivity

object (StaticServiceIpConnectivity)

Static Service IP connectivity.

forwardSshConnectivity

object (ForwardSshTunnelConnectivity)

Forward SSH tunnel connectivity.

privateConnectivity

object (PrivateConnectivity)

Private connectivity.

OracleProfile

Oracle database profile.

JSON representation
{
  "hostname": string,
  "port": integer,
  "username": string,
  "password": string,
  "databaseService": string,
  "connectionAttributes": {
    string: string,
    ...
  }
}
Fields
hostname

string

Required. Hostname for the Oracle connection.

port

integer

Port for the Oracle connection, default value is 1521.

username

string

Required. Username for the Oracle connection.

password

string

Required. Password for the Oracle connection.

databaseService

string

Required. Database for the Oracle connection.

connectionAttributes

map (key: string, value: string)

Connection string attributes

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

GcsProfile

Cloud Storage bucket profile.

JSON representation
{
  "bucketName": string,
  "rootPath": string
}
Fields
bucketName

string

Required. The full project and resource path for Cloud Storage bucket including the name.

rootPath

string

The root path inside the Cloud Storage bucket.

MysqlProfile

MySQL database profile.

JSON representation
{
  "hostname": string,
  "port": integer,
  "username": string,
  "password": string,
  "sslConfig": {
    object (MysqlSslConfig)
  }
}
Fields
hostname

string

Required. Hostname for the MySQL connection.

port

integer

Port for the MySQL connection, default value is 3306.

username

string

Required. Username for the MySQL connection.

password

string

Required. Input only. Password for the MySQL connection.

sslConfig

object (MysqlSslConfig)

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
clientKey

string

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.

clientKeySet

boolean

Output only. Indicates whether the clientKey field is set.

clientCertificate

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 'clientKey' and the 'caCertificate' fields are mandatory.

clientCertificateSet

boolean

Output only. Indicates whether the clientCertificate field is set.

caCertificate

string

Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.

caCertificateSet

boolean

Output only. Indicates whether the caCertificate field is set.

NoConnectivitySettings

No connectivity settings.

StaticServiceIpConnectivity

Static IP address connectivity.

ForwardSshTunnelConnectivity

Forward SSH Tunnel connectivity.

JSON representation
{
  "hostname": string,
  "username": string,
  "port": integer,

  // Union field authentication_method can be only one of the following:
  "password": string,
  "privateKey": string
  // End of list of possible types for union field authentication_method.
}
Fields
hostname

string

Required. Hostname for the SSH tunnel.

username

string

Required. Username for the SSH tunnel.

port

integer

Port for the SSH tunnel, default value is 22.

Union field authentication_method.

authentication_method can be only one of the following:

password

string

Input only. SSH password.

privateKey

string

Input only. SSH private key.

PrivateConnectivity

Private Connectivity

JSON representation
{
  "privateConnectionName": string
}
Fields
privateConnectionName

string

Methods

create
(deprecated)

Use this method to create a connection profile in a project and location.

delete
(deprecated)

Use this method to delete a connection profile..

discover
(deprecated)

Use this method to discover a connection profile.

get
(deprecated)

Use this method to get details about a connection profile.

list
(deprecated)

Use this method to list connection profiles created in a project and location.

patch
(deprecated)

Use this method to update the parameters of a connection profile.