toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalLicenses != null)
        'additionalLicenses': additionalLicenses!,
      if (bootDiskDefaults != null) 'bootDiskDefaults': bootDiskDefaults!,
      if (computeScheduling != null) 'computeScheduling': computeScheduling!,
      if (encryption != null) 'encryption': encryption!,
      if (hostname != null) 'hostname': hostname!,
      if (labels != null) 'labels': labels!,
      if (machineType != null) 'machineType': machineType!,
      if (machineTypeSeries != null) 'machineTypeSeries': machineTypeSeries!,
      if (metadata != null) 'metadata': metadata!,
      if (networkInterfaces != null) 'networkInterfaces': networkInterfaces!,
      if (networkTags != null) 'networkTags': networkTags!,
      if (secureBoot != null) 'secureBoot': secureBoot!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (vmName != null) 'vmName': vmName!,
    };