toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'chainName': ?chainName,
'creationTimestamp': ?creationTimestamp,
'deletionPolicy': ?deletionPolicy,
'description': ?description,
'diskSizeGb': ?diskSizeGb,
'effectiveLabels': ?effectiveLabels,
'filter': ?filter,
'guestFlush': ?guestFlush,
'id': ?id,
'labelFingerprint': ?labelFingerprint,
'labels': ?labels,
'licenses': ?licenses,
'mostRecent': ?mostRecent,
'name': ?name,
'params': ?(() { final guardedValue = params; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetSnapshotParam, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'project': ?project,
'pulumiLabels': ?pulumiLabels,
'selfLink': ?selfLink,
'snapshotEncryptionKeys': ?(() { final guardedValue = snapshotEncryptionKeys; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetSnapshotSnapshotEncryptionKey, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'snapshotId': ?snapshotId,
'snapshotType': ?snapshotType,
'sourceDisk': ?sourceDisk,
'sourceDiskEncryptionKeys': ?(() { final guardedValue = sourceDiskEncryptionKeys; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetSnapshotSourceDiskEncryptionKey, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'sourceInstantSnapshot': ?sourceInstantSnapshot,
'storageBytes': ?storageBytes,
'storageLocations': ?storageLocations,
'zone': ?zone,
};
}