toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'architecture': architecture,
    'autoCreated': autoCreated,
    'chainName': chainName,
    'creationSizeBytes': creationSizeBytes,
    'creationTimestamp': creationTimestamp,
    'description': description,
    'diskSizeGb': diskSizeGb,
    'downloadBytes': downloadBytes,
    'guestOsFeatures': pulumi.Input.encodeList<GuestOsFeatureResponseComputeV1, Map<String, dynamic>>(guestOsFeatures, (value) => value.toMap()),
    'kind': kind,
    'labelFingerprint': labelFingerprint,
    'labels': labels,
    'licenseCodes': licenseCodes,
    'licenses': licenses,
    'locationHint': locationHint,
    'name': name,
    'satisfiesPzs': satisfiesPzs,
    'selfLink': selfLink,
    'snapshotEncryptionKey': snapshotEncryptionKey.toMap(),
    'snapshotType': snapshotType,
    'sourceDisk': sourceDisk,
    'sourceDiskEncryptionKey': sourceDiskEncryptionKey.toMap(),
    'sourceDiskForRecoveryCheckpoint': sourceDiskForRecoveryCheckpoint,
    'sourceDiskId': sourceDiskId,
    'sourceSnapshotSchedulePolicy': sourceSnapshotSchedulePolicy,
    'sourceSnapshotSchedulePolicyId': sourceSnapshotSchedulePolicyId,
    'status': status,
    'storageBytes': storageBytes,
    'storageBytesStatus': storageBytesStatus,
    'storageLocations': storageLocations,
  };
}