toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bootDiskKmsKey != null) 'bootDiskKmsKey': bootDiskKmsKey!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (diskType != null) 'diskType': diskType!,
      if (imageType != null) 'imageType': imageType!,
      if (insecureKubeletReadonlyPortEnabled != null)
        'insecureKubeletReadonlyPortEnabled':
            insecureKubeletReadonlyPortEnabled!,
      if (management != null) 'management': management!,
      if (minCpuPlatform != null) 'minCpuPlatform': minCpuPlatform!,
      if (oauthScopes != null) 'oauthScopes': oauthScopes!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (shieldedInstanceConfig != null)
        'shieldedInstanceConfig': shieldedInstanceConfig!,
      if (upgradeSettings != null) 'upgradeSettings': upgradeSettings!,
    };