toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalLicenses != null)
        'additionalLicenses': additionalLicenses!,
      if (dataDiskImageImport != null)
        'dataDiskImageImport': dataDiskImageImport!,
      if (description != null) 'description': description!,
      if (encryption != null) 'encryption': encryption!,
      if (familyName != null) 'familyName': familyName!,
      if (imageName != null) 'imageName': imageName!,
      if (labels != null) 'labels': labels!,
      if (osAdaptationParameters != null)
        'osAdaptationParameters': osAdaptationParameters!,
      if (singleRegionStorage != null)
        'singleRegionStorage': singleRegionStorage!,
      if (targetProject != null) 'targetProject': targetProject!,
    };