toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (architecture != null) 'architecture': architecture!,
      if (description != null) 'description': description!,
      if (diskName != null) 'diskName': diskName!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (diskType != null) 'diskType': diskType!,
      if (enableConfidentialCompute != null)
        'enableConfidentialCompute': enableConfidentialCompute!,
      if (labels != null) 'labels': labels!,
      if (licenses != null) 'licenses': licenses!,
      if (onUpdateAction != null) 'onUpdateAction': onUpdateAction!,
      if (provisionedIops != null) 'provisionedIops': provisionedIops!,
      if (provisionedThroughput != null)
        'provisionedThroughput': provisionedThroughput!,
      if (replicaZones != null) 'replicaZones': replicaZones!,
      if (resourceManagerTags != null)
        'resourceManagerTags': resourceManagerTags!,
      if (resourcePolicies != null) 'resourcePolicies': resourcePolicies!,
      if (sourceImage != null) 'sourceImage': sourceImage!,
      if (sourceImageEncryptionKey != null)
        'sourceImageEncryptionKey': sourceImageEncryptionKey!,
      if (sourceSnapshot != null) 'sourceSnapshot': sourceSnapshot!,
      if (sourceSnapshotEncryptionKey != null)
        'sourceSnapshotEncryptionKey': sourceSnapshotEncryptionKey!,
      if (storagePool != null) 'storagePool': storagePool!,
    };