Service constructor
Service({
- String? name,
- Timestamp? createTime,
- Timestamp? updateTime,
- Map<
String, String> ? labels, - HiveMetastoreConfig? hiveMetastoreConfig,
- String? network,
- String? endpointUri,
- int? port,
- Service_State? state,
- String? stateMessage,
- String? artifactGcsUri,
- Service_Tier? tier,
- MaintenanceWindow? maintenanceWindow,
- String? uid,
- MetadataManagementActivity? metadataManagementActivity,
- Service_ReleaseChannel? releaseChannel,
- EncryptionConfig? encryptionConfig,
- NetworkConfig? networkConfig,
- Service_DatabaseType? databaseType,
- TelemetryConfig? telemetryConfig,
- ScalingConfig? scalingConfig,
Implementation
factory Service({
$core.String? name,
$2.Timestamp? createTime,
$2.Timestamp? updateTime,
$core.Map<$core.String, $core.String>? labels,
HiveMetastoreConfig? hiveMetastoreConfig,
$core.String? network,
$core.String? endpointUri,
$core.int? port,
Service_State? state,
$core.String? stateMessage,
$core.String? artifactGcsUri,
Service_Tier? tier,
MaintenanceWindow? maintenanceWindow,
$core.String? uid,
MetadataManagementActivity? metadataManagementActivity,
Service_ReleaseChannel? releaseChannel,
EncryptionConfig? encryptionConfig,
NetworkConfig? networkConfig,
Service_DatabaseType? databaseType,
TelemetryConfig? telemetryConfig,
ScalingConfig? scalingConfig,
}) {
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 (hiveMetastoreConfig != null) {
$result.hiveMetastoreConfig = hiveMetastoreConfig;
}
if (network != null) {
$result.network = network;
}
if (endpointUri != null) {
$result.endpointUri = endpointUri;
}
if (port != null) {
$result.port = port;
}
if (state != null) {
$result.state = state;
}
if (stateMessage != null) {
$result.stateMessage = stateMessage;
}
if (artifactGcsUri != null) {
$result.artifactGcsUri = artifactGcsUri;
}
if (tier != null) {
$result.tier = tier;
}
if (maintenanceWindow != null) {
$result.maintenanceWindow = maintenanceWindow;
}
if (uid != null) {
$result.uid = uid;
}
if (metadataManagementActivity != null) {
$result.metadataManagementActivity = metadataManagementActivity;
}
if (releaseChannel != null) {
$result.releaseChannel = releaseChannel;
}
if (encryptionConfig != null) {
$result.encryptionConfig = encryptionConfig;
}
if (networkConfig != null) {
$result.networkConfig = networkConfig;
}
if (databaseType != null) {
$result.databaseType = databaseType;
}
if (telemetryConfig != null) {
$result.telemetryConfig = telemetryConfig;
}
if (scalingConfig != null) {
$result.scalingConfig = scalingConfig;
}
return $result;
}