toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accelerators != null) 'accelerators': accelerators!,
if (advancedMachineFeatures != null)
'advancedMachineFeatures': advancedMachineFeatures!,
if (bootDiskKmsKey != null) 'bootDiskKmsKey': bootDiskKmsKey!,
if (confidentialNodes != null) 'confidentialNodes': confidentialNodes!,
if (containerdConfig != null) 'containerdConfig': containerdConfig!,
if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
if (diskType != null) 'diskType': diskType!,
if (enableConfidentialStorage != null)
'enableConfidentialStorage': enableConfidentialStorage!,
if (ephemeralStorageLocalSsdConfig != null)
'ephemeralStorageLocalSsdConfig': ephemeralStorageLocalSsdConfig!,
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 (localNvmeSsdBlockConfig != null)
'localNvmeSsdBlockConfig': localNvmeSsdBlockConfig!,
if (localSsdCount != null) 'localSsdCount': localSsdCount!,
if (loggingConfig != null) 'loggingConfig': loggingConfig!,
if (machineType != null) 'machineType': machineType!,
if (metadata != null) 'metadata': metadata!,
if (minCpuPlatform != null) 'minCpuPlatform': minCpuPlatform!,
if (nodeGroup != null) 'nodeGroup': nodeGroup!,
if (oauthScopes != null) 'oauthScopes': oauthScopes!,
if (preemptible != null) 'preemptible': preemptible!,
if (reservationAffinity != null)
'reservationAffinity': reservationAffinity!,
if (resourceLabels != null) 'resourceLabels': resourceLabels!,
if (resourceManagerTags != null)
'resourceManagerTags': resourceManagerTags!,
if (sandboxConfig != null) 'sandboxConfig': sandboxConfig!,
if (secondaryBootDiskUpdateStrategy != null)
'secondaryBootDiskUpdateStrategy': secondaryBootDiskUpdateStrategy!,
if (secondaryBootDisks != null)
'secondaryBootDisks': secondaryBootDisks!,
if (serviceAccount != null) 'serviceAccount': serviceAccount!,
if (shieldedInstanceConfig != null)
'shieldedInstanceConfig': shieldedInstanceConfig!,
if (soleTenantConfig != null) 'soleTenantConfig': soleTenantConfig!,
if (spot != null) 'spot': spot!,
if (tags != null) 'tags': tags!,
if (taints != null) 'taints': taints!,
if (windowsNodeConfig != null) 'windowsNodeConfig': windowsNodeConfig!,
if (workloadMetadataConfig != null)
'workloadMetadataConfig': workloadMetadataConfig!,
};