Backup_ClusterMetadata constructor
Backup_ClusterMetadata({})
Implementation
factory Backup_ClusterMetadata({
$core.String? cluster,
$core.String? k8sVersion,
$core.Map<$core.String, $core.String>? backupCrdVersions,
$core.String? gkeVersion,
$core.String? anthosVersion,
}) {
final $result = create();
if (cluster != null) {
$result.cluster = cluster;
}
if (k8sVersion != null) {
$result.k8sVersion = k8sVersion;
}
if (backupCrdVersions != null) {
$result.backupCrdVersions.addAll(backupCrdVersions);
}
if (gkeVersion != null) {
$result.gkeVersion = gkeVersion;
}
if (anthosVersion != null) {
$result.anthosVersion = anthosVersion;
}
return $result;
}