ConnectionProfile constructor
ConnectionProfile({
- String? name,
- Timestamp? createTime,
- Timestamp? updateTime,
- Map<
String, String> ? labels, - String? displayName,
- OracleProfile? oracleProfile,
- GcsProfile? gcsProfile,
- MysqlProfile? mysqlProfile,
- BigQueryProfile? bigqueryProfile,
- PostgresqlProfile? postgresqlProfile,
- StaticServiceIpConnectivity? staticServiceIpConnectivity,
- ForwardSshTunnelConnectivity? forwardSshConnectivity,
- PrivateConnectivity? privateConnectivity,
Implementation
factory ConnectionProfile({
$core.String? name,
$2.Timestamp? createTime,
$2.Timestamp? updateTime,
$core.Map<$core.String, $core.String>? labels,
$core.String? displayName,
OracleProfile? oracleProfile,
GcsProfile? gcsProfile,
MysqlProfile? mysqlProfile,
BigQueryProfile? bigqueryProfile,
PostgresqlProfile? postgresqlProfile,
StaticServiceIpConnectivity? staticServiceIpConnectivity,
ForwardSshTunnelConnectivity? forwardSshConnectivity,
PrivateConnectivity? privateConnectivity,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (createTime != null) {
$result.createTime = createTime;
}
if (updateTime != null) {
$result.updateTime = updateTime;
}
if (labels != null) {
$result.labels.addAll(labels);
}
if (displayName != null) {
$result.displayName = displayName;
}
if (oracleProfile != null) {
$result.oracleProfile = oracleProfile;
}
if (gcsProfile != null) {
$result.gcsProfile = gcsProfile;
}
if (mysqlProfile != null) {
$result.mysqlProfile = mysqlProfile;
}
if (bigqueryProfile != null) {
$result.bigqueryProfile = bigqueryProfile;
}
if (postgresqlProfile != null) {
$result.postgresqlProfile = postgresqlProfile;
}
if (staticServiceIpConnectivity != null) {
$result.staticServiceIpConnectivity = staticServiceIpConnectivity;
}
if (forwardSshConnectivity != null) {
$result.forwardSshConnectivity = forwardSshConnectivity;
}
if (privateConnectivity != null) {
$result.privateConnectivity = privateConnectivity;
}
return $result;
}