core.Map<core.String, core.dynamic> toJson() => { if (clusterSelector != null) 'clusterSelector': clusterSelector!, if (managedCluster != null) 'managedCluster': managedCluster!, };