toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (annotations != null) 'annotations': annotations!,
  if (containers != null) 'containers': containers!,
  if (encryptionKey != null) 'encryptionKey': encryptionKey!,
  if (encryptionKeyRevocationAction != null)
    'encryptionKeyRevocationAction': encryptionKeyRevocationAction!,
  if (encryptionKeyShutdownDuration != null)
    'encryptionKeyShutdownDuration': encryptionKeyShutdownDuration!,
  if (gpuZonalRedundancyDisabled != null)
    'gpuZonalRedundancyDisabled': gpuZonalRedundancyDisabled!,
  if (labels != null) 'labels': labels!,
  if (nodeSelector != null) 'nodeSelector': nodeSelector!,
  if (revision != null) 'revision': revision!,
  if (serviceAccount != null) 'serviceAccount': serviceAccount!,
  if (serviceMesh != null) 'serviceMesh': serviceMesh!,
  if (volumes != null) 'volumes': volumes!,
  if (vpcAccess != null) 'vpcAccess': vpcAccess!,
};