Gateway constructor
Gateway({})
Implementation
factory Gateway({
$core.String? name,
$2.Timestamp? createTime,
$2.Timestamp? updateTime,
$core.Map<$core.String, $core.String>? labels,
$core.String? displayName,
$core.String? apiConfig,
Gateway_State? state,
$core.String? defaultHostname,
}) {
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 (apiConfig != null) {
$result.apiConfig = apiConfig;
}
if (state != null) {
$result.state = state;
}
if (defaultHostname != null) {
$result.defaultHostname = defaultHostname;
}
return $result;
}