toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accelerators != null) 'accelerators': accelerators!,
      if (clusterId != null) 'clusterId': clusterId!,
      if (confidentialNodes != null) 'confidentialNodes': confidentialNodes!,
      if (containerdConfig != null) 'containerdConfig': containerdConfig!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (diskType != null) 'diskType': diskType!,
      if (etag != null) 'etag': etag!,
      if (fastSocket != null) 'fastSocket': fastSocket!,
      if (gcfsConfig != null) 'gcfsConfig': gcfsConfig!,
      if (gvnic != null) 'gvnic': gvnic!,
      if (imageType != null) 'imageType': imageType!,
      if (kubeletConfig != null) 'kubeletConfig': kubeletConfig!,
      if (labels != null) 'labels': labels!,
      if (linuxNodeConfig != null) 'linuxNodeConfig': linuxNodeConfig!,
      if (locations != null) 'locations': locations!,
      if (loggingConfig != null) 'loggingConfig': loggingConfig!,
      if (machineType != null) 'machineType': machineType!,
      if (name != null) 'name': name!,
      if (nodeNetworkConfig != null) 'nodeNetworkConfig': nodeNetworkConfig!,
      if (nodePoolId != null) 'nodePoolId': nodePoolId!,
      if (nodeVersion != null) 'nodeVersion': nodeVersion!,
      if (projectId != null) 'projectId': projectId!,
      if (queuedProvisioning != null)
        'queuedProvisioning': queuedProvisioning!,
      if (resourceLabels != null) 'resourceLabels': resourceLabels!,
      if (resourceManagerTags != null)
        'resourceManagerTags': resourceManagerTags!,
      if (tags != null) 'tags': tags!,
      if (taints != null) 'taints': taints!,
      if (upgradeSettings != null) 'upgradeSettings': upgradeSettings!,
      if (windowsNodeConfig != null) 'windowsNodeConfig': windowsNodeConfig!,
      if (workloadMetadataConfig != null)
        'workloadMetadataConfig': workloadMetadataConfig!,
      if (zone != null) 'zone': zone!,
    };